Serious bug in 'port upgrade' in DP 1.32?
Artemio Gonzalez Lopez <[email protected]> Sat, 02 Sep 2006 14:52:16 +0200
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I just tried upgrading all my outdated ports via
port -df upgrade outdated
(as suggested by Daniel J. Luke in a previous thread), and I had the
following problem. The list of outdated ports was as follows:
pb-g4:~ artemio$ port outdated
The following installed ports are outdated:
cairo 1.2.4_0 < 1.2.4_1
gtk2 2.10.2_0 < 2.10.2_1
pango 1.14.0_0 < 1.14.2_0
The first port in need of upgrade is cairo, which depends (among other
ports) on render, which in turn depends on pkgconfig. The problem is
(see output of port upggrade command below) that port first proceeds
(correctly) to deactivate this package, but when it's finished it
immediately starts rebuilding pkgconfig from scratch!
Does anybody know what the problem may be (apart from a bug in 'port
upgrade' in DP 1.32), and how to fix it?
Thanks everybody,
Artemio
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/aalib
<snip>
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/cairo
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: cairo 1.2.4_1 exists in the ports tree
DEBUG: cairo 1.2.4_0 is installed
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/xrender
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: xrender 0.9.0_0 exists in the ports tree
DEBUG: xrender 0.9.0_0 is installed
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/XFree86
DEBUG: XFree86 is *not* installed by DarwinPorts
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/XFree86
DEBUG: Searching for dependency: XFree86
DEBUG: Didn't find receipt, going to depspec regex for: XFree86
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
regex: ^libX11\.6\.dylib$
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
regex: ^libX11\.6\.dylib$
DEBUG: XFree86 installed outside the MacPorts system
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: XFree86 4.5.0_2 exists in the ports tree
DEBUG: XFree86 4.5.0_2 is installed
DEBUG: Not following dependencies
DEBUG: variants to install
DEBUG: available variants are : darwin puredarwin
DEBUG: new portvariants:
DEBUG: Requested variant powerpc is not provided by port XFree86.
DEBUG: Requested variant macosx is not provided by port XFree86.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing com.apple.main (XFree86)
DEBUG: Skipping unarchive (XFree86) since force is set
DEBUG: Skipping completed com.apple.unarchive (XFree86)
DEBUG: Uninstalling XFree86 4.5.0_2
DEBUG: Registry error: XFree86 4.5.0_2 not registered as installed.
while executing
"registry::installed $portname $v"
(procedure "portuninstall::uninstall" line 5)
invoked from within
"portuninstall::uninstall $portname $version_installed$oldvariant
$optionslist"
Error: Uninstall XFree86 4.5.0_2 failed: Registry error: XFree86 4.5.0_2
not registered as installed.
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/render
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: render 0.9_0 exists in the ports tree
DEBUG: render 0.9_0 is installed
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/pkgconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.21_0 exists in the ports tree
DEBUG: pkgconfig 0.21_0 is installed
DEBUG: variants to install
DEBUG: available variants are : darwin_6
DEBUG: new portvariants:
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/pkgconfig
DEBUG: Requested variant powerpc is not provided by port pkgconfig.
DEBUG: Requested variant darwin is not provided by port pkgconfig.
DEBUG: Requested variant macosx is not provided by port pkgconfig.
DEBUG: Executing com.apple.main (pkgconfig)
DEBUG: Skipping unarchive (pkgconfig) since force is set
DEBUG: Skipping completed com.apple.unarchive (pkgconfig)
DEBUG: Uninstalling pkgconfig 0.21_0
DEBUG: Xft2 depends on this port
---> Unable to uninstall pkgconfig 0.21_0, the following ports depend
on it:
---> Xft2
Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating pkgconfig 0.21_0
DEBUG: deactivating file: /opt/local/share/man/man1/pkg-config.1.gz
DEBUG: /opt/local/share/man/man1 is not empty
DEBUG: /opt/local/share/man is not empty
DEBUG: deactivating file: /opt/local/share/aclocal/pkg.m4
DEBUG: /opt/local/share/aclocal is not empty
DEBUG: /opt/local/share is not empty
DEBUG: deactivating file: /opt/local/bin/pkg-config
DEBUG: /opt/local/bin is not empty
DEBUG: /opt/local is not empty
DEBUG: /opt is not empty
DEBUG: / is not empty
DEBUG: Removing entry from file_map: /opt/local/bin/pkg-config
DEBUG: Removing entry from file_map: /opt/local/share/aclocal/pkg.m4
DEBUG: Removing entry from file_map:
/opt/local/share/man/man1/pkg-config.1.gz
---> Uninstalling pkgconfig 0.21_0
DEBUG: uninstalling file:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local/share/man/man1/pkg-config.1.gz
DEBUG: uninstalling directory:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local/share/man/man1
DEBUG: uninstalling directory:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local/share/man
DEBUG: uninstalling file:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local/share/aclocal/pkg.m4
DEBUG: uninstalling directory:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local/share/aclocal
DEBUG: uninstalling directory:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local/share
DEBUG: uninstalling file:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local/bin/pkg-config
DEBUG: uninstalling directory:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local/bin
DEBUG: uninstalling directory:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt/local
DEBUG: uninstalling directory:
/opt/local/var/db/dports/software/pkgconfig/0.21_0/opt
DEBUG: uninstalling directory:
/opt/local/var/db/dports/software/pkgconfig/0.21_0
DEBUG: uninstalling directory: /opt/local/var/db/dports/software/pkgconfig
DEBUG: /opt/local/var/db/dports/software is not empty
DEBUG: /opt/local/var/db/dports is not empty
DEBUG: /opt/local/var/db is not empty
DEBUG: /opt/local/var is not empty
DEBUG: /opt/local is not empty
DEBUG: /opt is not empty
DEBUG: / is not empty
---> Uninstall is removing pkgconfig from the port registry.
DEBUG: deleting directory:
/opt/local/var/db/dports/receipts/pkgconfig/0.21_0
DEBUG: deleting directory: /opt/local/var/db/dports/receipts/pkgconfig
DEBUG: Skipping completed com.apple.main (pkgconfig)
DEBUG: Skipping completed com.apple.unarchive (pkgconfig)
---> Fetching pkgconfig
DEBUG: Executing com.apple.fetch (pkgconfig)
---> Verifying checksum(s) for pkgconfig
DEBUG: Executing com.apple.checksum (pkgconfig)
---> Checksumming pkg-config-0.21.tar.gz
DEBUG: Correct (md5) checksum for pkg-config-0.21.tar.gz
DEBUG: Correct (sha1) checksum for pkg-config-0.21.tar.gz
DEBUG: Correct (rmd160) checksum for pkg-config-0.21.tar.gz
---> Extracting pkgconfig
DEBUG: Executing com.apple.extract (pkgconfig)
---> Extracting pkg-config-0.21.tar.gz
DEBUG: setting option extract.args to
/opt/local/var/db/dports/distfiles/pkgconfig/pkg-config-0.21.tar.gz
DEBUG: Assembled command: 'cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_pkgconfig/work"
&& gzip -dc
/opt/local/var/db/dports/distfiles/pkgconfig/pkg-config-0.21.tar.gz |
/usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing com.apple.patch (pkgconfig)
---> Configuring pkgconfig
DEBUG: Executing com.apple.configure (pkgconfig)
DEBUG: Assembled command: 'cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_pkgconfig/work/pkg-config-0.21"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
--enable-indirect-deps'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
<snip>
(port starts configuring and then building pkgconfig from scratch)