Solved Inconsistent errors building 18.0bx on RPi3... any thoughts?
#1
I get inconsistent results when I build.  Sometimes, the build ends in a failure due to the following error.  Other times, the build works without an error (race condition? something related to disccd?).  Any thoughts are welcomed.  

Note that distccd does work for the majority of jobs, but there are some failures.
Code:
...
checking for shared library run path origin... checking stddef.h usability... --   Found gnutls, version 3.5.19
done
[100%] Built target fmt
In file included from /build/kodi-rbp3/src/xbmc-build/xbmc/utils/log.h:15,
                 from /build/kodi-rbp3/src/xbmc-build/xbmc/interfaces/legacy/Exception.h:11,
                 from /build/kodi-rbp3/src/xbmc-build/xbmc/interfaces/python/swig.h:15,
                 from /build/kodi-rbp3/src/kodi-build/build/swig/AddonModuleXbmcplugin.i.cpp:22:
/build/kodi-rbp3/src/xbmc-build/xbmc/utils/StringUtils.h:29:10: fatal error: fmt/format.h: No such file or directory
 #include <fmt/format.h>
          ^~~~~~~~~~~~~~
compilation terminated.
...

Link to complete build log: https://gist.github.com/graysky2/7346bec...669cedcfc3

Here is my cmake stanza:
Code:
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DVERBOSE=ON \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DCMAKE_PREFIX_PATH=/opt/vc \
    -DCORE_PLATFORM_NAME=rbpi \
    -DWITH_CPU="cortex-a53" \
    -DENABLE_EVENTCLIENTS=ON \
    -DENABLE_OPENGL=OFF \
    -DENABLE_INTERNAL_FFMPEG=ON \
    -DENABLE_INTERNAL_FMT=ON \
    -DENABLE_INTERNAL_CROSSGUID=ON \
    -DENABLE_INTERNAL_FSTRCMP=ON \
    -DENABLE_INTERNAL_FLATBUFFERS=ON \
    -Dlibdvdcss_URL="/libdvdcss-1.4.2-Leia-Beta-5.tar.gz" \
    -Dlibdvdnav_URL="/libdvdnav-6.0.0-Leia-Alpha-3.tar.gz" \
    -Dlibdvdread_URL="/libdvdread-6.0.0-Leia-Alpha-3.tar.gz" \
    -DFFMPEG_URL="/ffmpeg-4.0.3-Leia-Beta5.tar.gz" \
    -DFMT_URL="/fmt-3.0.1.tar.gz" \
    -DCROSSGUID_URL="/crossguid-8f399e8bd4.tar.gz" \
    -DFSTRCMP_URL="/fstrcmp-0.7.D001.tar.gz" \
    -DFLATBUFFERS_URL="/flatbuffers-1.9.0.tar.gz" \
    -DENABLE_AIRTUNES=OFF \
    -DENABLE_AVAHI=OFF \
    -DENABLE_BLUETOOTH=OFF \
    -DENABLE_CEC=OFF \
    -DENABLE_OPTICAL=OFF \
    -DENABLE_SMBCLIENT=OFF \
    -DENABLE_UPNP=OFF \
    ../xbmc_build"
    make
    make preinstall
Need help programming a Streamzap remote?
Reply
#2
https://github.com/xbmc/xbmc/pull/14797 will fix it.
Reply
#3
@Rechi - Thanks for the tip.  I will patch with this PR until RC1 goes live.
Need help programming a Streamzap remote?
Reply

Logout Mark Read Team Forum Stats Members Help
Inconsistent errors building 18.0bx on RPi3... any thoughts?0