[MacPorts] #69817: openjdk17 @17.0.13_0+release+server: Build fails on x86_64 Sonoma 14.7 undefined symbols

MacPorts noreply at macports.org
Mon Oct 21 11:51:57 UTC 2024


#69817: openjdk17 @17.0.13_0+release+server: Build fails on x86_64 Sonoma 14.7
undefined symbols
------------------------+----------------------
  Reporter:  rswail     |      Owner:  usersxx
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.3
Resolution:             |   Keywords:
      Port:  openjdk17  |
------------------------+----------------------

Comment (by rswail):

 Binary is not in the archive at https://packages.macports.org/openjdk17/
 for darwin23.

 Relevant log information here:
 {{{
  :info:build gmake[3]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs
   _ports_java_openjdk17/openjdk17/work/jdk-17.0.13+11/make/hotspot'
   :info:build gmake[3]: Entering directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarball
   s_ports_java_openjdk17/openjdk17/work/jdk-17.0.13+11/make'
   :info:build Creating support/modules_libs/java.base/libverify.dylib from
 1 file(s)
   :info:build Creating support/modules_libs/java.base/libjava.dylib from
 60 file(s)
   :info:build Creating support/native/java.base/libfdlibm.a from 57
 file(s)
   :info:build Creating support/modules_libs/java.base/libzip.dylib from 5
 file(s)
   :info:build Creating support/modules_libs/java.base/libjimage.dylib from
 6 file(s)
   :info:build Creating support/modules_libs/java.base/libjli.dylib from 8
 file(s)
   :info:build Creating support/modules_libs/java.base/libnet.dylib from 22
 file(s)
   :info:build Creating support/modules_libs/java.base/libnio.dylib from 22
 file(s)
   :info:build Creating support/modules_libs/java.base/libosxsecurity.dylib
 from 1 file(s)
   :info:build Creating support/modules_libs/java.base/libjsig.dylib from 1
 file(s)
   :info:build Undefined symbols for architecture x86_64:
   :info:build   "_NET_Bind", referenced from:
   :info:build       _Java_sun_nio_ch_Net_bind0 in Net.o
   :info:build   "_NET_GetPortFromSockaddr", referenced from:
   :info:build       _Java_sun_nio_ch_Net_localPort in Net.o
   :info:build       _Java_sun_nio_ch_Net_remotePort in Net.o
   :info:build   "_NET_GetSockOpt", referenced from:
   :info:build       _Java_sun_nio_ch_Net_getIntOption0 in Net.o
   :info:build   "_NET_InetAddressToSockaddr", referenced from:
   :info:build       _Java_sun_nio_ch_Net_bind0 in Net.o
   :info:build       _Java_sun_nio_ch_Net_connect0 in Net.o
   :info:build   "_NET_SetSockOpt", referenced from:
   :info:build       _Java_sun_nio_ch_Net_setIntOption0 in Net.o
   :info:build   "_NET_SockaddrToInetAddress", referenced from:
   :info:build       _Java_sun_nio_ch_InheritedChannel_inetPeerAddress0 in
 InheritedChannel.o
   :info:build       _Java_sun_nio_ch_InheritedChannel_peerPort0 in
 InheritedChannel.o
   :info:build       _Java_sun_nio_ch_Net_accept in Net.o
   :info:build       _Java_sun_nio_ch_Net_localInetAddress in Net.o
   :info:build       _Java_sun_nio_ch_Net_remoteInetAddress in Net.o
   :info:build   "_NET_SocketAvailable", referenced from:
   :info:build       _Java_sun_nio_ch_Net_available in Net.o
   :info:build   "_initInetAddressIDs", referenced from:
   :info:build       _Java_sun_nio_ch_InheritedChannel_initIDs in
 InheritedChannel.o
   :info:build       _Java_sun_nio_ch_Net_initIDs in Net.o
   :info:build   "_ipv4_available", referenced from:
   :info:build       _Java_sun_nio_ch_Net_socket0 in Net.o
   :info:build   "_ipv6_available", referenced from:
   :info:build       _Java_sun_nio_ch_InheritedChannel_inetPeerAddress0 in
 InheritedChannel.o
   :info:build       _Java_sun_nio_ch_InheritedChannel_peerPort0 in
 InheritedChannel.o
   :info:build       _Java_sun_nio_ch_Net_isIPv6Available0 in Net.o
   :info:build       _Java_sun_nio_ch_Net_socket0 in Net.o
   :info:build   "_reuseport_available", referenced from:
   :info:build       _Java_sun_nio_ch_Net_isReusePortAvailable0 in Net.o
   :info:build ld: symbol(s) not found for architecture x86_64
   :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
   :info:build gmake[3]: *** [Lib.gmk:71:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_p
 orts_java_openjdk17/openjdk17/work/jdk-17.0.13+11/build/release/support/modules_libs/java.base/libnio.dylib]
 Error 1
   :info:build gmake[3]: *** Waiting for unfinished jobs....
   :info:build gmake[3]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs
   _ports_java_openjdk17/openjdk17/work/jdk-17.0.13+11/make'
   :info:build gmake[2]: *** [make/Main.gmk:199: java.base-libs] Error 2
   :info:build gmake[2]: *** Waiting for unfinished jobs....
   :info:build gmake[3]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs
   _ports_java_openjdk17/openjdk17/work/jdk-17.0.13+11/make'
   :info:build gmake[2]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs
   _ports_java_openjdk17/openjdk17/work/jdk-17.0.13+11'
   :info:build ERROR: Build failed for target 'images' in configuration
 'release' (exit code 2)
 }}}

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


More information about the macports-tickets mailing list