pkgsrc-Users archive

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

more pkg_comp mysterious build failures



Hej there,

while nobody else seems to have run into my earlier problem (from looking at the mail-archive, everyne seems to use pkg_comp for cross-building…), I ran into another problem:
—
=> Bootstrap dependency digest> 211023: found digest-20220214
=> Fetching php-8.2.11.tar.xz
=> Total size: 12046180 bytes
FFFFFFFFFFFFFFFF:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
FFFFFFFFFFFFFFFF:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
ftp: Can't connect to `de.php.net:https'
fetch: Unable to fetch expected file php-8.2.11.tar.xz
—
Yes, the fix is obvious: install mozilla-rootcerts and run "mozilla-rootcerts install" in the chroot.
Unfortunately, i cannot find the proper place to hook that into pkg_comp (auto mode, that is).

Cheers
	Oskar

> Am 23.09.2023 um 18:09 schrieb oskar%fessel.org@localhost:
>
> Hej,
>
>> Am 23.09.2023 um 10:07 schrieb Benny Siegert <bsiegert%gmail.com@localhost>:
>>
>> Try rebuilding your libtool package with the same pkg_comp setup.
>
> took a while because that built gcc10 as prerequisite.  But in the end, no difference.
> pkg_comp apparently uses libtool from the original install media, and in auto mode destroys the chroot environment after the fact.
> So, there should be a different solution ;-)
>
> Cheers
> 	Oskar
>
>>
>> On Sat, Sep 23, 2023 at 9:20 AM Jan-Hinrich Fessel <oskar%fessel.org@localhost> wrote:
>>>
>>> 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.
>>> —
>>> => 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+
>>> ——
>

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



Home | Main Index | Thread Index | Old Index