java/openjdk7 update fails to build
Jonathan Chen
jonc at chen.org.nz
Tue Mar 10 01:12:27 UTC 2020
Hi,
The latest update to java/openjdk7 on 8-Mar to 7u251 is currently failing with:
echo Linking launcher...
Linking launcher...
cc -m64 -Xlinker -O1 -Xlinker -z -Xlinker noexecstack -m64 -Xlinker
-export-dynamic -L`pwd` -o gamma launcher/java_md.o
launcher/jli_util.o launcher/wildcard.o launcher/java.o -ljvm -lm
-pthread
ld: error: undefined symbol: JNI_CreateJavaVM
>>> referenced by java_md.c:752 (/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/hotspot/src/os/posix/launcher/java_md.c:752)
>>> launcher/java_md.o:(LoadJavaVM)
ld: error: undefined symbol: JNI_GetDefaultJavaVMInitArgs
>>> referenced by java_md.c:753 (/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/hotspot/src/os/posix/launcher/java_md.c:753)
>>> launcher/java_md.o:(LoadJavaVM)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[7]: *** [/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/hotspot/make/bsd/makefiles/launcher.make:102:
gamma] Error 1
gmake[7]: Leaving directory
'/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[6]: *** [/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/hotspot/make/bsd/makefiles/top.make:129:
the_vm] Error 2
gmake[6]: Leaving directory
'/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[5]: *** [/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/hotspot/make/bsd/Makefile:292:
product] Error 2
gmake[5]: Leaving directory
'/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/build/bsd-amd64/hotspot/outputdir'
gmake[4]: *** [Makefile:203: generic_build2] Error 2
gmake[4]: Leaving directory
'/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/hotspot/make'
gmake[3]: *** [Makefile:158: product] Error 2
gmake[3]: Leaving directory
'/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1/hotspot/make'
gmake[2]: *** [make/hotspot-rules.gmk:128: hotspot-build] Error 2
gmake[2]: Leaving directory
'/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1'
gmake[1]: *** [Makefile:251: build_product_image] Error 2
gmake[1]: Leaving directory
'/construction/xports/java/openjdk7/work/jdk7u-jdk7u251-b02.1'
*** Error code 1
Cheers.
--
Jonathan Chen <jonc at chen.org.nz>
More information about the freebsd-ports
mailing list