Problem with populatefs

  • When building image from source PROJECT=WeTek_Play ARCH=arm make image it fails at the end with
    image: creating part2...
    image: creating filesystem on part1...
    image: creating bootloader configuration...
    image: installing u-boot bootloader...
    image: copying files to part1...
    image: copying dtb to part1...
    image: extracting part2 from image...
    image: creating filesystem on part2...
    image: populating filesystem on part2...
    image: error happen...

    Error: [Filesystem error] /tmp/tmp.JEExJmHhPb/part2.ext4 cannot be opened.

    There is some bug when building populatefs (i get a 152k binary) built it on ubuntu I get only 42k binary - replaced the one in toolchain with one built on ubuntu host (outside of LE build environment) and build now completes successfully..


  • Error: [Filesystem error] /tmp/tmp.JEExJmHhPb/part2.ext4 cannot be opened.

    There is some bug when building populatefs (i get a 152k binary) built it on ubuntu I get only 42k binary - replaced the one in toolchain with one built on ubuntu host (outside of LE build environment) and build now completes successfully..

    Such error was reported but no one knows what the problem was/is.

    Which ubuntu version are you using and I will look how it is build there.

  • I'm on ubuntu 16.10 64-bit.. I may be wrong but if i recall correctly this used to work fine before, however i now re-built everything..

    populatefs builds within toolchain and if i executed it works but fails on command in build script.. these might help it seems like they are different versions and different sizes..


    mark@ubuntu:~/src/LibreELEC.tv$ ls -l ./build.LibreELEC-WeTek_Play.arm-8.0-devel/toolchain/sbin/populatefs
    -rwxr-xr-x 1 mark mark 154264 Dec 30 06:11 ./build.LibreELEC-WeTek_Play.arm-8.0-devel/toolchain/sbin/populatefs

    mark@ubuntu:~/src/LibreELEC.tv$ ./build.LibreELEC-WeTek_Play.arm-8.0-devel/toolchain/sbin/populatefs -V
    populatefs 0.9


    mark@ubuntu:~/src/LibreELEC.tv$ ls -l /usr/bin/populatefs
    -rwxr-xr-x 1 root root 42992 Dec 31 15:28 /usr/bin/populatefs

    mark@ubuntu:~/src/LibreELEC.tv$ /usr/bin/populatefs -V
    populatefs 1.0
    Using EXT2FS Library version 1.43.3