New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31881 (closed defect: invalid)

Opened 19 months ago

Last modified 19 months ago

perl5: /opt/local/share/man/man3p/App::Prove.3pm already exists and does not belong to a registered port

Reported by: actionscripted@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: perl5

Description

(apologies for not putting the version in the title -- no idea where to find that for php5-mcrypt but I'm running MacPorts version 2.0.3)

When running "sudo port install php5-mcrypt" I get the following:

Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3p/App::Prove.3pm already exists and does not belong to a registered port.  Unable to activate port perl5. Use 'port -f activate perl5' to force the activation.
Error: Failed to install perl5
Log for perl5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5/perl5/main.log
Error: The following dependencies were not installed: libtool automake autoconf perl5 perl5 perl5 perl5 php5 apache2 apr apr-util db46 sqlite3 libedit openssl zlib pcre bzip2 autoconf213 gawk readline gsed libxml2 mhash pkgconfig glib2
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I've removed all installed ports (sudo port -fp uninstall --follow-dependents installed), tried it again and gotten the same result.

Attaching the file referenced and would be happy test/try anything if it'd help.

Attachments

main.log (102.3 KB) - added by actionscripted@… 19 months ago.
perl5 log referenced in error message

Change History

Changed 19 months ago by actionscripted@…

perl5 log referenced in error message

comment:1 Changed 19 months ago by ryandesign@…

  • Port set to perl5
  • Summary changed from php5-mcrypt @ ?? failed to install perl5 to perl5: /opt/local/share/man/man3p/App::Prove.3pm already exists and does not belong to a registered port

Why does /opt/local/share/man/man3p/App::Prove.3pm already exist and not belong to a registered port? You can remove that file, but there will probably be hundreds of other interfering files. You can force the activation of perl5 to forcibly move those interfering files out of the way ("sudo port -f activate perl5") but they should not have been there in the first place and you may find the same problem later with other ports. If so, uninstall MacPorts completely using the instructions in the guide (including actually deleting /opt/local entirely), then install MacPorts again.

comment:2 Changed 19 months ago by actionscripted@…

Did a full removal of MacPorts including everything in /opt/local. Everything worked perfectly this time.

comment:3 Changed 19 months ago by macsforever2000@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.