Opened 16 years ago
Closed 16 years ago
#19690 closed defect (duplicate)
port selfupdate fails with group error.
Reported by: | abhishek.dwaraki@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.7.0 |
Keywords: | Update for ports | Cc: | abhishek.dwaraki@… |
Port: |
Description (last modified by blb@…)
Ports update fails on my MacBook. I do a sudo ./port -d selfupdate after I successfully installed DarwinPorts on my MacBook Pro. I am running the latest version of OS X. I am trying to install qt3-mac which is also having problems. But not too sure what is the cause.
Regards, Abhishek.
[ ! \( -f "${HOME}/.macports/ports.conf" -a ! -f /opt/local/var/macports/.mprename \) ] || { \ mv -v "${HOME}/.macports/ports.conf" "${HOME}/.macports/macports.conf.mpsaved"; \ sed 's/etc\/ports/etc\/macports/g' "${HOME}/.macports/macports.conf.mpsaved" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/db\/dports/macports/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/darwinports/macports/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/dpupdate1\/base/release\/base/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/dpupdate\/base\/\{0,1\}/trunk\/base\//g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed '/^rsync_options/s/"\(.*\)"/\1/' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/ --delete / /' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/ ports.conf(5)/ macports.conf(5)/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ } [ ! -f /opt/local/etc/macports/mp_version ] || rm -vf /opt/local/etc/macports/mp_version ===> making install in doc /usr/bin/install -c -d -o root -g 501 -m 755 /opt/local /usr/bin/install -c -d -o root -g 501 -m 755 /opt/local/etc/macports cat prefix.mtree | /usr/sbin/mtree -U -e -p /opt/local > /dev/null mtree: line 6: unknown group 501 make[1]: *** [install] Error 1 make: *** [install] Error 1 DEBUG: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=501 --with-directory-mode=0755 && make && make install" returned error 2 Command output: sed 's/dpupdate\/dports/release\/ports\//g' /opt/local/etc/macports/sources.conf > /opt/local/etc/macports/sources.conf.tmp && \ mv -v /opt/local/etc/macports/sources.conf.tmp /opt/local/etc/macports/sources.conf; \ } [ ! \( -f "${HOME}/.macports/ports.conf" -a ! -f /opt/local/var/macports/.mprename \) ] || { \ mv -v "${HOME}/.macports/ports.conf" "${HOME}/.macports/macports.conf.mpsaved"; \ sed 's/etc\/ports/etc\/macports/g' "${HOME}/.macports/macports.conf.mpsaved" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/db\/dports/macports/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/darwinports/macports/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/dpupdate1\/base/release\/base/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/dpupdate\/base\/\{0,1\}/trunk\/base\//g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed '/^rsync_options/s/"\(.*\)"/\1/' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/ --delete / /' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/ ports.conf(5)/ macports.conf(5)/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ } [ ! -f /opt/local/etc/macports/mp_version ] || rm -vf /opt/local/etc/macports/mp_version ===> making install in doc /usr/bin/install -c -d -o root -g 501 -m 755 /opt/local /usr/bin/install -c -d -o root -g 501 -m 755 /opt/local/etc/macports cat prefix.mtree | /usr/sbin/mtree -U -e -p /opt/local > /dev/null mtree: line 6: unknown group 501 make[1]: *** [install] Error 1 make: *** [install] Error 1 while executing "macports::selfupdate [array get global_options]" Error: ./port: port selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=501 --with-directory-mode=0755 && make && make install" returned error 2 Command output: sed 's/dpupdate\/dports/release\/ports\//g' /opt/local/etc/macports/sources.conf > /opt/local/etc/macports/sources.conf.tmp && \ mv -v /opt/local/etc/macports/sources.conf.tmp /opt/local/etc/macports/sources.conf; \ } [ ! \( -f "${HOME}/.macports/ports.conf" -a ! -f /opt/local/var/macports/.mprename \) ] || { \ mv -v "${HOME}/.macports/ports.conf" "${HOME}/.macports/macports.conf.mpsaved"; \ sed 's/etc\/ports/etc\/macports/g' "${HOME}/.macports/macports.conf.mpsaved" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/db\/dports/macports/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/darwinports/macports/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/dpupdate1\/base/release\/base/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/dpupdate\/base\/\{0,1\}/trunk\/base\//g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed '/^rsync_options/s/"\(.*\)"/\1/' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/ --delete / /' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ sed 's/ ports.conf(5)/ macports.conf(5)/g' "${HOME}/.macports/macports.conf" > "${HOME}/.macports/macports.conf.tmp" && \ mv -v "${HOME}/.macports/macports.conf.tmp" "${HOME}/.macports/macports.conf"; \ } [ ! -f /opt/local/etc/macports/mp_version ] || rm -vf /opt/local/etc/macports/mp_version ===> making install in doc /usr/bin/install -c -d -o root -g 501 -m 755 /opt/local /usr/bin/install -c -d -o root -g 501 -m 755 /opt/local/etc/macports cat prefix.mtree | /usr/sbin/mtree -U -e -p /opt/local > /dev/null mtree: line 6: unknown group 501 make[1]: *** [install] Error 1 make: *** [install] Error 1
Change History (2)
comment:1 Changed 16 years ago by abhishek.dwaraki@…
Cc: | abhishek.dwaraki@… added |
---|
comment:2 Changed 16 years ago by blb@…
Component: | ports → base |
---|---|
Description: | modified (diff) |
Resolution: | → duplicate |
Status: | new → closed |
Dup of #19590.
Note: See
TracTickets for help on using
tickets.
Cc Me!