Bug 173592 - java/openjdk6 fails on FreeBSD_9_1_RC2
Summary: java/openjdk6 fails on FreeBSD_9_1_RC2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-13 04:40 UTC by freebsd.users
Modified: 2014-06-06 23:48 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd.users 2012-11-13 04:40:00 UTC
Compiling /usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/output_h.cpp
rm -f ../generated/adfiles/output_h.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-omit-frame-pointer -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/output_h.o /usr/ports/java/openjdk6/wo
 rk/hotspot/src/share/vm/adlc/output_h.cpp 
Making adlc
c++ -m64 -Xlinker -O1 -m64 -export-dynamic -o ../generated/adfiles/adlc ../generated/adfiles/adlparse.o ../generated/adfiles/archDesc.o ../generated/adfiles/arena.o ../generated/adfiles/dfa.o ../generated/adfiles/dict2.o ../generated/adfiles/filebuff.o ../generated/adfiles/forms.o ../generated/adfiles/formsopt.o ../generated/adfiles/formssel.o ../generated/adfiles/main.o ../generated/adfiles/adlc-opcodes.o ../generated/adfiles/output_c.o ../generated/adfiles/output_h.o
gmake[6]: *** No rule to make target `/usr/ports/java/openjdk6/work/hotspot/src/cpu/amd64/vm/x86_64.ad', needed by `../generated/adfiles/bsd_x86_64.ad'.  Stop.
gmake[6]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[5]: *** [ad_stuff] Error 2
gmake[5]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[4]: *** [product] Error 2
gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64/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

How-To-Repeat: make -C /usr/ports/java/openjdk6 install 

my /etc/make.conf customizations - 

# ACPI
ACPI_DEBUG=1

# DTrace Support
WITH_CTF=1
STRIP=
CFLAGS+=-fno-omit-frame-pointer

# CCACHE SUPPORT
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
.if !defined(NOCCACHE)
CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1}
CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1}
.endif
.endif
.if $(.CURDIR:M*/ports/devel/ccache)
NOCCACHE= yes
.endif

# LINUX
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10

# CUPS
WITH_CUPS=YES
CUPS_OVERWRITE_BASE=YES
WITHOUT_LPR=YES

# PERL
PERL_VERSION=5.12.4

# CLAMAV
CLAMAVUSER=vscan
CLAMAVGROUP=vscan

# PKGNG
# WITH_PKGNG=YES

______________________________________________________________________

Note: I have tried default make but no luck.
Comment 1 Ronald Klop 2012-11-13 14:33:27 UTC
Please try to make again with MAKE_JOBS_NUMBER=1 set in your environment.

Ronald.
Comment 2 spork 2013-04-08 22:13:17 UTC
Just wanted to note that with a ports tree fetched yesterday (4/7/2013) =
I see this issue when building OpenJDK6 on a clean 8.3/amd64 install =
with an empty make.conf.  It does build as long as I add the suggested =
"-DMAKE_JOBS_NUMBER=3D1", but that's not an obvious solution.

Charles
--=20
Charles Sprickman
NetEng/SysAdmin
Bway.net - New York's Best Internet www.bway.net
spork@bway.net - 212.982.9800
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2014-06-06 23:48:41 UTC
I just marked the port as MAKE_JOBS_UNSAFE (r356867).