[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 13:59:06 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:  breun
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.1
Resolution:              |   Keywords:
      Port:  openjdk21   |
-------------------------+----------------------

Comment (by breun):

 The ticket title mentions 21.0.3_1, but the logs refer to 21.0.4. Can you
 confirm you actually tried installing 21.0.4_1?

 I don't have access to macOS 14 myself anymore (already upgraded my
 machine to macOS 15), but both on [https://github.com/macports/macports-
 ports/actions/runs/10984988255/job/30496240673?pr=25879 GitHub] and the
 buildbots ([https://build.macports.org/builders/ports-
 14_arm64-builder/builds/42887 Silicon],
 [https://build.macports.org/builders/ports-14_x86_64-builder/builds/44205
 Intel]) this build succeeded on macOS 14, so there may be something
 special in your environment.

 The core error indeed seems to be this:

 {{{
 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'
 }}}

 I'm afraid I don't know why you would get a permission denied error when
 `xattr` is run on that file.

 Can you reproduce this issue after cleaning this build?

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


More information about the macports-tickets mailing list