[MacPorts] #69120: openjdk8: Update to 8u402
MacPorts
noreply at macports.org
Wed Jan 17 10:46:55 UTC 2024
#69120: openjdk8: Update to 8u402
--------------------+----------------------
Reporter: breun | Owner: usersxx
Type: update | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: openjdk8
--------------------+----------------------
The `openjdk8` is currently at version 8u372, which is three releases
behind the current latest version. The current version in MacPorts is
missing fixes for various vulnerabilities:
OpenJDK 8u382:
https://openjdk.org/groups/vulnerability/advisories/2023-07-18
OpenJDK 8u392:
https://openjdk.org/groups/vulnerability/advisories/2023-10-17
OpenJDK 8u402:
https://openjdk.org/groups/vulnerability/advisories/2024-01-16
When I try bumping the version beyond 8u372 locally, the `openjdk8` build
fails on my macOS 14 (arm64) machine. With 8u402 the build log ends with
this:
{{{
:info:build dtrace headers generated
:info:build gmake[6]: Leaving directory '/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/build/openjdk8/hotspot/bsd_aarch64_zero/product'
:info:build gmake[6]: Entering directory '/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/build/openjdk8/hotspot/bsd_aarch64_zero/product'
:info:build Generating precompiled header precompiled.hpp.pch
:info:build In file included from <built-in>:1:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/precompiled/precompiled.hpp:29:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/asm/assembler.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/asm/codeBuffer.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/code/oopRecorder.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/universe.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/runtime/handles.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/oops/klass.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/genOopClosures.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/iterator.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/allocation.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/runtime/globals.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/utilities/debug.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-
jdk8u402-ga/hotspot/src/share/vm/utilities/globalDefinitions.hpp:38:
:info:build /opt/local/var/macports/build/_Users_breun_Projects_macports-
ports-test_java_openjdk8/openjdk8/work/jdk8u-
jdk8u402-ga/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:252:59:
error: use of undec
lared identifier 'finite'; did you mean 'isfinite'?
:info:build inline int g_isfinite(jfloat f) { return
finite(f); }
:info:build
^~~~~~
:info:build
isfinite
:info:build
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/math.h:403:80:
note: 'isfinite' declared here
:info:build _LIBCPP_NODISCARD_EXT _LIBCPP_CONSTEXPR_SINCE_CXX23
_LIBCPP_HIDE_FROM_ABI bool isfinite(_A1 __x) _NOEXCEPT {
:info:build
^
:info:build In file included from <built-in>:1:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/precompiled/precompiled.hpp:29:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/asm/assembler.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/asm/codeBuffer.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/code/oopRecorder.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/universe.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/runtime/handles.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/oops/klass.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/genOopClosures.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/iterator.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/allocation.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/runtime/globals.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/utilities/debug.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-
jdk8u402-ga/hotspot/src/share/vm/utilities/globalDefinitions.hpp:38:
:info:build /opt/local/var/macports/build/_Users_breun_Projects_macports-
ports-test_java_openjdk8/openjdk8/work/jdk8u-
jdk8u402-ga/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:253:59:
error: use of undec
lared identifier 'finite'; did you mean 'isfinite'?
:info:build inline int g_isfinite(jdouble f) { return
finite(f); }
:info:build
^~~~~~
:info:build
isfinite
:info:build
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/math.h:403:80:
note: 'isfinite' declared here
:info:build _LIBCPP_NODISCARD_EXT _LIBCPP_CONSTEXPR_SINCE_CXX23
_LIBCPP_HIDE_FROM_ABI bool isfinite(_A1 __x) _NOEXCEPT {
:info:build
^
:info:build In file included from <built-in>:1:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/precompiled/precompiled.hpp:29:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/asm/assembler.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/asm/codeBuffer.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/code/oopRecorder.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/universe.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/runtime/handles.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/oops/klass.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/genOopClosures.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/iterator.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/memory/allocation.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/runtime/globals.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/share/vm/utilities/debug.hpp:28:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-
jdk8u402-ga/hotspot/src/share/vm/utilities/globalDefinitions.hpp:450:
:info:build In file included from /opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/src/cpu/zero/vm/globalDefinitions_zero.hpp:29:
:info:build /opt/local/include/ffi.h:477:5: warning: 'FFI_GO_CLOSURES' is
not defined, evaluates to 0 [-Wundef]
:info:build #if FFI_GO_CLOSURES
:info:build ^
:info:build 1 warning and 2 errors generated.
:info:build gmake[6]: *** [/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/make/bsd/makefiles/vm.make:311:
precompiled.hpp.pch] Error 1
:info:build gmake[6]: Leaving directory '/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/build/openjdk8/hotspot/bsd_aarch64_zero/product'
:info:build gmake[5]: *** [/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/make/bsd/makefiles/top.make:128: the_vm] Error
2
:info:build gmake[5]: Leaving directory '/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/build/openjdk8/hotspot/bsd_aarch64_zero/product'
:info:build gmake[4]: *** [/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/make/bsd/Makefile:314: productzero] Error 2
:info:build gmake[4]: Leaving directory '/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/build/openjdk8/hotspot'
:info:build gmake[3]: *** [Makefile:261: generic_buildzero] Error 2
:info:build gmake[3]: Leaving directory '/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/make'
:info:build gmake[2]: *** [Makefile:185: productzero] Error 2
:info:build gmake[2]: Leaving directory '/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/hotspot/make'
:info:build gmake[1]: *** [HotspotWrapper.gmk:45:
/opt/local/var/macports/build/_Users_breun_Projects_macports-ports-
test_java_openjdk8/openjdk8/work/jdk8u-
jdk8u402-ga/build/openjdk8/hotspot/_hotspot.timestamp] Error 2
:info:build gmake[1]: Leaving directory '/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga/make'
:info:build gnumake: *** [hotspot-only] Error 2
:info:build gnumake: Leaving directory `/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga'
:info:build Command failed: cd "/opt/local/var/macports/build
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/work
/jdk8u-jdk8u402-ga" && /usr/bin/gnumake -j1 COMPILER_WARNINGS_FATAL=false
-w all
:info:build Exit code: 2
:error:build Failed to build openjdk8: command execution failed
:debug:build Error code: CHILDSTATUS 98188 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs
/_Users_breun_Projects_macports-ports-test_java_openjdk8/openjdk8/main.log
for details.
}}}
Apparently some changes are needed, but I don't know how to deal with this
build failure.
--
Ticket URL: <https://trac.macports.org/ticket/69120>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list