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.
Created attachment 64123 [details] configure log log
Patrizio: could you attach the output of `emerge --info`?
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
no news here? all my nls apps works perfectly, there should be something with eb..
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.
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.
I've just bumped eb to 4.2.1. Does the problem still persist?
exactly same error
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?
The code is in the right. In normally, gettext translate from foo to bar. cf. ${S}/gttest.po
the bug is gone with lastest 4.2.2 i mark as closed so.