Opened 9 years ago

Closed 9 years ago

#47352 closed defect (invalid)

"Activating perl5 @5.16.3_0+perl5_16" fails on Snow Leopard, Mac OS X 10.6.8

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: perl5

Description

x ./opt/local/bin/zipdetails
Error: org.macports.activate for port perl5 returned: Image error: /opt/local/share/man/man3p/CPAN::Mirrors.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.
DEBUG: Error code: registry::image-error
DEBUG: Backtrace: Image error: /opt/local/share/man/man3p/CPAN::Mirrors.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.
    invoked from within
"throw registry::image-error "Image error: $file already exists and does not belong to a registered port.  Unable to activate port [$port name]. Use 'p..."
    ("foreach" body line 47)
    invoked from within
"foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to install links, we test if we can lst..."
    invoked from within
"registry::write {
            foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to instal..."
    invoked from within
"try {
        registry::write {
            foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be ..."
    (procedure "_activate_contents" line 21)
    invoked from within
"_activate_contents $requested"
    (procedure "portimage::activate" line 57)
    invoked from within
"registry_activate $subport $version $revision $portvariants [array get user_options]"
    (procedure "portactivate::activate_main" line 4)
    invoked from within
"portactivate::activate_main org.macports.activate"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work /opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/devel/glib2/work

Attachments (2)

main.log (56.3 KB) - added by ballapete (Peter "Pete" Dyballa) 9 years ago.
main.log
main.2.log (56.3 KB) - added by ballapete (Peter "Pete" Dyballa) 9 years ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

Changed 9 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.2.log added

main.log

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: newclosed

This generally occurs when a port has been interrupted during a previous activation. Just do as suggested by the error message and force the activation. The conflicting files will be moved aside with a *.mp* sort of suffix and can be manually removed after the successful activation without causing any problems.

sudo port -f activate perl5 @5.16.3_0+perl5_16
Note: See TracTickets for help on using tickets.