I got this error when I tried to update by emerge --update --deep --newuse world Reproducible: Always Steps to Reproduce: 1. 2. 3. i586-pc-linux-gnu-gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -L/usr/lib -o extrusion extrusion.o extrusion-helix2.o extrusion-helix3.o extrusion-helix4.o extrusion-joinoffset.o extrusion-screw.o extrusion-taper.o extrusion-twistoid.o xpm-ximage.o screenhack-gl.o xlock-gl.o fps.o ../xlockmore.o ../../utils/resources.o ../../utils/visual.o ../../utils/visual-gl.o ../../utils/usleep.o ../../utils/yarandom.o ../../utils/hsv.o ../../utils/colors.o rotator.o trackball.o gltrackball.o -L/usr/lib -lXpm -Wl,--export-dynamic -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lGL -lGLU -lXxf86vm -lpthread -lSM -lICE -lXt -lX11 -lXmu -lXext -lm -L/usr/lib -lgle -lXpm -Wl,--export-dynamic -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lGL -lGLU -lXxf86vm -lpthread -lSM -lICE -lXt -lX11 -lXmu -lXext -lm make[1]: Leaving directory `/var/tmp/portage/xscreensaver-4.22-r4/work/xscreensaver-4.22/hacks/glx' make[1]: Entering directory `/var/tmp/portage/xscreensaver-4.22-r4/work/xscreensaver-4.22/po' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: *** No rule to make target `zh.gmo', needed by `all-yes'. Stop. make[1]: Leaving directory `/var/tmp/portage/xscreensaver-4.22-r4/work/xscreensaver-4.22/po' make: *** [default] Error 5 !!! ERROR: x11-misc/xscreensaver-4.22-r4 failed. !!! Function src_compile, Line 127, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
`emerge --info` ?
Created attachment 74125 [details] Emerge --info output. I'm not the original submitter, but enclosed is my emerge --info output. I can reproduce the bug. I strongly suspect this is caused by zh in LINGUAS...
(In reply to comment #2) > I strongly suspect this is caused by zh in LINGUAS... Confirmed, dropping zh from linguas did not give any errors.
Bug is caused by this snippet from xscreensaver-4.22/aclocal.m4: AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; esac done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) ALL_LINGUAS contains zh_TW and zh_CN, but no zh. WHen LINGUAS contains zh in the ebuild environment, *zh* matches zh_TW (or zh_CN), and zh is added to CATALOGS. This causes the failure. aclocal.m4 is generated from various autoconf fragments. This fragment comes from gettext I believe. Workaround: run autoreconf in the build sequence seems to fix the problem. Or bug jwz to update his build environment (esp. gettext).
Created attachment 74133 [details, diff] Patch fix entering partially matching LINGUAS into CATALOGS The enclosed patch fixes the problem.
Created attachment 74134 [details] Updated ebuild. This updated ebuild adds the linguas patch on top of the rest.
Fixed in 4.23, which goes stable today.
Confirmed closed on 4.23-r1 an amd64.
This problem appears again for xscreensaver-5.05
(In reply to comment #9) > This problem appears again for xscreensaver-5.05 > You should have opened a new bug, but luckily I picked it up from my mailbox. The issue should be now fixed with 5.05, and it's going stable.