pkgsrc-Bugs archive

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

pkg/48683: lang/gcc44 build fails on netbsd-5/i386



>Number:         48683
>Category:       pkg
>Synopsis:       lang/gcc44 build fails on netbsd-5/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 26 17:35:00 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.2_STABLE, pkgsrc-HEAD (pre-pkgsrc-2014Q1)
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #13: 
Wed Dec 18 05:44:53 CST 2013  
sysop%verthandi.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI
 i386

>Description:
Building lang/gcc44 (a dependency of mulimedia/libvpx and perhaps others) fails 
on
netbsd-5/i386 (others?) with the following:

[...]
libtool: compile:  /d0/build/pkgsrc/lang/gcc44/work/obj/./gcc/xgcc 
-shared-libgcc -B/d0/build/pkgsrc/lang/gcc44/work/obj/./gcc -nostdinc++ 
-L/d0/build/pkgsrc/lang/gcc44/work/obj/i386-unknown-netbsdelf5.2./libstdc++-v3/src
 
-L/d0/build/pkgsrc/lang/gcc44/work/obj/i386-unknown-netbsdelf5.2./libstdc++-v3/src/.libs
 -B/usr/pkg/gcc44/i386-unknown-netbsdelf5.2./bin/ 
-B/usr/pkg/gcc44/i386-unknown-netbsdelf5.2./lib/ -isystem 
/usr/pkg/gcc44/i386-unknown-netbsdelf5.2./include -isystem 
/usr/pkg/gcc44/i386-unknown-netbsdelf5.2./sys-include -DHAVE_CONFIG_H -I. 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava -I./include -I./gcj 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava -Iinclude 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/include 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/classpath/include 
-Iclasspath/include 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/classpath/native/fdlibm 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/../boehm-gc/include -
 I../boehm-gc/include 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/libltdl 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/libltdl 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/.././libjava/../gcc 
-I/d0/build/pkgsrc/lang/gcc44/work/gcc-4.4.7/libjava/../libffi/include 
-I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers 
-Wswitch-enum -D_FILE_OFFSET_BITS=64 -ffloat-store -fomit-frame-pointer -Usun 
-Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/usr/pkg/gcc44\" 
-DTOOLEXECLIBDIR=\"/usr/pkg/gcc44/lib\" -DJAVA_HOME=\"/usr/pkg/gcc44\" 
-DBOOT_CLASS_PATH=\"/usr/pkg/gcc44/share/java/libgcj-4.4.7.jar\" 
-DJAVA_EXT_DIRS=\"/usr/pkg/gcc44/share/java/ext\" 
-DGCJ_ENDORSED_DIRS=\"/usr/pkg/gcc44/share/java/gcj-endorsed\" 
-DGCJ_VERSIONED_LIBDIR=\"/usr/pkg/gcc44/lib/gcj-4.4.7-10\" 
-DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"\" 
-DLIBGCJ_DEFAULT_DATABASE=\"/usr/pkg/gcc44/lib/gcj-4.4.7-10/classmap.db\" 
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.4.7-10/classmap.db\" -
 g -O2 -I/d0/build/pkgsrc/lang/gcc44/work/.buildlink/include -I/usr/pkg/include 
-I/usr/include -MT java/net/natVMInetAddress.lo -MD -MP -MF 
java/net/.deps/natVMInetAddress.Tpo -c java/net/natVMInetAddress.cc  -fPIC 
-DPIC -o java/net/.libs/natVMInetAddress.o
java/net/natVMInetAddress.cc: In static member function 'static 
JArray<JArray<__java_byte>*>* 
java::net::VMInetAddress::getHostByName(java::lang::String*)':
java/net/natVMInetAddress.cc:220: error: 'gethostbyname_r' was not declared in 
this scope
Makefile:9667: recipe for target 'java/net/natVMInetAddress.lo' failed
gmake[3]: *** [java/net/natVMInetAddress.lo] Error 1
gmake[3]: Leaving directory 
'/d0/build/pkgsrc/lang/gcc44/work/obj/i386-unknown-netbsdelf5.2./libjava'
Makefile:9968: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
'/d0/build/pkgsrc/lang/gcc44/work/obj/i386-unknown-netbsdelf5.2./libjava'
Makefile:16957: recipe for target 'all-target-libjava' failed
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory '/d0/build/pkgsrc/lang/gcc44/work/obj'
Makefile:739: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /x/pkgsrc/lang/gcc44
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package 
Makefile.
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/lang/gcc44

>How-To-Repeat:
Attempt to build lang/gcc44 from pkgsrc-HEAD on netbsd-5/i386 (other arches?)
>Fix:
Perhaps arrange for it not to build the java compiler?



Home | Main Index | Thread Index | Old Index