tech-pkg archive

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

Re: ccache fails to build NetBSD 9/amd64



This is still not building for me, on netbsd-9, up to date as of last
night:

=> 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
=> Build dependency gcc8>=8.4.0nb6: found gcc8-8.4.0nb7
=> Full dependency zstd>=1.3.6: found zstd-1.5.2
=> Full dependency hiredis>=1.0.0: found hiredis-1.1.0
=> Full dependency gcc8-libs>=8.3.0: found gcc8-libs-8.4.0nb8
===> 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 8.4.0
-- The CXX compiler identification is unknown
-- 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 - failed
-- Check for working C compiler: /tmp/work/devel/ccache/work/.cwrapper/bin/gcc
-- Check for working C compiler: /tmp/work/devel/ccache/work/.cwrapper/bin/gcc - broken
CMake Error at /usr/pkg/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message):
  The C compiler

    "/tmp/work/devel/ccache/work/.cwrapper/bin/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /tmp/work/devel/ccache/work/ccache-4.7.4/CMakeFiles/CMakeScratch/TryCompile-Rm53Zf
    
    Run Build Command(s):/usr/pkg/bin/gmake -f Makefile cmTC_0cb12/fast && make  -f CMakeFiles/cmTC_0cb12.dir/build.make CMakeFiles/cmTC_0cb12.dir/build
    Building C object CMakeFiles/cmTC_0cb12.dir/testCCompiler.c.o
    /tmp/work/devel/ccache/work/.cwrapper/bin/gcc   -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_0cb12.dir/testCCompiler.c.o -c /tmp/work/devel/ccache/work/ccache-4.7.4/CMakeFiles/CMakeScratch/TryCompile-Rm53Zf/testCCompiler.c
    Linking C executable cmTC_0cb12
    /usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0cb12.dir/link.txt --verbose=1
    /tmp/work/devel/ccache/work/.cwrapper/bin/gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include  -L/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.4.0 -Wl,-R/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.4.0 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_0cb12.dir/testCCompiler.c.o -o cmTC_0cb12 
    gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
    compilation terminated.
    *** Error code 1
    
    Stop.
    make[1]: stopped in /tmp/work/devel/ccache/work/ccache-4.7.4/CMakeFiles/CMakeScratch/TryCompile-Rm53Zf
    gmake: *** [Makefile:127: cmTC_0cb12/fast] Error 1
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)


-- 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