pkgsrc-Users archive

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

Build failures with gobject_introspection / gvfs



Hi,

i am using NetBSD9.1 and pkgsrc 2020Q4 on sparc64.

I found that when the package sysutils/gvfs is installed, subsequent builds of other packages using gobject_introspection fail to build with the following error:

Example from failed build of graphics/gexiv2:
g-ir-scanner: link: gcc -o /usr/pkgsrc/graphics/gexiv2/work/gexiv2-0.12.0/output/tmp-introspectl32oad_w/GExiv2-0.10 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.8 -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/X11R7/include -I/usr/X11R7/include/freetype2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.8 -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/X11R7/include -I/usr/X11R7/include/freetype2 /usr/pkgsrc/graphics/gexiv2/work/gexiv2-0.12.0/output/tmp-introspectl32oad_w/GExiv2-0.10.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/usr/pkgsrc/graphics/gexiv2/work/gexiv2-0.12.0/output/gexiv2 -Wl,-rpath,/usr/pkgsrc/graphics/gexiv2/work/gexiv2-0.12.0/output/gexiv2 -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/X11R7/lib -Wl,-rpath,/usr/X11R7/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lgexiv2 -lgobject-2.0 -lglib-2.0 -lintl -lexiv2 -lgio-2.0 -lgirepository-1.0 -L/usr/pkg/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
/usr/pkg/lib/libgthread-2.0.so.0: Trying to call undefined weak symbol `__deregister_frame_info'
ninja: build stopped: subcommand failed.
*** Error code 1

The behavior is somewhat similar to what was discussed 2017 in:
http://gnats.netbsd.org/51266

My main problem is with sysutils/xfce4-thunar, which has both gvfs and introspection enabled by default and thus refuses to build without disabling one or the other.

What would be the best advice to work around this problem today?

Regards,
Connor


Home | Main Index | Thread Index | Old Index