[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 Nov 12 03:41:14 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):

 I am experiencing the same problem, with even more folders in
 `/opt/local/var/macports` having that xattr set:

 {{{
 $ /bin/ls -ltr@ /opt/local/var/macports
 total 8
 drwxr-xr-x@    3 macports  macports     96 Aug 27  2023 home
         com.apple.provenance       11
 drwxrwxrwt     3 root      wheel        96 Jan 19  2024 sip-workaround
 drwxr-xr-x     9 root      wheel       288 Jan 19  2024 registry
 drwxr-xr-x@    3 root      wheel        96 Jan 19  2024 reclaim
         com.apple.provenance       11
 -rw-r--r--@    1 root      wheel         9 Jan 19  2024 last_reclaim
         com.apple.provenance       11
 drwxr-xr-x@    6 root      wheel       192 Aug 16 08:42 cache
         com.apple.provenance       11
 drwxr-xr-x@    4 root      wheel       128 Oct 31 20:51 sources
         com.apple.provenance       11
 drwxr-xr-x@ 1221 root      wheel     39072 Nov 11 19:24 software
         com.apple.provenance       11
 drwxr-xr-x     5 root      wheel       160 Nov 11 19:24 build
 drwxr-xr-x@    4 root      wheel       128 Nov 11 19:24 logs
         com.apple.provenance       11
 drwxr-xr-x@    3 macports  wheel        96 Nov 11 19:24 incoming
         com.apple.provenance       11
 drwxr-xr-x   417 root      wheel     13344 Nov 11 19:24 distfiles
 }}}

 It seems that builds that rely on rely using xattr are going to fail
 randomly for many users. Are there no workarounds other than disabling SIP
 or waiting for the binary of the port?

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


More information about the macports-tickets mailing list