Subject: Re: xmms v1.2.7nb3 compile fails ( was Re: xmms v1.2.7nb3 hangs on 1.6/i386. )
To: Johnny Lam <jlam@jgrind.org>
From: Sean J. Schluntz <schluntz@greywolf.workofstone.net>
List: tech-pkg
Date: 11/06/2002 17:25:29
>My only advice here, though it may be hard to take, is to rebuild the
>packages that include these libraries.  In this case, it would be:
>
>	net/ORBit
>	graphics/gimp-base
>	print/gimp-print-lib
>
>There is some code in -current pkgsrc to try to make these broken library
>files work, but it is apparently not working in this case.  Your best bet
>is to simply rebuild these packages.

Ok, I did a `sup -s` and did a full system build up to 1.6k.  I'm not running
kernel and userland of 1.6k.  I did a 'make update' on net/ORBit and then
a 'make update' in graphics/gimp.  Tried building xmms and it failed.  I
ran your grep again and found

 /usr/pkg/lib/libgimpprint.la:dependency_libs=' -L/usr/pkg/lib -lm /usr/lib/libintl.la'

So I completely removed GIMP (and all of it's gimp- subs) and ran the 
grep again and came up with no hits.

So, I did a 'make clean' and then a 'make' in audio/xmms and it still
fails:

/bin/sh ./libtool --mode=link cc  -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops -Wall -Wpointer-arith -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libxmms.la -rpath /usr/pkg/lib -export-dynamic -version-info 3:1:2 configfile.lo xmmsctrl.lo dirbrowser.lo util.lo formatter.lo titlestring.lo -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lgthread -lglib -lpthread -lintl -lXi -lXext -lX11 -lm  -liconv  -lintl
grep: /usr/lib/libintl.la: No such file or directory
sed: /usr/lib/libintl.la: No such file or directory
libtool: link: `/usr/lib/libintl.la' is not a valid libtool archive
gmake[2]: *** [libxmms.la] Error 1
gmake[2]: Leaving directory `/home/pkgsrc/audio/xmms/work/xmms-1.2.7/libxmms'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/pkgsrc/audio/xmms/work/xmms-1.2.7'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
make: stopped in /home/pkgsrc/audio/xmms
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/audio/xmms


For the heck of it I grepped through the audio/xmms/work tree for the
libintl.la refrence.  I found it in only two places: 
/home/pkgsrc/audio/xmms/work/xmms-1.2.7/intl/Makefile
/home/pkgsrc/audio/xmms/work/xmms-1.2.7/intl/Makefile{in}

Commenting the refrences to it out of there does not affect the 
error.

-Sean