[SOLVED] .img.gz file creation fails without any message

I’m trying to build Lakka to add ATXRaspi support for Raspberry Pi 3B. Here is the command I’m using :

DISTRO=Lakka PROJECT=RPi2 ARCH=arm make image 2>&1

Here are the build logs once everything is checked as green INSTALL

Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /home/natinusala/lakka/target/Lakka-RPi2.arm-8.2-devel-20171010164223-r27708-g30cc564.system, block size 131072.
[LOADING BAR] 24003/24003 100%

Exportable Squashfs 4.0 filesystem, lzo compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments, no xattrs
	duplicates are removed
Filesystem size 299072.47 Kbytes (292.06 Mbytes)
	47.52% of uncompressed filesystem size (629380.67 Kbytes)
Inode table size 260552 bytes (254.45 Kbytes)
	36.43% of uncompressed inode table size (715209 bytes)
Directory table size 340986 bytes (332.99 Kbytes)
	41.42% of uncompressed directory table size (823315 bytes)
Number of duplicate files found 1447
Number of inodes 21542
Number of files 20316
Number of fragments 992
Number of symbolic links  522
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 704
Number of ids (unique uids + gids) 2
Number of uids 1
	root (0)
Number of gids 2
	root (0)
	unknown (81)
Makefile:12 : la recette pour la cible « image » a échouée
make: *** [image] Erreur 1

As you can see on the logs, it justs crashes out of nowhere after creating the .system and .kernel files… any clue on what’s going on ? Am I missing a tool to make the final image file ? I have 300gb available on the disk so it’s not coming from that.

Thanks !

This looks like the same error I was getting. Do you have mkimage installed?

It solved my problem too, thanks ! The make script should print an error message stating that mkimage is missing, instead of just failing like that.

For the record, the mkimage utility can be found in the u-boot-tools Debian package.