Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58228

Summary: Error Compiling game-controls.c When Emerging gnome-extras/gnome-games-2.7.4
Product: Gentoo Linux Reporter: Derek Berube <derek.berube>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Derek Berube 2004-07-24 15:13:44 UTC
When I attempt to emerge gnome-games 2.7.4, I get compile errors in game-controls.c:22
gil8n-lib.h:27
game-controls.c:201

Full details below.

Reproducible: Always
Steps to Reproduce:
1. At command prompt, type emerge gnome-games

Actual Results:  
The emerge fails with the following error:

In file included from games-controls.c:22:
/usr/include/glib-2.0/glib/gi18n-lib.h:27:2: #error You must define
GETTEXT_PACKAGE before including gi18n-lib.h.
games-controls.c: In function `control_row_activated':
games-controls.c:201: error: `GETTEXT_PACKAGE' undeclared (first use in this
function)
games-controls.c:201: error: (Each undeclared identifier is reported only once
games-controls.c:201: error: for each function it appears in.)
make[2]: *** [games-controls.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-games-2.7.4/work/gnome-games-2.7.4/libgames-support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-games-2.7.4/work/gnome-games-2.7.4'
make: *** [all] Error 2

!!! ERROR: gnome-extra/gnome-games-2.7.4 failed.
!!! Function gnome2_src_compile, Line 38, Exitcode 2
!!! compile failure

Expected Results:  
gnome-games should have emerged without a problem.

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/
http://www.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome-current
/usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kerberos krb4 libg++
libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam
pcmcia pdflib perl png python quicktime readline scanner sdl slang spell ssl
svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-07-25 08:18:39 UTC
Please learn how to read and don't post bugs for packages not in mainline portage. Mark it invalid
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-07-25 08:37:34 UTC
we don't have gnome-games-2.7.4 in portage.
Comment 3 Derek Berube 2004-07-26 05:37:11 UTC
My apologies for wasting peoples' time by posting this bug to the wrong bugzilla.