Subject: buildlink problems
To: None <pkgsrc-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: pkgsrc-users
Date: 10/23/2006 10:07:55
Hi,
This is happening with NetBSD/i386 1.6.2 (yes I know, this version has been EOL'd):
ROOT sl:/usr/pkgsrc> cvs update -dPA
ROOT sl:/usr/pkgsrc> cd /usr/pkgsrc/www/apache2
ROOT sl:/usr/pkgsrc/www/apache2> make clean clean-depends
ROOT sl:/usr/pkgsrc/www/apache2> pkg_info | grep icon
libiconv-1.10nb3 Character set conversion library
ROOT sl:/usr/pkgsrc/www/apache2> make install
...
Making all in support
/bin/sh /usr/pkgsrc/www/apache2/work/httpd-2.0.59/libtool --silent --mode=compil
e cc -O2 -pipe -I/usr/pkg/include -I/usr/include -DNETBSD -DAP_HAVE_DESIGNAT
ED_INITIALIZER -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/apr-0 -I/us
r/pkg/include -I. -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/os/unix -I/usr/pkg
src/www/apache2/work/httpd-2.0.59/server/mpm/prefork -I/usr/pkgsrc/www/apache2/w
ork/httpd-2.0.59/modules/http -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/module
s/filters -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/modules/proxy -I/usr/pkgsr
c/www/apache2/work/httpd-2.0.59/include -I/usr/pkgsrc/www/apache2/work/httpd-2.0
.59/modules/generators -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/server -I/usr
/include/openssl -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/modules/dav/main -p
refer-non-pic -static -c htpasswd.c && touch htpasswd.lo
/bin/sh /usr/pkgsrc/www/apache2/work/httpd-2.0.59/libtool --silent --mode=link c
c -O2 -pipe -I/usr/pkg/include -I/usr/include -DNETBSD -DAP_HAVE_DESIGNATED_
INITIALIZER -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/apr-0 -I/usr/p
kg/include -I. -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/os/unix -I/usr/pkgsrc
/www/apache2/work/httpd-2.0.59/server/mpm/prefork -I/usr/pkgsrc/www/apache2/work
/httpd-2.0.59/modules/http -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/modules/f
ilters -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/modules/proxy -I/usr/pkgsrc/w
ww/apache2/work/httpd-2.0.59/include -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59
/modules/generators -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/server -I/usr/in
clude/openssl -I/usr/pkgsrc/www/apache2/work/httpd-2.0.59/modules/dav/main -expo
rt-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o htpa
sswd htpasswd.lo -lz -lssl -lcrypto /usr/pkgsrc/www/apache2/work/httpd-2.0.59
/srclib/pcre/libpcre.la /usr/pkg/lib/libaprutil-0.la -lexpat -liconv /usr/pkg/li
b/libapr-0.la -lm -lcrypt -lresolv
ld: cannot find -liconv
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/apache2/work/httpd-2.0.59/support
*** Error code 1
There's nothing related to libiconv in work/.buildlink/lib. I "fixed" this by
manually symlinking /usr/pkg/lib/libiconv.* to work/.buildlink/lib and fixed
libiconv.la's libdir setting.
Martti