[MacPorts] #69120: openjdk8: Update to 8u402

MacPorts noreply at macports.org
Fri May 31 07:05:50 UTC 2024


#69120: openjdk8: Update to 8u402
-----------------------+----------------------
  Reporter:  breun     |      Owner:  usersxx
      Type:  update    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  openjdk8  |
-----------------------+----------------------

Comment (by isolated-matrix):

 I've come across a similar issue trying to install openjdk8 (8u372_2),
 however the end of the output log looks slightly different:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-:info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:245:16:
 warning: format string is not a string literal [-Wformat-nonliteral]
 :info:build   sprintf(buf, fmt, sig, info->si_addr);
 :info:build                ^~~
 :info:build Compiling
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/ostream.cpp
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:384:8:
 error: conflicting types for '_Copy_conjoint_jshorts_atomic'
 :info:build   void _Copy_conjoint_jshorts_atomic(const jshort* from,
 jshort* to, size_t count) {
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/copy.hpp:44:8: note:
 previous declaration is here
 :info:build   void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to,
 size_t count);
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:398:8:
 error: conflicting types for '_Copy_conjoint_jints_atomic'
 :info:build   void _Copy_conjoint_jints_atomic(const jint* from, jint* to,
 size_t count) {
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/copy.hpp:45:8: note:
 previous declaration is here
 :info:build   void _Copy_conjoint_jints_atomic  (jint*   from, jint*   to,
 size_t count);
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:412:8:
 error: conflicting types for '_Copy_conjoint_jlongs_atomic'
 :info:build   void _Copy_conjoint_jlongs_atomic(const jlong* from, jlong*
 to, size_t count) {
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/copy.hpp:46:8: note:
 previous declaration is here
 :info:build   void _Copy_conjoint_jlongs_atomic (jlong*  from, jlong*  to,
 size_t count);
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:416:27:
 error: cannot initialize a parameter of type 'volatile void *' with an
 rvalue of type 'const jlong *' (aka 'const long *')
 :info:build         os::atomic_copy64(from++, to++);
 :info:build                           ^~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.hpp:38:44:
 note: passing argument to parameter 'src' here
 :info:build   static void atomic_copy64(volatile void *src, volatile void
 *dst) {
 :info:build                                            ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:423:27:
 error: cannot initialize a parameter of type 'volatile void *' with an
 rvalue of type 'const jlong *' (aka 'const long *')
 :info:build         os::atomic_copy64(from--, to--);
 :info:build                           ^~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.hpp:38:44:
 note: passing argument to parameter 'src' here
 :info:build   static void atomic_copy64(volatile void *src, volatile void
 *dst) {
 :info:build                                            ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:427:8:
 error: conflicting types for '_Copy_arrayof_conjoint_bytes'
 :info:build   void _Copy_arrayof_conjoint_bytes(const HeapWord* from,
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/copy.hpp:49:8: note:
 previous declaration is here
 :info:build   void _Copy_arrayof_conjoint_bytes  (HeapWord* from,
 HeapWord* to, size_t count);
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:432:8:
 error: conflicting types for '_Copy_arrayof_conjoint_jshorts'
 :info:build   void _Copy_arrayof_conjoint_jshorts(const HeapWord* from,
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/copy.hpp:50:8: note:
 previous declaration is here
 :info:build   void _Copy_arrayof_conjoint_jshorts(HeapWord* from,
 HeapWord* to, size_t count);
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:437:8:
 error: conflicting types for '_Copy_arrayof_conjoint_jints'
 :info:build   void _Copy_arrayof_conjoint_jints(const HeapWord* from,
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/copy.hpp:51:8: note:
 previous declaration is here
 :info:build   void _Copy_arrayof_conjoint_jints  (HeapWord* from,
 HeapWord* to, size_t count);
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:442:8:
 error: conflicting types for '_Copy_arrayof_conjoint_jlongs'
 :info:build   void _Copy_arrayof_conjoint_jlongs(const HeapWord* from,
 :info:build        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/copy.hpp:52:8: note:
 previous declaration is here
 :info:build   void _Copy_arrayof_conjoint_jlongs (HeapWord* from,
 HeapWord* to, size_t count);
 :info:build        ^
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/interpreter/oopMapCache.cpp
 :info:build Compiling
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-
 jdk8u372-ga/hotspot/src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp
 :info:build 1 warning and 9 errors generated.
 :info:build gmake[6]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/make/bsd/makefiles/rules.make:151:
 os_bsd_zero.o] Error 1
 :info:build gmake[6]: *** Waiting for unfinished jobs....
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/code/nmethod.cpp
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/runtime/os.cpp
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os/posix/vm/os_posix.cpp
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os/bsd/vm/os_perf_bsd.cpp
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-
 jdk8u372-ga/hotspot/src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/utilities/ostream.cpp
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/share/vm/oops/objArrayKlass.cpp
 :info:build Done with
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/src/os/bsd/vm/os_bsd.cpp
 :info:build gmake[6]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/build/openjdk8/hotspot/bsd_aarch64_zero/product'
 :info:build gmake[5]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/make/bsd/makefiles/top.make:129: the_vm] Error
 2
 :info:build gmake[5]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/build/openjdk8/hotspot/bsd_aarch64_zero/product'
 :info:build gmake[4]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/make/bsd/Makefile:314: productzero] Error 2
 :info:build gmake[4]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-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/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/make'
 :info:build gmake[2]: *** [Makefile:185: productzero] Error 2
 :info:build gmake[2]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/hotspot/make'
 :info:build gmake[1]: *** [HotspotWrapper.gmk:45:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/build/openjdk8/hotspot/_hotspot.timestamp] Error 2
 :info:build gmake[1]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga/make'
 :info:build gnumake: *** [hotspot-only] Error 2
 :info:build gnumake: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga" && /usr/bin/gnumake 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 3720 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 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/main.log
 for details.
 }}}

 I'm not sure if this is the same issue (I understand none of output in the
 log file), but, based on the last few lines of the log file, it certainly
 sounds like the problems could have the same cause (if it is a different
 issue, let me know and I will make a separate ticket). Has there been any
 progress on this ticket since the last comment? Any workarounds which
 might be able to get openjdk8 working on Sonoma?

-- 
Ticket URL: <https://trac.macports.org/ticket/69120#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list