[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
Sat Nov 16 23:59:58 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):

 I have a lot of questions:

 * Why is this not a problem on the MacPorts CI infrastructure and my
 machine?
 * Is the presence of the `com.apple.provenance` attribute the cause of
 your build failing? If so, why is the `com.apple.provenance` attribute
 present on your machines? Is this expected and reproducible for new
 MacPorts installations?
 * Which `xattr` command is getting executed exactly and why does it result
 in a '[Errno 13] Permission denied' error?
 * Why can't you remove the attribute? (I believe this should be possible
 when ` > System Preferences > Security & Privacy > Privacy > Full Disk
 Access > Terminal` is on.)

 Sadly I don't have the answers to these questions and I also don't know
 how to find them.

 Maybe you could post on the MacPorts users mailinglist to find out whether
 the presence of this attribute on those MacPorts folders is common or not,
 and if so, if more users are experiencing issues due to this attribute.

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


More information about the macports-tickets mailing list