mkfs.ubifs is broken

Asked by Markus Mayer

On Ubuntu 20.04, mkfs.ubifs is broken:

$ mkfs.ubifs -U -D misc/devtable.txt -r output/arm64/target -o tmp/ubifs.img -m 1 -e 65408 -c 2047
mkfs.ubifs: ubifs-utils/mkfs.ubifs/fscrypt.h:166: inherit_fscrypt_context: Assertion `0' failed.
Aborted (core dumped)

Upstream has this fix:

It also works to add "-DNDEBUG" to the CPPFLAGS when building mtd-utils.

Question information

English Edit question
Ubuntu mtd-utils Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

I suggest you report a bug

Revision history for this message
Markus Mayer (mmayer) said :

That is what I am attempting to do here.

Revision history for this message
Markus Mayer (mmayer) said :

I uploaded the crash using ubuntu-bug. It tells me that it uploaded the crash.

I have an ID file:

$ sudo cat _usr_sbin_mkfs.ubifs.1002.uploaded

But tells me that no bugs have been reported.

No idea what to make of this.

Revision history for this message
Manfred Hampl (m-hampl) said :

It seems that the upload to was successful.
What was meant, however, is creating a bug report on and not an upload to

Can you help with this problem?

Provide an answer of your own, or ask Markus Mayer for more information if necessary.

To post a message you must log in.