I recently set my rootfs image fstype to squashfs-xz, and then got this error:
NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_compile (log file is located at /home/ykoehler/poky/build/tmp/work/x86_64-linux/squashfs-tools-native/4.2-r2/temp/log.do_compile.30365) ERROR: Logfile of failure stored in: /home/ykoehler/poky/build/tmp/work/x86_64-linux/squashfs-tools-native/4.2-r2/temp/log.do_compile.30365 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 30 -l 30 MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 mksquashfs | gcc -isystem/home/ykoehler/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -I. -I../../C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -isystem/home/ykoehler/poky/build/tmp/sysroots/x86_64-linux/usr/include -c -o xz_wrapper.o xz_wrapper.c | xz_wrapper.c:28:18: fatal error: lzma.h: No such file or directory | #include <lzma.h> | ^ | compilation terminated. | make: *** [xz_wrapper.o] Error 1 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/ykoehler/poky/build/tmp/work/x86_64-linux/squashfs-tools-native/4.2-r2/temp/log.do_compile.30365) ERROR: Task 193 (virtual:native:/home/ykoehler/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 982 tasks of which 968 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish: Summary: 1 task failed: virtual:native/home/ykoehler/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb, do_compile Summary: There was 1 ERROR message shown, returning a non-zero exit code. I then added xz-native to image_types.bbclass IMAGE_DEPENDS_squashfs-xz without success. Any help in this regards would be appreciated. Yannick Koehler -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto