which package depends on fakeroot

  • When I run the following command on a clean build (make clean, rm -r build.LibreELEC-imx6.arm-8.0-devel), I get this error:

    Code
    $ PROJECT=imx6 ARCH=arm scripts/create_addon lcdd

    When I run the command again, I get the following:

    Code
    $ PROJECT=imx6 ARCH=arm scripts/create_addon lcdd

    So fakeroot is missing. Should virtual/initramfs depend on fakeroot, or which package depends on fakeroot?

    Regards
    MichaeL

  • Fakeroot is build directly from scripts/image like some other packages too: LibreELEC.tv/image at master · LibreELEC/LibreELEC.tv · GitHub
    Wondering why you get this error.
    Try making image first and then create addon.

    And seems lcdd doesn't build for imx6:

    Code
    build.LibreELEC-imx6.arm-7.95.1/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/include/lirc/curl_poll.h:36:29: error: array type has incomplete element type 'struct pollfd'
     int curl_poll(struct pollfd ufds, unsigned int nfds, int timeout_ms);

    As a workaround you need to add line

    Code
    CFLAGS="$CFLAGS -DHAVE_SYS_POLL_H=1"


    to file packages/addons/service/lcdd/patches before PKG_CONFIGURE_OPTS_TARGET.

    Edited once, last by vpeter (January 13, 2017 at 8:44 AM).

  • Okay a workaround is "make image" first, but when I will build only one addon for a project I have to build the whole image first? Hmm ... :dodgy:
    I got this error from building lcdd too. For two days all was fine, but now it won't build ...?
    I decided to make a clean build, but stumble about the fakeroot error.

  • I see lcdd addon is available from repository. Not really sure what went wrong with your (and mine) build. Building again to see if something come up.
    [hr]
    I made completely fresh build and this time addon was build fine.

    Edited once, last by vpeter (January 13, 2017 at 11:16 AM).

  • Got it by installing fakeroot:host by hand
    Lcdd builds fine without an installed lirc package. With a manual installed lirc package I got the same error.
    So I disabled lirc in package.mk and lcdd build fine again.

    Code
    --enable-drivers=all,!lirc