Subject: pkg/24568: libgcrypt 1.1.92 can't find libiconv
To: None <gnats-bugs@gnats.netbsd.org>
From: None <root@nixsys.bz>
List: netbsd-bugs
Date: 02/27/2004 04:49:08
>Number:         24568
>Category:       pkg
>Synopsis:       libgcrypt 1.1.92 can't find libiconv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 27 04:50:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Root
>Release:        NetBSD 1.6.1
>Organization:
>Environment:
System: NetBSD nixsys 1.6.1 NetBSD 1.6.1 (NIXSYS) #9: Fri Jan 30 23:41:47 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

rm -f .libs/module.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall -c module.c -Wp,-MD,.deps/module.TPlo  -fPIC -DPIC -o .libs/module.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall -c module.c -Wp,-MD,.deps/module.TPlo -o module.o >/dev/null 2>&1
mv -f .libs/module.lo module.lo
/bin/sh ../libtool --mode=link gcc -I/usr/pkg/include -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libgcrypt-real.la   misc.lo global.lo sexp.lo stdmem.lo  secmem.lo missing-string.lo module.lo ../cipher/libcipher.la ../mpi/libmpi.la -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgpg-error -lintl
rm -fr .libs/libgcrypt-real.la .libs/libgcrypt-real.* .libs/libgcrypt-real.*
rm -fr .libs/libgcrypt-real.lax
mkdir .libs/libgcrypt-real.lax
rm -fr .libs/libgcrypt-real.lax/libcipher.al
mkdir .libs/libgcrypt-real.lax/libcipher.al
(cd .libs/libgcrypt-real.lax/libcipher.al && ar x /usr/src/sys/pkgsrc/security/libgcrypt/work/libgcrypt-1.1.92/src/../cipher/.libs/libcipher.al)
rm -fr .libs/libgcrypt-real.lax/libmpi.al
mkdir .libs/libgcrypt-real.lax/libmpi.al
(cd .libs/libgcrypt-real.lax/libmpi.al && ar x /usr/src/sys/pkgsrc/security/libgcrypt/work/libgcrypt-1.1.92/src/../mpi/.libs/libmpi.al)
ar cru .libs/libgcrypt-real.al misc.lo global.lo sexp.lo stdmem.lo secmem.lo missing-string.lo module.lo .libs/libgcrypt-real.lax/libcipher.al/cipher.lo .libs/libgcrypt-real.lax/libcipher.al/pubkey.lo .libs/libgcrypt-real.lax/libcipher.al/ac.lo .libs/libgcrypt-real.lax/libcipher.al/md.lo .libs/libgcrypt-real.lax/libcipher.al/primegen.lo .libs/libgcrypt-real.lax/libcipher.al/random.lo .libs/libgcrypt-real.lax/libcipher.al/arcfour.lo .libs/libgcrypt-real.lax/libcipher.al/blowfish.lo .libs/libgcrypt-real.lax/libcipher.al/cast5.lo .libs/libgcrypt-real.lax/libcipher.al/des.lo .libs/libgcrypt-real.lax/libcipher.al/rijndael.lo .libs/libgcrypt-real.lax/libcipher.al/twofish.lo .libs/libgcrypt-real.lax/libcipher.al/serpent.lo .libs/libgcrypt-real.lax/libcipher.al/rfc2268.lo .libs/libgcrypt-real.lax/libcipher.al/dsa.lo .libs/libgcrypt-real.lax/libcipher.al/rsa.lo .libs/libgcrypt-real.lax/libcipher.al/elgamal.lo .libs/libgcrypt-real.lax/libcipher.al/crc.lo .libs/libgcrypt-real.lax/libcip
 her.al/md4.lo .libs/libgcrypt-real.lax/libcipher.al/md5.lo .libs/libgcrypt-real.lax/libcipher.al/sha256.lo .libs/libgcrypt-real.lax/libcipher.al/sha512.lo .libs/libgcrypt-real.lax/libcipher.al/tiger.lo .libs/libgcrypt-real.lax/libcipher.al/rmd160.lo .libs/libgcrypt-real.lax/libcipher.al/sha1.lo .libs/libgcrypt-real.lax/libcipher.al/rndlinux.lo .libs/libgcrypt-real.lax/libcipher.al/rndunix.lo .libs/libgcrypt-real.lax/libcipher.al/rndegd.lo  .libs/libgcrypt-real.lax/libmpi.al/mpi-add.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-bit.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-cmp.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-div.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-gcd.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-inline.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-inv.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-mul.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-pow.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-mpow.lo .libs/libgcrypt-real.lax/libmpi.al/mpi-scan.lo .libs/libgcrypt-real.lax/libmpi.al
 /mpicoder.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-div.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-mul.lo .libs/libgcrypt-real.lax/libmpi.al/mpiutil.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-add1.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-sub1.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-mul1.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-mul2.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-mul3.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-lshift.lo .libs/libgcrypt-real.lax/libmpi.al/mpih-rshift.lo .libs/libgcrypt-real.lax/libmpi.al/udiv-qrnnd.lo
ranlib .libs/libgcrypt-real.al
rm -fr .libs/libgcrypt-real.lax
creating libgcrypt-real.la
(cd .libs && rm -f libgcrypt-real.la && ln -s ../libgcrypt-real.la libgcrypt-real.la)
/bin/sh ../libtool --mode=link gcc -I/usr/pkg/include -O2 -mieee -I/usr/pkg/include -I/usr/include -Wall   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libgcrypt.la -rpath /usr/pkg/lib  -version-info  11:0:0 ath-compat.lo ath-pth-compat.lo  ath-pthread-compat.lo libgcrypt-real.la   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgpg-error -lintl
rm -fr .libs/libgcrypt.la .libs/libgcrypt.* .libs/libgcrypt.*
gcc -shared -nodefaultlibs  ath-compat.lo ath-pth-compat.lo ath-pthread-compat.lo -Wl,--whole-archive ./.libs/libgcrypt-real.al -Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib /usr/pkg/lib/libiconv.so -lc /usr/pkg/lib/libgpg-error.so /usr/pkg/lib/libintl.so  -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libgcrypt.so.11 -o .libs/libgcrypt.so.11.0
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/security/libgcrypt/work/libgcrypt-1.1.92/src
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/security/libgcrypt/work/libgcrypt-1.1.92
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/security/libgcrypt/work/libgcrypt-1.1.92
*** Error code 1

Stop.
make: stopped in /usr/src/sys/pkgsrc/security/libgcrypt
*** Error code 1

Stop.
make: stopped in /sys/pkgsrc/security/libgcrypt


>How-To-Repeat:
	make libgcrypt in pkgsrc-current
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: