Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85223 - cannot build gtk 1.2 when LINGUAS contains "C"
Summary: cannot build gtk 1.2 when LINGUAS contains "C"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC All
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-14 07:58 UTC by Michal Suchanek
Modified: 2005-03-25 20:14 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 Michal Suchanek 2005-03-14 07:58:48 UTC
$ emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.19 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.8.0 Power Macintosh)
=================================================================
System uname: 7.8.0 Power Macintosh powerpc
macos-20040726
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
ccache version 2.2 [enabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  2.57
sys-devel/automake:  1.9.4
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache collision-protect cvs distlocks fixpackages keepwork strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X emboss nls opengl png ppc-macos linguas_C linguas_POSIX linguas_en_US linguas_en_US.UTF-8 linguas_cs_CZ linguas_cs_CZ.UTF-8"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS


$ emerge --oneshot =x11-libs/gtk+-1.2.10-r11
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/gtk+-1.2.10-r11 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) gtk+-1.2.10-r10.ebuild
>>> md5 files   ;-) gtk+-1.2.10-r11.ebuild
>>> md5 files   ;-) gtk+-2.4.13-r1.ebuild
>>> md5 files   ;-) gtk+-2.4.14.ebuild
>>> md5 files   ;-) gtk+-2.4.9-r1.ebuild


...

>>> md5 src_uri ;-) gtk+-1.2.10.tar.gz
>>> md5 src_uri ;-) gtk+-1.2.10-r8-gentoo.diff.bz2
>>> Unpacking source...
>>> Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work
 * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ...                                                                                                                   [ ok ]
 * Applying gtk+-1.2-locale_fix.patch ...                                                                                                                        [ ok ]
 * Using GNU config files from /usr/share/gnuconfig
 *  Updating config.sub                                                                                                                                          [ ok ]
 *  Updating config.guess                                                                                                                                        [ ok ]
>>> Source unpacked.
You should update your `aclocal.m4' by running aclocal.
 * Applying Darwin/libtool patches ...
 *  Fixing ${S}/ltconfig...                                                                                                                                      [ ok ]
 *  Fixing ${S}/ltmain.sh...                                                                                                                                     [ ok ]
 * Patching ${S}/ltmain.sh ...
 *   Applying portage-1.4.1.patch ...
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.4.3.patch ...
 *   Applying tmp-1.3.5.patch ...
 * Applying uClibc/libtool patches ...
 *  Fixing ${S}/ltconfig...                                                                                                                                      [ ok ]
 * econf: updating gtk+-1.2.10/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gtk+-1.2.10/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=powerpc-apple-darwin --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc --with-xinput=xfree --with-x --enable-debug=minimum
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes

...

checking for bindtextdomain in -lintl... yes
checking for dgettext in libintl... checking for dgettext in -lintl... yes
yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  C
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed

...

creating ./config.status
creating gtk+.spec
creating docs/gtk-config.1
creating Makefile
creating gtk-config
creating po/Makefile.in
creating docs/Makefile
creating gdk/Makefile
creating gtk/Makefile
creating gtk/gtkfeatures.h
creating gdk.pc
creating gtk+.pc
creating config.h
make  all-recursive
Making all in po
PATH=../src:$PATH /usr/bin/xgettext --default-domain=gtk+ --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
&& test ! -f gtk+.po \
   || ( rm -f ./gtk+.pot \
        && mv gtk+.po ./gtk+.pot )
make[2]: *** No rule to make target `C.gmo', needed by `all-yes'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-libs/gtk+-1.2.10-r11 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2005-03-25 20:14:59 UTC
As far as I can tell, "C" isn't a valid LINGUAS, you want something like "en" etc, there's a good list at the end of http://gentoo-wiki.com/TIP_Speak_Your_Language

Reopen if I'm wrong