Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2024 19:45:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277202] devel/cmake-core: fail to build if no ccache installed
Message-ID:  <bug-277202-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277202

            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@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

/etc/make.conf contain: WITH_CCACHE_BUILD=3Dyes

root@host:/usr/ports/devel/cmake-core# make
=3D=3D=3D>  License BSD3CLAUSE accepted by the user
=3D=3D=3D>   cmake-core-3.28.3 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by cmake-core-3.28.3 for building
=3D=3D=3D>  Extracting for cmake-core-3.28.3
=3D> SHA256 Checksum OK for cmake-3.28.3.tar.gz.
=3D=3D=3D>  Patching for cmake-core-3.28.3
=3D=3D=3D>  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-g=
ui.1.rst
=3D=3D=3D>   cmake-core-3.28.3 depends on file: /usr/local/lib/libncurses.s=
o.6 -
found
=3D=3D=3D>   cmake-core-3.28.3 depends on file: /usr/local/bin/ccache - not=
 found
=3D=3D=3D>  License GPLv3+ accepted by the user
=3D=3D=3D>   ccache-devel-4.8.3.20231222 depends on file: /usr/local/sbin/p=
kg - found
=3D=3D=3D> Fetching all distfiles required by ccache-devel-4.8.3.20231222 f=
or
building
=3D=3D=3D>  Extracting for ccache-devel-4.8.3.20231222
=3D> SHA256 Checksum mismatch for
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.=
tar.gz.
=3D=3D=3D>  Refetch for 1 more times files:=20
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.=
tar.gz=20
=3D=3D=3D>  License GPLv3+ accepted by the user
=3D=3D=3D>   ccache-devel-4.8.3.20231222 depends on file: /usr/local/sbin/p=
kg - found
=3D>
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.=
tar.gz
doesn't seem to exist in /var/cache/distfiles/.
=3D> Attempting to fetch
https://codeload.github.com/ccache/ccache/tar.gz/d31ab9586cb7c4b951315a3632=
1f0a254ad6f153?dummy=3D/ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315=
a36321f0a254ad6f153_GH0.tar.gz
fetch:
https://codeload.github.com/ccache/ccache/tar.gz/d31ab9586cb7c4b951315a3632=
1f0a254ad6f153?dummy=3D/ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315=
a36321f0a254ad6f153_GH0.tar.gz:
size unknown
fetch:
https://codeload.github.com/ccache/ccache/tar.gz/d31ab9586cb7c4b951315a3632=
1f0a254ad6f153?dummy=3D/ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315=
a36321f0a254ad6f153_GH0.tar.gz:
size of remote file is not known
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b9         784 kB 1674 kBps    =
01s
=3D=3D=3D> Fetching all distfiles required by ccache-devel-4.8.3.20231222 f=
or
building
=3D=3D=3D>  License GPLv3+ accepted by the user
=3D=3D=3D>   ccache-devel-4.8.3.20231222 depends on file: /usr/local/sbin/p=
kg - found
=3D=3D=3D> Fetching all distfiles required by ccache-devel-4.8.3.20231222 f=
or
building
=3D> SHA256 Checksum OK for
ccache-ccache-v4.8.3.20231222-d31ab9586cb7c4b951315a36321f0a254ad6f153_GH0.=
tar.gz.
=3D=3D=3D>  Patching for ccache-devel-4.8.3.20231222
=3D=3D=3D>   ccache-devel-4.8.3.20231222 depends on file: /usr/local/bin/cm=
ake - not
found
=3D=3D=3D>   cmake-core-3.28.3 depends on file: /usr/local/lib/libncurses.s=
o.6 -
found
=3D=3D=3D>   cmake-core-3.28.3 depends on shared library: libexpat.so - fou=
nd
(/usr/local/lib/libexpat.so)
=3D=3D=3D>   cmake-core-3.28.3 depends on shared library: libjsoncpp.so - f=
ound
(/usr/local/lib/libjsoncpp.so)
=3D=3D=3D>   cmake-core-3.28.3 depends on shared library: libuv.so - found
(/usr/local/lib/libuv.so)
=3D=3D=3D>   cmake-core-3.28.3 depends on shared library: librhash.so - fou=
nd
(/usr/local/lib/librhash.so)
=3D=3D=3D>  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 -mretpo=
line
-fno-delete-null-pointer-checks  -I/usr/include -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing=20
-fdebug-prefix-map=3D/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.=
3=3D.=20=20
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=3D/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.=
3=3D.
-O3 -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -D__BSD_VIS=
IBLE
-isystem /usr/local/include=20
-fdebug-prefix-map=3D/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.=
3=3D.=20=20=20
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=3D/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.=
3=3D.
-O3 -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -D__BSD_VIS=
IBLE
-isystem /usr/local/include=20
-fdebug-prefix-map=3D/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.=
3=3D.=20=20=20
   -DCMAKE_BOOTSTRAP    -DCMake_HAVE_CXX_MAKE_UNIQUE=3D1
-DCMake_HAVE_CXX_FILESYSTEM=3D1=20=20
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Bootstrap.cmk=20=
=20
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Source=20=20
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Source/LexerParse=
r=20=20
-I/tmp/ports/usr/ports/devel/cmake-core/work/cmake-3.28.3/Utilities/std=20=
=20
-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/cmCMakeMinim=
umRequired.cxx
-o cmCMakeMinimumRequired.o
sh: /usr/local/bin/ccache: not found
*** [cmCMakeMinimumRequired.o] Error code 127
...

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277202-7788>