Subject: buildlink path repeated
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/30/2004 22:18:03
I am not sure if this is an error on my box. I am using new libtool code
to be imported soon.
Notice below that the buildlink path for jpeg is repeated:
gmake[4]: Entering directory
`/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/gtk+-2.4
.10/gdk-pixbuf'
/bin/sh ../libtool --mode=link gcc -O2 -s -I/usr/pkg/include
-I/usr/include -I/
usr/pkg/include/freetype2 -Wall -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-L/usr/lib -W
l,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o
libpixbufloader-tiff.la -r
path /usr/pkg/lib/gtk-2.0/2.4.0/loaders -avoid-version -module io-tiff.lo
-ltif
f libgdk_pixbuf-2.0.la -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgmodule-2.0
-lgobjec
t-2.0 -lglib-2.0 -liconv -lm -lintl
grep:
/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/tmp/pkgsrc/x11/gtk2/w
ork.rainier/.buildlink/lib/libjpeg.la: No such file or directory
sed:
/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/tmp/pkgsrc/x11/gtk2/wo
rk.rainier/.buildlink/lib/libjpeg.la: No such file or directory
libtool: link:
`/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/tmp/pkgsrc/
x11/gtk2/work.rainier/.buildlink/lib/libjpeg.la' is not a valid libtool
archive
gmake[4]: *** [libpixbufloader-tiff.la] Error 1
Here is the correct location:
rainier:/usr/local/pkgsrc/x11/gtk2$ ls -l
/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/lib/libjpeg.la
-rw-r--r-- 1 reed wheel 806 Sep 30 21:25
/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/lib/libjpeg.la
I did install atk and expat fine a little while ago with this new
libtool-base.
libjpeg was from 2003.
lrwxr-xr-x 1 root wheel 15 Apr 21 2003 /usr/pkg/lib/libjpeg.so ->
libjpeg.so.62.0
I reinstalled. Same jpeg but now is named libjpeg.so.62.0.0 (two zeros at
end).
Same problem in gtk2 continued.
I found work.rainier/.buildlink/lib/libtiff.la has:
dependency_libs='/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/lib/libjpeg.la -lz -lm'
Any ideas on how this happened?
Why is "tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink" repeated?
I am not sure if this is a libtool or a buildlink3 issue.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/