Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324221 - games-kids/gcompris-9.2.2: failed to emerge
Summary: games-kids/gcompris-9.2.2: failed to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 07:31 UTC by Denis I. Polukarov
Modified: 2010-07-11 01:25 UTC (History)
2 users (show)

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


Attachments
info (info,5.11 KB, text/plain)
2010-06-16 07:32 UTC, Denis I. Polukarov
Details
pqv (pqv,69 bytes, text/plain)
2010-06-16 07:32 UTC, Denis I. Polukarov
Details
The complete build log (build.log,106.88 KB, text/plain)
2010-06-16 07:33 UTC, Denis I. Polukarov
Details
The ebuild environment file (environment,213.10 KB, text/plain)
2010-06-16 07:33 UTC, Denis I. Polukarov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis I. Polukarov 2010-06-16 07:31:38 UTC
../../src/goocanvas/src/.libs/libgoocanvas.so: undefined reference to `GTK_WIDGET_DRAWABLE'
../../src/goocanvas/src/.libs/libgoocanvas.so: undefined reference to `GTK_WIDGET_REALIZED'
../../src/goocanvas/src/.libs/libgoocanvas.so: undefined reference to `GTK_WIDGET_HAS_FOCUS'
../../src/goocanvas/src/.libs/libgoocanvas.so: undefined reference to `GTK_WIDGET_VISIBLE'
../../src/goocanvas/src/.libs/libgoocanvas.so: undefined reference to `GTK_WIDGET_MAPPED'

Reproducible: Always

Steps to Reproduce:
1. emerge gcompris
2.
3.

Actual Results:  
failed to emerge gcomris

Expected Results:  
emerged gcompris
Comment 1 Denis I. Polukarov 2010-06-16 07:32:23 UTC
Created attachment 235521 [details]
info
Comment 2 Denis I. Polukarov 2010-06-16 07:32:54 UTC
Created attachment 235523 [details]
pqv
Comment 3 Denis I. Polukarov 2010-06-16 07:33:38 UTC
Created attachment 235525 [details]
The complete build log
Comment 4 Denis I. Polukarov 2010-06-16 07:33:57 UTC
Created attachment 235527 [details]
The ebuild environment file
Comment 5 Egor Y. Egorov 2010-07-08 04:31:19 UTC
Same result.
Comment 6 Egor Y. Egorov 2010-07-08 04:33:46 UTC
# emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.5.0, glibc-2.11.2-r0, 2.6.34-gentoo x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-Pentium-R-_Dual-Core_CPU_E6300_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 08 Jul 2010 01:45:03 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2 -O2 -pipe"
DISTDIR="/mnt/localrep/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/localrep/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.skip"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/localrep/overlays/local /mnt/localrep/overlays/layman/enlightenment-niifaq /mnt/localrep/overlays/layman/qutim-overlay /mnt/localrep/overlays/layman/qting-edge /mnt/localrep/overlays/layman/voyageur /mnt/localrep/overlays/layman/x11 /mnt/localrep/overlays/layman/java-overlay /mnt/localrep/overlays/layman/mellon /mnt/localrep/overlays/layman/keruspe /mnt/localrep/overlays/NavSystem /mnt/localrep/overlays/layman/kde"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3gp 7zip X a52 aac acl acpi ads alsa amd64 amr apache2 apm assistant bash-completion berkdb bineditor bluetooth branding bzip2 cairo cdr cleartype cli clucene cluster consolekit cracklib crypt cups cxx dbus debugger dirac directfb djvu dri dts dvd dvdr dvi emboss emerald encode eps exif fam fbcon fbcondecor fbsplash ffmpeg fftw firefox flac fortran freetds ftdi fts3 gallium gd gdbm gif glitz gnutls gpm gsm gstreamer handbook hdf5 iconv icq ipv6 ithreads jabber jpeg kde kerberos lame laptop latex lcms ldap lib32 libnotify lm_sensors lzma mad maps matroska melt mercurial midi mikmod mmx mng modules mozilla mp3 mp4 mpeg mssql mudflap multilib mysql ncurses nls nptl nptlonly objc objc++ odbc ogg opengl openmp pam pango pcre pdf perl png policykit postgres ppds pppd ps python qt qt3support qt4 quicktime radio rar rdp readline reflection reports samba sasl sdl secure-delete semantic-desktop session smb spell spl sql sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification svg sysfs system-libvncserver tcpd threads thunar thunderbird tiff tk truetype type1 udev unicode usb userlocales v4l v4l2 virtuoso vorbis webkit winbind wxwidgets x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel radeon i915 i965 r100 r200 r300 r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 7 Egor Y. Egorov 2010-07-08 08:30:01 UTC
This is because version installed x11-libs/gtk+-2.20.1-r1 .
Adding

sed	-e 's:GTK_WIDGET_REALIZED:gtk_widget_get_realized:g'	\
	-e 's:GTK_WIDGET_VISIBLE:gtk_widget_get_visible:g'	\
	-e 's:GTK_WIDGET_DRAWABLE:gtk_widget_is_drawable:g'	\
	-e 's:GTK_WIDGET_HAS_FOCUS:gtk_widget_has_focus:g'	\
	-e 's:GTK_WIDGET_HAS_FOCUS:gtk_widget_has_focus:g'	\
	-e 's:GTK_WIDGET_MAPPED:gtk_widget_get_mapped:g'	\
	-i ./src/goocanvas/src/goocanvaswidget.c \
           ./src/goocanvas/src/goocanvas.c \
           ./src/goocanvas/src/goocanvasatk.c

to src_prepare in ebuild allow compile fine.
Sorry, my English bad.
Comment 8 Egor Y. Egorov 2010-07-08 08:31:26 UTC
(In reply to comment #7)
> This is because installed x11-libs/gtk+-2.20.1-r1 .
> Adding
> 
> sed     -e 's:GTK_WIDGET_REALIZED:gtk_widget_get_realized:g'    \
>         -e 's:GTK_WIDGET_VISIBLE:gtk_widget_get_visible:g'      \
>         -e 's:GTK_WIDGET_DRAWABLE:gtk_widget_is_drawable:g'     \
>         -e 's:GTK_WIDGET_HAS_FOCUS:gtk_widget_has_focus:g'      \
>         -e 's:GTK_WIDGET_HAS_FOCUS:gtk_widget_has_focus:g'      \
>         -e 's:GTK_WIDGET_MAPPED:gtk_widget_get_mapped:g'        \
>         -i ./src/goocanvas/src/goocanvaswidget.c \
>            ./src/goocanvas/src/goocanvas.c \
>            ./src/goocanvas/src/goocanvasatk.c
> 
> to src_prepare in ebuild allow compile fine.
> Sorry, my English bad.
> 

Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2010-07-11 01:04:55 UTC
That's fine, but it doesn't work with the stable version of gtk+.  How about rolling a patch that works with either?
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2010-07-11 01:19:51 UTC
Hmmmm, never mind.  I see that those macros are deprecated in 2.20 so I'll just add a version check to the ebuild.
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2010-07-11 01:25:13 UTC
in portage.  thanks for the bug report and patch.