Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2011 10:11:40 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Christer Solskogen <christer.solskogen@gmail.com>
Cc:        glewis@freebsd.org, freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: openjdk7 build 144 fails on both CURRENT and 8.2
Message-ID:  <20110530171140.GA35190@misty.eyesbeyond.com>
In-Reply-To: <BANLkTimRZSQGjUwok6exnzyfhn5GQTM9zQ@mail.gmail.com>
References:  <BANLkTimRZSQGjUwok6exnzyfhn5GQTM9zQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 30, 2011 at 10:02:24AM +0200, Christer Solskogen wrote:
> /usr/bin/gcc  -O2   -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused
> -Wno-parentheses -pipe -m64 -fno-omit-frame-pointer -D_LITTLE_ENDIAN
> -DNDEBUG -DARCH='"amd64"' -Damd64 -D_ALLBSD_SOURCE -DRELEASE='"1.7.0"'
> -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I.
> -I/usr/obj/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/tmp/sun/javax.sound/jsoundalsa/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/javax/sound
> -I../../../../src/solaris/native/javax/sound   -DX_PLATFORM=X_BSD
> -DX_ARCH=X_AMD64 -DUSE_DAUDIO=TRUE -DUSE_PORTS=TRUE
> -I../../../../src/share/native/com/sun/media/sound
> -I/usr/local/include  -c -o
> /usr/obj/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/tmp/sun/javax.sound/jsoundalsa/obj64/PLATFORM_API_BsdOS_ALSA_CommonUtils.o
>  ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c
> In file included from
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:29:
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.h:26:28:
> error: alsa/asoundlib.h: No such file or directory
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:
> In function 'initAlsaSupport':
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:51:
> warning: implicit declaration of function 'snd_lib_error_set_handler'
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:53:
> warning: implicit declaration of function 'getenv'
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:53:
> warning: assignment makes pointer from integer without a cast
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:54:
> warning: implicit declaration of function 'strlen'
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:54:
> warning: incompatible implicit declaration of built-in function
> 'strlen'
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:
> In function 'getDeviceStringFromDeviceID':
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:120:
> warning: implicit declaration of function 'strcpy'
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:120:
> warning: incompatible implicit declaration of built-in function
> 'strcpy'
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:
> In function 'getALSAVersion':
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:142:
> warning: incompatible implicit declaration of built-in function
> 'strlen'
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:178:
> warning: implicit declaration of function 'strncpy'
> ../../../../src/solaris/native/com/sun/media/sound/PLATFORM_API_BsdOS_ALSA_CommonUtils.c:178:
> warning: incompatible implicit declaration of built-in function
> 'strncpy'
> gmake[6]: *** [/usr/obj/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/tmp/sun/javax.sound/jsoundalsa/obj64/PLATFORM_API_BsdOS_ALSA_CommonUtils.o]
> Error 1
> gmake[6]: *** Waiting for unfinished jobs....
> gmake[6]: Leaving directory
> `/usr/obj/usr/ports/java/openjdk7/work/openjdk/jdk/make/javax/sound/jsoundalsa'
> gmake[5]: *** [library_parallel_compile] Error 2
> gmake[5]: Leaving directory
> `/usr/obj/usr/ports/java/openjdk7/work/openjdk/jdk/make/javax/sound/jsoundalsa'
> gmake[4]: *** [build] Error 1
> gmake[4]: Leaving directory
> `/usr/obj/usr/ports/java/openjdk7/work/openjdk/jdk/make/javax/sound'
> gmake[3]: *** [all] Error 1
> gmake[3]: Leaving directory
> `/usr/obj/usr/ports/java/openjdk7/work/openjdk/jdk/make/javax'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory
> `/usr/obj/usr/ports/java/openjdk7/work/openjdk/jdk/make'
> gmake[1]: *** [jdk-build] Error 2
> gmake[1]: Leaving directory `/usr/obj/usr/ports/java/openjdk7/work/openjdk'
> gmake: *** [build_product_image] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/java/openjdk7.

Thanks for the report.  I forgot a dependency :(.  Just committed a fix.

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110530171140.GA35190>