tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ccache fails to build NetBSD 9/amd64



With pkgsrc from last night, and pkg_rr completed, ccache fails to
build, referring to libraries I have never heard of.  It looks like
ccache 4 is vastly more complicated than 3, but maybe this is easy to
fix.

I think ccache has to work on most platforms, without dragging in new
compilers, except that maybe NetBSD 8 is at the point of
not-really-supported-at-all.

I am also puzzled by redis, as ccache is low-level build tool, and
surely one is not expected to run a redis server to use it.  If it's
just that it can be configured for redis and the client library is not
hard to build (it built for me) then that seems ok.  The commit message
updating to ccache doesn't mention redis at all.

Has anyone successfully built, or failed to build, ccache 4?

----------------------------------------
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ccache-4.7.4.tar.gz
=> Checksum SHA512 OK for ccache-4.7.4.tar.gz
work -> /tmp/work/devel/ccache/work
===> Installing dependencies for ccache-4.7.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency zstd>=1.3.6: found zstd-1.5.2
=> Full dependency hiredis>=1.0.0: found hiredis-1.1.0
===> Checking for vulnerabilities in ccache-4.7.4
===> Overriding tools for ccache-4.7.4
===> Extracting for ccache-4.7.4
===> Patching for ccache-4.7.4
===> Creating toolchain wrappers for ccache-4.7.4
===> Configuring for ccache-4.7.4
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- The ASM compiler identification is GNU
-- Found assembler: /tmp/work/devel/ccache/work/.cwrapper/bin/gcc
-- The ASM_MASM compiler identification is unknown
-- Found assembler: ml
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /tmp/work/devel/ccache/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /tmp/work/devel/ccache/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Ccache version: 4.7.4
-- Ccache dev mode: OFF
-- Performing Test std_atomic_without_libatomic
-- Performing Test std_atomic_without_libatomic - Success
-- Performing Test std_filesystem_without_libfs
-- Performing Test std_filesystem_without_libfs - Failed
-- Performing Test std_filesystem_with_libfs
-- Performing Test std_filesystem_with_libfs - Failed
CMake Error at cmake/StdFilesystem.cmake:22 (message):
  Toolchain doesn't support std::filesystem with nor without -lstdc++fs
Call Stack (most recent call first):
  cmake/StandardSettings.cmake:57 (include)
  CMakeLists.txt:70 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/work/devel/ccache/work/ccache-4.7.4/CMakeFiles/CMakeOutput.log".
See also "/tmp/work/devel/ccache/work/ccache-4.7.4/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/devel/ccache
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ccache

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index