Subject: pkg/30089: [PATCH] devel/libbonoboui fails to link against all necessary libraries
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <idart@performancedesign.no>
List: pkgsrc-bugs
Date: 04/29/2005 09:07:00
>Number: 30089
>Category: pkg
>Synopsis: [PATCH] devel/libbonoboui fails to link against all necessary libraries
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 29 09:07:00 +0000 2005
>Originator: Idar Tollefsen
>Release: N/A
>Organization:
Performance Design
>Environment:
Darwin fulcrum.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
When trying to build devel/libbonoboui, I get the following:
/bin/sh ../libtool --mode=link gcc -pipe -O2 -I/usr/local/include -I/usr/local/include/krb5 -I/usr/include -I/usr/local/include/freetype2 -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o libbonoboui-2.la -rpath /usr/local/lib -no-undefined bonobo-a11y.lo bonobo-dock.lo bonobo-dock-item.lo bonobo-dock-item-grip.lo bonobo-dock-band.lo bonobo-dock-layout.lo bonobo-ui-init-gtk.lo bonobo-ui-main.lo bonobo-canvas-component.lo bonobo-canvas-item.lo bonobo-control-frame.lo bonobo-control.lo bonobo-file-selector-util.lo bonobo-plug.lo bonobo-property-control.lo bonobo-selector.lo bonobo-selector-widget.lo bonobo-socket.lo bonobo-ui-component.lo bonobo-ui-config-widget.lo bonobo-ui-container.lo bonobo-ui-engine.lo bonobo-ui-engine-config.lo bonobo-ui-node.lo bonobo-ui-preferences.lo bonobo-ui-sync.lo bonobo-ui-sync-menu.lo bonobo-ui-sync-keys.lo bonobo-ui-sync-status.lo bonobo-ui-sync-toolbar.lo bonobo-ui-toolbar-button-item.lo bonobo-ui-toolbar-control-item.lo bonobo-ui-toolbar-item
.lo bonobo-ui-toolbar-popup-item.lo bonobo-ui-toolbar-toggle-button-item.lo bonobo-ui-toolbar.lo bonobo-ui-internal-toolbar.lo bonobo-ui-type-builtins.lo bonobo-ui-util.lo bonobo-ui-xml.lo bonobo-widget.lo bonobo-window.lo bonobo-zoomable.lo bonobo-zoomable-frame.lo bonobo-ui-marshal-main.lo -L/usr/local/lib -lgnomecanvas-2 -lbonobo-2 -lgnome-2 -lpopt -lbonobo-activation -lxml2 -lz -liconv -lm -lgconf-2 -lgtk-x11-2.0 -lgobject-2.0 -lSM -lICE -L/usr/X11R6/lib -lX11 -lintl
gcc -pipe -dynamiclib -o .libs/libbonoboui-2.0.0.0.dylib .libs/bonobo-a11y.o .libs/bonobo-dock.o .libs/bonobo-dock-item.o .libs/bonobo-dock-item-grip.o .libs/bonobo-dock-band.o .libs/bonobo-dock-layout.o .libs/bonobo-ui-init-gtk.o .libs/bonobo-ui-main.o .libs/bonobo-canvas-component.o .libs/bonobo-canvas-item.o .libs/bonobo-control-frame.o .libs/bonobo-control.o .libs/bonobo-file-selector-util.o .libs/bonobo-plug.o .libs/bonobo-property-control.o .libs/bonobo-selector.o .libs/bonobo-selector-widget.o .libs/bonobo-socket.o .libs/bonobo-ui-component.o .libs/bonobo-ui-config-widget.o .libs/bonobo-ui-container.o .libs/bonobo-ui-engine.o .libs/bonobo-ui-engine-config.o .libs/bonobo-ui-node.o .libs/bonobo-ui-preferences.o .libs/bonobo-ui-sync.o .libs/bonobo-ui-sync-menu.o .libs/bonobo-ui-sync-keys.o .libs/bonobo-ui-sync-status.o .libs/bonobo-ui-sync-toolbar.o .libs/bonobo-ui-toolbar-button-item.o .libs/bonobo-ui-toolbar-control-item.o .libs/bonobo-ui-toolbar-item.o .libs/bonobo-u
i-toolbar-popup-item.o .libs/bonobo-ui-toolbar-toggle-button-item.o .libs/bonobo-ui-toolbar.o .libs/bonobo-ui-internal-toolbar.o .libs/bonobo-ui-type-builtins.o .libs/bonobo-ui-util.o .libs/bonobo-ui-xml.o .libs/bonobo-widget.o .libs/bonobo-window.o .libs/bonobo-zoomable.o .libs/bonobo-zoomable-frame.o .libs/bonobo-ui-marshal-main.o -L/usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib -L/usr/local/pkgsrc/devel/libbonoboui/work/.x11-buildlink/lib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgnomecanvas-2.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgdk-x11-2.0.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgdk_pixbuf-2.0.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libart_lgpl_2.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libpango-1.0.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgmodule-2.0.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libglib-2.0.d
ylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libpangoft2-1.0.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libbonobo-2.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libORBit-2.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libORBitCosNaming-2.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgthread-2.0.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgnome-2.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgnomevfs-2.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgnutls.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libtasn1.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgcrypt.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgpg-error.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libesd.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libaudiofile.dylib /usr/local/pkgsrc
/devel/libbonoboui/work/.buildlink/lib/libpopt.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libbonobo-activation.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libxml2.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libz.dylib /usr/lib/libiconv.dylib -lm /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgconf-2.dylib /usr/lib/libresolv.dylib /usr/lib/libm.dylib /usr/lib/libc.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgtk-x11-2.0.dylib /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libgobject-2.0.dylib -lSM -lICE -lX11 /usr/local/pkgsrc/devel/libbonoboui/work/.buildlink/lib/libintl.dylib -install_name /usr/local/lib/libbonoboui-2.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
ld: .libs/bonobo-a11y.o illegal reference to symbol: _atk_action_get_type defined in indirectly referenced dynamic library /usr/local/lib/libatk-1.0.0.dylib
/usr/bin/libtool: internal link edit command failed
>How-To-Repeat:
Try to configure and build devel/libbonoboui.
It's possible that this problem is Darwin/OS X specific.
If it is, try to configure and build devel/libbonoboui
on Darwin/OS X.
>Fix:
Add linking against atk by patching the configure script.
Here's the new patch (devel/libbonoboui/patches/patch-aa):
----------------------------------------------------------
--- configure.orig Thu Apr 28 20:50:08 2005
+++ configure Thu Apr 28 20:54:38 2005
@@ -23935,6 +23935,7 @@
libxml-2.0 >= 2.4.20 \
gconf-2.0 >= 1.1.9 \
gtk+-2.0 >= 2.3.1 \
+ atk >= 1.9.0 \
gobject-2.0 >= 2.3.2"
succeeded=no