AssertionError: Failed to execute: out/soong/host/linux-x86/bin/mke2fs

From JCRDoc
Revision as of 10:28, 13 January 2024 by SirRGB (talk | contribs) (Created page with "== General Details == Device: Moto Z Codename: griffin Rom: carbonROM Android Version: 10 Security Patch: October 2023 == Error == <code>AssertionError: Failed to execute: out/soong/host/linux-x86/bin/mke2fs -O ^has_journal -b 4096 -m 0 -t ext4 -I 256 -N 134 -U 7d1522e1-9dfa-5edb-a43e-98e3a4d20250 -E hash_seed=7d1522e1-9dfa-5edb-a43e-98e3a4d20250 /var/lib/jenkins/workspace/Los10/out/soong/.temp/tmpdeDVnM/content/apex_payload.img 115M</code> == Solution == Remove <c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General Details

Device: Moto Z

Codename: griffin

Rom: carbonROM

Android Version: 10

Security Patch: October 2023

Error

AssertionError: Failed to execute: out/soong/host/linux-x86/bin/mke2fs -O ^has_journal -b 4096 -m 0 -t ext4 -I 256 -N 134 -U 7d1522e1-9dfa-5edb-a43e-98e3a4d20250 -E hash_seed=7d1522e1-9dfa-5edb-a43e-98e3a4d20250 /var/lib/jenkins/workspace/Los10/out/soong/.temp/tmpdeDVnM/content/apex_payload.img 115M

Solution

Remove metadata_csum_seed and orhpan_file from /etc/mke2fs.conf

Rerun the build after that.


Inspired by: Reddit