Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136909 - GTK+-2.8.18 emerge fails - GETTEXT_PACKAGE before including gi18n-lib.h
Summary: GTK+-2.8.18 emerge fails - GETTEXT_PACKAGE before including gi18n-lib.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Alpha Other
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://www.pyrobrian.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 09:50 UTC by Brian Parkhurst
Modified: 2006-06-16 15:21 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 Brian Parkhurst 2006-06-15 09:50:32 UTC
alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.8.18\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -mcpu=ev56 -mtune=ev56 -O3 -pipe -mieee -fstrict-aliasing -fforce-addr -fomit-frame-pointer -foptimize-sibling-calls -funroll-loops -mno-soft-float -mfp-regs -Wall -MT gdk-pixbuf.lo -MD -MP -MF .deps/gdk-pixbuf.Tpo -c gdk-pixbuf.c  -fPIC -DPIC -o .libs/gdk-pixbuf.o
In file included from gdk-pixbuf-i18n.h:24,
                 from gdk-pixbuf-private.h:32,
                 from gdk-pixbuf.c:32:
/usr/include/glib-2.0/glib/gi18n-lib.h:26:2: #error You must define GETTEXT_PACKAGE before including gi18n-lib.h.

emerge --info

Portage 2.1 (default-linux/alpha/2006.0, gcc-3.4.6/vanilla, glibc-2.3.2-r12,glibc-2.3.6-r4, 2.6.17-rc5 alpha)
=================================================================
System uname: 2.6.17-rc5 alpha EV56
Gentoo Base System version 1.12.1
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="alpha ~alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mcpu=ev56 -mtune=ev56 -O3 -pipe -mieee -fstrict-aliasing -fforce-addr -fomit-frame-pointer -foptimize-sibling-calls -funroll-loops -mno-soft-float -mfp-regs"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=ev56 -mtune=ev56 -O3 -pipe -mieee -fstrict-aliasing -fforce-addr -fomit-frame-pointer -foptimize-sibling-calls -funroll-loops -mno-soft-float -mfp-regs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha X alsa apache2 arts berkdb bitmap-fonts cgi cli crypt cups dba dlloader dri eds encode esd ev56 foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 isdnlog jpeg kde kerberos kerberosV ldap libg++ libwww mad maildir mailwrapper mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl php pic png pppd python qt quicktime readline reflection samba sambai sasl sdl session smb spell spl ssl tcpd tls truetype truetype-fonts type1-fonts udev vorbis winbind xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Brian Parkhurst 2006-06-15 10:02:25 UTC
I've been able to get past the initial GETTEXT_PACKAGE problem by including:
#define GETTEXT_PACKAGE "gtk20" in the config.h in the /var/tmp/portage/gtk+-2.8.18/work/gtk+-2.8.18 directory.

I then am getting:

failed to load "./stock_about_16.png": Couldn't recognize the image file format for file './stock_about_16.png'
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2006-06-15 10:54:15 UTC
what version of glib do you have installed?
Comment 3 Brian Parkhurst 2006-06-15 12:35:31 UTC
alpha-omega gtk+-2.8.18 # equery list glib
[ Searching for package 'glib' in all categories among: ]
 * installed packages
[I--] [ ~] dev-cpp/glibmm-2.8.4 (2)
[I--] [  ] dev-libs/glib-1.2.10-r5 (1)
[I--] [ ~] dev-libs/glib-2.10.3 (2)
[I--] [  ] media-libs/taglib-1.4 (0)
[I--] [M ] sys-libs/glibc-2.3.2-r12 ()
[I--] [ ~] sys-libs/glibc-2.3.6-r4 (2.2)
Comment 4 Brian Parkhurst 2006-06-16 15:21:02 UTC
Found a bogus/old version of autoheader in the build path.

Removing this resolved this issue