After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)
sierkb at gmx.de
sierkb at gmx.de
Wed Jun 27 05:32:55 PDT 2012
Am 27.06.2012 um 03:35 schrieb Ryan Schmidt:
>
> On Jun 26, 2012, at 07:43, sierkb at gmx.de wrote:
>
>> ---> Computing dependencies for p5.12-locale-gettext
>> ---> Fetching archive for p5.12-locale-gettext
>> ---> Attempting to fetch p5.12-locale-gettext-1.50.0_7.darwin_11.x86_64.tbz2 fromhttp://packages.macports.org/p5.12-locale-gettext
>> ---> Fetching distfiles for p5.12-locale-gettext
>> ---> Verifying checksum(s) for p5.12-locale-gettext
>> ---> Extracting p5.12-locale-gettext
>> ---> Applying patches to p5.12-locale-gettext
>> ---> Configuring p5.12-locale-gettext
>> ---> Building p5.12-locale-gettext
>> ---> Staging p5.12-locale-gettext into destroot
>> ---> Installing p5.12-locale-gettext @1.50.0_7
>> ---> Cleaning p5.12-locale-gettext
>> ---> Computing dependencies for p5.12-locale-gettext
>> Warning: Failed to open Portfile from registry for p5.12-locale-gettext @1.50.0_6
>> ---> Deactivating p5.12-locale-gettext @1.50.0_6
>> ---> Activating p5.12-locale-gettext @1.50.0_7
>> ---> Cleaning p5.12-locale-gettext
>> Warning: Failed to open Portfile from registry for p5.12-locale-gettext @1.50.0_6
>> ---> Uninstalling p5.12-locale-gettext @1.50.0_6
>> ---> Updating database of binaries: 100.0%
>> ---> Scanning binaries for linking errors: 100.0%
>> ---> No broken files found.
>>
>> Question:
>> -------------
>> What do these Warnings mean and how to avoid them? Are they a one-timer, or will they emerge regulary?
>
> You cannot avoid the warnings but they are harmless and will occur one time only per upgraded p5 port.
OK. Thanks for clarification.
BUT, meanwhile strange things have happened:
Several minutes ago, I've done a
$ sudo port -f uninstall p5.12-gd p5-gd p5.12-locale-gettext p5-locale-gettext
And to be sure:
$ sudo port clean --all p5.12-gd p5-gd p5.12-locale-gettext p5-locale-gettext
Result by the way:
An empty /opt/local/var/macports/registry/portfiles directory (as it has been empty and maybe nonexistent until yesterday's port update).
And afterwards a re-install:
$ sudo port install p5-gd p5-locale-gettext
---> Computing dependencies for p5-gd
---> Dependencies to be installed: p5.12-gd
---> Fetching archive for p5.12-gd
---> Attempting to fetch p5.12-gd-2.450.0_4.darwin_11.x86_64.tbz2 from http://packages.macports.org/p5.12-gd
---> Fetching distfiles for p5.12-gd
---> Attempting to fetch GD-2.45.tar.gz from http://lil.fr.distfiles.macports.org/perl5
---> Verifying checksum(s) for p5.12-gd
---> Extracting p5.12-gd
---> Configuring p5.12-gd
---> Building p5.12-gd
---> Staging p5.12-gd into destroot
---> Installing p5.12-gd @2.450.0_4
---> Activating p5.12-gd @2.450.0_4
---> Cleaning p5.12-gd
---> Fetching archive for p5-gd
---> Attempting to fetch p5-gd-2.450.0_4.darwin_11.noarch.tbz2 from http://packages.macports.org/p5-gd
---> Fetching distfiles for p5-gd
---> Verifying checksum(s) for p5-gd
---> Extracting p5-gd
---> Configuring p5-gd
---> Building p5-gd
---> Staging p5-gd into destroot
---> Installing p5-gd @2.450.0_4
---> Activating p5-gd @2.450.0_4
---> Cleaning p5-gd
---> Computing dependencies for p5-locale-gettext
---> Dependencies to be installed: p5.12-locale-gettext
---> Fetching archive for p5.12-locale-gettext
---> Attempting to fetch p5.12-locale-gettext-1.50.0_7.darwin_11.x86_64.tbz2 from http://packages.macports.org/p5.12-locale-gettext
---> Fetching distfiles for p5.12-locale-gettext
---> Attempting to fetch gettext-1.05.tar.gz from http://lil.fr.distfiles.macports.org/perl5
---> Verifying checksum(s) for p5.12-locale-gettext
---> Extracting p5.12-locale-gettext
---> Applying patches to p5.12-locale-gettext
---> Configuring p5.12-locale-gettext
---> Building p5.12-locale-gettext
---> Staging p5.12-locale-gettext into destroot
---> Installing p5.12-locale-gettext @1.50.0_7
---> Activating p5.12-locale-gettext @1.50.0_7
---> Cleaning p5.12-locale-gettext
---> Fetching archive for p5-locale-gettext
---> Attempting to fetch p5-locale-gettext-1.50.0_7.darwin_11.noarch.tbz2 from http://packages.macports.org/p5-locale-gettext
---> Fetching distfiles for p5-locale-gettext
---> Verifying checksum(s) for p5-locale-gettext
---> Extracting p5-locale-gettext
---> Configuring p5-locale-gettext
---> Building p5-locale-gettext
---> Staging p5-locale-gettext into destroot
---> Installing p5-locale-gettext @1.50.0_7
---> Activating p5-locale-gettext @1.50.0_7
---> Cleaning p5-locale-gettext
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
NO WARNING!
And: still an empty /opt/local/var/macports/registry/portfiles directory.
And to top it, I've done afterwards a:
$ sudo port -n upgrade --force p5-sgml-parser-opensp
---> p5-sgml-parser-opensp is replaced by p5.12-sgml-parser-opensp
---> Computing dependencies for p5.12-sgml-parser-opensp
---> Cleaning p5.12-sgml-parser-opensp
---> Unable to uninstall p5.12-sgml-parser-opensp @0.994.0_4, the following ports depend on it:
---> p5-sgml-parser-opensp @0.994.0_4
Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating p5.12-sgml-parser-opensp @0.994.0_4
---> Unable to deactivate p5.12-sgml-parser-opensp @0.994.0_4, the following ports depend on it:
---> p5-sgml-parser-opensp @0.994.0_4
Warning: Deactivate forced. Proceeding despite dependencies.
---> Cleaning p5.12-sgml-parser-opensp
---> Uninstalling p5.12-sgml-parser-opensp @0.994.0_4
---> Cleaning p5.12-sgml-parser-opensp
---> Deactivating p5-sgml-parser-opensp @0.994.0_4
---> Cleaning p5-sgml-parser-opensp
---> Computing dependencies for p5.12-sgml-parser-opensp
---> Fetching archive for p5.12-sgml-parser-opensp
---> Attempting to fetch p5.12-sgml-parser-opensp-0.994.0_4.darwin_11.x86_64.tbz2 from http://packages.macports.org/p5.12-sgml-parser-opensp
---> Fetching distfiles for p5.12-sgml-parser-opensp
---> Attempting to fetch SGML-Parser-OpenSP-0.994.tar.gz from http://lil.fr.distfiles.macports.org/perl5
---> Verifying checksum(s) for p5.12-sgml-parser-opensp
---> Extracting p5.12-sgml-parser-opensp
---> Applying patches to p5.12-sgml-parser-opensp
---> Configuring p5.12-sgml-parser-opensp
---> Building p5.12-sgml-parser-opensp
---> Staging p5.12-sgml-parser-opensp into destroot
---> Installing p5.12-sgml-parser-opensp @0.994.0_4
---> Activating p5.12-sgml-parser-opensp @0.994.0_4
---> Cleaning p5.12-sgml-parser-opensp
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
Guess what?
Amazingly no warning ("Failed to open Portfile from registry for …") and still an empty /opt/local/var/macports/registry/portfiles directory.
So, now I raise the question: what has happened yesterday, that these warnings appeared (in the course of a port update) and the /opt/local/var/macports/registry/portfiles directory has contained interim:
$ ls -l /opt/local/var/macports/registry/portfiles
total 0
drwxr-xr-x 3 root admin 102 26 Jun 11:48 p5-gd
drwxr-xr-x 3 root admin 102 26 Jun 11:48 p5.12-gd
drwxr-xr-x 3 root admin 102 26 Jun 11:49 p5.12-locale-gettext
And now, today, several hours later and after deleting and reinstalling these 3 ports, I've got an empty directory (what I guess would be the right thing since the registry DB has changed to a SQLite db (/opt/local/var/macports/registry/registry.db) instead of a flat file db):
$ ls -la /opt/local/var/macports/registry/portfiles
total 0
drwxr-xr-x 2 root admin 68 27 Jun 13:46 .
drwxr-xr-x 3 root admin 204 27 Jun 13:46 ..
Question: what's right, what's wrong -- should the directory opt/local/var/macports/registry/portfiles exist and contain port files or not? If not, what has happened yesterday, that these 2-3 ports stored their port file there, but today, after a deletion and reinstall of these ports, they don't. And: should the directory /opt/local/var/macports/registry/portfiles exist at all? Or can it be deleted with a "rmdir portfiles", since it is not used anymore and replaced by registry.db?
Strange, this temporary mess.
Do you or anybody have an explanation for that?
Sierk
More information about the macports-dev
mailing list