New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33582 (closed defect: worksforme)

Opened 15 months ago

Last modified 10 months ago

cannot install p5.12-xml-sax-base

Reported by: al_cohen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: dports@…, Martin.Buchmann@…, torstenb@…
Port: p5.12-xml-sax-base

Description (last modified by ryandesign@…) (diff)

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

main.log (3.0 KB) - added by al_cohen@… 15 months ago.
main.log

Change History

Changed 15 months ago by al_cohen@…

main.log

comment:1 follow-up: ↓ 2 Changed 15 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to duplicate
  • Port set to p5.12-xml-sax
  • Description modified (diff)
: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 14 months ago by al_cohen@…

  • Status changed from closed to reopened
  • Resolution duplicate deleted

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 follow-up: ↓ 4 Changed 14 months ago by dports@…

  • 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 ; follow-up: ↓ 7 Changed 14 months ago by 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'

%

comment:5 Changed 14 months ago by al_cohen@…

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 14 months ago by Martin.Buchmann@…

  • Cc Martin.Buchmann@… added

Cc Me!

comment:7 in reply to: ↑ 4 Changed 14 months 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 months ago by torstenb@…

  • Cc torstenb@… added

Cc Me!

comment:9 Changed 10 months ago by jmr@…

  • Status changed from reopened to closed
  • Resolution set to worksforme
  • Port changed from p5.12-xml-sax to p5.12-xml-sax-base
  • Summary changed from cannot install p5.12-xml-simple to cannot install p5.12-xml-sax-base
Note: See TracTickets for help on using tickets.