pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43518: converters/libiconv fails to build on OpenSolaris
>Number: 43518
>Category: pkg
>Synopsis: converters/libiconv fails to build on OpenSolaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 25 16:25:00 +0000 2010
>Originator: David H. Gutteridge
>Release: OpenSolaris 2008.05
>Organization:
>Environment:
SunOS arcus-opensolaris 5.11 snv_86 i86pc i386 i86pc Solaris
>Description:
When trying to build libiconv from pkgsrc sources as of yesterday or so, I
encounter what looks like a linker problem.
===> Building for libiconv-1.12nb1
builddir="`pwd`"; cd libcharset && /export/home/disciple/pkg/bin/bmake all &&
/export/home/disciple/pkg/bin/pax -rw lib/libcharset.la lib/.libs "$builddir/"
&& /export/home/disciple/pkg/bin/pax -rw include/*.h "$builddir/"
if [ ! -d include ] ; then mkdir include ; fi
cp ./include/libcharset.h.in include/libcharset.h
cd lib && /export/home/disciple/pkg/bin/bmake all
/bin/sh ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -O
-DLIBDIR=\"/export/home/disciple/pkg/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/export/home/disciple/pkg/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libcharset_set_relocation_prefix
-Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c
libtool: compile: gcc -I. -I.. -I./.. -I../include -O
-DLIBDIR=\"/export/home/disciple/pkg/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/export/home/disciple/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
libtool: compile: gcc -I. -I.. -I./.. -I../include -O
-DLIBDIR=\"/export/home/disciple/pkg/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/export/home/disciple/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 gcc -I. -I. -I.. -I./.. -I../include -O
-DLIBDIR=\"/export/home/disciple/pkg/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/export/home/disciple/pkg/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libcharset_set_relocation_prefix
-Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c
libtool: compile: gcc -I. -I.. -I./.. -I../include -O
-DLIBDIR=\"/export/home/disciple/pkg/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/export/home/disciple/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
libtool: compile: gcc -I. -I.. -I./.. -I../include -O
-DLIBDIR=\"/export/home/disciple/pkg/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/export/home/disciple/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 gcc -Wl,-R/export/home/disciple/pkg/lib -O -o
libcharset.la -rpath /export/home/disciple/pkg/lib -version-info 1:0:0
-no-undefined localcharset.lo relocatable.lo
libtool: link: gcc -shared .libs/localcharset.o .libs/relocatable.o
-L/export/home/disciple/pkgsrc/converters/libiconv/work/.buildlink/lib -lc
-Wl,-R/export/home/disciple/pkg/lib -Wl,-soname -Wl,libcharset.so.1 -o
.libs/libcharset.so.1.0.0
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libcharset.so.1: open failed: No such file or directory
ld: fatal: File processing errors. No output written to
.libs/libcharset.so.1.0.0
collect2: ld returned 1 exit status
*** Error code 1
Stop.
bmake: stopped in
/export/home/disciple/pkgsrc/converters/libiconv/work/libiconv-1.12/libcharset/lib
*** Error code 1
Stop.
bmake: stopped in
/export/home/disciple/pkgsrc/converters/libiconv/work/libiconv-1.12/libcharset
*** Error code 1
Stop.
bmake: stopped in
/export/home/disciple/pkgsrc/converters/libiconv/work/libiconv-1.12
*** Error code 1
Stop.
bmake: stopped in /export/home/disciple/pkgsrc/converters/libiconv
*** Error code 1
Stop.
bmake: stopped in /export/home/disciple/pkgsrc/converters/libiconv
>How-To-Repeat:
Try building the package.
>Fix:
Home |
Main Index |
Thread Index |
Old Index