Opened 13 years ago

Closed 12 years ago

#33582 closed defect (worksforme)

cannot install p5.12-xml-sax-base

Reported by: todo (Yu-Lun Chen) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: drkp (Dan Ports), MartinBuchmann (Martin Buchmann), 3add3287 (3add3287)
Port: p5.12-xml-sax-base

Description (last modified by ryandesign (Ryan Carsten Schmidt))

See below for error msg.

also see the attached log file.

% sudo port install p5.12-xml-simple
--->  Computing dependencies for p5.12-xml-simple
--->  Dependencies to be installed: p5.12-xml-sax p5.12-xml-sax-base p5.12-xml-sax-expat p5.12-xml-parser
--->  Installing p5.12-xml-sax-base @1.80.0_0
Error: Target org.macports.install returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-xml-sax-base/p5.12-xml-sax-base/work/destroot
Error: Failed to install p5.12-xml-sax-base
Log for p5.12-xml-sax-base is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-xml-sax-base/p5.12-xml-sax-base/main.log
Error: The following dependencies were not installed: p5.12-xml-sax p5.12-xml-sax-base p5.12-xml-sax-expat p5.12-xml-parser
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (3.0 KB) - added by todo (Yu-Lun Chen) 13 years ago.
main.log

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by todo (Yu-Lun Chen)

Attachment: main.log added

main.log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: p5.12-xml-sax added
Resolution: duplicate
Status: newclosed
:error:install Target org.macports.install returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-xml-sax-base/p5.12-xml-sax-base/work/destroot

Duplicate of #29223. "sudo port clean p5.12-xml-simple" and try again. Cleaning and trying again should be the first thing you try anytime any port fails to install.

comment:2 in reply to:  1 Changed 13 years ago by todo (Yu-Lun Chen)

Resolution: duplicate
Status: closedreopened

Replying to ryandesign@…:

:error:install Target org.macports.install returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-xml-sax-base/p5.12-xml-sax-base/work/destroot

Duplicate of #29223. "sudo port clean p5.12-xml-simple" and try again. Cleaning and trying again should be the first thing you try anytime any port fails to install.

I think this is a genuine failure. I have done

sudo port clean p5.12-xml-simple sudo port clean p5.12-sax-base

And neither of them fixed this problem.

According to the log,

% sudo port install p5.12-xml-simple ---> Computing dependencies for p5.12-xml-simple ---> Dependencies to be installed: p5.12-xml-sax p5.12-xml-sax-base p5.12-xml-sax-expat p5.12-xml-parser ---> Fetching archive for p5.12-xml-sax-base ---> Attempting to fetch p5.12-xml-sax-base-1.80.0_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/p5.12-xml-sax-base ---> Attempting to fetch p5.12-xml-sax-base-1.80.0_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/p5.12-xml-sax-base ---> Installing p5.12-xml-sax-base @1.80.0_0 ---> Activating p5.12-xml-sax-base @1.80.0_0 Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3/XML::SAX::Base.3pm.gz is being used by the active p5-xml-sax port. Please deactivate this port first, or use 'port -f activate p5.12-xml-sax-base' to force the activation. Error: Failed to install p5.12-xml-sax-base Log for p5.12-xml-sax-base is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-xml-sax-base/p5.12-xml-sax-base/main.log Error: The following dependencies were not installed: p5.12-xml-sax p5.12-xml-sax-base p5.12-xml-sax-expat p5.12-xml-parser Error: Status 1 encountered during processing.

First of all, "deactivate" doesn't work, because this port is not "active" yet.

Second, it was suggested that I "force" activation; however, won't "force" an activation make things even worst?

Please advice. Thanks a lot.

comment:3 Changed 13 years ago by drkp (Dan Ports)

Cc: dports@… added

Huh, that's interesting. I thought I fixed that.

What does port -v installed 'p5*-xml-sax*' list?

comment:4 in reply to:  3 ; Changed 13 years ago by todo (Yu-Lun Chen)

Replying to dports@…:

Huh, that's interesting. I thought I fixed that.

What does port -v installed 'p5*-xml-sax*' list?

% port -v installed 'p5*-xml-sax*' The following ports are currently installed:

p5-xml-sax @0.96_1 (active) platform='darwin 10' archs='noarch' p5-xml-sax-expat @0.40_1 (active) platform='darwin 10' archs='noarch' p5.12-xml-sax-base @1.80.0_0 platform='darwin 10' archs='x86_64'

%

comment:5 Changed 13 years ago by todo (Yu-Lun Chen)

reposting, so it's easier to read


% port -v installed 'p5*-xml-sax*'
The following ports are currently installed:

p5-xml-sax @0.96_1 (active) platform='darwin 10' archs='noarch'
p5-xml-sax-expat @0.40_1 (active) platform='darwin 10' archs='noarch'
p5.12-xml-sax-base @1.80.0_0 platform='darwin 10' archs='x86_64'

%

comment:6 Changed 13 years ago by MartinBuchmann (Martin Buchmann)

Cc: Martin.Buchmann@… added

Cc Me!

comment:7 in reply to:  4 Changed 13 years ago by richard.jw.roberts@…

Replying to al_cohen@…:

Replying to dports@…:

Huh, that's interesting. I thought I fixed that.

What does port -v installed 'p5*-xml-sax*' list?

% port -v installed 'p5*-xml-sax*' The following ports are currently installed:

p5-xml-sax @0.96_1 (active) platform='darwin 10' archs='noarch' p5-xml-sax-expat @0.40_1 (active) platform='darwin 10' archs='noarch' p5.12-xml-sax-base @1.80.0_0 platform='darwin 10' archs='x86_64'

%

Hello, I ran into this same problem (the 2nd problem in the comments here, not the original one the bug report was about) when trying to do a 'port upgrade outdated', and I think I found a workaround. It seems to be caused by old inactive ports. Here is what happened: I ran 'port uninstall inactive', which eventually failed due to needing to remove dependencies. I went ahead and manually removed the dependency it was asking for, which boiled down to 'icon-naming-utils', however, that package was causing old versions of p5-xml stuff (specifically p5-xml-sax@0.96_2 p5-xml-sax-expat@0.40_2 p5-xml-simple@2.18_1) not to be removed. After manually uninstalling 'icon-naming-utils', and those three p5-xml-sax packages at those particular versions, I re-ran 'port uninstall inactive', which this time completed successfully. I'm now able to run 'port upgrade outdated' successfully, which did install 'p5.12-xml-simple' and several other related packages. In hindsight, perhaps 'port uninstall inactive' was not necessary - i.e. perhaps it was only necessary to uninstall the icon-naming-utils package (and perhaps the old p5-xml packages). Nonetheless the uninstall inactive freed up a lot of disk space :-)

comment:8 Changed 12 years ago by 3add3287 (3add3287)

Cc: torstenb@… added

Cc Me!

comment:9 Changed 12 years ago by jmroot (Joshua Root)

Port: p5.12-xml-sax-base added; p5.12-xml-sax removed
Resolution: worksforme
Status: reopenedclosed
Summary: cannot install p5.12-xml-simplecannot install p5.12-xml-sax-base
Note: See TracTickets for help on using tickets.