Port-sparc64 archive

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

ffi errors building gobject-introspection



Hi,

I am upgrading gobject-introspection on NetBSD 9.3 sparc64:
Version mismatch: 'gobject-introspection' 1.68.0 vs 1.74.0

but "make replace" fails:

FAILED: tests/scanner/Bar-1.0.gir
/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/tools/g-ir-scanner
--quiet --output=tests/scanner/Bar-1.0.gir --no-libtool
--reparse-validate --add-include-path
/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/gir
--add-include-path
/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.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
/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/tests/scanner
-L
/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/girepository
-I
/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/tests/scanner
-I
/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/tests/scanner/..
../tests/scanner/barapp.c ../tests/scanner/barapp.h
ld: warning: libffi.so.7, needed by
/usr/pkg/lib/libgirepository-1.0.so.1, not found (try using -rpath or
-rpath-link)
ld: /usr/pkg/lib/libgirepository-1.0.so.1: undefined reference to
`ffi_type_uint64@LIBFFI_BASE_7.0'
ld: /usr/pkg/lib/libgirepository-1.0.so.1: undefined reference to
`ffi_type_double@LIBFFI_BASE_7.0'
ld: /usr/pkg/lib/libgirepository-1.0.so.1: undefined reference to
`ffi_type_sint32@LIBFFI_BASE_7.0'
ld: /usr/pkg/lib/libgirepository-1.0.so.1: undefined reference to
`ffi_type_uint32@LIBFFI_BASE_7.0'

<...>

ld: /usr/pkg/lib/libgirepository-1.0.so.1: undefined reference to
`ffi_call@LIBFFI_BASE_7.0'
ld: /usr/pkg/lib/libgirepository-1.0.so.1: undefined reference to
`ffi_type_sint8@LIBFFI_BASE_7.0'
linking of temporary binary failed: Command '['gcc', '-o',
'/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/tmp-introspectic4_j_cj/Bar-1.0',
'-I/usr/pkg/include/glib-2.0', '-I/usr/pkg/include/gio-unix-2.0',
'-I/usr/pkg/lib/glib-2.0/include', '-I/usr/include',
'-I/usr/pkg/include', '-I/usr/pkg/include/python3.10', '-O2', '-fPIC',
'-D_FORTIFY_SOURCE=2', '-I/usr/pkg/include/glib-2.0',
'-I/usr/pkg/include/gio-unix-2.0', '-I/usr/pkg/lib/glib-2.0/include',
'-I/usr/include', '-I/usr/pkg/include', '-I/usr/pkg/include/python3.10',
'/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/tmp-introspectic4_j_cj/Bar-1.0.o',
'-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed',
'-L/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/tests/scanner',
'-Wl,-rpath,/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/tests/scanner',
'-L/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/girepository',
'-Wl,-rpath,/disk2/pkg-workdir/devel/gobject-introspection/work/gobject-introspection-1.74.0/output/girepository',
'-lbarapp-1.0', '-L/usr/pkg/lib', '-lgio-2.0', '-Wl,--export-dynamic',
'-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lgobject-2.0',
'-Wl,-R/usr/pkg/lib', '-lglib-2.0', '-lintl', '-L/usr/pkg/lib',
'-Wl,-R/usr/pkg/lib', '-L/usr/lib', '-Wl,-R/usr/lib']' returned non-zero
exit status 1.

Anybody else hit this issue? suggestions?

Thanks,
Riccardo


Home | Main Index | Thread Index | Old Index