When I try to upgrade from net-tools-1.60-r8 to r11, it gives an error during the emerge steps. It is related somehow to i18n and xgettext (I think), but I haven't been able to figure out why. Reproducible: Always Steps to Reproduce: 1.emerge -u net-tools Actual Results: i686-pc-linux-gnu-gcc -O3 -march=pentium4 -pipe -I. -idirafter ./include/ -Ilib -D_GNU_SOURCE -Wall -Llib ether-wake.c -o ether-wake make[1]: Entering directory `/var/tmp/portage/net-tools-1.60-r11/work/net-tools-1.60/po' xgettext --default-domain=net-tools \ --add-comments --keyword=_ --keyword=N_ ../arp.c ../hostname.c ../ifconfig.c ../netstat.c ../rarp.c ../route.c ../plipconfig.c ../iptunnel.c ../statistics.c ../lib/activate.c ../lib/af.c ../lib/arcnet.c ../lib/ash.c ../lib/ax25.c ../lib/ax25_gr.c ../lib/ddp.c ../lib/ddp_gr.c ../lib/econet.c ../lib/ether.c ../lib/fddi.c ../lib/frame.c ../lib/getargs.c ../lib/getroute.c ../lib/hdlclapb.c ../lib/hippi.c ../lib/hw.c ../lib/inet.c ../lib/inet6.c ../lib/inet6_gr.c ../lib/inet6_sr.c ../lib/inet_gr.c ../lib/inet_sr.c ../lib/ipx.c ../lib/ipx_gr.c ../lib/ipx_sr.c ../lib/loopback.c ../lib/masq_info.c ../lib/nstrcmp.c ../lib/netrom.c ../lib/netrom_gr.c ../lib/netrom_sr.c ../lib/ppp.c ../lib/ppp_ac.c ../lib/proc.c ../lib/rose.c ../lib/rose_gr.c ../lib/setroute.c ../lib/sit.c ../lib/slip.c ../lib/slip_ac.c ../lib/tr.c ../lib/tunnel.c ../lib/unix.c ../lib/util.c ../lib/interface.c ../lib/sockets.c ../lib/util-ank.c ../ipmaddr.c ../slattach.c ../iptunnel.c msgfmt -o de.mo de.po Unrecognized option: - usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>] ... [-p<path>] [-x<xlist>] - | file xgettext -h (HELP) Unrecognized option: - usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>] ... [-p<path>] [-x<xlist>] - | file xgettext -h (HELP) Unrecognized option: - usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>] ... [-p<path>] [-x<xlist>] - | file xgettext -h (HELP) Unrecognized option: - usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>] ... [-p<path>] [-x<xlist>] - | file xgettext -h (HELP) if cmp -s net-tools.po net-tools.pot; then \ rm -f net-tools.po; \ else \ mv net-tools.po net-tools.pot; \ fi usage: msgfmt [ -dv ] [ - ] [ name ... ] de.mo: No such file or directory make[1]: *** [de.mo] Erreur 2 make[1]: *** Attente des t
When I try to upgrade from net-tools-1.60-r8 to r11, it gives an error during the emerge steps. It is related somehow to i18n and xgettext (I think), but I haven't been able to figure out why. Reproducible: Always Steps to Reproduce: 1.emerge -u net-tools Actual Results: i686-pc-linux-gnu-gcc -O3 -march=pentium4 -pipe -I. -idirafter ./include/ -Ilib -D_GNU_SOURCE -Wall -Llib ether-wake.c -o ether-wake make[1]: Entering directory `/var/tmp/portage/net-tools-1.60-r11/work/net-tools-1.60/po' xgettext --default-domain=net-tools \ --add-comments --keyword=_ --keyword=N_ ../arp.c ../hostname.c ../ifconfig.c ../netstat.c ../rarp.c ../route.c ../plipconfig.c ../iptunnel.c ../statistics.c ../lib/activate.c ../lib/af.c ../lib/arcnet.c ../lib/ash.c ../lib/ax25.c ../lib/ax25_gr.c ../lib/ddp.c ../lib/ddp_gr.c ../lib/econet.c ../lib/ether.c ../lib/fddi.c ../lib/frame.c ../lib/getargs.c ../lib/getroute.c ../lib/hdlclapb.c ../lib/hippi.c ../lib/hw.c ../lib/inet.c ../lib/inet6.c ../lib/inet6_gr.c ../lib/inet6_sr.c ../lib/inet_gr.c ../lib/inet_sr.c ../lib/ipx.c ../lib/ipx_gr.c ../lib/ipx_sr.c ../lib/loopback.c ../lib/masq_info.c ../lib/nstrcmp.c ../lib/netrom.c ../lib/netrom_gr.c ../lib/netrom_sr.c ../lib/ppp.c ../lib/ppp_ac.c ../lib/proc.c ../lib/rose.c ../lib/rose_gr.c ../lib/setroute.c ../lib/sit.c ../lib/slip.c ../lib/slip_ac.c ../lib/tr.c ../lib/tunnel.c ../lib/unix.c ../lib/util.c ../lib/interface.c ../lib/sockets.c ../lib/util-ank.c ../ipmaddr.c ../slattach.c ../iptunnel.c msgfmt -o de.mo de.po Unrecognized option: - usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>] ... [-p<path>] [-x<xlist>] - | file xgettext -h (HELP) Unrecognized option: - usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>] ... [-p<path>] [-x<xlist>] - | file xgettext -h (HELP) Unrecognized option: - usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>] ... [-p<path>] [-x<xlist>] - | file xgettext -h (HELP) Unrecognized option: - usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>] ... [-p<path>] [-x<xlist>] - | file xgettext -h (HELP) if cmp -s net-tools.po net-tools.pot; then \ rm -f net-tools.po; \ else \ mv net-tools.po net-tools.pot; \ fi usage: msgfmt [ -dv ] [ - ] [ name ... ] de.mo: No such file or directory make[1]: *** [de.mo] Erreur 2 make[1]: *** Attente des tâches non terminées.... make[1]: Leaving directory `/var/tmp/portage/net-tools-1.60-r11/work/net-tools-1.60/po' make: *** [i18ndir] Erreur 2 !!! ERROR: sys-apps/net-tools-1.60-r11 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! emake i18ndir failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Compile cleanly imsg3-mx root # emerge --info Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 12 2005, 10:25:15)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.4, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.gg3.net/ http://mirror.averse.net/pub/gentoo/" LANG="fr_FR.utf8" LC_ALL="fr_FR.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="x86 X aac aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzlib cdr cjk crypt cups curl dedicated directfb divx4linux dvd dvdread emboss encode escreen exif fbcon flac flash font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 howl imagemagick imlib innodb ipv6 jabber java jit jpeg junit libg++ libwww mad matroska mbox memlimit mikmod mime mmx mmx2 mng motif mozilla mp3 mpeg mysql nas ncurses nls nocd nowin nptl nvidia oggvorbis opengl oss pam pdflib perl png python quicktime readline real samba sdl shared sharedmem sockets socks5 sox spell sse sse2 ssl stroke svga szip tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb videos wmf xine xinerama xml xml2 xmms xpm xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
I did some research on this ... and : I think this is a problem with gettext, since when I'm compiling xchat with nls USE enabled, it fails. >> http://xchat.org/faq So I re-emerged gettext, it told me to do revdep-rebuild --soname libintl.so.2 I think this should fix the problem.
Fixed. Steps to fix : 1. emerge gettext 2. revdep-rebuild --soname libintl.so.2 3. emerge net-tools