It fails with: fi.po:735: duplicate message definition... fi.po:446: ...this is the location of the first definition /usr/bin/gmsgfmt: found 1 fatal error make: *** [fi.gmo] Error 1
Your emerge --info please.
Well, gettext is 0.17, the rest is in my experience irrelevant here. After all, it's either gettext, package itself, or something that not in emerge --info in the first place. (while this should not matter, it's x86, mostly stable - meaning a large package.keywords) And I don't think it's gettext, cause it's gone through a few po files, before it stopped at fi.po and the rest of it builds fine, when I go into WORKDIR and run make inside each dir, except po/.
OK, if that's irrelevant to you...
Well, after more testing: only files that fail are he.po pt.po sv.po.
And not fi.po suddenly?
fi.po too, I simply misssed it in previous comment.
If you won't post your emerge --info, then at least attach the build log and a patch to fix the issue.
You would in particular want to look at 140_all_ui_tooltip.patch
Created attachment 156265 [details] build.log I'll attach the build log, but I don't think you'll find there more than the error I've already posted. The problem with the patch is that I don't see anything wrong with those files.
Created attachment 156267 [details] net-print:gnome-cups-manager-0.33:20080610-185414.log Tue Jun 10 20:49:10 CEST 2008 Portage 2.1.5 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5-JeR i686) ================================================================= System uname: 2.6.24-gentoo-r5-JeR i686 Pentium III (Coppermine) Timestamp of tree: Tue, 10 Jun 2008 16:49:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS=" -Os -march=pentium3 -pipe " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS=" -Os -march=pentium3 " DISTDIR="/keeps/gentoo/distfiles" FEATURES="autoaddcvs buildpkg cvs distcc distlocks fixpackages metadata-transfer notitles parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ " LC_ALL="en_US.UTF-8" LDFLAGS="" LINGUAS="en nl fi" MAKEOPTS="-j5" PKGDIR="/keeps/gentoo/packages/karsten" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/keeps/gentoo/portage" PORTDIR_OVERLAY="/keeps/gentoo/local" SYNC="rsync://10.0.0.153/gentoo-portage" USE="X a52 aac aalib acpi aio alsa aoss apache2 asf audiofile bash-completion berkdb bl bzip2 cairo caps cdda cdparanoia cdr chroot cli cpudetection cracklib crypt cscope cups curl custom-cflags dbus dga dillo directfb dri dts dv dvd dvdr dvdread dxr3 eds emboss encode fam fbcon ffmpeg firefox flash foomaticdb fortran freetype gd gdbm ggi gif gimpprint glitz glut gnome gnutls gpm gs gstreamer gtk gtk2 hal i8x0 iconv idn imagemagick imap imlib ipv6 isdnlog java javascript jpeg kde kdeenablefinal lcms libcaca libsamplerate live lm_sensors logitech-mouse logrotate lzo mad matroska midi mikmod mmx mng modplug motif mozilla mozsvg mozxmlterm mp3 mpeg mudflap musepack nas ncurses network nls nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcre pdf perl physfs pic png ppds pppd python qt qt3 qt4 quicktime readline real reflection rtc ruby samba sasl sdl server session sftplogging slang sndfile speex spell spl sse ssl svg svga sysfs tcl tcpd tetex tga theora threads tiff tk truetype unicode usb userlocales v4l v4l2 vcd vidix vlm vorbis win32codecs winbind x86 xanim xcomposite xlm2 xml xorg xosd xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl fi" USERLAND="GNU" VIDEO_CARDS="i810 fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
You are probably right, that there's something wrong with that patch. And just for the kicks: part of my 'emerge --info': Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.7-r2, 2.6.25-gentoo-r4 i686) ================================================================= System uname: 2.6.25-gentoo-r4 i686 AMD Athlon(tm) XP 2500+ Timestamp of tree: Tue, 10 Jun 2008 13:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r1 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.17-r2, 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" I refused to post it before, cause a few of my bugs had been rejected in the past due to 'emerge --info', even though they were perfectly valid.
This fixes the issue: Index: gnome-cups-manager-0.33.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-print/gnome-cups-manager/gnome-cups-manager-0.33.ebuild,v retrieving revision 1.2 diff -u -B -r1.2 gnome-cups-manager-0.33.ebuild --- gnome-cups-manager-0.33.ebuild 10 Jun 2008 17:11:23 -0000 1.2 +++ gnome-cups-manager-0.33.ebuild 10 Jun 2008 19:14:17 -0000 @@ -33,6 +33,8 @@ gnome2_src_unpack cd ${S} + rm "${WORKDIR}"/patches/140_all_ui_tooltip.patch || \ + die "removing patch failed" export EPATCH_SOURCE="${WORKDIR}/patches" \ EPATCH_SUFFIX="patch" \ EPATCH_MULTI_MSG="Applying Ubuntu patches (enhancements) ..." So I guess it's time for a new patchset.
No, that works around the problem, not fixes it. For he.po pt.po sv.po, the fix is rather simple: the original message was reduced in the patch from 4 to 2 lines, as those lines are untranslatable anyway, patch must simply grow to include the changes in translated lines, I'll check fi.po now.
Sorry, it should have been: ...from 5 to 3...
Well, if I remove the block at 735, make works, but this block looks like it's commented out. A bug in gettext ?
Created attachment 156275 [details, diff] patch for po files Hmm... With this patch added on top of the current set, it builds fine, however while I can see valid reasons for the other 3 files, I still fail to see one for fi.po failure.
looks like current ebuild drops patch 140_all_ui_tooltip which was apparently the cause of this problem. I can't reproduce this bug building all locales and FEATUREs="test stricter" emerge -1av gnome-cups-manager so I'll close fixed. Please reopen if you are still experiencing a problem.