pkgsrc-Bugs archive

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

pkg/46055: lang/openjdk7 fails to build



>Number:         46055
>Category:       pkg
>Synopsis:       lang/openjdk7 fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 19 18:40:00 +0000 2012
>Originator:     Robert Swindells
>Release:        NetBSD 5.99.58
>Organization:
NetBSD
>Environment:
        
        
System: NetBSD asus.fdy2.co.uk 5.99.58 NetBSD 5.99.58 (ASUS) #1: Tue Dec 13 
00:52:23 GMT 2011 
rjs%neo.fdy2.co.uk@localhost:/u1/src/sys/arch/amd64/compile/ASUS amd64
Architecture: x86_64
Machine: amd64
>Description:

Trying to build lang/openjdk7 against graphics/libjpeg-turbo fails with
the following error.

Building 
lib:/u1/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-amd64/lib/amd64/libsplashscreen.so
Begin parallel compiles: 
/u1/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/sun/splashscreen
gmake[5]: Entering directory 
`/u1/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/sun/splashscreen'
/u1/pkgsrc/lang/openjdk7/work/.wrapper/bin/gcc  -O2   -fno-strict-aliasing 
-fPIC -W -Wall  -Wno-unused -Wno-parentheses -pipe -m64 -fno-omit-frame-pointer 
-D_LITTLE_ENDIAN  
-DDEFAULT_LIBPATH=\"/usr/pkg/lib/jni:/usr/pkg/lib:/lib:/usr/lib\" 
-DSPLASHSCREEN -DWITH_X11 -DNDEBUG -DARCH='"amd64"' -Damd64 -D_ALLBSD_SOURCE 
-DRELEASE='"1.7.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT 
-D_LP64=1 -I. 
-I/u1/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-amd64/tmp/sun/sun.awt/splashscreen/CClassHeaders
 -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export 
-I../../../src/share/native/common -I../../../src/solaris/native/common 
-I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt   
-I/usr/X11R7/include -I/usr/X11R7/include/X11/extensions 
-I../../../src/solaris/native/sun/awt/splashscreen 
-I../../../src/share/native/sun/awt/splashscreen 
-I../../../src/share/native/sun/awt/image/jpeg -DPNG_NO_MMX_CODE  -c -o 
/u1/pkgsrc/lang/openjdk7/work/open
 jdk/build/bsd-amd64/tmp/sun/sun.awt/splashscreen/obj64/splashscreen_jpeg.o  
../../../src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c
../../../src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c: In function 
'SplashDecodeJpegStream':
../../../src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c:240:5: 
error: 'JPEG_LIB_VERSION' undeclared (first use in this function)
../../../src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c:240:5: note: 
each undeclared identifier is reported only once for each function it appears in
gmake[5]: *** 
[/u1/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-amd64/tmp/sun/sun.awt/splashscreen/obj64/splashscreen_jpeg.o]
 Error 1
gmake[5]: Leaving directory 
`/u1/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/sun/splashscreen'
gmake[4]: *** [library_parallel_compile] Error 2
gmake[4]: Leaving directory 
`/u1/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/sun/splashscreen'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory `/u1/pkgsrc/lang/openjdk7/work/openjdk/jdk/make/sun'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/u1/pkgsrc/lang/openjdk7/work/openjdk/jdk/make'
gmake[1]: *** [jdk-build] Error 2
gmake[1]: Leaving directory `/u1/pkgsrc/lang/openjdk7/work/openjdk'
gmake: *** [build_product_image] Error 2
*** Error code 2

Stop.
make: stopped in /u1/pkgsrc/lang/openjdk7
*** Error code 1

Stop.
make: stopped in /u1/pkgsrc/lang/openjdk7
asus# 

>How-To-Repeat:
        Try building package.
>Fix:
        No idea, JPEG_LIB_VERSION has been moved to jconfig.h from
        jpeglib.h in the latest version of graphics/libjpeg-turbo
        but both files look as if they should have been included in
        the source file that fails to build.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index