Opened 17 months ago

Last modified 4 months ago

#66325 new defect

openjdk8 @8u352 +release+server: Undefined symbols for architecture x86_64

Reported by: cooljeanius (Eric Gallager) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: usersxx, cooljeanius (Eric Gallager)
Port: openjdk8

Description

Not quite sure where these are supposed to come from:

ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.9)
Undefined symbols for architecture x86_64:
  "_NET_AllocSockaddr", referenced from:
      _Java_sun_nio_ch_InheritedChannel_peerAddress0 in InheritedChannel.o
      _Java_sun_nio_ch_InheritedChannel_peerPort0 in InheritedChannel.o
      _Java_sun_nio_ch_ServerSocketChannelImpl_accept0 in ServerSocketChannelImpl.o
  "_NET_Bind", referenced from:
      _Java_sun_nio_ch_Net_bind0 in Net.o
  "_NET_GetPortFromSockaddr", referenced from:
      _Java_sun_nio_ch_DatagramChannelImpl_receive0 in DatagramChannelImpl.o
      _Java_sun_nio_ch_Net_localPort in Net.o
  "_NET_GetSockOpt", referenced from:
      _Java_sun_nio_ch_Net_getIntOption0 in Net.o
  "_NET_InetAddressToSockaddr", referenced from:
      _Java_sun_nio_ch_DatagramChannelImpl_send0 in DatagramChannelImpl.o
      _Java_sun_nio_ch_Net_bind0 in Net.o
      _Java_sun_nio_ch_Net_connect0 in Net.o
  "_NET_SetSockOpt", referenced from:
      _Java_sun_nio_ch_Net_setIntOption0 in Net.o
  "_NET_SockaddrEqualsInetAddress", referenced from:
      _Java_sun_nio_ch_DatagramChannelImpl_receive0 in DatagramChannelImpl.o
  "_NET_SockaddrToInetAddress", referenced from:
      _Java_sun_nio_ch_DatagramChannelImpl_receive0 in DatagramChannelImpl.o
      _Java_sun_nio_ch_InheritedChannel_peerAddress0 in InheritedChannel.o
      _Java_sun_nio_ch_InheritedChannel_peerPort0 in InheritedChannel.o
      _Java_sun_nio_ch_Net_localInetAddress in Net.o
      _Java_sun_nio_ch_ServerSocketChannelImpl_accept0 in ServerSocketChannelImpl.o
  "_initInetAddressIDs", referenced from:
      _Java_sun_nio_ch_IOUtil_initIDs in IOUtil.o
  "_ipv6_available", referenced from:
      _Java_sun_nio_ch_DatagramChannelImpl_receive0 in DatagramChannelImpl.o
      _Java_sun_nio_ch_DatagramChannelImpl_send0 in DatagramChannelImpl.o
      _Java_sun_nio_ch_InheritedChannel_peerAddress0 in InheritedChannel.o
      _Java_sun_nio_ch_InheritedChannel_peerPort0 in InheritedChannel.o
      _Java_sun_nio_ch_Net_isIPv6Available0 in Net.o
      _Java_sun_nio_ch_Net_socket0 in Net.o
      _Java_sun_nio_ch_Net_bind0 in Net.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [lib/NioLibraries.gmk:134: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/openjdk8/build/openjdk8/jdk/lib/libnio.dylib] Error 1
gmake[2]: *** Waiting for unfinished jobs....
ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.9)
ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.9)
ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.9)
ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.9)
ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.9)
ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.9)
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-jdk8u352-b08/jdk/make'
gmake[1]: *** [BuildJdk.gmk:70: libs-only] Error 2
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-jdk8u352-b08/jdk/make'
gnumake: *** [jdk-only] Error 2
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-jdk8u352-b08'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/openjdk8" && /usr/bin/gnumake -j1 COMPILER_WARNINGS_FATAL=false -w all 
Exit code: 2
Error: Failed to build openjdk8: command execution failed
DEBUG: Error code: CHILDSTATUS 78622 2
DEBUG: Backtrace: command execution failed

Attachments (1)

openjdk8_main.log (975.0 KB) - added by cooljeanius (Eric Gallager) 17 months ago.
main.log for openjdk8

Download all attachments as: .zip

Change History (2)

Changed 17 months ago by cooljeanius (Eric Gallager)

Attachment: openjdk8_main.log added

main.log for openjdk8

comment:1 Changed 4 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.