pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [2024-Q2] gtk3 build failure
On Wed, Jul 10, 2024 at 12:13:52PM +0200, BERTRAND Jo?l wrote:
> Hello,
>
> I'm upgrading my tree and pkg_rolling-replace -suv aborts with
> following error :
>
> [802/1644] Generating gtk/Gtk-3.0.gir ... command (wrapped by meson to
> set env)
> FAILED: gtk/Gtk-3.0.gir
> ..
> ld: warning: libfreetype.so.19, needed by
> /usr/src/pkgsrc/x11/gtk3/work/.buildlink/lib/libfontconfig.so, may
> conflict with libfreetype.so.6
> ld: /usr/pkg/lib/libgdk-3.so.0: undefined reference to
> `xkb_state_serialize_mods@V_0.5.0'
> ld: /usr/pkg/lib/libgdk-3.so.0: undefined reference to
> `xkb_state_unref@V_0.5.0'
> ld: /usr/pkg/lib/libgdk-3.so.0: undefined reference to
> `xkb_state_key_get_level@V_0.5.0'
> ld: /usr/pkg/lib/libgdk-3.so.0: undefined reference to
> `xkb_state_led_name_is_active@V_0.5.0'
> ld: /usr/pkg/lib/libgdk-3.so.0: undefined reference to
> `xkb_state_layout_index_is_active@V_0.5.0'
> ld: /usr/pkg/lib/libgdk-3.so.0: undefined reference to
> `xkb_context_unref@V_0.5.0'
> ...
> linking of temporary binary failed: Command '['gcc', '-o',
> '/usr/src/pkgsrc/x11/gtk3/work/gtk+-3.24.42/output/tmp-introspectg18ow2o_/Gtk-3.0',
> '-I/usr/pkg/include', '-I/usr/include', '-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/krb5', '-I/usr/X11R7/include',
> '-I/usr/pkg/include/freetype2', '-I/usr/pkg/include/harfbuzz',
> '-I/usr/X11R7/include/libdrm', '-O2', '-pthread', '-I/usr/pkg/include',
> '-I/usr/include', '-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/krb5', '-I/usr/X11R7/include',
> '-I/usr/pkg/include/freetype2', '-I/usr/pkg/include/harfbuzz',
> '-I/usr/X11R7/include/libdrm',
> '/usr/src/pkgsrc/x11/gtk3/work/gtk+-3.24.42/output/tmp-introspectg18ow2o_/Gtk-3.0.o',
> '-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed',
> '-L/usr/src/pkgsrc/x11/gtk3/work/gtk+-3.24.42/output/gtk',
> '-Wl,-rpath,/usr/src/pkgsrc/x11/gtk3/work/gtk+-3.24.42/output/gtk',
> '-L/usr/src/pkgsrc/x11/gtk3/work/gtk+-3.24.42/output/gdk',
> '-Wl,-rpath,/usr/src/pkgsrc/x11/gtk3/work/gtk+-3.24.42/output/gdk',
> '-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', '-L/usr/X11R7/lib',
> '-Wl,-rpath,/usr/X11R7/lib', '-lgtk-3', '-lgmodule-2.0', '-lglib-2.0',
> '-lintl', '-lgobject-2.0', '-lgio-2.0', '-lpangocairo-1.0',
> '-lpango-1.0', '-lharfbuzz', '-lcairo', '-lpangoft2-1.0', '-lfreetype',
> '-lfontconfig', '-lfribidi', '-lcairo-gobject', '-lgdk_pixbuf-2.0',
> '-latk-1.0', '-lepoxy', '-lm', '-lXi', '-lX11', '-latk-bridge-2.0',
> '-lrt', '-lxkbcommon', '-lwayland-client', '-lwayland-cursor',
> '-lwayland-egl', '-lXrender', '-lXext', '-lXcursor', '-lXdamage',
> '-lXfixes', '-lXcomposite', '-lXrandr', '-lXinerama',
> '-lgirepository-1.0', '-L/usr/pkg/lib', '-lgio-2.0', '-lgobject-2.0',
> '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread',
> '-Wl,-R/usr/pkg/lib', '-lglib-2.0', '-lintl', '-Wl,-zrelro',
> '-L/usr/pkg/lib', '-Wl,-R/usr/pkg/lib', '-L/usr/lib', '-Wl,-R/usr/lib',
> '-pthread', '-L/usr/X11R7/lib', '-Wl,-R/usr/X11R7/lib']' returned
> non-zero exit status 1.
> [805/1644] Compiling C object demos/gtk-demo/gtk3-demo.p/overlay.c.o
> ninja: build stopped: subcommand failed.
> *** Error code 1
>
> If I remember, I have seen this error in the past, but I don't remember
> how I have fix it...
I saw this too on my recent pkg_rolling-replace... my "fix" was to
'pkg_delete -f gtk3+' and rebuild. For some reason some link step is
picking up the currently installed old library.
--
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.
Home |
Main Index |
Thread Index |
Old Index