[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
Mon Nov 18 16:52:18 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 jjstickel):

 Alright, I had a few minutes to check more into xattr and found
 [https://apple.stackexchange.com/questions/450118/what-is-the-com-apple-
 provenance-xattr-extended-attribute-and-how-can-i-dele this forum post].
 Apparently `terminal` is the only shell that can remove the xattr
 `com.apple.provenance` (it fails silently with iTerm2). This I have now
 confirmed. However, the build of `openjdk21` still fails with the same
 line, even after extracting and removing the generated xattrs from the
 build folder.

 So, yes, the main question remains:  what is the actual xattr execution
 line being run during the build? Also, why is it being run? I'm afraid
 someone else will need to dig into the jdk build process to sort it out.

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


More information about the macports-tickets mailing list