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

MacPorts noreply at macports.org
Tue Apr 2 11:45:45 UTC 2024


#69650: netpbm fails to destroot Port when not using MacPorts as root
--------------------------+------------------------
  Reporter:  tux-o-matic  |      Owner:  ryandesign
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  netpbm       |
--------------------------+------------------------

Comment (by ryandesign):

 In a clone of macports-base I ran:

 {{{
 prefix=/Volumes/Shared/testmp
 PATH=/usr/bin:/bin:/usr/sbin:/sbin ./configure --prefix=$prefix --with-
 applications-dir=$prefix/Applications --with-frameworks-
 dir=$prefix/Library/Frameworks --with-no-root-privileges --without-
 startupitems
 make -j$(sysctl -n hw.activecpu)
 make install
 $prefix/bin/port sync
 $prefix/bin/port destroot libnetpbm
 }}}

 Result: successful build. The command it ran:

 {{{
 DEBUG: system: chown -R 'rschmidt':'staff'
 /Volumes/Shared/testmp/var/macports/build/_Volumes_Shared_testmp_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/libnetpbm/work/destroot
 }}}

 In $prefix/libexec/macports/lib/port1.0/port_autoconf.tcl I have:

 {{{
         variable install_user "rschmidt"
         variable install_group "staff"
 }}}

 Which is a long way of saying I cannot reproduce this issue.

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


More information about the macports-tickets mailing list