Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100019 - dev-libs/eb-4.2 fails with nls flag
Summary: dev-libs/eb-4.2 fails with nls flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-23 05:01 UTC by Patrizio Bassi
Modified: 2006-04-04 00:50 UTC (History)
1 user (show)

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


Attachments
configure log (config.log,55.78 KB, text/plain)
2005-07-23 05:01 UTC, Patrizio Bassi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2005-07-23 05:01:28 UTC
checking for libiconv_open... no 
checking for locale_charset... no 
checking iconv.h usability... yes 
checking iconv.h presence... yes 
checking for iconv.h... yes 
checking libcharset.h usability... no 
checking libcharset.h presence... no 
checking for libcharset.h... no 
checking for NLS support... no 
configure: error: gettext not available 
 
!!! Please attach the config.log to your bug report: 
!!! /var/tmp/portage/eb-4.2/work/eb-4.2/config.log 
 
!!! ERROR: dev-libs/eb-4.2 failed. 
!!! Function econf, Line 485, Exitcode 0 
!!! econf failed 
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Patrizio Bassi 2005-07-23 05:01:58 UTC
Created attachment 64123 [details]
configure log

log
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-07-31 01:08:22 UTC
Patrizio: could you attach the output of `emerge --info`?
Comment 3 Patrizio Bassi 2005-07-31 12:40:34 UTC
i don't think it's much usefull, as i have nls working for whole system...however.. 
 
emerge info: 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-rc3-git9 
i686) 
================================================================= 
System uname: 2.6.13-rc3-git9 i686 Pentium III (Katmai) 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
ccache version 2.4 [disabled] 
dev-lang/python:     2.3.5-r1, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx 
-msse" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam /var/spool/dspam" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer 
-mmmx -msse" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.ngi.it 
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" 
LANG="it_IT@euro" 
LC_ALL="it_IT@euro" 
LINGUAS="it" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns alsa 
apache2 apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo 
bootsplash caps cdda cddb cdio cdparanoia cdr chroot clamav client codecs crypt css 
cups curl dba dbus dga dhcp directfb divx4linux djbfft dlloader edl eds emboss encode 
ethereal exif extraengine faac faad fam fbcon ffmpeg fftw flac flash foomaticdb 
foreign-package fortran freetds gcj gd gdbm geometry ggi gif gimp gimpprint gnokii 
gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile iconv idea 
imagemagick imlib innodb irda irmc jack java javascript jikes jit joystick jpeg jpeg2k 
junit justify kde kdeenablefinal kerberos lcd ldap libcaca libclamav libg++ libgda libusb 
libwww lirc live lm_sensors lzo mad mailwrapper matroska md5sum mdb mikmod 
mime mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg 
mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mysql mysqli mythtv nagios-dns 
nagios-ntp nagios-ping nagios-ssh ncurses neXt network nls nntp no_wxgtk1 nobsh 
nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg oggvorbis opengl 
operanom2 oss pam pda pdf pdflib perl png pnp postgres ppds pthreads python 
qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl 
server session sftplogging slang slp snortsam soap sockets socks5 softmmu softquota 
spamassassin spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora 
tiff truetype truetype-fonts trusted type1-fonts usb userlocales vidix vorbis win32codecs 
wsconvert wxwindows xanim xchatdccserver xine xinerama xml xml2 xmlrpc xmms 
xosd xpm xprint xv xvid xvm xvmc zlib linguas_it userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS 
 
Comment 4 Patrizio Bassi 2005-08-24 06:18:36 UTC
no news here? 
 
all my nls apps works perfectly, there should be something with eb.. 
Comment 5 Patrizio Bassi 2005-08-26 03:07:16 UTC
i just tried this: 
in /var/tmp/portage/eb-4.2/work/eb-4.2/m4 
that's gettext.m4 
 
@ line 310 you find: 
AC_MSG_ERROR(gettext not available) 
 
this is the blocking error. 
just add an "echo" in front of, and rerun autoconf in main dir. 
it works. 
 
nls works, configure is pretty bugged. 
 
Comment 6 Patrizio Bassi 2005-08-26 03:11:18 UTC
confirmation is:  
strace /usr/bin/ebinfo  
open("/usr/share/locale/it_IT@euro/LC_MESSAGES/eb.mo", O_RDONLY) = -1  
ENOENT (No such file or directory)  
open("/usr/share/locale/it@euro/LC_MESSAGES/eb.mo", O_RDONLY) = -1 ENOENT  
(No such file or directory)  
open("/usr/share/locale/it_IT/LC_MESSAGES/eb.mo", O_RDONLY) = -1 ENOENT (No  
such file or directory)  
open("/usr/share/locale/it/LC_MESSAGES/eb.mo", O_RDONLY) = -1 ENOENT (No  
such file or directory)  
write(2, "/usr/bin/ebinfo: failed to open "..., 47/usr/bin/ebinfo: failed to open a catalog file  
  
  
it's using nls, but seems that translated messages are not merged in. 
 
and it's good cause in sources there are few po/mo files, jap stuff seems. 
 
apply this patch and close. 
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-10-28 19:50:31 UTC
I've just bumped eb to 4.2.1. Does the problem still persist?
Comment 8 Patrizio Bassi 2005-10-29 03:08:58 UTC
exactly same error  
Comment 9 Patrizio Bassi 2005-11-02 06:44:02 UTC
i think i found the problem: 
 
in config.log i see: 
 
 p = gettext("foo"); 
   if (*p == 'b' && *(p + 1) == 'a' && *(p + 2) == 'r' && *(p + 3) == '\0') 
     return 0; 
   return 1; 
 
 
it should mean: translate "foo" and check if result is "bar" 
why??? 
 
changing to: 
 
 p = gettext("foo"); 
   if (*p == 'f' && *(p + 1) == 'o' && *(p + 2) == 'o' && *(p + 3) == '\0') 
     return 0; 
   return 1; 
 
works. 
 
foo is foo! 
can you patch this please? 
Comment 10 MATSUU Takuto (RETIRED) gentoo-dev 2005-11-02 14:45:19 UTC
The code is in the right.
In normally, gettext translate from foo to bar.
cf. ${S}/gttest.po
Comment 11 Patrizio Bassi 2006-04-04 00:50:11 UTC
the bug is gone with lastest 4.2.2

i mark as closed so.