[Bug 277202] devel/cmake-core: fail to build if no ccache installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 20 19:45:46 GMT 2024


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277202

            Bug ID: 277202
           Summary: devel/cmake-core: fail to build if no ccache installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: rozhuk.im at gmail.com
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

/etc/make.conf contain: WITH_CCACHE_BUILD=yes

root at host:/usr/ports/devel/cmake-core# make
===>  License BSD3CLAUSE accepted by the user
===>   cmake-core-3.28.3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cmake-core-3.28.3 for building
===>  Extracting for cmake-core-3.28.3
=> SHA256 Checksum OK for cmake-3.28.3.tar.gz.
===>  Patching for cmake-core-3.28.3
===>  Applying FreeBSD patches for cmake-core-3.28.3 from
/usr/ports/devel/cmake-core/files
/bin/rm -f
/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Help/manual/cmake-gui.1.rst
===>   cmake-core-3.28.3 depends on file: /usr/local/lib/libncurses.so.6 -
found
===>   cmake-core-3.28.3 depends on file: /usr/local/bin/ccache - not found
===>  License GPLv3+ accepted by the user
===>   ccache-devel-4.8.3.20231222 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by ccache-devel-4.8.3.20231222 for
building
===>  Extracting for ccache-devel-4.8.3.20231222
=> SHA256 Checksum mismatch for
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.tar.gz.
===>  Refetch for 1 more times files: 
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.tar.gz 
===>  License GPLv3+ accepted by the user
===>   ccache-devel-4.8.3.20231222 depends on file: /usr/local/sbin/pkg - found
=>
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.tar.gz
doesn't seem to exist in /var/cache/distfiles/.
=> Attempting to fetch
https://codeload.github.com/ccache/ccache/tar.gz/d31ab9586cb7c4b951315a36321f0a254ad6f153?dummy=/ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.tar.gz
fetch:
https://codeload.github.com/ccache/ccache/tar.gz/d31ab9586cb7c4b951315a36321f0a254ad6f153?dummy=/ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.tar.gz:
size unknown
fetch:
https://codeload.github.com/ccache/ccache/tar.gz/d31ab9586cb7c4b951315a36321f0a254ad6f153?dummy=/ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.tar.gz:
size of remote file is not known
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b9         784 kB 1674 kBps    01s
===> Fetching all distfiles required by ccache-devel-4.8.3.20231222 for
building
===>  License GPLv3+ accepted by the user
===>   ccache-devel-4.8.3.20231222 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by ccache-devel-4.8.3.20231222 for
building
=> SHA256 Checksum OK for
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.tar.gz.
===>  Patching for ccache-devel-4.8.3.20231222
===>   ccache-devel-4.8.3.20231222 depends on file: /usr/local/bin/cmake - not
found
===>   cmake-core-3.28.3 depends on file: /usr/local/lib/libncurses.so.6 -
found
===>   cmake-core-3.28.3 depends on shared library: libexpat.so - found
(/usr/local/lib/libexpat.so)
===>   cmake-core-3.28.3 depends on shared library: libjsoncpp.so - found
(/usr/local/lib/libjsoncpp.so)
===>   cmake-core-3.28.3 depends on shared library: libuv.so - found
(/usr/local/lib/libuv.so)
===>   cmake-core-3.28.3 depends on shared library: librhash.so - found
(/usr/local/lib/librhash.so)
===>  Configuring for cmake-core-3.28.3
---------------------------------------------
Source directory: /tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3
Binary directory: /tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3
Prefix directory: /usr/local
System:           FreeBSD
Generator:        Unix Makefiles
Doing parallel make: 32

---------------------------------------------
CMake 3.28.3, Copyright 2000-2023 Kitware, Inc. and Contributors
Warning: This is an in-source build
C compiler on this system is: cc -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fno-delete-null-pointer-checks  -I/usr/include -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing 
-fdebug-prefix-map=/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3=.  
C++ compiler on this system is: c++ -O2 -pipe -O3 -pipe -funroll-loops
-mretpoline -fno-delete-null-pointer-checks -I/usr/include
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3=.
-O3 -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -D__BSD_VISIBLE
-isystem /usr/local/include 
-fdebug-prefix-map=/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3=.   
Makefile processor on this system is: make
c++ has setenv
c++ has unsetenv
c++ does not have environ in stdlib.h
c++ has stl wstring
c++ does not have <ext/stdio_filebuf.h>
Building CMake with ccache
---------------------------------------------
--- cmAddCompileDefinitionsCommand.o ---
--- cmAddCustomCommandCommand.o ---
--- cmAddCustomTargetCommand.o ---
--- cmAddDefinitionsCommand.o ---
--- cmAddDependenciesCommand.o ---
--- cmAddExecutableCommand.o ---
--- cmAddLibraryCommand.o ---
--- cmAddSubDirectoryCommand.o ---
--- cmAddTestCommand.o ---
--- cmArgumentParser.o ---
--- cmBinUtilsLinker.o ---
--- cmBinUtilsLinuxELFGetRuntimeDependenciesTool.o ---
--- cmBinUtilsLinuxELFLinker.o ---
--- cmBinUtilsLinuxELFObjdumpGetRuntimeDependenciesTool.o ---
--- cmBinUtilsMacOSMachOGetRuntimeDependenciesTool.o ---
--- cmBinUtilsMacOSMachOLinker.o ---
--- cmBinUtilsMacOSMachOOToolGetRuntimeDependenciesTool.o ---
--- cmBinUtilsWindowsPEGetRuntimeDependenciesTool.o ---
--- cmBinUtilsWindowsPEDumpbinGetRuntimeDependenciesTool.o ---
--- cmBinUtilsWindowsPELinker.o ---
--- cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.o ---
--- cmBlockCommand.o ---
--- cmBreakCommand.o ---
--- cmBuildCommand.o ---
--- cmCMakeLanguageCommand.o ---
--- cmCMakeMinimumRequired.o ---
--- cmList.o ---
--- cmCMakePath.o ---
--- cmCMakePathCommand.o ---
--- cmCMakePolicyCommand.o ---
--- cmCPackPropertiesGenerator.o ---
--- cmCacheManager.o ---
--- cmCMakeMinimumRequired.o ---
/usr/local/bin/ccache c++ -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fno-delete-null-pointer-checks -I/usr/include -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3=.
-O3 -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -D__BSD_VISIBLE
-isystem /usr/local/include 
-fdebug-prefix-map=/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3=.   
   -DCMAKE_BOOTSTRAP    -DCMake_HAVE_CXX_MAKE_UNIQUE=1
-DCMake_HAVE_CXX_FILESYSTEM=1  
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Bootstrap.cmk  
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Source  
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Source/LexerParser  
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Utilities/std  
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Utilities  -c
/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Source/cmCMakeMinimumRequired.cxx
-o cmCMakeMinimumRequired.o
sh: /usr/local/bin/ccache: not found
*** [cmCMakeMinimumRequired.o] Error code 127
...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list