Cannot build devel/kodi-platform

Andrea Venturoli <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Hello.

I'm trying to build kodi-platform in Poudriere on a 14.3/amd64 box for 
14.3/amd64, but I get an error.

Full log is here:
> https://www.netfence.it/download/kodi-platform.log

Briefly, it ends with:
> ===>  Building for kodi-platform-20250416
> [ 20% 1/5] "CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND" -format=p1689 -- /usr/local/libexec/ccache/c++ -DBUILD_KODI_ADDON -Dkodiplatform_EXPORTS -I/usr/local/include -I/usr/local/include/kodi -I/usr/local/include/p8-platform -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=c++20 -fPIC   -DTARGET_POSIX -DTARGET_FREEBSD -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -x c++ /wrkdirs/usr/ports/devel/kodi-platform/work/kodi-platform-kodiplatform-20250416/src/util/XMLUtils.cpp -c -o CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o -resource-dir "/usr/lib/clang/19" -MT CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi -MD -MF CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o
 .ddi.d > CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi.tmp && mv CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi.tmp CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi
> FAILED: [code=127] CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi 
> "CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND" -format=p1689 -- /usr/local/libexec/ccache/c++ -DBUILD_KODI_ADDON -Dkodiplatform_EXPORTS -I/usr/local/include -I/usr/local/include/kodi -I/usr/local/include/p8-platform -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=c++20 -fPIC   -DTARGET_POSIX -DTARGET_FREEBSD -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -x c++ /wrkdirs/usr/ports/devel/kodi-platform/work/kodi-platform-kodiplatform-20250416/src/util/XMLUtils.cpp -c -o CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o -resource-dir "/usr/lib/clang/19" -MT CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi -MD -MF CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi.d > CM
 akeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi.tmp && mv CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi.tmp CMakeFiles/kodiplatform.dir/src/util/XMLUtils.cpp.o.ddi
> /bin/sh: CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND: not found
> ninja: build stopped: subcommand failed.
> *** Error code 1



My guess is that it wants clang-scan-deps, which is not part of base.
I'd try to make it build with LLVM from ports, but I don't know how to 
do this.
Perhaps there's also a way to avoid this, but I'm not that expert with 
CMake/Ninja either.



  bye & Thanks
	av.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.