NetBSD Problem Report #46055

From rjs@fdy2.co.uk  Sun Feb 19 18:35:37 2012
Return-Path: <rjs@fdy2.co.uk>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4878F63E10E
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Feb 2012 18:35:36 +0000 (UTC)
Message-Id: <20120219171233.C6CE783@asus.fdy2.co.uk>
Date: Sun, 19 Feb 2012 17:12:33 +0000 (GMT)
From: rjs@fdy2.co.uk
Reply-To: rjs@fdy2.co.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/openjdk7 fails to build
X-Send-Pr-Version: 3.95

>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:/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:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.