squashfs-tools compilation fails mksquashfs.c:3557:17

  • i build libreelec from source on a gentoo-system with (host)gcc 7.2.0 (gcc-Version 7.2.0 (Gentoo 7.2.0 p1.1))

    for some months now compilation has been failing at the same point with the same error:

    is there any way to fix this? i tried compiling with gcc-6.4.0 but the error occured in the same way and i have already deleted the buildtree a couple of times.

    THX for your input!

  • THX for your reply and sorry for getting back so late - it's kind of a sparetime project.

    Quote

    build inside a docker container, then we don't have to accommodate all the weird stuff in a Gentoo install.

    after never getting past this error no matter what and where i tried, i installed docker and tested what you suggest. Docker really adds several more layers of complexity that all have to be mastered first but i got LE to compile once. Since then - different errors during compilation.

    Additionally, before i can even start building inside docker, weird things happen, eg git pull requires lots of perms to be (re)set and files (often package.mk) to be deleted manually. This is not necessary outside of the docker container.

    So, the proposed solution does not (really) work for me (and docker is also too time-consuming and remains opaque to me.)

    BUT I've been successfully building under Debian Buster the regular way - so problem solved:

    Code
    ~/le/LibreELEC.tv$ ls -alhs target/
    insgesamt 233M
    0 drwxr-xr-x 1 ice ice  438 Feb 23 11:26 .
    0 drwxr-xr-x 1 ice ice  374 Feb 23 11:26 ..
    14M -rw-r--r-- 1 ice ice  14M Feb 23 11:26 LibreELEC-Generic.x86_64-9.0-devel-20180223091656-r28166-gc06f971a6.kernel
    132M -rw-r--r-- 1 ice ice 132M Feb 23 11:26 LibreELEC-Generic.x86_64-9.0-devel-20180223091656-r28166-gc06f971a6.system
    88M -rw-r--r-- 1 ice ice 146M Feb 23 11:26 LibreELEC-Generic.x86_64-9.0-devel-20180223091656-r28166-gc06f971a6.tar