Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94789 - gtk+-1.2.10-r11 fails to emerge with LINGUAS="zh_CN zh_TW" in make.conf
Summary: gtk+-1.2.10-r11 fails to emerge with LINGUAS="zh_CN zh_TW" in make.conf
Status: RESOLVED DUPLICATE of bug 53465
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 94833
  Show dependency tree
 
Reported: 2005-06-01 20:39 UTC by Perry Lu
Modified: 2005-06-02 09:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perry Lu 2005-06-01 20:39:59 UTC
as I do so, I will receive the following errors:

make[2]: *** No rule to make target `zh_CN.gmo', needed by `all-yes'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10'
make: *** [all-recursive-am] Error 2

apparently, this is due to mismatching locale naming convention, instead of
zh_CN.gmo and zh_TW.gmo like most other programs have, gtk+-1.2.10 provides
zh_CN.GB2312.gmo and zh_TW.Big5.gmo.

there are two trivial work-arounds to this, either change LINGUAS to
"zh_CN.GB2312 zh_TW.Big5" or change the filenames of the gmo files.

traditionally, changing LINGUAS would let everything compile fine, but lately
I've noticed if I do that, most other programs will not install locales for
zh_CN and zh_TW, since they only accept "zh_CN zh_TW" for LINGUAS.

on the side note, though most programs accept "zh_CN zh_TW", there are ones
require it to be "zh_CN.GB2312 zh_TW.Big5", which I dont really see the point,
since they dont include any other encodings other than GB2312 and Big5 for zh_CN
and zh_TW anyways. such programs are dev-util/indent-2.2.9-r2 and
sys-apps/eject-2.0.13-r2.

I hope this problem can be addressed in the ebuilds.

Reproducible: Always
Steps to Reproduce:
1.add LINGUAS="zh_CN zh_TW" in make.conf
2.emerge =x11-libs/gtk+-1.2.10-r11
3.see it crash and burn

Actual Results:  
emerge fails

Expected Results:  
emerge successfully with specified locales

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-ck8-r1 i686)
=================================================================
System uname: 2.6.11-ck8-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_CA.utf8"
LC_ALL="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="en ja zh_CN zh_TW"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portagejp /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit X a52 aac aalib acpi alsa avi berkdb cairo ccache cdr cjk crypt
cups curl dga dhcp directfb divx4linux dvd dvdr emboss encode esd fam firefox
flac font-server fortran gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2
gtkhtml hal imagemagick imlib ipv6 java jpeg ldap libg++ libwww mad maildir
matroska mikmod mime mmx mono motif mp3 mpeg mplayer mysql ncurses nls nptl
nvidia offensive ogg oggvorbis opengl oss pam pdflib perl png posix python
quicktime readline real rtc samba sdl slang spell sse sse2 ssl svga tcltk tcpd
tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales
v4l vorbis win32codecs xml xml2 xmms xprint xscreensaver xv xvid zlib linguas_en
linguas_ja linguas_zh_CN linguas_zh_TW userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-01 22:48:21 UTC

*** This bug has been marked as a duplicate of 53465 ***