Opened 14 years ago

Closed 14 years ago

#24892 closed defect (invalid)

p5-locale-gettext activation failure while trying to install claws-mail

Reported by: alan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: p5-locale-gettext

Description (last modified by mf2k (Frank Schima))

Being on Snow Leopard, I went through the "uninstall everything and start over" and commented out the two arch entries recommended in macports.conf, to no avail; I've attached the full -d output.

Attachments (1)

claws.err (152.1 KB) - added by alan@… 14 years ago.
-d debug log

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by alan@…

Attachment: claws.err added

-d debug log

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: p5-locale-gettext added; claws-mail removed
Summary: claws-mail fails to buildp5-locale-gettext activation failure while trying to install claws-mail

What do you mean by "commented out the two arch entries recommended in macports.conf"? Where did you get this information? If you started over and installed from scratch, you should not change anything in macports.conf.

Please post the output of the following:

sudo port clean p5-locale-gettext
sudo port -d activate p5-locale-gettext

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Never mind my first question, I see what you meant in the migration wiki page.

comment:3 Changed 14 years ago by alan@…

I didn't *completely* start over --- I didn't remove macports itself, just all the installed ports...

Specifically, the steps I performed:

port install claws-mail (fail)
port selfupdate
port -v upgrade installed
port install claws-mail (fail)
(search macports, find migration page)
vi /opt/local/etc/macports/macports.conf
port installed > ports.list
port -f uninstall installed
port clean --work --archive all
sh -x ports.redo (edit of ports.list into install script; all installed fine)
port install claws-mail (fail)
(post bug)

ports.redo:

port install gnupg +idea+universal
port install bzip2
port install curl-ca-bundle
port install fetch
port install kermit
port install mtr
port install mysql5
port install mysql5-server
port install ncurses
port install ncursesw
port install openldap
port install openssl
port install p5-crypt-ssleay
port install p5-dbd-mysql
port install p5-io-socket-ssl
port install p5-mail-imapclient
port install p5-mailtools
port install p5-mime-tools
port install p5-net-ssleay
port install p5-text-csv
port install perl5.8
port install wget
sudo port clean p5-locale-gettext
--->  Cleaning p5-locale-gettext

sudo port -d activate p5-locale-gettext
--->  Activating p5-locale-gettext
DEBUG: Image error: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/Locale/gettext.pm already exists and does not belong to a registered port.  Unable to activate port p5-locale-gettext.
    while executing
"_activate_contents $name $imagefiles $imagedir"
    (procedure "portimage::activate" line 56)
    invoked from within
"portimage::activate $portname [composite_version $portversion [array get variations]] [array get options]"
Error: port activate failed: Image error: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/Locale/gettext.pm already exists and does not belong to a registered port.  Unable to activate port p5-locale-gettext.

comment:4 Changed 14 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

So either delete the file {{{/opt/local/lib/perl5/vendor_perl/5.8.9/darwin- 2level/Locale/gettext.pm}}} and try again or force the activation:

sudo port -f activate p5-locale-gettext
sudo port install claws-mail
Note: See TracTickets for help on using tickets.