NetBSD Problem Report #56543
From john@daisy.zia.io Fri Dec 10 06:02:08 2021
Return-Path: <john@daisy.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 60F461A923A
for <gnats-bugs@gnats.NetBSD.org>; Fri, 10 Dec 2021 06:02:08 +0000 (UTC)
Message-Id: <202112100223.1BA2NJZk021817@daisy.zia.io>
Date: Fri, 10 Dec 2021 02:23:19 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: devel/gobject-introspection fails to compile when an older version is installed
X-Send-Pr-Version: 3.95
>Number: 56543
>Category: pkg
>Synopsis: devel/gobject-introspection fails to compile when an older version is installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 10 06:05:00 +0000 2021
>Last-Modified: Sat May 21 00:10:00 +0000 2022
>Originator: John Klos
>Release: NetBSD 9.0_STABLE
>Organization:
>Environment:
System: NetBSD daisy.zia.io 9.0_STABLE NetBSD 9.0_STABLE (DAISY) #0: Tue Jul 28 04:48:43 UTC 2020 john@daisy.zia.io:/usr/obj-amd64/sys/arch/amd64/compile/DAISY amd64
Architecture: x86_64
Machine: amd64
>Description:
While using pkg_rolling-replace to update devel/gobject-introspection,
it fails to compile because of missing symbols in the already installed
older devel/gobject-introspection:
[143/163] Generating tests/scanner/generate-typelib-typedef with a custom command
[144/163] Generating tests/scanner/gir-bar with a custom command
FAILED: tests/scanner/Bar-1.0.gir
/usr/local/bin/python3.10 tools/g-ir-scanner --quiet --output=tests/scanner/Bar-1.0.gir --no-libtool --reparse-validate --add-include-path /usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/gir --add-include-path /usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/gir --warn-all --warn-error --namespace=Bar --nsversion=1.0 --include=GObject-2.0 --pkg=gobject-2.0 --library=barapp-1.0 --accept-unprefixed -L /usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/tests/scanner -L /usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/girepository -I /usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/tests/scanner -I /usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/tests/scanner/.. ../tests/scanner/barapp.c ../tests/scanner/barapp.h
ld: warning: libffi.so.7, needed by /usr/local/lib/libgirepository-1.0.so.1, not found (try using -rpath or -rpath-link)
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_uint64@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_double@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_sint32@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_uint32@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_float@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_sint64@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_void@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_pointer@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_sint16@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_closure_free@LIBFFI_CLOSURE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_uint16@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_closure_alloc@LIBFFI_CLOSURE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_prep_cif@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_uint8@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_prep_closure_loc@LIBFFI_CLOSURE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_call@LIBFFI_BASE_7.0'
ld: /usr/local/lib/libgirepository-1.0.so.1: undefined reference to `ffi_type_sint8@LIBFFI_BASE_7.0'
linking of temporary binary failed: Command '['gcc', '-o', '/usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/tmp-introspectflna457l/Bar-1.0', '-I/usr/local/include/glib-2.0', '-I/usr/local/include/gio-unix-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/include', '-I/usr/local/include', '-I/usr/local/include/python3.10', '-O2', '-fPIC', '-D_FORTIFY_SOURCE=2', '-I/usr/local/include/glib-2.0', '-I/usr/local/include/gio-unix-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/include', '-I/usr/local/include', '-I/usr/local/include/python3.10', '/usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/tmp-introspectflna457l/Bar-1.0.o', '-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed', '-L/usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/tests/scanner', '-Wl,-rpath,/usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/tests/scanner', '-L/usr/pkgsrc/devel/gobject-introspe!
ction/work/gobject-introspection-1.68.0/output/girepository', '-Wl,-rpath,/usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/girepository', '-lbarapp-1.0', '-L/usr/local/lib', '-lgio-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lgobject-2.0', '-Wl,-R/usr/local/lib', '-lglib-2.0', '-lintl', '-L/usr/local/lib', '-Wl,-R/usr/local/lib', '-L/usr/lib', '-Wl,-R/usr/lib']' returned non-zero exit status 1.
[145/163] Generating tests/scanner/gir-utility with a custom command
[146/163] Generating tests/scanner/gir-gtkfrob with a custom command
[147/163] Generating tests/scanner/gir-gettype with a custom command
[148/163] Generating tests/scanner/gir-sletter with a custom command
[149/163] Generating tests/scanner/gir-warnlib with a custom command
[150/163] Generating tests/gir-everything with a custom command
[151/163] Generating tests/gir-gimarshallingtests with a custom command
ninja: build stopped: subcommand failed.
*** Error code 1
pkg_delete of the older version (1.68.0) and make clean ; make package works.
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/56543: devel/gobject-introspection fails to compile when an
older version is installed
Date: Sat, 21 May 2022 00:07:37 +0000
On Fri, Dec 10, 2021 at 06:05:01AM +0000, john@ziaspace.com wrote:
> While using pkg_rolling-replace to update devel/gobject-introspection,
> it fails to compile because of missing symbols in the already installed
> older devel/gobject-introspection:
I also see this, FWIW. And i think other people have complained.
Maybe we should try to get upstream to fix it...
--
David A. Holland
dholland@netbsd.org
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.