Opened 15 years ago

Closed 15 years ago

#20953 closed defect (duplicate)

help2man configure failure: perl module Locale::gettext required

Reported by: ch-macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard Cc: ryandesign (Ryan Carsten Schmidt)
Port: help2man

Description (last modified by nerdling (Jeremy Lavergne))

When attempting to upgrade my tree to 10.6 using the "sudo port upgrade --force installed" method mentioned on the migration page, I get the following error:

...
--->  Installing p5-locale-gettext @1.05_0
--->  Activating p5-locale-gettext @1.05_0
--->  Cleaning p5-locale-gettext
--->  Computing dependencies for help2man
--->  Configuring help2man
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_Users_sly_src_macports_macports_dports_textproc_help2man/work/help2man-1.36.4" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info " returned error 1
Command output: checking for perl... /opt/local/bin/perl
checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ANSI C... none needed
checking for library containing dlsym... none required
checking for module Locale::gettext... no
configure: error: perl module Locale::gettext required

Error: Unable to upgrade port: 1

Change History (8)

comment:1 Changed 15 years ago by ch-macports@…

oops. let's try that output paste again...

...
--->  Installing p5-locale-gettext @1.05_0
--->  Activating p5-locale-gettext @1.05_0
--->  Cleaning p5-locale-gettext
--->  Computing dependencies for help2man
--->  Configuring help2man
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_Users_sly_src_macports_macports_dports_textproc_help2man/work/help2man-1.36.4" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info " returned error 1
Command output: checking for perl... /opt/local/bin/perl
checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ANSI C... none needed
checking for library containing dlsym... none required
checking for module Locale::gettext... no
configure: error: perl module Locale::gettext required

Error: Unable to upgrade port: 1

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Keywords: snowleopard added; 10.6 removed

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Is it able to build if you clean, uninstall, and install these?

comment:4 in reply to:  3 Changed 15 years ago by ch-macports@…

Replying to snc@…:

Is it able to build if you clean, uninstall, and install these?

Not sure what you mean by "these", but if you mean p5-locale-gettext and help2man, then the answer is no.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Keywords: help2man removed
Port: help2man added

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

This is one of the possible failure cases that the Migration page mentions. You'll find that ${prefix}/bin/perl is 32-bit and needs to be rebuilt.

comment:7 in reply to:  6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: wontfix
Status: closedreopened
Summary: building help2man failshelp2man configure failure: perl module Locale::gettext required

Replying to jmr@…:

This is one of the possible failure cases that the Migration page mentions.

Well, it says "Note that this method may sometimes fail [...] if ports other than gawk/grep/gsed are used opportunistically". It doesn't specifically mention perl, though I agree perl could be used opportunistically too.

You'll find that ${prefix}/bin/perl is 32-bit and needs to be rebuilt.

Then why didn't MacPorts rebuild it? help2man declares a dependency on perl. p5-locale-gettext, which the output shows was already upgraded, is a member of the perl5 portgroup, which also declares a dependency on perl.

comment:8 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: reopenedclosed

We don't need two tickets for this; duping this one to #21069.

Note: See TracTickets for help on using tickets.