Subject: buildlink path repeated
To: None <>
From: Jeremy C. Reed <>
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
/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 -r
path /usr/pkg/lib/gtk-2.0/2.4.0/loaders -avoid-version -module  io-tiff.lo
f -Wl,-R/usr/pkg/lib  -L/usr/pkg/lib -lgmodule-2.0
t-2.0 -lglib-2.0 -liconv -lm -lintl
ork.rainier/.buildlink/lib/ No such file or directory
rk.rainier/.buildlink/lib/ No such file or directory
libtool: link:
x11/gtk2/work.rainier/.buildlink/lib/' is not a valid libtool
gmake[4]: *** [] Error 1

Here is the correct location:

rainier:/usr/local/pkgsrc/x11/gtk2$ ls -l
-rw-r--r--  1 reed  wheel  806 Sep 30 21:25

I did install atk and expat fine a little while ago with this new

libjpeg was from 2003.
lrwxr-xr-x  1 root  wheel  15 Apr 21  2003 /usr/pkg/lib/ ->

I reinstalled. Same jpeg but now is named (two zeros at

Same problem in gtk2 continued.

I found work.rainier/.buildlink/lib/ has:

dependency_libs='/usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/lib/ -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