On 1/31/26 03:03, Andrea Venturoli wrote:
> 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.
> 
> 


>From your log file:

QUOTE
building for: FreeBSD 143amd64-default-job-02 14.3-RELEASE FreeBSD
14.3-RELEASE 1403000 amd64
. . .
Jail OSVERSION: 1403000
END QUOTE


clang-scan-deps is not part of:
releng/13.5 or releng/14.3

clang-scan-deps is part of:
stable/13 , stable/14 , releng/15.0 , and main

clang-scan-deps will be part of:
releng/14.4


devel/kodi-platform/Makefile has the line:

USES=           cmake compiler:c++11-lang

c++11 would be far too old to involve clang-scan-deps (involved for
using modules) so if the Makefile is correct then it would seem that
cmake should be told that module support is not needed, removing the
requirement.

If the Makefile is wrong, it should be corrected.


I do not have devel/kodi-platform background knowledge to know which is
the case. Nor am I cmake literate for how to configure it to avoid a
clang-scan-deps requirement.


-- 
===
Mark Millard
marklmi at yahoo.com

Reply via email to