2019-11-16, 14:17
Recently I cannot build 18.4 using distcc on Arch Linux. I see errors relating to a missing
Example:
Partial build.log using distcc.
Partial build.log without using distcc.
I am preparing the build like this:
fmt/format.h
but it is clearly defined and there. If I build without distcc, I do not see these errors.Example:
Code:
...
[ 5%] Building CXX object build/swig/CMakeFiles/python_binding.dir/AddonModuleXbmcwsgi.i.cpp.o
In file included from /build/kodi-haswell/src/xbmc-18.4-Leia/xbmc/utils/log.h:15,
from /build/kodi-haswell/src/xbmc-18.4-Leia/xbmc/interfaces/legacy/Exception.h:11,
from /build/kodi-haswell/src/xbmc-18.4-Leia/xbmc/interfaces/python/swig.h:15,
from /build/kodi-haswell/src/kodi-build/build/swig/AddonModuleXbmcgui.i.cpp:22:
/build/kodi-haswell/src/xbmc-18.4-Leia/xbmc/utils/StringUtils.h:29:10: fatal error: fmt/format.h: No such file or directory
29 | #include <fmt/format.h>
| ^~~~~~~~~~~~~~
compilation terminated.
distcc[7799] ERROR: compile /build/kodi-haswell/src/kodi-build/build/swig/AddonModuleXbmcgui.i.cpp on localhost failed
make[2]: *** [build/swig/CMakeFiles/python_binding.dir/build.make:131: build/swig/CMakeFiles/python_binding.dir/AddonModuleXbmcgui.i.cpp.o] Error 1
Partial build.log using distcc.
Partial build.log without using distcc.
I am preparing the build like this:
Code:
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DVERBOSE=ON \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DENABLE_EVENTCLIENTS=ON \
-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.4-Leia-18.4.tar.gz" \
-DFMT_URL="/fmt-5.1.0.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_MARIADBCLIENT=ON \
-DENABLE_MYSQLCLIENT=OFF \
-DENABLE_AIRTUNES=OFF \
-DENABLE_AVAHI=OFF \
-DENABLE_BLUETOOTH=OFF \
-DENABLE_CEC=OFF \
-DENABLE_OPTICAL=OFF \
-DENABLE_SMBCLIENT=OFF \
-DENABLE_UPNP=OFF \
-DENABLE_VDPAU=OFF \
../"xbmc-18.4-Leia"
make
make preinstall