[MacPorts] #66325: openjdk8 @8u352 +release+server: Undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Tue Nov 22 21:51:41 UTC 2022
#66325: openjdk8 @8u352 +release+server: Undefined symbols for architecture x86_64
-------------------------+----------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: | Port: openjdk8
-------------------------+----------------------
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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66325>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list