pkgsrc-Users archive

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

cmake-using packages failing, netbsd9



I'm almost up to date with pkgsrc on NetBDS 9 and packages using cmake
are failing.  I usually use ccache and I turned that off.

  $ CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/geography/geos/work/.cwrapper/config /tmp/work/geography/geos/work/.cwrapper/bin/gcc
  gcc: fatal error: no input files
  compilation terminated.

cmake does not seem to have any recent updates.

Can somebody else build e.g. geography/geos?

If I run the compiler with manaul wrappers settings it complains about
no input files like I'd expect.



=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Checksum BLAKE2s OK for geos-3.10.1.tar.bz2
=> Checksum SHA512 OK for geos-3.10.1.tar.bz2
work -> /tmp/work/geography/geos/work
===> Installing dependencies for geos-3.10.1
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.22.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> Checking for vulnerabilities in geos-3.10.1
===> Overriding tools for geos-3.10.1
===> Extracting for geos-3.10.1
===> Patching for geos-3.10.1
=> Applying pkgsrc patches for geos-3.10.1
=> Verifying /home/n0/gdt/pkgsrc-current/pkgsrc/geography/geos/patches/patch-ae
=> Applying pkgsrc patch /home/n0/gdt/pkgsrc-current/pkgsrc/geography/geos/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.9 2021/10/21 00:25:16 gdt Exp $
|
|TODO: explain what's in LDFLAGS.
|TODO: explain why --libs has -L in the first place (vs --ldflags).
|TODO: report upstream.
|
|--- tools/geos-config.in.orig	2021-09-30 20:14:04.000000000 +0000
|+++ tools/geos-config.in
--------------------------
Patching file tools/geos-config.in using Plan A...
Hunk #1 succeeded at 62.
done
===> Creating toolchain wrappers for geos-3.10.1
===> Configuring for geos-3.10.1
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- GEOS: Using default build type: Release
-- GEOS: Run-time output: /tmp/work/geography/geos/work/geos-3.10.1/bin
-- GEOS: Archives output: /tmp/work/geography/geos/work/geos-3.10.1/lib
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /tmp/work/geography/geos/work/.cwrapper/bin/gcc
-- Check for working C compiler: /tmp/work/geography/geos/work/.cwrapper/bin/gcc - broken
CMake Error at /usr/pkg/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/tmp/work/geography/geos/work/.cwrapper/bin/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /tmp/work/geography/geos/work/geos-3.10.1/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/pkg/bin/gmake -f Makefile cmTC_410cd/fast && make  -f CMakeFiles/cmTC_410cd.dir/build.make CMakeFiles/cmTC_410cd.dir/build
    Building C object CMakeFiles/cmTC_410cd.dir/testCCompiler.c.o
    *** Signal 6
    
    Stop.
    make[1]: stopped in /tmp/work/geography/geos/work/geos-3.10.1/CMakeFiles/CMakeTmp
    gmake: *** [Makefile:127: cmTC_410cd/fast] Error 1
    
    

  

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


-- Configuring incomplete, errors occurred!
See also "/tmp/work/geography/geos/work/geos-3.10.1/CMakeFiles/CMakeOutput.log".
See also "/tmp/work/geography/geos/work/geos-3.10.1/CMakeFiles/CMakeError.log".
*** Signal 6

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

Stop.
make: stopped in /usr/pkgsrc/geography/geos

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index