After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)
sierkb at gmx.de
sierkb at gmx.de
Tue Jun 26 05:43:27 PDT 2012
Summary: I need help in re-installing p5-sgml-parser-opensp again after Changeset 94655.
Environment:
------------------
System: MacOSX Lion 10.7.4
MacPorts 2.1.1
Intention:
------------
Ports update after been notified through PortsNotifier.
Proceeding:
----------------
$ sudo port -v selfupdate; sudo port outdated; sudo port -u upgrade outdated
Password:
---> Updating MacPorts base sources using rsync
receiving file list ... done
base.tar
sent 11356 bytes received 111 bytes 4586.80 bytes/sec
total size is 3539456 speedup is 308.66
receiving file list ... done
base.tar.rmd160
sent 64 bytes received 116 bytes 72.00 bytes/sec
total size is 512 speedup is 2.84
MacPorts base version 2.1.1 installed,
MacPorts base version 2.1.1 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from file:///usr/local/MacPorts/ports
Creating port index in /usr/local/MacPorts/ports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 6
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done
ports.tar
sent 50983 bytes received 2022 bytes 5579.47 bytes/sec
total size is 52898816 speedup is 998.00
receiving file list ... done
ports.tar.rmd160
sent 64 bytes received 636 bytes 280.00 bytes/sec
total size is 512 speedup is 0.73
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
Adding port devel/nodejs
Total number of ports parsed: 1
Ports successfully parsed: 1
Ports failed: 0
Up-to-date ports skipped: 15318
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
The following installed ports are outdated:
p5-gd 2.450.0_3 < 2.450.0_4
p5.12-gd 2.450.0_3 < 2.450.0_4
p5.12-locale-gettext 1.50.0_6 < 1.50.0_7
perl5.12 5.12.4_0 < 5.12.4_1
---> p5-gd is replaced by p5.12-gd
---> Computing dependencies for perl5.12
---> Fetching archive for perl5.12
---> Attempting to fetch perl5.12-5.12.4_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/perl5.12
---> Fetching distfiles for perl5.12
---> Verifying checksum(s) for perl5.12
---> Extracting perl5.12
---> Applying patches to perl5.12
---> Configuring perl5.12
---> Building perl5.12
---> Staging perl5.12 into destroot
---> Installing perl5.12 @5.12.4_1
---> Cleaning perl5.12
---> Computing dependencies for perl5.12
---> Deactivating perl5.12 @5.12.4_0+shared+threads
---> Cleaning perl5.12
---> Activating perl5.12 @5.12.4_1
---> Cleaning perl5.12
---> Uninstalling perl5.12 @5.12.4_0+shared+threads
---> Cleaning perl5.12
---> Computing dependencies for 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
---> 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
---> Cleaning p5.12-gd
Warning: Failed to open Portfile from registry for p5-gd @2.450.0_3
---> Deactivating p5-gd @2.450.0_3
---> Computing dependencies for p5.12-gd
Warning: Failed to open Portfile from registry for p5.12-gd @2.450.0_3
---> Deactivating p5.12-gd @2.450.0_3
---> Activating p5.12-gd @2.450.0_4
---> Cleaning p5.12-gd
---> 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 from http://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?
AND, after looking into Changeset 94655 on https://trac.macports.org/changeset/94655:
Intention:
------------
Upgrade port of p5-sgml-parser-opensp (because of changed port file).
Additionally, I have to say, that I have a local and preferred, slightly patched portfile of p5-sgml-parser-opensp in my local MacPorts repository under /usr/local/MacPorts/ports, where I have commented out the perl module dependencies (p5-file-temp and p5-test-exception) to rely on the system's ones and to not let clutter /opt/local with dozens of redundant perl modules because of these dependencies. Up to the recent changes in MacPorts Perl branches, this approach went very well, p5-sgml-parser-opensp has installed, built and run perfectly (until today):
$ cat /usr/local/MacPorts/ports/perl/p5-sgml-parser-opensp/Portfile
# $Id: Portfile 94655 2012-06-26 06:25:00Z jmr at macports.org $
PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.8 5.10 5.12 5.14 5.16
perl5.setup SGML-Parser-OpenSP 0.994
revision 4
platforms darwin
license {Artistic-1 GPL}
maintainers nomaintainer
description Provides an interface to the OpenSP SGML parser.
long_description ${description}
checksums md5 b1ee0244e9daa4d37f28cf32c4753691 \
sha1 7d63abac63da9fc2352cbdee476f4d095f84366f \
rmd160 fcdfefdc139bec595732c0eab9a7d7e251ba6d42
if {${perl5.major} != ""} {
patchfiles Makefile.PL.patch
#depends_lib-append port:p${perl5.major}-class-accessor \
# port:p${perl5.major}-file-temp \
# port:p${perl5.major}-test-exception \
# port:opensp
depends_lib-append port:opensp
}
Having copied the new Portfile and files from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5-sgml-parser-opensp to my local repository /usr/local/MacPorts/ports/perl/p5-sgml-parser-opensp and having done a $ sudo port port index to re-index, I've done:
$ sudo port install p5-sgml-parser-opensp
Password:
---> Computing dependencies for p5-sgml-parser-opensp
---> Dependencies to be installed: 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
---> 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
Error: org.macports.build for port p5.12-sgml-parser-opensp returned: command execution failed
Error: Failed to install p5.12-sgml-parser-opensp
Please see the log file for port p5.12-sgml-parser-opensp for details:
/opt/local/var/macports/logs/_usr_local_MacPorts_ports_perl_p5-sgml-parser-opensp/p5.12-sgml-parser-opensp/main.log
Error: The following dependencies were not installed: p5.12-sgml-parser-opensp
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port p5-sgml-parser-opensp failed
Logfiles (p-sgml-parser-opensp/main.log, p5.12-sgml-parser-opensp/main.log) see Attachments.
Besides: looking into main.log -- why such an error like this one? Why is there a false reference to a non-existent file?
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing
Further try & proceeding:
---------------------------------
Having done a
$ sudo port uninstall p5-sgml-parser-opensp
or doing a
$ sudo port clean p5.12-sgml-parser-opensp p5-sgml-parser-opensp
and afterwards again doing a
$ sudo port install p5-sgml-parser-opensp
hasn't brought a better result -- p5-sgml-parser-opensp unfortunately _will not install_.
So, finally, what to do to successfully install again p5-sgml-parser-opensp?
Thanks in advance, any hint any help is welcome.
Sierk
Attachments:
-----------------
2 x main.log of building p5-sgml-parser-opensp:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p5-sgml-parser-opensp main.log
Type: application/octet-stream
Size: 1962 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120626/7136b791/attachment-0002.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p5.12-sgml-parser-opensp main.log
Type: application/octet-stream
Size: 13741 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120626/7136b791/attachment-0003.obj>
More information about the macports-dev
mailing list