Bug 285552 - x11/libxfce4menu build fails
Summary: x11/libxfce4menu build fails
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-xfce (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-20 15:08 UTC by kailockwood
Modified: 2025-11-15 17:48 UTC (History)
1 user (show)

See Also:
madpilot: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kailockwood 2025-03-20 15:08:22 UTC
Hello, end user here with a PR. Please let me know if I need to provide more info

Using postmaster -a on headless server using xrdp with XFCE environment. Did a git pull 3/19 and began ports build which did not complete. Build fails after git pull this morning on 3/20. Unsure if this relates to bug #285185

Failure occurs while building for x11/libxfce4menu:

*snip

libtool: link: ( cd ".libs" && rm -f "libxfce4ui-2.la" && ln -s "../libxfce4ui-2.la" "libxfce4ui-2.la" )
CPPFLAGS="-I/usr/local/include -DNDEBUG -DHAVE_GNUC_VISIBILITY" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wmissing-declarations -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wformat -Wformat-security -Wformat-y2k -Winit-self -Wmissing-include-dirs -Wundef -Wredundant-decls -Wshadow -Wnested-externs -Wold-style-definition" LDFLAGS="-fstack-protector-strong  -Wl,--as-needed -Wl,-O1" CC="cc" PKG_CONFIG="pkgconf" GI_HOST_OS="" DLLTOOL="false" CC="cc" /usr/local/bin/g-ir-scanner  --add-include-path=. --add-include-path=/usr/local/share/gir-1.0 --warn-all --identifier-prefix=Xfce --identifier-prefix=xfce --identifier-prefix=libxfce --c-include=libxfce4ui/libxfce4ui.h --namespace=Libxfce4ui --nsversion=2.0 --libtool="/bin/sh ../libtool"  --include=GObject-2.0 --include=GLib-2.0 --include=Gtk-3.0 --include=Libxfce4util-1.0 --pkg-export=libxfce4ui-2   --library=libxfce4ui-2.la  --cflags-begin -I.. -DDATADIR=\"/usr/local/share\" -DSN_API_NOT_YET_FROZEN -DLIBXFCE4UI_COMPILATION -DG_LOG_DOMAIN=\"libxfce4ui\" -DLIBEXECDIR=\"/usr/local/libexec\" -DLIBXFCE4UI_VERSION_API=\"2\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\"  --cflags-end  libxfce4ui-config.h libxfce4ui-enum-types.h xfce-dialogs.h xfce-gdk-extensions.h xfce-gtk-extensions.h xfce-screensaver.h xfce-spawn.h xfce-filename-input.h xfce-titled-dialog.h libxfce4ui-enums.h xfce-clipboard-manager.h xfce-sm-client.h libxfce4ui-alias.h libxfce4ui-aliasdef.c libxfce4ui-enum-types.c libxfce4ui-marshal.c libxfce4ui-marshal.h libxfce4ui-resources.c libxfce4ui-resources.h libxfce4ui-config.c xfce-dialogs.c xfce-gdk-extensions.c xfce-gtk-extensions.c xfce-screensaver.c xfce-spawn.c xfce-filename-input.c xfce-titled-dialog.c xfce-clipboard-manager.c xfce-sm-client.c libxfce4ui-2.la Makefile --output Libxfce4ui-2.0.gir
libxfce4ui-config.h:81: Warning: Libxfce4ui: symbol='libxfce4ui_check_version': Unknown namespace for symbol 'libxfce4ui_check_version'
libxfce4ui-resources.h:6: Warning: Libxfce4ui: symbol='libxfce4ui_get_resource': Unknown namespace for symbol 'libxfce4ui_get_resource'
libxfce4ui-config.h:38: Warning: Libxfce4ui: symbol='LIBXFCE4UI_MAJOR_VERSION': Unknown namespace for symbol 'LIBXFCE4UI_MAJOR_VERSION'
libxfce4ui-config.h:47: Warning: Libxfce4ui: symbol='LIBXFCE4UI_MINOR_VERSION': Unknown namespace for symbol 'LIBXFCE4UI_MINOR_VERSION'
libxfce4ui-config.h:56: Warning: Libxfce4ui: symbol='LIBXFCE4UI_MICRO_VERSION': Unknown namespace for symbol 'LIBXFCE4UI_MICRO_VERSION'
libxfce4ui-config.h:68: Warning: Libxfce4ui: symbol='LIBXFCE4UI_CHECK_VERSION': Unknown namespace for symbol 'LIBXFCE4UI_CHECK_VERSION'
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC cc -o /usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui/tmp-introspectubroe1rv/Libxfce4ui-2.0 -export-dynamic -I/usr/local/include -DNDEBUG -DHAVE_GNUC_VISIBILITY -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wmissing-declarations -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wformat -Wformat-security -Wformat-y2k -Winit-self -Wmissing-include-dirs -Wundef -Wredundant-decls -Wshadow -Wnested-externs -Wold-style-definition /usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui/tmp-introspectubroe1rv/Libxfce4ui-2.0.o -L. libxfce4ui-2.la -L/usr/local/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -fstack-protector-strong -Wl,--as-needed -Wl,-O1
libtool: link: cc -o /usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui/tmp-introspectubroe1rv/.libs/Libxfce4ui-2.0 -I/usr/local/include -DNDEBUG -DHAVE_GNUC_VISIBILITY -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wmissing-declarations -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wformat -Wformat-security -Wformat-y2k -Winit-self -Wmissing-include-dirs -Wundef -Wredundant-decls -Wshadow -Wnested-externs -Wold-style-definition /usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui/tmp-introspectubroe1rv/Libxfce4ui-2.0.o -Wl,--export-dynamic -fstack-protector-strong -Wl,--as-needed -Wl,-O1 -Wl,--export-dynamic  -L. ./.libs/libxfce4ui-2.so -L/usr/local/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -pthread -Wl,-rpath -Wl,/usr/local/lib
ld-elf.so.1: /usr/local/lib/libxkbcommon.so.0: version V_0.5.0 required by /usr/local/lib/libgdk-3.so.0 not defined
Command '['/usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui/tmp-introspectubroe1rv/Libxfce4ui-2.0', '--introspect-dump=/usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui/tmp-introspectubroe1rv/functions.txt,/usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui/tmp-introspectubroe1rv/dump.xml']' returned non-zero exit status 1.
gmake[3]: *** [/usr/local/share/gobject-introspection-1.0/Makefile.introspection:156: Libxfce4ui-2.0.gir] Error 1
gmake[3]: Leaving directory '/usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui'
gmake[2]: *** [Makefile:857: all] Error 2
gmake[2]: Leaving directory '/usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0/libxfce4ui'
gmake[1]: *** [Makefile:547: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/x11/libxfce4menu/work/libxfce4ui-4.20.0'
gmake: *** [Makefile:479: all] Error 2
*** Error code 1
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2025-03-20 17:57:35 UTC
(In reply to kailockwood from comment #0)

I'm not seeing any failure here, but to be sure, can you try with a completely clean setup?

Make sure no old "work" directories are present.

Even if the failure happens with libxfce4menu, wokring on an incomplete build could have left something wrong or "unaligned" in your system.

Maybe trying to force rebuilding some dependencies to be sure they are properly installed?


> ld-elf.so.1: /usr/local/lib/libxkbcommon.so.0: version V_0.5.0 required by /usr/local/lib/libgdk-3.so.0 not defined

this line is very suspect. I'd try rebuilding/reinstalling x11/libxkbcommon and x11-toolkits/gtk30
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2025-03-20 18:01:08 UTC
BTW I just saw the commit at [1], which looks highly related.

[1] https://cgit.freebsd.org/ports/commit/?id=2ec0ea0e3f7757b4bb991edb52f26e12cfc8cd2e
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2025-04-29 14:41:08 UTC
Hi,

Is this issue still present?

As far as I can see the underlying issue in the ports tree should have been fixed.

Can you confirm?