pkgsrc-Bugs archive

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

pkg/56543: devel/gobject-introspection fails to compile when an older version is installed



>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
>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@localhost:/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:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index