Subject: Re: buildlink problem? (libiconv.la: No such file or directory)
To: Johnny C. Lam <jlam@netbsd.org>
From: Sebastian P. <sebastian-p@gmx.net>
List: tech-pkg
Date: 06/29/2003 23:10:08
On Sunday 29 June 2003 21:50, you wrote:
|
| This fix is incorrect because it breaks a lot of the remainder of the
| buildlink2.mk file.  I've committed a change to this file that may fix
| your problem.  Please update your pkgsrc and check that you have version
| 1.7 of libiconv/buildlink2.mk.

i tried it out and it doesn't solve the problem. your cvs changelog says:

[...] The symptoms appear to match the situation where a library exists
in /usr/lib that matches the name of the pkgsrc-installed library, but the
corresponding .la file doesn't exist in /usr/lib. [...]

but that is not the case. i do not have any libiconv* files in /usr/lib. the 
only iconv file is iconv.h in /usr/include (sorry, i forgot to tell you 
earlier):

$ locate iconv | grep -v kde | grep -v pkgsrc
/var/db/pkg/libiconv-1.8nb1
/var/db/pkg/libiconv-1.8nb1/+BUILD_INFO
/var/db/pkg/libiconv-1.8nb1/+DESC
/var/db/pkg/libiconv-1.8nb1/+REQUIRED_BY
/var/db/pkg/libiconv-1.8nb1/+SIZE_ALL
/var/db/pkg/libiconv-1.8nb1/+SIZE_PKG
/var/db/pkg/libiconv-1.8nb1/+CONTENTS
/var/db/pkg/libiconv-1.8nb1/+BUILD_VERSION
/var/db/pkg/libiconv-1.8nb1/+COMMENT
/usr/bin/iconv
/usr/man/man3/iconv_open.3.gz
/usr/man/man3/iconv_close.3.gz
/usr/man/man3/iconv.3.gz
/usr/sbin/iconvconfig
/usr/X11R6/qt3/man/man3/qiconview.3.gz
/usr/X11R6/qt3/man/man3/qiconviewitem.3.gz
/usr/local/bin/iconv
/usr/local/bin/piconv
/usr/local/lib/libiconv.la
/usr/local/lib/libiconv.so
/usr/local/lib/libiconv.so.3
/usr/local/lib/libiconv.a
/usr/local/lib/libiconv_plug.so
/usr/local/lib/libiconv.so.3.0
/usr/local/man/man1/piconv.1
/usr/local/man/man1/iconv.1
/usr/local/man/man3/iconv_close.3
/usr/local/man/man3/iconv_open.3
/usr/local/man/man3/iconv.3
/usr/local/share/locale/de/LC_MESSAGES/libiconv.mo
/usr/local/share/aclocal/iconv.m4
/usr/local/include/iconv.h
/usr/include/iconv.h


the error message is the same as before:

libtool: link: warning: 
`/usr/pkgsrc/devel/pango/work/.buildlink/lib/libglib-2.0.la' seems to be 
moved
grep: /usr/pkgsrc/devel/pango/work/.buildlink/lib/libiconv.la: No such file or 
directory
sed: can't read /usr/pkgsrc/devel/pango/work/.buildlink/lib/libiconv.la: No 
such file or directory
libtool: link: `/usr/pkgsrc/devel/pango/work/.buildlink/lib/libiconv.la' is 
not a valid libtool archive
make[3]: *** [libpango-1.0.la] Error 1
make[3]: Leaving directory `/usr/pkgsrc/devel/pango/work/pango-1.2.3/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/pkgsrc/devel/pango/work/pango-1.2.3/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/pkgsrc/devel/pango/work/pango-1.2.3'
make: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/devel/pango
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/pango