Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366083 - [gnome-overlay] gnome-extra/gnome-games build failed: cannot find -lcogl, cannot find -lcoglpango
Summary: [gnome-overlay] gnome-extra/gnome-games build failed: cannot find -lcogl, ca...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 12:48 UTC by 鳳凰木
Modified: 2011-05-06 13:58 UTC (History)
0 users

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


Attachments
build.log (build.log,29.02 KB, text/plain)
2011-05-06 05:24 UTC, 鳳凰木
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 鳳凰木 2011-05-05 12:48:48 UTC
When I emerge  gnome-extra/gnome-games-3.0.1.1,it returned the error: 

games-glib-compat.h:40: Warning: GnomeGamesSupport: symbol='G_PARAM_STATIC_STRINGS': Skipping foreign symbol from namespace GObject
g-ir-scanner: compile: x86_64-pc-linux-gnu-gcc -pthread -DGSEAL_ENABLE -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/clutter-1.0 -I/usr/include/json-glib-1.0 -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -I.. -I.. -I/usr/include/clutter-1.0 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng14 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -c -o /dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1/libgames-support/tmp-introspectOXGgMU/GnomeGamesSupport-1.0.o /dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1/libgames-support/tmp-introspectOXGgMU/GnomeGamesSupport-1.0.c
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC --silent x86_64-pc-linux-gnu-gcc -o /dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1/libgames-support/tmp-introspectOXGgMU/GnomeGamesSupport-1.0 -export-dynamic -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -L. -lgames-support-gi -pthread -lgtk-3 -lgdk-3 -lpangoft2-1.0 -lfreetype -lfontconfig -lclutter-glx-1.0 -lcogl -lcoglpango -lcairo-gobject -latk-1.0 -lpangocairo-1.0 -ljson-glib-1.0 -lgdk_pixbuf-2.0 -lm -lGL -ldrm -lX11 -lXext -lXdamage -lXcomposite -lXi -lpango-1.0 -lcairo -lgio-2.0 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lXfixes /dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1/libgames-support/tmp-introspectOXGgMU/GnomeGamesSupport-1.0.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcogl
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcoglpango
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'x86_64-pc-linux-gnu-gcc', '-o', '/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1/libgames-support/tmp-introspectOXGgMU/GnomeGamesSupport-1.0', '-export-dynamic', '-O2', '-march=native', '-mtune=native', '-pipe', '-fomit-frame-pointer', '-L.', '-lgames-support-gi', '-pthread', '-lgtk-3', '-lgdk-3', '-lpangoft2-1.0', '-lfreetype', '-lfontconfig', '-lclutter-glx-1.0', '-lcogl', '-lcoglpango', '-lcairo-gobject', '-latk-1.0', '-lpangocairo-1.0', '-ljson-glib-1.0', '-lgdk_pixbuf-2.0', '-lm', '-lGL', '-ldrm', '-lX11', '-lXext', '-lXdamage', '-lXcomposite', '-lXi', '-lpango-1.0', '-lcairo', '-lgio-2.0', '-lgmodule-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '-lXfixes', '/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1/libgames-support/tmp-introspectOXGgMU/GnomeGamesSupport-1.0.o']' returned non-zero exit status 1
make[3]: *** [GnomeGamesSupport-1.0.gir] Error 1
make[3]: Leaving directory `/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1/libgames-support'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1/libgames-support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1'
make: *** [all] Error 2
emake failed
 * ERROR: gnome-extra/gnome-games-3.0.1.1 failed (compile phase):
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 6110:  Called gnome2_src_compile
 *   environment, line 3567:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 * 
 * If you need support, post the output of 'emerge --info =gnome-extra/gnome-games-3.0.1.1',
 * the complete build log and the output of 'emerge -pqv =gnome-extra/gnome-games-3.0.1.1'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/gnome/eclass/gnome2.eclass
 * This ebuild is from an overlay named 'gnome': '/var/lib/layman/gnome/'
 * The complete build log is located at '/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/temp/environment'.
 * S: '/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/work/gnome-games-3.0.1.1'

>>> Failed to emerge gnome-extra/gnome-games-3.0.1.1, Log file:

>>>  '/dev/shm/portage/gnome-extra/gnome-games-3.0.1.1/temp/build.log'

this issue happened in both two gentoo systems in my notebook.



Reproducible: Always




 ~ % emerge --info
Portage 2.2.0_alpha30 (default/linux/amd64/10.0, gcc-4.6.0, libc-0-r0, 2.6.38-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 04 May 2011 13:45:01 +0000
app-shells/bash:     4.2_p8-r1
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2, 4.6.0
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
Repositories: gentoo gentoo-china oss-overlay gnome x11
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS=" ftp://10.108.10.252/mirror/gentoo/ http://mirrors.163.com/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US zh_CN zh"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-china /var/lib/layman/oss-overlay /var/lib/layman/gnome /var/lib/layman/x11"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="64bit X aac acl acpi alsa amd64 apache2 aperfmperf apic arch_perfmon bash-completion berkdb bluetooth bts bzip2 cairo cdr cgi cjk clflush cli cmov constant_tsc context cracklib crypt ctype cue cvs cx16 cx8 cxx dbus de directfb dri ds_cpl dtes64 dts dvd dvdr dvipdfm est exif fbcondecor filter flac flexpriority fontconfig fortran fpu ftp fxsr gd gdbm gif gimp git gnome gpm gtk gtk3 hash ht iconv ida ipv6 jpeg json lahf_lm latax latex3 lm luatex mad mca mce mercurial mikmod mms mmx modules monitor mp3 mpd mpg123 msn msr mtrr mudflap multilib mysql ncurses nls nptl nptlonly nx ogg opengl openmp oss oss4 pae pam pango pat pbe pcre pdcm pdf pdo pebs perl pge png pni pppd profile pse pse36 purple python qq qt3support radio raw readline sbcl sep session simplexml sqlite ss sse sse2 ssl ssse3 svg sysfs tcpd thankpad thinkpad tiff tm tm2 tpr_shadow truetype tsc udev unicode usb vdpau vhosts vme vmx vnmi vorbis wma x264 xcomposite xetex xft xml xmp xorg xtpr xv xvmc zlib zsh-completion" ALSA_CARDS="hda-intel usb-audio" 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="cgi cgid rewrite alias authz_host actions mime dir" CAMERAS="fuji canon nikon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US zh_CN zh" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nouveau intel" XTABLES_ADDONS="cui gfw zhang" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-05-05 22:54:33 UTC
Please attach the full build.log
Comment 2 鳳凰木 2011-05-06 05:24:40 UTC
Created attachment 272259 [details]
build.log
Comment 3 鳳凰木 2011-05-06 05:26:15 UTC
(In reply to comment #1)
> Please attach the full build.log

thank you for your concerning. the full build.log is uploaded as attachment #272259 [details].
Comment 4 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-05-06 11:51:31 UTC
Please paste the contents of /usr/lib/pkgconfig/cogl-1.0.pc and the output of "emerge -pv clutter"
Comment 5 鳳凰木 2011-05-06 12:00:24 UTC
(In reply to comment #4)
> Please paste the contents of /usr/lib/pkgconfig/cogl-1.0.pc and the output of
> "emerge -pv clutter"

ok, 

 ~ % cat /usr/lib/pkgconfig/cogl-1.0.pc
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include
apiversion=1.0
requires=cairo-gobject >= 1.10 atk >= 1.17 pangocairo >= 1.20 json-glib-1.0 >= 0.12.0  gdk-pixbuf-2.0 >= 2.0 gl libdrm x11 xext xfixes >= 3 xdamage xcomposite >= 0.4 xi
backend=glx #only kept for backward compatability
winsys=glx
cogl=gl #only kept for backward compatability
driver=gl

Name: Cogl
Description: An object oriented GL/GLES Abstraction/Utility Layer
Version: 1.7.1
Libs: -L${libdir} -lcogl -lcoglpango
Cflags: -I${includedir}/clutter-${apiversion}
Requires: ${requires}


~ % emerge -pv clutter                 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   *] media-libs/clutter-9999  USE="introspection -debug -doc" 0 kB [1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/gnome
Comment 6 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-05-06 12:14:19 UTC
Don't use live ebuilds! Please stop using clutter-9999. Use clutter-1.6.14 from portage.

The live ebuilds in the overlay are *not* supposed to be used by anyone unless they know exactly what they are doing.
Comment 7 鳳凰木 2011-05-06 13:58:15 UTC
(In reply to comment #6)
> Don't use live ebuilds! Please stop using clutter-9999. Use clutter-1.6.14 from
> portage.
> 
> The live ebuilds in the overlay are *not* supposed to be used by anyone unless
> they know exactly what they are doing.

that is it! I re-emerged the clutter-1.6.14,and emerged gnome-extra/gnome-games-3.0.1.1 with no error.

thank you for your help!