pkgsrc-Users archive

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

mysterious build failures



In order to try someting different from my current build setup for pkgsrc, i thougt i should give pkg_comp a try.
But that did not reaaly work, because on some packages it threw an error that i previously thought was because of some error on my side.  Now i’m not so sure.
I set up a clean install of NetBSD -current:
NetBSD 10.99.8 (GENERIC) #0: Sat Sep 16 05:12:22 CEST 2023
from that days sources and used
pkg_comp auto openjdk8
for a test.
and after correcting the example configuration file (most notably, etc is missing as required source package to setup the chroot) it chugged along.  but failed, because of this:
—
=> Bootstrap dependency digest> 211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/libdata/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/libdata/pkgdb fetch-pkg-vulnerabilities'.
===> Building for libcfg+-0.7.0
cd ./src && /usr/pkg/bin/gmake
gmake[1]: Entering directory '/pkg_comp/work/pkg/devel/libcfg+/work/libcfg+-0.7.0/src'
cc  -DHAVE_CONFIG_H -I. -I. -I..  -O2 -c ../src/cfg+.c
cc  -DHAVE_CONFIG_H -I. -I. -I..  -O2 -c ../src/cmdline.c
cc  -DHAVE_CONFIG_H -I. -I. -I..  -O2 -c ../src/props.c
cc  -DHAVE_CONFIG_H -I. -I. -I..  -O2 -c ../src/parse.c
libtool: compile: unable to infer tagged configuration
libtool:   error: specify a tag with '--tag'
libtool: compile: unable to infer tagged configuration
gmake[1]: *** [../Rules.make:165: ../src/cfg+.lo] Error 1
gmake[1]: *** Waiting for unfinished jobs....
libtool:   error: specify a tag with '--tag'
gmake[1]: *** [../Rules.make:165: ../src/parse.lo] Error 1
libtool: compile: unable to infer tagged configuration
libtool:   error: specify a tag with '--tag'
gmake[1]: *** [../Rules.make:165: ../src/cmdline.lo] Error 1
libtool: compile: unable to infer tagged configuration
libtool:   error: specify a tag with '--tag'
gmake[1]: *** [../Rules.make:165: ../src/props.lo] Error 1
gmake[1]: Leaving directory '/pkg_comp/work/pkg/devel/libcfg+/work/libcfg+-0.7.0/src'
gmake: *** [Makefile:127: all-src] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /pkg_comp/pkgsrc/devel/libcfg+
*** Error code 1

Stop.
bmake: stopped in /pkg_comp/pkgsrc/devel/libcfg+
——
In other chroot environments i could work around this in almost all cases by replacing bmake with native make, but i really would think this is should be fixed instead of worked around, mainly because which pkg_comp auto this is simply not possible.
I alway thought, why is ist that it is only me that has this problem and the answer was, because i probably did something that others do not.  Or i did not do something everyone else does and does not care to document… Anyway, does anyone have a clue what’s going on, how to fix this or at least what info is needed to get it fixed?

Cheers
	Oskar

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index