[MacPorts] #30311: After selfupdate to ports 2.0.0 I can no longer uninstall (unused) ports
MacPorts
noreply at macports.org
Mon Jul 25 14:27:06 PDT 2011
#30311: After selfupdate to ports 2.0.0 I can no longer uninstall (unused) ports
---------------------------+------------------------------------------------
Reporter: soehn@… | Owner: macports-tickets@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: base | Version: 2.0.0
Resolution: | Keywords:
Port: |
---------------------------+------------------------------------------------
Changes (by soehn@…):
* status: closed => reopened
* resolution: worksforme =>
Comment:
I tried again, this time adding a dummy file in the folder
/opt/local/var/macports/software/qca/2.0.2_0. Now the output says:
{{{
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl
receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 receipt_sqlite.tcl
/opt/local/share/macports/Tcl/registry2.0/receipt_sqlite.tcl
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl
receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portimage.tcl
/opt/local/share/macports/Tcl/registry2.0/portimage.tcl
+ for file in registry.tcl registry_autoconf.tcl registry_util.tcl
receipt_flat.tcl receipt_sqlite.tcl portimage.tcl portuninstall.tcl
+ /usr/bin/install -c -o root -g admin -m 444 portuninstall.tcl
/opt/local/share/macports/Tcl/registry2.0/portuninstall.tcl
/usr/bin/install -c -o root -g admin -m 444 pkgIndex.tcl
/opt/local/share/macports/Tcl/registry2.0
===> making install in src/darwintracelib1.0
/usr/bin/install -c -d -o root -g admin -m 755
/opt/local/share/macports/Tcl/darwintrace1.0
/usr/bin/install -c -o root -g admin -m 444 darwintrace.dylib
/opt/local/share/macports/Tcl/darwintrace1.0
===> making install in src/port
< ../../doc/prefix.mtree /usr/sbin/mtree -U -d -e -p /opt/local >
/dev/null
< ../../doc/base.mtree /usr/sbin/mtree -U -d -e -p /opt/local > /dev/null
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/bin
/usr/bin/install -c -d -o root -g admin -m 755 /opt/local/var/macports
/usr/bin/install -c -o root -g admin -m 555 port portindex portmirror
/opt/local/bin/
/usr/bin/install -c -o root -g admin -m 444 port-help.tcl
/opt/local/var/macports/
cd /opt/local/bin && ln -s -f port portf
===> making install in src/programs
===> making install in src/programs/daemondo
mkdir -p build
/usr/bin/install -c -o root -g admin -m 555 build/daemondo /opt/local/bin
===> making install in tests
make[1]: Nothing to be done for `install'.
[ ! -f /opt/local/etc/macports/mp_version ] || rm -vf
/opt/local/etc/macports/mp_version
/usr/bin/install -c -o root -g admin -m 444 setupenv.bash
/opt/local/share/macports/
/usr/bin/install -c -o root -g admin -m 444 macports-pubkey.pem
/opt/local/share/macports/
/usr/bin/tclsh src/upgrade_sources_conf_default.tcl "/opt/local"
/usr/bin/tclsh src/images_to_archives.tcl "/opt/local/share/macports/Tcl"
This could take a while...
sh: line 0: cd: /opt/local/var/macports/software/qimageblitz/0.0.5_4: No
such file or directory
shell command "cd /opt/local/var/macports/software/qimageblitz/0.0.5_4 &&
/usr/bin/tar -cjf
/opt/local/var/macports/software/qimageblitz/qimageblitz-0.0.5_4.darwin_10.i386.tbz2
* > /opt/local/var/macports/software/qimageblitz/error.log 2>&1" returned
error 1
shell command failed (see log for details)
while executing
"system "cd $location && $tarcmd -cjf $newlocation * >
${targetdir}/error.log 2>&1""
("foreach" body line 64)
invoked from within
"foreach installed $ilist {
set iname [lindex $installed 0]
set iversion [lindex $installed 1]
set irevision [lindex $installed 2]
set ..."
(file "src/images_to_archives.tcl" line 37)
make: *** [install] Error 1
shell command "cd
/opt/local/var/macports/sources/rsync.macports.org/release/base &&
CC=/usr/bin/cc ./configure --prefix=/opt/local --with-
tclpackage=/Library/Tcl --with-install-user=root --with-install-
group=admin --with-directory-mode=0755 --enable-readline && make && make
install" returned error 2
DEBUG: Error installing new MacPorts base: shell command failed (see log
for details)
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new
MacPorts base: shell command failed (see log for details)
}}}
Installed port is qimageblitz 0.0.6_0. It seems there are two lists of
installed ports. A correct one used by porticus and a false (or old) one
used by the port command since the upgrade????
--
Ticket URL: <https://trac.macports.org/ticket/30311#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list