sierkb | 26 Jun 2012 14:43
Picon
Picon

After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

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
(Continue reading)

Jeremy Lavergne | 26 Jun 2012 15:02

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

> 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

This line in the debug output is a red herring, it can be ignored.

Attachment (smime.p7s): application/pkcs7-signature, 8 KiB
> 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

This line in the debug output is a red herring, it can be ignored.

sierkb | 26 Jun 2012 15:49
Picon
Picon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

Am 26.06.2012 um 15:02 schrieb Jeremy Lavergne:
>> 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
> 
> This line in the debug output is a red herring, it can be ignored.

OK. Cause of that red herring, that line? Error in MacPorts itself?
And besides that, how can p5-sgml-parser-opensp be now successfully built while ignoring that?

Joshua Root | 27 Jun 2012 04:51
Favicon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

On 2012-6-26 23:49 , sierkb@... wrote:
> Am 26.06.2012 um 15:02 schrieb Jeremy Lavergne:
>>> 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
>>
>> This line in the debug output is a red herring, it can be ignored.
> 
> OK. Cause of that red herring, that line? Error in MacPorts itself?

Not sure. Possibly somewhere in the depths of the Tcl standard library.

- Josh
Ryan Schmidt | 27 Jun 2012 05:44
Favicon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

On Jun 26, 2012, at 21:51, Joshua Root wrote:
> On 2012-6-26 23:49 , sierkb@... wrote:
>> Am 26.06.2012 um 15:02 schrieb Jeremy Lavergne:
>>>> 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
>>> 
>>> This line in the debug output is a red herring, it can be ignored.
>> 
>> OK. Cause of that red herring, that line? Error in MacPorts itself?
> 
> Not sure. Possibly somewhere in the depths of the Tcl standard library.

It would be great if we could figure out and fix this; it's been happening for years and users constantly
mention it in bug reports and it delays getting to the real problems they might be having.

Joshua Root | 26 Jun 2012 15:08
Favicon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

On 2012-6-26 22:43 , sierkb@... wrote:
> So, finally, what to do to successfully install again p5-sgml-parser-opensp?

Seems to be trying to compile C++ code with the C compiler. The build
system probably needs to be patched not to do that.

- Josh
sierkb | 26 Jun 2012 15:53
Picon
Picon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

Am 26.06.2012 um 15:08 schrieb Joshua Root:
> On 2012-6-26 22:43 , sierkb@... wrote:
>> So, finally, what to do to successfully install again p5-sgml-parser-opensp?
> 
> Seems to be trying to compile C++ code with the C compiler. The build
> system probably needs to be patched not to do that.

Which build system? The one of MacPorts? Remotely? Locally? My Xcode installation (Xcode 4.3.3 with
command line tools)?
Your job? My job?

Joshua Root | 26 Jun 2012 16:35
Favicon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

On 2012-6-26 23:53 , sierkb@... wrote:
> Am 26.06.2012 um 15:08 schrieb Joshua Root:
>> Seems to be trying to compile C++ code with the C compiler. The build
>> system probably needs to be patched not to do that.
> 
> Which build system? The one of MacPorts? Remotely? Locally? My Xcode installation (Xcode 4.3.3 with
command line tools)?

The one in the SGML-Parser-OpenSP distribution.

> Your job? My job?

This port has no maintainer, so in an all-volunteer project, it's the
job of whoever has the right combination of time, ability and motivation.

It's (probably) fixed now.

- Josh
sierkb | 26 Jun 2012 17:37
Picon
Picon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

Am 26.06.2012 um 16:35 schrieb Joshua Root:
> On 2012-6-26 23:53 , sierkb@... wrote:
>> Am 26.06.2012 um 15:08 schrieb Joshua Root:
>>> Seems to be trying to compile C++ code with the C compiler. The build
>>> system probably needs to be patched not to do that.
>> 
>> Which build system? The one of MacPorts? Remotely? Locally? My Xcode installation (Xcode 4.3.3 with
command line tools)?
> 
> The one in the SGML-Parser-OpenSP distribution.
> 
>> Your job? My job?
> 
> This port has no maintainer, so in an all-volunteer project, it's the
> job of whoever has the right combination of time, ability and motivation.
> 
> It's (probably) fixed now.

OK. So let's do a test:
$ sudo port -v selfupdate
Copy of the new p5-sgml-parser-opensp directory (port file and new makefile patch) to my local
repository, re-portindexed and finally a:

$ sudo port install p5-sgml-parser-opensp
--->  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
(Continue reading)

Joshua Root | 27 Jun 2012 04:52
Favicon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

On 2012-6-27 01:37 , sierkb@... wrote:
> Since today I see:
> 
> 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
> 
> But NO p5-sgml-parser-opensp directory/portfile in that location.
> Why is this? Is this OK and normal? Not OK, not normal?

Hmm, technically there should be nothing in there except when an
operation is actually being performed on a portfile from the registry.
I'd guess an error case somewhere is failing to clean up in there.

- Josh
Ryan Schmidt | 27 Jun 2012 03:35
Favicon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)


On Jun 26, 2012, at 07:43, sierkb@... 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  <at> 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  <at> 1.50.0_6
> --->  Deactivating p5.12-locale-gettext  <at> 1.50.0_6
> --->  Activating p5.12-locale-gettext  <at> 1.50.0_7
> --->  Cleaning p5.12-locale-gettext
> Warning: Failed to open Portfile from registry for p5.12-locale-gettext  <at> 1.50.0_6
> --->  Uninstalling p5.12-locale-gettext  <at> 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?

(Continue reading)

sierkb | 27 Jun 2012 14:32
Picon
Picon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

Am 27.06.2012 um 03:35 schrieb Ryan Schmidt:
> 
> On Jun 26, 2012, at 07:43, sierkb@... 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  <at> 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  <at> 1.50.0_6
>> --->  Deactivating p5.12-locale-gettext  <at> 1.50.0_6
>> --->  Activating p5.12-locale-gettext  <at> 1.50.0_7
>> --->  Cleaning p5.12-locale-gettext
>> Warning: Failed to open Portfile from registry for p5.12-locale-gettext  <at> 1.50.0_6
>> --->  Uninstalling p5.12-locale-gettext  <at> 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?
(Continue reading)

Ryan Schmidt | 27 Jun 2012 23:14
Favicon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

On Jun 27, 2012, at 07:32, sierkb@... wrote:

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

[snip]

> NO WARNING!
> 
> And: still an empty /opt/local/var/macports/registry/portfiles directory.

[snip]

> 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
(Continue reading)

sierkb | 27 Jun 2012 14:38
Picon
Picon

Re: After Changeset 94655: several warnings and one failed (re-)install (p5-sgml-parser-opensp)

Am 27.06.2012 um 03:35 schrieb Ryan Schmidt:
> 
> On Jun 26, 2012, at 07:43, sierkb@... wrote:
> 
>> 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.
> 
> http://lists.macosforge.org/pipermail/macports-users/2012-June/029578.html

Thanks for clarification.

Gmane