[MacPorts] #70890: openjdk21 @21.0.3_1+release+server : build fails on Sonoma 14.7 with "xattr: [Errno 13] Permission" denied error

MacPorts noreply at macports.org
Tue Sep 24 07:05:49 UTC 2024


#70890: openjdk21 @21.0.3_1+release+server :  build fails on Sonoma 14.7 with
"xattr: [Errno 13] Permission" denied error
------------------------+-----------------------
 Reporter:  lima-bravo  |      Owner:  nils@…
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.10.1
 Keywords:              |       Port:  openjdk21
------------------------+-----------------------
 While building openjdk21 with {{{ sudo port install openjdk21 }}}, the
 build fails. Scanning the compilation log (attached) the error seems to
 be:
 {{{
 :info:build gmake[3]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk21/openjdk21/work/jdk-21.0.4+7/make'
 :info:build xattr: [Errno 13] Permission denied:
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk21/openjdk21/work/jdk-21.0.4+7/build/release/jdk/conf/management/jmxremote.password.template'
 :info:build gmake[3]: *** [ModuleWrapper.gmk:105:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk21/openjdk21/work/jdk-21.0.4+7/build/release/jdk/conf/management/jmxremote.password.template]
 Error 1
 :info:build gmake[3]: *** Deleting file
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk21/openjdk21/work/jdk-21.0.4+7/build/release/jdk/conf/management/jmxremote.password.template'
 :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_openjdk21/openjdk21/work/jdk-21.0.4+7/make'
 :info:build gmake[2]: *** [make/Main.gmk:157: jdk.management.agent-copy]
 Error 2
 :info:build gmake[2]: *** Waiting for unfinished jobs....
 }}}


 System information:
 {{{
 bash-5.2# uname -a
 Darwin iMac 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:48:44 PDT
 2024; root:xnu-10063.141.1.700.5~1/RELEASE_X86_64 x86_64

 bash-5.2# xcodebuild -version
 Xcode 16.0
 Build version 16A242d

 bash-5.2# xcode-select --version
 xcode-select version 2408.

 bash-5.2# pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
 package-id: com.apple.pkg.CLTools_Executables
 version: 16.0.0.0.1.1724870825
 volume: /
 location: /
 install-time: 1726939429

 bash-5.2# ls -al /usr/bin/llvm-gcc
 -rwxr-xr-x  77 root  wheel  119008 Sep  5 11:17 /usr/bin/llvm-gcc

 bash-5.2# /usr/bin/llvm-gcc -v
 Apple clang version 16.0.0 (clang-1600.0.26.3)
 Target: x86_64-apple-darwin23.6.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70890>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list