Opened 11 years ago

Closed 11 years ago

#41520 closed defect (invalid)

p5.12-xml-parser cannot find tclIndex

Reported by: kmonisit@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description

I am trying to install octave-devel, but it fails when installing p5.12-xml-parser. Inspecting the log file advised by the error message, I think the problem lies here:

:debug:checksum couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory

I checked that path and searched for tclIndex with Spotlight. The tclIndex I could find from the path is located in Resources/Scripts/tclIndex

Here is the full main.log of the installation:

version:1
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Executing org.macports.main (p5.12-xml-parser)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (p5.12-xml-parser)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (p5.12-xml-parser)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sun Nov 24 09:38:51 PHT 2013
:notice:checksum --->  Verifying checksums for p5.12-xml-parser
:debug:checksum Executing org.macports.checksum (p5.12-xml-parser)
:info:checksum --->  Checksumming XML-Parser-2.40.tar.gz
:error:checksum org.macports.checksum for port p5.12-xml-parser returned: XML-Parser-2.40.tar.gz does not exist in /opt/macports-2.2.1/var/macports/distfiles/perl5
:debug:checksum Error code: NONE
:debug:checksum Backtrace: XML-Parser-2.40.tar.gz does not exist in /opt/macports-2.2.1/var/macports/distfiles/perl5
    while executing
"$procedure $targetname"
:info:checksum Warning: targets not executed for p5.12-xml-parser: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:checksum Failed to install p5.12-xml-parser
:debug:checksum couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:checksum Please see the log file for port p5.12-xml-parser for details:
    /opt/macports-2.2.1/var/macports/logs/_opt_macports-2.2.1_var_macports_sources_svn.macports.org_trunk_dports_perl_p5-xml-parser/p5.12-xml-parser/main.log

Change History (2)

comment:1 Changed 11 years ago by kmonisit@…

I am not running as root because I want to isolate MacPorts from everything. MacPorts is installed in /opt/macports-2.2.1 and I have set the appropriate paths as advised in http://guide.macports.org/#installing.shell.postflight.

comment:2 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed

Replying to kmonisit@…:

I am trying to install octave-devel, but it fails when installing p5.12-xml-parser. Inspecting the log file advised by the error message, I think the problem lies here:

:debug:checksum couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory

This error message is a red herring.

:debug:main Skipping completed org.macports.fetch (p5.12-xml-parser)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sun Nov 24 09:38:51 PHT 2013
:notice:checksum --->  Verifying checksums for p5.12-xml-parser
:debug:checksum Executing org.macports.checksum (p5.12-xml-parser)
:info:checksum --->  Checksumming XML-Parser-2.40.tar.gz
:error:checksum org.macports.checksum for port p5.12-xml-parser returned: XML-Parser-2.40.tar.gz does not exist in /opt/macports-2.2.1/var/macports/distfiles/perl5

These lines show the reason for the failure is you did not clean first.

Note: See TracTickets for help on using tickets.