pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problem installing packages build with gcc



Hi,

I try to use pkgsrc-2009Q2 on solaris 10. When I try to install packages containing libraries, the libraries don't get installed. When I try to do bmake install for converters/libiconv it ends up with the following:

=> Automatic manual page handling
=> Running POST-INSTALL script actions
libiconv-1.12nb1: copying /nilfisk/pkgsrc-2009Q2-gcc/share/examples/libiconv/charset.alias to /nilfisk/pkgsrc-2009Q2-gcc/lib/charset.alias
pkg_create: can't stat `/nilfisk/pkgsrc-2009Q2-gcc/lib/libcharset.la'
pkg_create: can't stat `/nilfisk/pkgsrc-2009Q2-gcc/lib/libiconv.la'
=> Registering installation for libiconv-1.12nb1
pkg_admin: libiconv-1.12nb1: File `/nilfisk/pkgsrc-2009Q2-gcc/lib/libcharset.la' is in +CONTENTS but not on filesystem! pkg_admin: libiconv-1.12nb1: File `/nilfisk/pkgsrc-2009Q2-gcc/lib/libiconv.la' is in +CONTENTS but not on filesystem!

There is also a warning during the install process saying:
libtool: install: warning: remember to run `libtool --finish /nilfisk/pkgsrc-2009Q2-gcc/lib'

The files libiconv.la and libcharset.la are build, they are in the work directory, and if I copy them by hand, other packages also find them. But then I have the problem again with the other packages.

If tried the gcc 3.4.3 from solaris and lang/gcc-34 from pkgsrc-2009Q2 which I build in a other prefix with sunstudio.

In the attachment is the whole output from bmake install.

Regards

Daniel


=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Skipping vulnerability checks.
WARNING: No /nilfisk/pkgsrc-2009Q2-gcc/var/db/pkg/pkg-vulnerabilities file 
found.
WARNING: To fix run: `/nilfisk/pkgsrc-2009Q2-gcc/sbin/pkg_admin -K 
/nilfisk/pkgsrc-2009Q2-gcc/var/db/pkg fetch-pkg-vulnerabilities'.
===> Installing for libiconv-1.12nb1
=> Running PRE-INSTALL script actions
/usr/bin/rm -f /nilfisk/pkgsrc-2009Q2-gcc/lib/charset.alias
builddir="`pwd`"; cd libcharset && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake all &&  
 /nilfisk/pkgsrc-2009Q2-gcc/bin/pax -rw lib/libcharset.la lib/.libs 
"$builddir/" &&      /nilfisk/pkgsrc-2009Q2-gcc/bin/pax -rw include/*.h 
"$builddir/"
cd lib && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake all
cd libcharset && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake install 
prefix='/nilfisk/pkgsrc-2009Q2-gcc' exec_prefix='/nilfisk/pkgsrc-2009Q2-gcc' 
libdir='/nilfisk/pkgsrc-2009Q2-gcc/lib'
cd lib && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake install 
prefix='/nilfisk/pkgsrc-2009Q2-gcc' exec_prefix='/nilfisk/pkgsrc-2009Q2-gcc' 
libdir='/nilfisk/pkgsrc-2009Q2-gcc/lib'
/bin/sh ../build-aux/mkinstalldirs /nilfisk/pkgsrc-2009Q2-gcc/lib
mkdir -p -- /nilfisk/pkgsrc-2009Q2-gcc/lib
/bin/sh ../libtool --mode=install /nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c 
-o pkgsrc -g other libcharset.la /nilfisk/pkgsrc-2009Q2-gcc/lib/libcharset.la
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other 
.libs/libcharset.so.1.0.0 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libcharset.so.1.0.0
(cd 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib 
&& { ln -s -f libcharset.so.1.0.0 libcharset.so.1 || { rm -f libcharset.so.1 && 
ln -s libcharset.so.1.0.0 libcharset.so.1; }; })
(cd 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib 
&& { ln -s -f libcharset.so.1.0.0 libcharset.so || { rm -f libcharset.so && ln 
-s libcharset.so.1.0.0 libcharset.so; }; })
chmod +x 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libcharset.so.1.0.0
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other 
.libs/libcharset.lai 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libcharset.la
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other 
.libs/libcharset.a 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libcharset.a
chmod 644 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libcharset.a
ranlib 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libcharset.a
libtool: install: warning: remember to run `libtool --finish 
/nilfisk/pkgsrc-2009Q2-gcc/lib'
/bin/sh ./build-aux/mkinstalldirs /nilfisk/pkgsrc-2009Q2-gcc/include
mkdir -p -- /nilfisk/pkgsrc-2009Q2-gcc/include
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
include/libcharset.h /nilfisk/pkgsrc-2009Q2-gcc/include/libcharset.h
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
include/localcharset.h.inst /nilfisk/pkgsrc-2009Q2-gcc/include/localcharset.h
cd lib && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake install 
prefix='/nilfisk/pkgsrc-2009Q2-gcc' exec_prefix='/nilfisk/pkgsrc-2009Q2-gcc' 
libdir='/nilfisk/pkgsrc-2009Q2-gcc/lib'
if [ ! -d /nilfisk/pkgsrc-2009Q2-gcc/lib ] ; then /bin/sh 
../build-aux/mkinstalldirs /nilfisk/pkgsrc-2009Q2-gcc/lib ; fi
/bin/sh ../libtool --mode=install /nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c 
-o pkgsrc -g other libiconv.la /nilfisk/pkgsrc-2009Q2-gcc/lib/libiconv.la
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other 
.libs/libiconv.so.2.4.0 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libiconv.so.2.4.0
(cd 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib 
&& { ln -s -f libiconv.so.2.4.0 libiconv.so.2 || { rm -f libiconv.so.2 && ln -s 
libiconv.so.2.4.0 libiconv.so.2; }; })
(cd 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib 
&& { ln -s -f libiconv.so.2.4.0 libiconv.so || { rm -f libiconv.so && ln -s 
libiconv.so.2.4.0 libiconv.so; }; })
chmod +x 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libiconv.so.2.4.0
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other 
.libs/libiconv.lai 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libiconv.la
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other 
.libs/libiconv.a 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libiconv.a
chmod 644 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libiconv.a
ranlib 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib/libiconv.a
libtool: install: warning: remember to run `libtool --finish 
/nilfisk/pkgsrc-2009Q2-gcc/lib'
case "solaris2" in  aix*) (cd /nilfisk/pkgsrc-2009Q2-gcc/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
if test -n "preloadable_libiconv.so"; then 
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
preloadable_libiconv.so 
/nilfisk/pkgsrc-2009Q2-gcc/lib/preloadable_libiconv.so.new && mv 
/nilfisk/pkgsrc-2009Q2-gcc/lib/preloadable_libiconv.so.new 
/nilfisk/pkgsrc-2009Q2-gcc/lib/preloadable_libiconv.so ; fi
cd srclib && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake install 
prefix='/nilfisk/pkgsrc-2009Q2-gcc' exec_prefix='/nilfisk/pkgsrc-2009Q2-gcc' 
libdir='/nilfisk/pkgsrc-2009Q2-gcc/lib'
/nilfisk/pkgsrc-2009Q2-gcc/bin/bmake  install-am
cd src && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake install 
prefix='/nilfisk/pkgsrc-2009Q2-gcc' exec_prefix='/nilfisk/pkgsrc-2009Q2-gcc' 
libdir='/nilfisk/pkgsrc-2009Q2-gcc/lib'
test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod 777 .
if [ ! -d /nilfisk/pkgsrc-2009Q2-gcc/bin ] ; then /bin/sh 
../build-aux/mkinstalldirs /nilfisk/pkgsrc-2009Q2-gcc/bin ; fi
case "solaris2" in  hpux*) gcc -Wl,-R/nilfisk/pkgsrc-2009Q2-gcc/lib -O `if test 
-n ''; then  /nilfisk/pkgsrc-2009Q2-gcc/bin; fi` iconv.o ../srclib/libicrt.a 
-L/nilfisk/pkgsrc-2009Q2-gcc/lib -liconv   `if test -n ''; then echo " -Wl,+b 
-Wl,/nilfisk/pkgsrc-2009Q2-gcc/lib"; fi` -o iconv;;  *) /bin/sh ../libtool 
--mode=link gcc -Wl,-R/nilfisk/pkgsrc-2009Q2-gcc/lib -O `if test -n ''; then  
/nilfisk/pkgsrc-2009Q2-gcc/bin; fi` iconv.o ../srclib/libicrt.a 
../lib/libiconv.la   -o iconv;;  esac
gcc -Wl,-R/nilfisk/pkgsrc-2009Q2-gcc/lib -O iconv.o -o .libs/iconv  
../srclib/libicrt.a ../lib/.libs/libiconv.so 
-L/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/.buildlink/lib 
 -R/nilfisk/pkgsrc-2009Q2-gcc/lib
creating iconv
/bin/sh ../libtool --mode=install /nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c 
-s -o pkgsrc -g other -m 755 iconv /nilfisk/pkgsrc-2009Q2-gcc/bin/iconv
libtool: install: warning: `../lib/libiconv.la' has not been installed in 
`/nilfisk/pkgsrc-2009Q2-gcc/lib'
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 755 -s 
.libs/iconv /nilfisk/pkgsrc-2009Q2-gcc/bin/iconv
if [ ! -d /nilfisk/pkgsrc-2009Q2-gcc/include ] ; then /bin/sh 
./build-aux/mkinstalldirs /nilfisk/pkgsrc-2009Q2-gcc/include ; fi
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
include/iconv.h.inst /nilfisk/pkgsrc-2009Q2-gcc/include/iconv.h
cd po && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake install 
prefix='/nilfisk/pkgsrc-2009Q2-gcc' exec_prefix='/nilfisk/pkgsrc-2009Q2-gcc' 
datarootdir='/nilfisk/pkgsrc-2009Q2-gcc/share' 
datadir='/nilfisk/pkgsrc-2009Q2-gcc/share'
if test "libiconv" = "gettext-tools"; then  ../build-aux/install-sh -c -d 
/nilfisk/pkgsrc-2009Q2-gcc/share/gettext/po;  for file in Makefile.in.in 
remove-potcdate.sin  quot.sed boldquot.sed en%quot.header@localhost 
en%boldquot.header@localhost insert-header.sin Rules-quot   Makevars.template; 
do  /nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./$file  /nilfisk/pkgsrc-2009Q2-gcc/share/gettext/po/$file;  done;  for file in 
Makevars; do  rm -f /nilfisk/pkgsrc-2009Q2-gcc/share/gettext/po/$file;  done;  
else  : ;  fi
cd man && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake install 
prefix='/nilfisk/pkgsrc-2009Q2-gcc' exec_prefix='/nilfisk/pkgsrc-2009Q2-gcc' 
datarootdir='/nilfisk/pkgsrc-2009Q2-gcc/share' 
datadir='/nilfisk/pkgsrc-2009Q2-gcc/share' 
mandir='/nilfisk/pkgsrc-2009Q2-gcc/man'
if [ ! -d /nilfisk/pkgsrc-2009Q2-gcc/man/man1 ] ; then /bin/sh 
../build-aux/mkinstalldirs /nilfisk/pkgsrc-2009Q2-gcc/man/man1 ; fi
builddir="`pwd`"; cd . && for f in *.1 ; do (cd "$builddir"; echo 
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 ./$f 
/nilfisk/pkgsrc-2009Q2-gcc/man/man1/$f ; 
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 ./$f 
/nilfisk/pkgsrc-2009Q2-gcc/man/man1/$f) ; done
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconv.1 /nilfisk/pkgsrc-2009Q2-gcc/man/man1/iconv.1
if [ ! -d /nilfisk/pkgsrc-2009Q2-gcc/man/man3 ] ; then /bin/sh 
../build-aux/mkinstalldirs /nilfisk/pkgsrc-2009Q2-gcc/man/man3 ; fi
mkdir /nilfisk/pkgsrc-2009Q2-gcc/man/man3
builddir="`pwd`"; cd . && for f in *.3 ; do (cd "$builddir"; echo 
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 ./$f 
/nilfisk/pkgsrc-2009Q2-gcc/man/man3/$f ; 
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 ./$f 
/nilfisk/pkgsrc-2009Q2-gcc/man/man3/$f) ; done
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconv.3 /nilfisk/pkgsrc-2009Q2-gcc/man/man3/iconv.3
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconv_close.3 /nilfisk/pkgsrc-2009Q2-gcc/man/man3/iconv_close.3
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconv_open.3 /nilfisk/pkgsrc-2009Q2-gcc/man/man3/iconv_open.3
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconvctl.3 /nilfisk/pkgsrc-2009Q2-gcc/man/man3/iconvctl.3
if [ ! -d /nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv ] ; then /bin/sh 
../build-aux/mkinstalldirs /nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv ; fi
mkdir /nilfisk/pkgsrc-2009Q2-gcc/share/doc
mkdir /nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv
builddir="`pwd`"; cd . && for f in *.html ; do (cd "$builddir"; echo 
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 ./$f 
/nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv/$f ; 
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 ./$f 
/nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv/$f) ; done
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconv.1.html /nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv/iconv.1.html
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconv.3.html /nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv/iconv.3.html
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconv_close.3.html 
/nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv/iconv_close.3.html
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconv_open.3.html 
/nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv/iconv_open.3.html
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
./iconvctl.3.html /nilfisk/pkgsrc-2009Q2-gcc/share/doc/libiconv/iconvctl.3.html
cd 
/nilfisk/pkgsrc-2009Q2-gcc/usr/pkgsrc/converters/libiconv/work/libiconv-1.12/libcharset/lib
 && /nilfisk/pkgsrc-2009Q2-gcc/bin/bmake 
libdir=/nilfisk/pkgsrc-2009Q2-gcc/share/examples/libiconv DESTDIR=  
install-charset-alias
/bin/sh ../build-aux/mkinstalldirs 
/nilfisk/pkgsrc-2009Q2-gcc/share/examples/libiconv
mkdir -p -- /nilfisk/pkgsrc-2009Q2-gcc/share/examples/libiconv
orig=charset.alias;  sed -f ref-add.sed $orig > t-charset.alias;  
/nilfisk/pkgsrc-2009Q2-gcc/bin/install-sh -c -o pkgsrc -g other -m 644 
t-charset.alias 
/nilfisk/pkgsrc-2009Q2-gcc/share/examples/libiconv/charset.alias;
=> Automatic manual page handling
=> Running POST-INSTALL script actions
libiconv-1.12nb1: copying 
/nilfisk/pkgsrc-2009Q2-gcc/share/examples/libiconv/charset.alias to 
/nilfisk/pkgsrc-2009Q2-gcc/lib/charset.alias
pkg_create: can't stat `/nilfisk/pkgsrc-2009Q2-gcc/lib/libcharset.la'
pkg_create: can't stat `/nilfisk/pkgsrc-2009Q2-gcc/lib/libiconv.la'
=> Registering installation for libiconv-1.12nb1
pkg_admin: libiconv-1.12nb1: File 
`/nilfisk/pkgsrc-2009Q2-gcc/lib/libcharset.la' is in +CONTENTS but not on 
filesystem!
pkg_admin: libiconv-1.12nb1: File `/nilfisk/pkgsrc-2009Q2-gcc/lib/libiconv.la' 
is in +CONTENTS but not on filesystem!


Home | Main Index | Thread Index | Old Index