Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114797 - x11-libs/gtk+-1.2.10-r11 fails to build if LINGUAS contain zh
Summary: x11-libs/gtk+-1.2.10-r11 fails to build if LINGUAS contain zh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Lowest normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 109882 149293 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-07 13:57 UTC by Philippe Troin
Modified: 2006-10-07 01:16 UTC (History)
5 users (show)

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


Attachments
Patch to avoid matching partial LINGUAS in configure (gtk+-1.2.10-linguas.patch,509 bytes, patch)
2005-12-07 13:58 UTC, Philippe Troin
Details | Diff
Updated ebuild (gtk+-1.2.10-r11.ebuild,1.83 KB, text/plain)
2005-12-07 13:59 UTC, Philippe Troin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Troin 2005-12-07 13:57:13 UTC
The exact details are described in bug #113681.
Comment 1 Philippe Troin 2005-12-07 13:58:48 UTC
Created attachment 74254 [details, diff]
Patch to avoid matching partial LINGUAS in configure
Comment 2 Philippe Troin 2005-12-07 13:59:04 UTC
Created attachment 74255 [details]
Updated ebuild
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-01-19 05:42:41 UTC
*** Bug 109882 has been marked as a duplicate of this bug. ***
Comment 4 Aaron Peterson 2006-03-31 22:41:04 UTC
I think this is the problem I'm having...  this updated ebuild has been around for a while now?!!  and it's not in portage yet...

creating gtk+.pc
creating config.h
make  all-recursive
make[1]: Entering directory `/mnt/sata2/portage_tempdir/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10'
Making all in po
make[2]: Entering directory `/mnt/sata2/portage_tempdir/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/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 `zh_TW.gmo', needed by `all-yes'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/sata2/portage_tempdir/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/sata2/portage_tempdir/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-libs/gtk+-1.2.10-r11 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  gtk+-1.2.10-r11.ebuild, line 66:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 5 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-05-18 10:45:00 UTC
gtk-1.x series is unmaintained upstream.  Please migrate towards the gtk-2.x series.
Comment 6 Frederic Grosshans 2006-06-23 06:16:42 UTC
(In reply to comment #5)
> gtk-1.x series is unmaintained upstream.  Please migrate towards the gtk-2.x
> series.

Some packages still need it as adependency (gimpprint, gnash comes to mind), so a complete migration is not always possible yet.

Comment 7 Frederic Grosshans 2006-06-23 06:21:23 UTC
An easy workaround to compile gtk+-1.2 is to :

 USE="-nls" emerge "<gtk+-2"
Comment 8 Jeff 2006-06-29 12:24:28 UTC
(In reply to comment #7)
> An easy workaround to compile gtk+-1.2 is to :
> 
>  USE="-nls" emerge "<gtk+-2"
> 

How to keep gtk+-1 from using nls forever? /etc/portage/package.use? If so, what would it look like?
Comment 9 michael@smith-li.com 2006-07-16 10:27:34 UTC
(In reply to comment #8)
> How to keep gtk+-1 from using nls forever? /etc/portage/package.use? If so,
> what would it look like?

echo '<x11-libs/gtk+-2.0 -nls' >> /etc/portage/package.use
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-27 06:03:13 UTC
*** Bug 149293 has been marked as a duplicate of this bug. ***
Comment 11 Alin Năstac (RETIRED) gentoo-dev 2006-10-07 01:16:06 UTC
Fixed in -r12 by filtering all unsupported LINGUAS.
I hope this revision will be marked stable soon (see bug 150355).