[MacPorts] #37889: 2.1.2 -> 2.1.3 requires root

MacPorts noreply at macports.org
Fri Feb 1 08:11:53 PST 2013


#37889: 2.1.2 -> 2.1.3 requires root
------------------------+--------------------------------
 Reporter:  rharwood@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  base        |    Version:  2.1.2
 Keywords:              |       Port:
------------------------+--------------------------------
 As the title suggests, the selfupdate from 2.1.2 to 2.1.3 cannot be made;
 macports attempts to set folders in .../etc to group admin, which I as a
 user cannot do.  Here's the failure:

 {{{
 install: $prefix/etc/macports/archive_sites.conf.default: chown/chgrp:
 Operation not permitted
 install: $prefix/etc/macports/macports.conf.default: chown/chgrp:
 Operation not permitted
 install: $prefix/etc/macports/pubkeys.conf.default: chown/chgrp: Operation
 not permitted
 install: $prefix/etc/macports/sources.conf.default: chown/chgrp: Operation
 not permitted
 install: $prefix/etc/macports/variants.conf.default: chown/chgrp:
 Operation not permitted
 # delete old uncompressed man pages if they exist
 for m in port.1; do rm -f $prefix/share/man/man1/$m ; done
 for m in macports.conf.5; do rm -f $prefix/share/man/man5/$m ; done
 for m in portfile.7 portstyle.7 porthier.7 portgroup.7; do rm -f
 $prefix/share/man/man7/$m ; done
 /usr/bin/install -c -d -o frozencemetery -g admin -m 755
 $prefix/share/macports/install
 install: chown 1032:80 $prefix/share/macports/install: Operation not
 permitted
 /usr/bin/install -c -o frozencemetery -g admin -m 644 base.mtree
 $prefix/share/macports/install/
 install: $prefix/share/macports/install//base.mtree: chown/chgrp:
 Operation not permitted
 make[1]: *** [install] Error 71
 make: *** [install] Error 1
 Command failed: cd
 $prefix/var/macports/sources/rsync.macports.org/release/tarballs/base &&
 CC=/usr/\
 bin/cc ./configure --prefix=$prefix --with-tclpackage=$prefix/Library/Tcl
 --with-install-user=frozencemetery --with-install-group=admin --with-
 directory-mode=0755 --enable-readline && make && make install
 SELFUPDATING=1
 Exit code: 2
 Error: $prefix/bin/port: port selfupdate failed: Error installing new
 MacPorts base: command executi\
 on failed
 }}}

 Thanks.

-- 
Ticket URL: <https://trac.macports.org/ticket/37889>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list