Can't build the latest master branch from git repo

  • Hello.

    I've tried to compile sources from master branch of GitHub - LibreELEC/LibreELEC.tv: Just enough OS for KODI , but it failed to compile with

    Code
    PROJECT=Amlogic DEVICE=S912 ARCH=arm make image -j 2

    If I restart it again, I got this output log:

    Is master branch broken now?

  • devusr@scw-97b47e:/home/le/LibreELEC.tv$ git branch

    * master

    devusr@scw-97b47e:/home/le/LibreELEC.tv$ git log

    commit 544f25dffdc1e267033a252d5239456d0cc208d4 (HEAD -> master, origin/master, origin/HEAD)

    Merge: 3049f4ffc 9f0d70b81

    Author: MilhouseVH <[email protected]>

    Date: Wed Mar 7 16:18:30 2018 +0000

    Merge pull request #2556 from HiassofT/le9-rpi-kodi-pr13594

    RPi: temporarily add kodi PR13594

    commit 3049f4ffc3d16d124e9ea6d2b734bce3739c360f

    Merge: 6f7037fcd 9c76dbc3a

    Author: Radostan Riedel <[email protected]>

    Date: Wed Mar 7 09:55:28 2018 +0100

    Merge pull request #2564 from ToKe79/aml-uboot-patch1

    Amlogic u-boot: fix order of PKG_URL and PKG_VERSION

    • Official Post

    tested current master and it worked without any problem

    try

    PROJECT=Amlogic DEVICE=S912 ARCH=arm scripts/clean crazycat

    PROJECT=Amlogic DEVICE=S912 ARCH=arm make image

  • I've cleaned project with

    make clean

    PROJECT=Amlogic DEVICE=S912 ARCH=arm scripts/clean linux


    and started

    PROJECT=Amlogic DEVICE=S912 ARCH=arm make image -j 4

    again

    but it failed again, but at another moment:

    What I do wrong? :)

  • I have cleaned it with

    PROJECT=Amlogic DEVICE=S912 ARCH=arm scripts/clean openssl

    PROJECT=Amlogic DEVICE=S912 ARCH=arm make image


    but it failed again:

    • Official Post

    you need to kill the ccache, this is a known problem at some cpus that they won't build openssl with ccache anymore

    cd /home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/

    rm -rf .ccache/

    then

    PROJECT=Amlogic DEVICE=S912 ARCH=arm scripts/clean openssl

    PROJECT=Amlogic DEVICE=S912 ARCH=arm make image

  • Still can't compile it, new error:

    How to fix that? Thank you!

  • Doesn't solved the issue:

    Code
    devusr@scw-97b47e:/home/le/LibreELEC.tv$ PROJECT=Amlogic DEVICE=S912 ARCH=arm scripts/clean nss
      CLEAN    nss
          * Removing /home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/nss-3.29.5 ...
    devusr@scw-97b47e:/home/le/LibreELEC.tv$ PROJECT=Amlogic DEVICE=S912 ARCH=arm make image

    Failed with