Subject: pkg/32534: devel/libglade build fails for pkgsrc-2005Q4 and HEAD
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jmiller@shaw.ca>
List: pkgsrc-bugs
Date: 01/15/2006 12:09:22
>Number:         32534
>Category:       pkg
>Synopsis:       devel/libglade build fails for pkgsrc-2005Q4 and HEAD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 15 12:09:22 +0000 2006
>Originator:     Jason V. Miller
>Release:        3.0.0_STABLE w/o IPV6 Support
>Organization:
>Environment:
NetBSD lust.misaligned.org 3.0.0_STABLE NetBSD 3.0.0_STABLE (LUST) #0: Wed Dec 28 23:30:09 MST 2005  src@lust.misaligned.org:/usr/src/obj/sys/arch/i386/compile/LUST i386

Kernel and world build with ``MKINET6=no''.
>Description:
I am unable to build devel/libglade.

Rolling back to the pkgsrc-2005Q[321] tags still results in a failed build, suggesting that this is indeed not specific to libglade.

-----
/bin/sh ../libtool --mode=link cc  -O2 -march=pentiumpro -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -Wall -Wunused   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o libglade-gnome.la -rpath /usr/pkg/lib -version-info 4:2:4 glade-gnome.lo -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L_bUiLdLiNk__usr_pkg -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lm -lglib -lintl -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lxml -lz -lintl
cd: can't cd to _bUiLdLiNk__usr_pkg
libtool: link: cannot determine absolute directory name of `_bUiLdLiNk__usr_pkg'
*** Error code 1
-----

The only file where ``_bUiLdLiNk_'' appears is in ``pkgsrc/mk/buildlink3/bsd.buildlink3.mk'', however, I'm not familiar enough with this to figure out what the problem is.
>How-To-Repeat:
$ cd /usr/pkgsrc/devel/libglade && make
>Fix: