Subject: pkg/23040: libiconv-1.9.1 in current pkgscr doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <daniel.gerber@mw.iap.unibe.ch>
List: netbsd-bugs
Date: 10/02/2003 22:50:19
>Number: 23040
>Category: pkg
>Synopsis: libiconv-1.9.1 in current pkgscr doesn't compile
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 02 22:50:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Charlie Root
>Release: NetBSD 1.6.1
>Organization:
>Environment:
System: NetBSD x1-6-00-60-08-ba-0a-b4 1.6.1 NetBSD 1.6.1 (MYKERNEL) #0: Fri Nov 23 08:53:20 CET 2001 root@:/usr/src/sys/arch/i386/compile/MYKERNEL i386
Architecture: i386
Machine: i386
>Description:
libiconv-1.9.1 from the current pkgsrc fails to compile, which in turn prevents programs like 'mutt' and 'gnupg' to build.
********** Output from: make &> make.log ************
===> Checking for vulnerabilities in libiconv-1.9.1nb1
===> Building for libiconv-1.9.1nb1
builddir="`pwd`"; cd libcharset && make all && cp -R lib/libcharset.la lib/.libs "$builddir/lib" && cp -R include/*.h "$builddir/include"
cd lib && make all
/bin/sh ../libtool --mode=compile cc -I. -I. -I.. -I./.. -I../include -O2 -I/usr/pkg/include -I/usr/pkg/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c
cc -I. -I. -I.. -I./.. -I../include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -fPIC -DPIC -o .libs/localcharset.o
cc -I. -I. -I.. -I./.. -I../include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -o localcharset.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -I. -I. -I.. -I./.. -I../include -O2 -I/usr/pkg/include -I/usr/pkg/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c
cc -I. -I. -I.. -I./.. -I../include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -fPIC -DPIC -o .libs/relocatable.o
cc -I. -I. -I.. -I./.. -I../include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o relocatable.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link cc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libcharset.la -rpath /usr/pkg/lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable.lo
rm -fr .libs/libcharset.a .libs/libcharset.la .libs/libcharset.lai .libs/libcharset.lai.blsav .libs/libcharset.so .libs/libcharset.so.1 .libs/libcharset.so.1.0
cc -shared .libs/localcharset.o .libs/relocatable.o -L/usr/pkgsrc/converters/libiconv/work/.buildlink/lib -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libcharset.so.1 -o .libs/libcharset.so.1.0
(cd .libs && rm -f libcharset.so.1 && ln -s libcharset.so.1.0 libcharset.so.1)
(cd .libs && rm -f libcharset.so && ln -s libcharset.so.1.0 libcharset.so)
(cd .libs && rm -f libcharset.so && ln -s libcharset.so.1.0 libcharset.so)
ar cru .libs/libcharset.a localcharset.o relocatable.o
ranlib .libs/libcharset.a
creating libcharset.la
(cd .libs && rm -f libcharset.la && ln -s ../libcharset.la libcharset.la)
/bin/sh ./config.charset 'i386--netbsdelf' > t-charset.alias
mv t-charset.alias charset.alias
sed -e '/^#/d' -e 's/@''PACKAGE''@//g' ./ref-add.sin > t-ref-add.sed
mv t-ref-add.sed ref-add.sed
sed -e '/^#/d' -e 's/@''PACKAGE''@//g' ./ref-del.sin > t-ref-del.sed
mv t-ref-del.sed ref-del.sed
cd lib && make all
/bin/sh ../libtool --mode=compile cc -I. -I. -I../include -I./../include -I/usr/pkg/include -O2 -I/usr/pkg/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c
cc -I. -I. -I../include -I./../include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c -fPIC -DPIC -o .libs/iconv.o
cc -I. -I. -I../include -I./../include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c -o iconv.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -I. -I. -I../include -I./../include -I/usr/pkg/include -O2 -I/usr/pkg/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c
cc -I. -I. -I../include -I./../include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c -fPIC -DPIC -o .libs/localcharset.o
cc -I. -I. -I../include -I./../include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c -o localcharset.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -I. -I. -I../include -I./../include -I/usr/pkg/include -O2 -I/usr/pkg/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./relocatable.c
cc -I. -I. -I../include -I./../include -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -O2 -I/usr/pkgsrc/converters/libiconv/work/.buildlink/include -DLIBDIR=\"/usr/pkg/lib\" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/pkg/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./relocatable.c -fPIC -DPIC -o .libs/relocatable.o
./relocatable.c: In function `libiconv_relocate':
./relocatable.c:392: `INSTALLPREFIX' undeclared (first use in this function)
./relocatable.c:392: (Each undeclared identifier is reported only once
./relocatable.c:392: for each function it appears in.)
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/converters/libiconv/work/libiconv-1.9.1/lib
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/converters/libiconv/work/libiconv-1.9.1
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/converters/libiconv
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/converters/libiconv
************* End of Output ***************
>How-To-Repeat:
compile libiconv-1.9.1 from current pkgsrc
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: