Subject: pkg/24760: buildlink3 losing library (libtool: link: cannot find the library `')
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/12/2004 16:44:32
>Number:         24760
>Category:       pkg
>Synopsis:       buildlink3 losing library (libtool: link: cannot find the library `')
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 13 00:45:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
>Description:
When building misc/yelp or devel/eel2, I get the error:

libtool: link: cannot find the library `'

My misc/yelp/work.puget/.work.log has:

==> Reordering libraries:  -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lxslt -lglade-2.0 -lgconf-2 -lORBit-2 -lgthread-2.0 -lgtkhtml-2 -lgtk-x11-2.0 -lxml2 -lz -liconv -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lz -lbz2

<.> /usr/bin/libtool --mode=link gcc -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib/glib-2.0 -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/scratch/pkgsrc/misc/yelp/work.puget/.x11-buildlink/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtkhtml-2.0 -g -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/include -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/gcc3/include -Wall -Wno-uninitialized -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Wl,-R/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -Wl,-R/usr/gcc3/lib -Wl,-R/usr/X11R6/lib -o yelp-man2html yelp-man2html.o -pthread -Wl,--export-dynamic -L/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -L/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/gcc3/lib -L/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/lib -L/scratch/pkgsrc/misc/yelp/work.puget/.x11-buildlink/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lxslt -lglade-2.0 -lgconf-2 -lORBit-2 -lgthread-2.0 -lgtkhtml-2 -lgtk-x11-2.0 -lxml2 -lz -liconv -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lz -lbz2


I am guessing that the buildlink3 system is removing some parts. So I
diffed some output in the .work.log with the output I saw during the
build, but I didn't see any empty "-L".

Maybe the buildlink3 system can have a check for an empty "-L" or whatever
caused that problem.

This is under Linux with LOCALBASE as /usr.

>How-To-Repeat:
>Fix:
Sorry. Don't know what library was removed.
>Release-Note:
>Audit-Trail:
>Unformatted: