From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 21 17:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CF97ABD4 for ; Tue, 21 May 2013 17:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B5C8FFAC for ; Tue, 21 May 2013 17:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4LHK0Ic059315 for ; Tue, 21 May 2013 17:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4LHK0ro059306; Tue, 21 May 2013 17:20:00 GMT (envelope-from gnats) Resent-Date: Tue, 21 May 2013 17:20:00 GMT Resent-Message-Id: <201305211720.r4LHK0ro059306@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hardy Schumacher Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7B68091F for ; Tue, 21 May 2013 17:16:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1F0F60 for ; Tue, 21 May 2013 17:16:24 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4LHGNKX055072 for ; Tue, 21 May 2013 17:16:23 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4LHGNGm055071; Tue, 21 May 2013 17:16:23 GMT (envelope-from nobody) Message-Id: <201305211716.r4LHGNGm055071@oldred.FreeBSD.org> Date: Tue, 21 May 2013 17:16:23 GMT From: Hardy Schumacher To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178816: java/netbeans does not build, compile error at java/openjdk6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 17:20:00 -0000 >Number: 178816 >Category: ports >Synopsis: java/netbeans does not build, compile error at java/openjdk6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 21 17:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Hardy Schumacher >Release: FreeBSD-9.1 >Organization: >Environment: FreeBSD gamma.low.org 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #0 r249040: Wed Apr 3 11:57:09 CEST 2013 root@gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA i386 >Description: Building of port java/netbeans on a system without having installed java/openjdk6, build process is broken on compiling dependency java/openjdk6. It seems that this issue depends on the configured dependencies between java/netbeans and java/openjdk6. Just because when installing java/openjdk6 separately, it builds and installs without issues, java/netbeans can also be installed afterwards. Please also check if this issue is similar to the one reported by PR:178647 "java/openjdk6 does not build (without extra hack)". >How-To-Repeat: Use a system without having installed java/netbeans and java/openjdk6. Switch into ${PORTSDIR}/java/netbeans. Execute "make clean", to ensure no artefacts are left. Execute "make install clean". Last messages from port java/openjdk6: .. gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir' : Creating env.csh ... ( \ echo "# Generated by /usr/ports/java/openjdk6/work/hotspot/make/bsd/makefiles/buildtree.make"; \ [ -n "$JAVA_HOME" ] && \ { echo "if (! \$?JAVA_HOME) setenv JAVA_HOME \"$JAVA_HOME\""; }; \ sed -n 's/^\([A-Za-z_][A-Za-z0-9_]*\)=/setenv \1 /p' env.sh; \ ) > env.csh Creating jdkpath.sh ... ( \ echo "# Generated by /usr/ports/java/openjdk6/work/hotspot/make/bsd/makefiles/buildtree.make"; \ echo "JDK=/usr/local/bootstrap-openjdk"; \ ) > jdkpath.sh Creating .dbxrc ... ( \ echo "echo '# Loading bsd_amd64_compiler2/profiled/.dbxrc'"; \ echo "if [ -f \"\${HOTSPOT_DBXWARE}\" ]"; \ echo "then"; \ echo " source \"\${HOTSPOT_DBXWARE}\""; \ echo "elif [ -f \"\$HOME/.dbxrc\" ]"; \ echo "then"; \ echo " source \"\$HOME/.dbxrc\""; \ echo "fi"; \ ) > .dbxrc Creating test_gamma ... ( \ echo '#!/bin/sh'; \ echo "# Generated by /usr/ports/java/openjdk6/work/hotspot/make/bsd/makefiles/buildtree.make"; \ echo '. ./env.sh'; \ echo "if [ \"\" != \"\" ]; then { echo "Cross compiling for ARCH , skipping gamma run."; exit 0; }; fi"; \ echo "if [ -z \$JAVA_HOME ]; then { echo "JAVA_HOME must be set to run this test."; exit 0; }; fi"; \ echo "if ! \${JAVA_HOME}/bin/java -d64 -fullversion 2>&1 > /dev/null"; \ echo "then"; \ echo " echo "JAVA_HOME must point to 64bit JDK."; exit 0;"; \ echo "fi"; \ echo "rm -f Queens.class"; \ echo "\${JAVA_HOME}/bin/javac -d . /usr/ports/java/openjdk6/work/hotspot/make/test/Queens.java"; \ echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ echo './${gamma:-gamma} -Xbatch -showversion Queens < /dev/null'; \ ) > test_gamma chmod +x test_gamma gmake[6]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/profiled' touch bsd_amd64_compiler2/profiled gmake[5]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir' cd bsd_amd64_compiler2/product && gmake -w " LP64=1 " gmake[5]: Entering directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' cd /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product/../generated; cp /usr/ports/java/openjdk6/work/hotspot/make/bsd/platform_amd64 /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product/../generated/platform.current gmake[6]: Entering directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' Compiling /usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp rm -f ../generated/adfiles/adlparse.o c++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims -I/usr/ports/java/openjdk6/work/hotspot/src/cpu/x86/vm -I/usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm -I/usr/ports/java/openjdk6/work/hotspot/src/os_cpu/bsd_x86/vm -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc -I../generated -DASSERT -O2 -pipe -fno-strict-aliasing -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe -w -g -c -o ../generated/adfiles/adlparse.o /usr/ports/java/openjdk6/work/hotspot/src/share/vm/ adlc/adlparse.cpp /usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp:1: sorry, unimplemented: 64-bit mode not compiled in gmake[6]: *** [../generated/adfiles/adlparse.o] Error 1 gmake[6]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' gmake[5]: *** [ad_stuff] Error 2 gmake[5]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' gmake[4]: *** [product] Error 2 gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir' gmake[3]: *** [generic_build2] Error 2 gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make' gmake[2]: *** [product] Error 2 gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make' gmake[1]: *** [hotspot-build] Error 2 gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work' gmake: *** [build_product_image] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/java/openjdk6. *** [install] Error code 1 Stop in /usr/ports/java/openjdk6. *** [run-depends] Error code 1 Stop in /usr/ports/java/netbeans. >Fix: n/a >Release-Note: >Audit-Trail: >Unformatted: