pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/57222: converters/libiconv build fails with a link error
Note: There was a bad value `' for the field `Class'.
It was set to the default value of `sw-bug'.
>Number: 57222
>Category: pkg
>Synopsis: converters/libiconv build fails with a link error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 08 12:50:00 +0000 2023
>Originator: Hauke Fath
>Release: NetBSD 9.3
>Organization:
Technische Universitaet Darmstadt
>Environment:
System: NetBSD Gstoder 9.3 NetBSD 9.3 (MS-7817-$Revision$) #1: Fri Aug 5 16:55:08 CEST 2022 hf@Hochstuhl:/var/obj/netbsd-builds/9/amd64/sys/arch/amd64/compile/MS-7817 amd64
Architecture: x86_64
Machine: amd64
>Description:
The converters/libiconv build fails with a link error:
[...]
cd lib && /usr/bin/make install prefix='/usr/pkg' exec_prefix='/usr/pkg' libdir='/usr/pkg/lib'
if [ ! -d /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib ] ; then /bin/sh ../build-aux/mkinstalldirs /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib ; fi
/bin/sh ../libtool --mode=install /usr/bin/install -c -o hf4kh -g spgmit libiconv.la /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib/libiconv.la
libtool: install: /usr/bin/install -c -o hf4kh -g spgmit .libs/libiconv.so.2.6.1 /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib/libiconv.so.2.6.1
libtool: install: (cd /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib && { ln -s -f libiconv.so.2.6.1 libiconv.so.2 || { rm -f libiconv.so.2 && ln -s libiconv.so.2.6.1 libiconv.so.2; }; })
libtool: install: (cd /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib && { ln -s -f libiconv.so.2.6.1 libiconv.so || { rm -f libiconv.so && ln -s libiconv.so.2.6.1 libiconv.so; }; })
libtool: install: /usr/bin/install -c -o hf4kh -g spgmit .libs/libiconv.lai /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib/libiconv.la
libtool: install: /usr/bin/install -c -o hf4kh -g spgmit .libs/libiconv.a /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib/libiconv.a
libtool: install: chmod 644 /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib/libiconv.a
libtool: install: ranlib /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib/libiconv.a
libtool: warning: remember to run 'libtool --finish /usr/pkg/lib'
case "netbsd" in aix*) (cd /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib && objects=`ar t libiconv.a`" "`ar t /lib/libiconv.a` && ar x libiconv.a && ar x /lib/libiconv.a && ar q libiconv.new.a $objects && rm -f $objects && mv -f libiconv.new.a libiconv.a) ;; esac
cd srclib && /usr/bin/make install prefix='/usr/pkg' exec_prefix='/usr/pkg' libdir='/usr/pkg/lib'
/usr/bin/make install-am
cd src && /usr/bin/make install prefix='/usr/pkg' exec_prefix='/usr/pkg' libdir='/usr/pkg/lib'
test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod 777 .
if [ ! -d /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/bin ] ; then /bin/sh ../build-aux/mkinstalldirs /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/bin ; fi
mkdir /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/bin
case "netbsd" in hpux*) gcc -Wl,-zrelro -Wl,-R/usr/pkg/lib -O2 -fPIC -D_FORTIFY_SOURCE=2 `if test -n ''; then /usr/pkg/bin; fi` iconv.o ../srclib/libicrt.a -L/var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib -liconv `if test -n '/var/obj/pkgsrc/converters/libiconv/work/.destdir'; then echo " -Wl,+b -Wl,/usr/pkg/lib"; fi` -o iconv;; *) /bin/sh ../libtool --mode=link gcc -Wl,-zrelro -Wl,-R/usr/pkg/lib -O2 -fPIC -D_FORTIFY_SOURCE=2 `if test -n ''; then /usr/pkg/bin; fi` iconv.o ../srclib/libicrt.a /var/obj/pkgsrc/converters/libiconv/work/.destdir/usr/pkg/lib/libiconv.la -o iconv;; esac
libtool: link: gcc -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -O2 -fPIC -D_FORTIFY_SOURCE=2 iconv.o -o iconv -pie ../srclib/libicrt.a -L/usr/pkg/lib -liconv -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib
ld: cannot find -liconv
*** Error code 1
Stop.
make[1]: stopped in /var/obj/pkgsrc/converters/libiconv/work/libiconv-1.17/src
*** Error code 1
>How-To-Repeat:
Build the package.
>Fix:
Yes, please.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index