[MacPorts] #69650: netpbm fails to destroot Port when not using MacPorts as root

MacPorts noreply at macports.org
Tue Apr 2 07:37:20 UTC 2024


#69650: netpbm fails to destroot Port when not using MacPorts as root
-------------------------+--------------------
 Reporter:  tux-o-matic  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  netpbm
-------------------------+--------------------
 On a system where ports are installed by and for a local user account, the
 netpbm Port fails to install:

 {{{
 [...]
 :info:destroot chown: /Users/XXX/macports/var/macports/build/_Users_
 XXX_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/libnetpbm/work/destroot:
 Operation not permitted
 :info:destroot Command failed: chown -R 'root':'admin'
 /Users/XXX/macports/var/macports/build/_Users_
 XXX_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/libnetpbm/work/destroot
 }}}
 Seems to come from this [https://github.com/macports/macports-
 ports/blob/master/graphics/netpbm/Portfile#L184] chown command in the
 Portfile.


 As explained in [https://trac.macports.org/ticket/69601], netpbm has
 somehow become a dependency for some popular CLI tools which normally
 shouldn't even need netpbm.

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


More information about the macports-tickets mailing list