Subject: gcc3-java on Solaris 9
To: None <tech-pkg@NetBSD.org>
From: =?iso-8859-1?b?UmH6bA==?= Alvarez Venegas <rav@ucol.mx>
List: tech-pkg
Date: 02/20/2004 15:19:37
Hello,

While trying to get gcc3 compiled in Solaris 9 I get the following error:

===> Checking for vulnerabilities in gcc3-3.3.2nb2
===> Extracting for gcc3-3.3.2nb2
===> Required installed package gcc3-c-3.3.2{,nb*}: gcc3-c-3.3.2 found
===> Required installed package gcc3-c++-3.3.2{,nb*}: gcc3-c++-3.3.2nb1 found
===> Required installed package gcc3-f77-3.3.2{,nb*}: gcc3-f77-3.3.2nb1 found
===> Required package gcc3-java-3.3.2{,nb*}: NOT found
===> Verifying reinstall for ../../lang/gcc3-java
===> Checking for vulnerabilities in gcc3-java-3.3.2nb1
===> Building for gcc3-java-3.3.2nb1
cd /usr/pkgsrc/lang/gcc3-java/work/gcc-3.3.2/gcc && /usr/bin/env USETOOLS=no
MAKECONF=/dev/null USETOOLS="no" OBJECT_FMT="ELF" LDFLAGS=" -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib" RPATH_FLAG="-R" WHOLE_ARCHIVE_FLAG="-z allextract"
NO_WHOLE_ARCHIVE_FLAG="-z defaultextract" LINK_ALL_LIBGCC_HACK=""
PATH=/usr/pkgsrc/lang/gcc3-java/work/.tools/bin:/usr/pkgsrc/lang/gcc3-java/work/.buildlink/bin:/usr/pkgsrc/lang/gcc3-java/work/.gcc/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/pkg/bin:/usr/pkg/sbin:/opt/sfw/gcc-3/bin:/usr/pkg/bin:/usr/openwin/bin
PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/openwin CFLAGS="-O
-I/usr/pkg/include" CPPFLAGS="  -I/usr/pkg/include" FFLAGS="-O"
X11PREFIX=/usr/openwin CC="gcc" CXX="g++" CPP="cpp" PTHREAD_CFLAGS=""
PTHREAD_LDFLAGS="" BSD_INSTALL_PROGRAM="/usr/ucb/install -c -s -o root -g root
-m 555"               BSD_INSTALL_SCRIPT="/usr/ucb/install -c -o root -g root
-m 555"                         BSD_INSTALL_DATA="/usr/ucb/install -c -o root
-g root -m 444"                   BSD_INSTALL_MAN="/usr/ucb/install -c -o root
-g root -m 444"                    BSD_INSTALL="/usr/ucb/install"              
           BSD_INSTALL_PROGRAM_DIR="/usr/ucb/install -d -o root -g root -m 755"
   BSD_INSTALL_SCRIPT_DIR="/usr/ucb/install -d -o root -g root -m 755"         
   BSD_INSTALL_DATA_DIR="/usr/ucb/install -d -o root -g root -m 755"           
   BSD_INSTALL_MAN_DIR="/usr/ucb/install -d -o root -g root -m 755"
PKG_SYSCONFDIR="/usr/pkg/etc" BUILDLINK_CACHE_ALL=yes 
INSTALL_INFO="/usr/pkgsrc/lang/gcc3-java/work/.tools/bin/install-info"
MAKEINFO="/usr/pkgsrc/lang/gcc3-java/work/.tools/bin/makeinfo"
VIEWBASE=/usr/pkg /usr/pkg/bin/gmake tconfig.h
/usr/bin/ln -sf /usr/pkg/gcc3/lib/libiberty.a
/usr/pkgsrc/lang/gcc3-java/work/gcc-3.3.2/libiberty
ln: cannot create
/usr/pkgsrc/lang/gcc3-java/work/gcc-3.3.2/libiberty/libiberty.a: File exists
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3-java
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3-java
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3-java
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc3

Is there a workaround to this?, Thanks!


Raul