Subject: pkg/32792: Can't build pkgsrc/libidn on Solaris2.9. Builds outside of pksrc.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sd4dfg2@hotmail.com>
List: pkgsrc-bugs
Date: 02/10/2006 15:50:00
>Number: 32792
>Category: pkg
>Synopsis: Can't build pkgsrc/libidn on Solaris2.9. Builds outside of pksrc.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Fri Feb 10 15:50:00 +0000 2006
>Originator: Rob Quinn
>Release: pkgsrc-current, Solaris2.9
>Organization:
>Environment:
>Description:
This is my local hack to libidn-0.6.2, but the 0.6.1 version in pkgsrc-current dies the same way under Solaris2.9:
/bin/ksh ../libtool --tag=CC --mode=link cc -O -mcpu=v9 -pipe -I/usr/pkg/include -L/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5 -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5 -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o idn idn.o idn_cmd.o ../lib/libidn.la ../gl/libgnu.la -L/usr/pkg/lib -lintl -L/usr/pkg/lib -liconv -lc -R/usr/pkg/lib -lintl -liconv
mkdir .libs
cc -O -mcpu=v9 -pipe -I/usr/obj/pkg/devel/libidn/work/.buildlink/include -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5 -Wl,-R/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/lib -o .libs/idn idn.o idn_cmd.o -L/usr/obj/pkg/devel/libidn/work/.buildlink/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5 -L/usr/obj/pkg/devel/libidn/work/.buildlink/gcc3/lib -L/usr/obj/pkg/devel/libidn/work/.buildlink/lib ../lib/.libs/libidn.so ../gl/.libs/libgnu.a /usr/obj/pkg/devel/libidn/work/.buildlink/lib/libintl.so -lc /usr/obj/pkg/devel/libidn/work/.buildlink/lib/libiconv.so -R/usr/pkg/lib -R/usr/obj/pkg/devel/libidn/work/.buildlink/lib
Undefined first referenced
symbol in file
punycode_decode idn.o
punycode_encode idn.o
stringprep_locale_charset idn.o
punycode_strerror idn.o
stringprep_utf8_to_locale idn.o
stringprep_locale_to_utf8 idn.o
idna_strerror idn.o
idna_to_unicode_8z4z idn.o
stringprep_strerror idn.o
tld_check_4z idn.o
stringprep_utf8_to_ucs4 idn.o
stringprep_ucs4_to_utf8 idn.o
tld_strerror idn.o
stringprep_profile idn.o
idna_to_ascii_4z idn.o
ld: fatal: Symbol referencing errors. No output written to .libs/idn
collect2: ld returned 1 exit status
*** Error code 1
Stop.
bmake: stopped in /usr/obj/pkg/devel/libidn/work/libidn-0.6.2/src
*** Error code 1
Stop.
bmake: stopped in /usr/obj/pkg/devel/libidn/work/libidn-0.6.2/src
*** Error code 1
Stop.
bmake: stopped in /usr/obj/pkg/devel/libidn/work/libidn-0.6.2
*** Error code 1
Stop.
bmake: stopped in /usr/obj/pkg/devel/libidn/work/libidn-0.6.2
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/libidn
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/obj/pkg/devel/libidn/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/libidn
>How-To-Repeat:
Outside of pkgsrc the package compiles fine:
sar-reston:~/libidn/libidn-0.6.2 %./configure --prefix=/usr/pkg
[...]
sar-reston:~/libidn/libidn-0.6.2 %make
[...]
sar-reston:~/libidn/libidn-0.6.2 %make check
Making check in gl
make check-am
Making check in lib
make check-am
Making check in po
Making check in src
make check-am
Making check in doc
make check-recursive
Making check in specifications
Making check in tld
Making check in java
Making check in tests
make tst_stringprep tst_punycode tst_idna tst_idna2 tst_nfkc tst_pr29 tst_strerror tst_tld
`tst_stringprep' is up to date.
`tst_punycode' is up to date.
`tst_idna' is up to date.
`tst_idna2' is up to date.
`tst_nfkc' is up to date.
`tst_pr29' is up to date.
`tst_strerror' is up to date.
`tst_tld' is up to date.
make check-TESTS
PASS: tst_stringprep
PASS: tst_punycode
PASS: tst_idna
PASS: tst_idna2
PASS: tst_nfkc
PASS: tst_pr29
PASS: tst_strerror
PASS: tst_tld
==================
All 8 tests passed
==================
Making check in examples
Making check in java
Making check in gnu
Making check in inet
Making check in encoding
Making check in .
Making check in misc
Making check in csharp
>Fix: