Opened 6 weeks ago
Last modified 6 weeks ago
#71016 new defect
openjdk8 error: conflicting types for '_Copy_conjoint_jshorts_atomic'
Reported by: | ashterenli | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | openjdk8 |
Description
`
:info:build 245 | sprintf(buf, fmt, sig, info->si_addr);
: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:384:8: error: conflicting types for '_Copy_conjoint_jshorts_atomic'
`
despite the error, the binary got installed somehow:
`
/Library/Java/JavaVirtualMachines/openjdk11-bootstrap/Contents/Home/bin/java
/Library/Java/JavaVirtualMachines/openjdk8-bootstrap/Contents/Home/jre/bin/java
/Library/Java/JavaVirtualMachines/openjdk8-bootstrap/Contents/Home/bin/java
`
(same for openjdk11 - will open a separate ticket for that)
Attachments (1)
Change History (2)
Changed 6 weeks ago by ashterenli
comment:1 Changed 6 weeks ago by ashterenli
because the port failed to install, "uninstall" does not do anything. Shall I remove the multiple java binaries by hand?
The whole java runtime installation is confusing. In the end, I managed to install java on sequoia 15.0 directly from https://www.java.com/en/download/help/mac_install.html
but the default binary is still from ports:
% which java /usr/bin/java % java --version openjdk 11.0.10 2021-01-19 LTS OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS) OpenJDK 64-Bit Server VM Zulu11.45+27-CA (build 11.0.10+9-LTS, mixed mode)
build log