Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130248 - help2man doesn't compile because perl module Locale::gettext is required
Summary: help2man doesn't compile because perl module Locale::gettext is required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 133225 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-17 05:31 UTC by Steffen Bauch
Modified: 2010-11-14 21:59 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
help2man bugreport session log (help2man.bugreport,17.71 KB, text/plain)
2006-04-17 05:42 UTC, Steffen Bauch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Bauch 2006-04-17 05:31:52 UTC
I try to build a new system with Gentoo 2006.0 from stage1.
emerge -e system stops at help2man

(Just oneshot to reproduce)

euler ~ # emerge -1 help2man
Calculating dependencies... done!
>>> Emerging (1 of 1) sys-apps/help2man-1.33.1 to /
>>> checksums files   ;-) help2man-1.35.1.ebuild
>>> checksums files   ;-) help2man-1.29.ebuild
>>> checksums files   ;-) help2man-1.33.1.ebuild
>>> checksums files   ;-) files/digest-help2man-1.29
>>> checksums files   ;-) files/digest-help2man-1.33.1
>>> checksums files   ;-) files/digest-help2man-1.35.1
>>> checksums src_uri ;-) help2man-1.33.1.tar.gz
>>> Unpacking source...
>>> Unpacking help2man-1.33.1.tar.gz to /var/tmp/portage/help2man-1.33.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/help2man-1.33.1/work/help2man-1.33.1 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls --build=i686-pc-linux-gnu
checking for perl... perl
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... 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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for library containing dlsym... -ldl
checking for module Locale::gettext... no
configure: error: perl module Locale::gettext required

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/help2man-1.33.1/work/help2man-1.33.1/config.log

!!! ERROR: sys-apps/help2man-1.33.1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  help2man-1.33.1.ebuild, line 19:   Called econf '--enable-nls'
  ebuild.sh, line 527:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Locale--gettext was compiled right before, but also doesn't seem to be right.

euler ~ # emerge -e -pv system

These are the packages that would be merged, in order:

Calculating system dependencies ... done!
[ebuild  N    ] sys-devel/patch-2.5.9  USE="-build -static" 0 kB 
[ebuild  N    ] sys-libs/zlib-1.2.3  USE="-build" 0 kB 
[ebuild  N    ] sys-libs/gpm-1.20.1-r4  USE="-emacs" 0 kB 
[ebuild  N    ] sys-libs/ncurses-5.4-r6  USE="gpm unicode -bootstrap -build -debu
g -doc* -minimal -nocxx" 0 kB 
[ebuild  N    ] app-shells/bash-3.1_p16  USE="nls -afs -bashlogger -build" 0 kB 
[ebuild  N    ] sys-libs/readline-5.1_p4  0 kB 
[ebuild  N    ] sys-devel/binutils-config-1.8-r7  0 kB 
[ebuild  N    ] sys-devel/gnuconfig-20060227  0 kB 
[ebuild  N    ] sys-devel/binutils-2.16.1  USE="nls -multislot -multitarget -test
 -vanilla" 0 kB 
[ebuild  N    ] sys-devel/m4-1.4.4  USE="nls" 0 kB 
[ebuild  N    ] sys-devel/bison-2.1  USE="nls -static" 0 kB 
[ebuild  N    ] virtual/libintl-0  0 kB 
[ebuild  N    ] sys-apps/sed-4.1.4-r1  USE="nls -bootstrap -build -static" 0 kB 
[ebuild  N    ] sys-apps/texinfo-4.8-r2  USE="nls -build -static" 0 kB 
[ebuild  N    ] sys-devel/gcc-config-1.3.13-r1  0 kB 
[ebuild  N    ] sys-devel/gcc-3.4.5-r1  USE="fortran gtk nls -bootstrap -boundsch
ecking -build -doc* -gcj -hardened -ip28 -multislot -nocxx -nopie -nossp -objc -v
anilla" 0 kB 
[ebuild  N    ] sys-libs/libstdc++-v3-3.3.4  USE="nls nptl -build" 0 kB 
[ebuild  N    ] sys-kernel/linux-headers-2.6.11-r2  0 kB 
[ebuild  N    ] sys-libs/timezone-data-2006a  0 kB 
[ebuild  N    ] sys-libs/glibc-2.3.5-r3  USE="nls nptl -build -erandom -glibc-com
pat20 -glibc-omitfp -hardened -linuxthreads-tls -nptlonly -pic -profile -userloca
les" 0 kB 
[ebuild  N    ] sys-devel/gettext-0.14.4  USE="nls -doc -emacs" 0 kB 
[ebuild  N    ] sys-apps/diffutils-2.8.7-r1  USE="nls -static" 0 kB 
[ebuild  N    ] sys-apps/findutils-4.1.20-r2  USE="nls -build -static" 0 kB 
[ebuild  N    ] dev-java/java-config-1.2.11-r1  0 kB 
[ebuild  N    ] dev-java/blackdown-jre-1.4.2.03  USE="mozilla nsplugin -browserpl
ugin" 0 kB 
[ebuild  N    ] dev-lang/tcl-8.4.9  USE="threads" 0 kB 
[ebuild  N    ] perl-core/Test-Simple-0.62  USE="-minimal" 0 kB 
[ebuild  N    ] virtual/perl-Test-Simple-0.62  0 kB 
[ebuild  N    ] dev-perl/Locale-gettext-1.05  USE="-minimal" 0 kB 
[ebuild  N    ] sys-apps/help2man-1.33.1  USE="nls" 0 kB 
[ebuild  N    ] sys-devel/autoconf-2.13  0 kB 

<-cut->

Oneshot 

euler ~ # emerge -1 Locale-gettext

Calculating dependencies ... done!
>>> Emerging (1 of 1) dev-perl/Locale-gettext-1.05 to /
>>> checksums files   ;-) Locale-gettext-1.04.ebuild
>>> checksums files   ;-) Locale-gettext-1.01-r1.ebuild
>>> checksums files   ;-) Locale-gettext-1.03.ebuild
>>> checksums files   ;-) Locale-gettext-1.05.ebuild
>>> checksums files   ;-) files/digest-Locale-gettext-1.01-r1
>>> checksums files   ;-) files/digest-Locale-gettext-1.03
>>> checksums files   ;-) files/digest-Locale-gettext-1.04
>>> checksums files   ;-) files/digest-Locale-gettext-1.05
>>> checksums src_uri ;-) gettext-1.05.tar.gz
>>> Unpacking source...
>>> Unpacking gettext-1.05.tar.gz to /var/tmp/portage/Locale-gettext-1.05/work
>>> Compiling source in /var/tmp/portage/Locale-gettext-1.05/work/gettext-1.05 ..
.
 * Using ExtUtils::MakeMaker
checking for gettext... no
checking for gettext in -lintl...gettext function not found. Please install libintl at Makefile.PL line 18.
 no
>>> Source compiled.
>>> Test phase [not enabled]: dev-perl/Locale-gettext-1.05

>>> Install Locale-gettext-1.05 into /var/tmp/portage/Locale-gettext-1.05/image/ 
category dev-perl
>>> Completed installing Locale-gettext-1.05 into /var/tmp/portage/Locale-gettext
-1.05/image/

< -- cut --> 



euler ~ # emerge --info

Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.16.1
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acpi aim alsa apache2 apm arts avi bash-completion berkdb bidi bitmap-fonts bluetooth cairo canna cdparanoia cdr cjk cli crypt ctype cups curl dba dri dv dvb dvd dvdr dvdread eds emboss encode esd ethereal exif expat fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glitz glut gnome gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick imap imlib innodb ipv6 isdnlog jabber jack java javascript joystick jpeg kde ldap libcaca libg++ libwww lirc lm_sensors mad memlimit mikmod mime mmx motif mozilla mp3 mpeg mysql ncurses nls nocd nptl nsplugin ogg opengl oss pam pcre pdflib perl php plotutils png posix postgres pppd python qt quicktime readline recode ruby samba sasl sdl session simplexml snmp soap sockets spell spl sse ssl svg tcltk tcpd tetex threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb verbose vhosts vorbis wifi win32codecs xinerama xml xmlrpc xmms xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_fglrx video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS

I have also tested without the overlay for xgl, seems to have no no effect.
Comment 1 Steffen Bauch 2006-04-17 05:42:26 UTC
Created attachment 84831 [details]
help2man bugreport session log
Comment 2 MT 2006-04-18 07:43:43 UTC
the problem occur with USE="nls", try to compile help2man without it.

this bugreport can be related to this? http://bugs.gentoo.org/show_bug.cgi?id=120311
Comment 3 Johannes Hirte 2006-04-28 13:40:10 UTC
emerge -ep system helps, even with nls enabled
Comment 4 SpanKY gentoo-dev 2006-05-08 21:02:40 UTC
hey bsd guys, think you could remove your crap ?  cause it's breaking a lot of people here
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-08 22:02:40 UTC
help2man crap -> go talk with portage guys
Comment 6 solar (RETIRED) gentoo-dev 2006-05-09 07:04:25 UTC
(In reply to comment #5)
> help2man crap -> go talk with portage guys

Whats this have todo with portage?
Comment 7 Stephen Bennett (RETIRED) gentoo-dev 2006-05-09 07:36:47 UTC
I suspect that by 'talk with portage guys' he means 'bug portage guys until they include package.use.mask support in 2.1'.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-09 09:12:41 UTC
No, I literally mean that they forced me to put that crap there as I'm not going to have the per-package use.mask that was asked 10 months ago until portage 2.2, even after asking for it recently pointing out the need of Gentoo/FreeBSD for it.
Comment 9 Zac Medico gentoo-dev 2006-05-09 11:10:39 UTC
(In reply to comment #8)
> No, I literally mean that they forced me to put that crap there as I'm not
> going to have the per-package use.mask that was asked 10 months ago until
> portage 2.2, even after asking for it recently pointing out the need of
> Gentoo/FreeBSD for it.

I haven't seen a patch for bug 96368 yet.  I suppose that if somebone writes an acceptable patch, it can go into a 2.1.1 release or something (given that 2.1 is frozen).  With a little luck, it might even be possible for this hypothetical 2.1.1 release to be ready in time for 2006.1.  So really, the only thing preventing bug 96368 from getting fixed is lack of manpower (people power, or whatever).
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-09 11:23:02 UTC
I'm quite sure that yesterday genone said it had to be postponed until 2.2, after which I said that I would have used the hacky way on help2man as 2.2 is too away and help2man is in system and I needed it to be fixed one way or the other.
Comment 11 Zac Medico gentoo-dev 2006-05-09 11:37:36 UTC
(In reply to comment #10)
> I'm quite sure that yesterday genone said it had to be postponed until 2.2,

Well I'm not sure that genone's statement is final.  If we've got a patch then I'd say it's worthy of further discussion.
Comment 12 Stephen Bennett (RETIRED) gentoo-dev 2006-05-09 19:44:59 UTC
(In reply to comment #9)
> I haven't seen a patch for bug 96368 yet.  I suppose that if somebone writes an
> acceptable patch, it can go into a 2.1.1 release or something (given that 2.1
> is frozen).

Antarus had a patch ~2 weeks ago. Try http://dev.gentoo.org/~antarus/projects/portage/patches/portage-per-package-usemask.patch, and if that's not acceptable it can be cleaned up easily enough.
Comment 13 SpanKY gentoo-dev 2006-05-13 13:30:16 UTC
*** Bug 133225 has been marked as a duplicate of this bug. ***
Comment 14 Nathan Sullivan 2006-05-16 14:52:48 UTC
temp solution until the bsd <-> portage war is over? :) /me wants to get his system up for now...
Comment 15 Alessio 2006-05-17 00:00:49 UTC
There is a little workaround until this bug fixing.
You can #emerge perl
then
#emerge dev-perl/Locale-gettext
Comment 16 Fabio Bonfante 2006-05-19 04:38:21 UTC
worked for me without nls use flag, on amd64 and 2006.0 live cd
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-02 05:10:45 UTC
OK, guys.  I really don't give a crap whose fault it is, you have ~ 1 month to fix it before you're blocking 2006.1, so try to get along, please.

Hugs and kisses,

Release Engineering
Comment 18 Michael Cummings (RETIRED) gentoo-dev 2006-06-06 19:13:38 UTC
emerge --sync in a few hours. The die bug has been fixed in the eclass, the dep has been fixed in perl-5.8.8-r2 directly (dropping a dup'd block and removing the dep on coreutils, which was causing the bad loop).
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-08 17:52:01 UTC
Fixed?
Comment 20 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-08 17:59:13 UTC
WFM
Comment 21 Tobias Scherbaum (RETIRED) gentoo-dev 2006-06-08 23:25:12 UTC
(In reply to comment #19)
> Fixed?
> 

Fixed.
Comment 22 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-10 07:59:56 UTC
K
Comment 23 Attila Oláh 2010-10-25 17:43:28 UTC
Strange, this hit me with the recent perl upgrade to 5.12.2-r1.
Comment 24 SpanKY gentoo-dev 2010-10-25 18:03:07 UTC
probably because you didnt follow the perl upgrade instructions
Comment 25 Attila Oláh 2010-10-25 18:07:51 UTC
(In reply to comment #24)
> probably because you didnt follow the perl upgrade instructions

Aww, you're right; I remember now reading it in "eselect news" a few days ago. Anyway, I have it working now, sorry for bringing a four-years-old thread back to life.
Comment 26 VinyJones 2010-11-14 21:59:51 UTC
(In reply to comment #25)
It's help a lot. 
Me too, I hadn't read it. 
#perl-cleaner --all
Fixe it
thanks