[MacPorts] #19690: port selfupdate fails with group error.

MacPorts noreply at macports.org
Tue May 19 21:09:56 PDT 2009


#19690: port selfupdate fails with group error.
-----------------------------------------+----------------------------------
  Reporter:  abhishek.dwaraki@…          |       Owner:  macports-tickets@…                   
      Type:  defect                      |      Status:  closed                               
  Priority:  Normal                      |   Milestone:                                       
 Component:  base                        |     Version:  1.7.0                                
Resolution:  duplicate                   |    Keywords:  Update for ports                     
      Port:                              |  
-----------------------------------------+----------------------------------
Changes (by blb@…):

  * status:  new => closed
  * resolution:  => duplicate
  * component:  ports => base


Old description:

> 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

New description:

 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
 }}}

--

Comment:

 Dup of #19590.

-- 
Ticket URL: <http://trac.macports.org/ticket/19690#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list