[solved] master (fb748cf) - imx6 - build failure when compiling kodi because of PATH length

  • (clean) build fails when trying to cross compile for i.mx6 architecture.


    the log from failing build: - · GitHub

  • The reason seems to be the length of the PATH environment variable of my build host ().

    Default, the path is ~140 chars in length:

    Code
    ~/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/jdk/bin:/usr/lib/jvm/jdk/db/bin:/usr/lib/jvm/jdk/jre/bin

    When shortening the PATH to

    Code
    /home/strolch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/jdk/jre/bin

    the error doesn't show up.