Opened 11 years ago

Closed 8 years ago

#39011 closed defect (fixed)

libxfce4menu @ 4.6.2 does not load libgobject symbols

Reported by: snowflake (Dave Evans) Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: afb@…, cooljeanius (Eric Gallager)
Port: libxfce4menu

Description

While building xfce, libxfce4menu failed

Here's the error

/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/clang -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -I/opt/local/include/xfce4 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  						 -Os -arch x86_64 -DNDEBUG -DG_DISABLE_CAST_CHECKS -no-undefined -export-dynamic -version-info 0:0:0  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o libxfce4menu-0.1.la -rpath /opt/local/lib libxfce4menu_0_1_la-xfce-menu.lo libxfce4menu_0_1_la-xfce-menu-element.lo libxfce4menu_0_1_la-xfce-menu-separator.lo libxfce4menu_0_1_la-xfce-menu-layout.lo libxfce4menu_0_1_la-xfce-menu-directory.lo libxfce4menu_0_1_la-xfce-menu-rules.lo libxfce4menu_0_1_la-xfce-menu-standard-rules.lo libxfce4menu_0_1_la-xfce-menu-or-rules.lo libxfce4menu_0_1_la-xfce-menu-and-rules.lo libxfce4menu_0_1_la-xfce-menu-not-rules.lo libxfce4menu_0_1_la-xfce-menu-item-pool.lo libxfce4menu_0_1_la-xfce-menu-item-cache.lo libxfce4menu_0_1_la-xfce-menu-move.lo libxfce4menu_0_1_la-xfce-menu-environment.lo libxfce4menu_0_1_la-xfce-menu-monitor.lo libxfce4menu_0_1_la-xfce-menu-item.lo  -L/opt/local/lib -lglib-2.0 -lintl  -L/opt/local/lib -lgthread-2.0 -lglib-2.0 -lintl  -L/opt/local/lib -lxfce4util -lglib-2.0 -lintl  
libtool: link: /usr/bin/clang -dynamiclib  -o .libs/libxfce4menu-0.1.0.dylib  .libs/libxfce4menu_0_1_la-xfce-menu.o .libs/libxfce4menu_0_1_la-xfce-menu-element.o .libs/libxfce4menu_0_1_la-xfce-menu-separator.o .libs/libxfce4menu_0_1_la-xfce-menu-layout.o .libs/libxfce4menu_0_1_la-xfce-menu-directory.o .libs/libxfce4menu_0_1_la-xfce-menu-rules.o .libs/libxfce4menu_0_1_la-xfce-menu-standard-rules.o .libs/libxfce4menu_0_1_la-xfce-menu-or-rules.o .libs/libxfce4menu_0_1_la-xfce-menu-and-rules.o .libs/libxfce4menu_0_1_la-xfce-menu-not-rules.o .libs/libxfce4menu_0_1_la-xfce-menu-item-pool.o .libs/libxfce4menu_0_1_la-xfce-menu-item-cache.o .libs/libxfce4menu_0_1_la-xfce-menu-move.o .libs/libxfce4menu_0_1_la-xfce-menu-environment.o .libs/libxfce4menu_0_1_la-xfce-menu-monitor.o .libs/libxfce4menu_0_1_la-xfce-menu-item.o   -L/opt/local/lib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxfce4util.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib  -arch x86_64 -Wl,-headerpad_max_install_names -arch x86_64   -install_name  /opt/local/lib/libxfce4menu-0.1.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
Undefined symbols for architecture x86_64:
  "_g_object_add_weak_pointer", referenced from:
  "_g_object_class_install_property", referenced from:
  "_g_object_new", referenced from:
  "_g_object_notify", referenced from:
  "_g_object_ref", referenced from:
  "_g_object_ref_sink", referenced from:

and many more.

These symbols appear to be provided by libgobject-2.0, which is part of glib2, but the library is not linked in.

Change History (4)

comment:1 in reply to:  description Changed 11 years ago by snowflake (Dave Evans)

Replying to dave.evans55@…:

While building xfce, libxfce4menu failed

Here's the error

I rebuilt all my ports, removing the +universal option from all that used it, and this port now builds OK.

I have not yet reached my goal of installing xfce as xfce4-appfinder and xfprint are still broken.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 11 years ago by afb@…

Owner: changed from macports-tickets@… to afb@…
Status: newassigned

comment:4 Changed 8 years ago by afb@…

Resolution: fixed
Status: assignedclosed

Fixed, r144133.

Note: See TracTickets for help on using tickets.