| View previous topic :: View next topic |
| Author |
Message |
Astarot n00b

Joined: 04 Apr 2007 Posts: 74 Location: Poland: Wrocław
|
Posted: Sun Apr 08, 2012 11:01 am Post subject: Can't compile gnome-shell due to cogl errors |
|
|
Hi there, after last system upgrade my gnome 3 is quite broken so i decided to run emerge -NuDa world then some revdep-rebuild. Here is output from emerging gnome-shell-3.2.2.1:
| Code: |
/usr/lib64/libmutter.so: undefined reference to `cogl_texture_pixmap_x11_new_EXT`
/usr/lib64/libmutter.so: undefined reference to `cogl_is_texture_pixmap_EXT`
/usr/lib64/libmutter.so: undefined reference to `cogl_texture_pixmap_x11_is_using_tfp_extension_EXT`
collect2: ld returned 1 exit status
|
The same happens when i tries to reinstall x11-wm/mutter. I tried to re-emerge cogl but it didn't help much. Any ideas how to fix this ? |
|
| Back to top |
|
 |
Arkhelion Tux's lil' helper

Joined: 07 Sep 2010 Posts: 127 Location: France
|
Posted: Mon Apr 09, 2012 8:13 am Post subject: |
|
|
Hi,
Could you paste the error message when you try to emerge mutter? Would be very disturbing if it was the same error. _________________ Arkhelion |
|
| Back to top |
|
 |
Astarot n00b

Joined: 04 Apr 2007 Posts: 74 Location: Poland: Wrocław
|
Posted: Mon Apr 09, 2012 9:58 am Post subject: |
|
|
Its something like this one:
| Code: | compositor/meta-background-actor.c: in function meta_background_actor_update:
compositor/meta-background-actor.c::542:7: warning: passing argument 1 of struct cogl_texture_pixmap_x11_new makes pointer from integer without cast
/usr/include/cogl/cogl/cogl-texture-pixmap-x11.h:102:1 note: expected struct CoglContext* but argument is of type Pixmap
compositor/meta-background-actor.c::542:7: error: too few arguments to function cogl_texture_pixmap_x11_new
/usr/include/cogl/cogl/cogl-texture-pixmap-x11.h:102:1: note: declared here
make[4]: *** [meta-background-actor.lo] Error 1 |
Now its clear to me its mutter's fault that gnome-shell can't compile but i have no idea what to do now. |
|
| Back to top |
|
 |
EatMeerkats Apprentice


Joined: 15 Mar 2006 Posts: 234
|
Posted: Mon Apr 09, 2012 12:50 pm Post subject: |
|
|
| Try running "revdep-rebuild", perhaps? |
|
| Back to top |
|
 |
Thistled Guru


Joined: 06 Jan 2011 Posts: 433 Location: Scotland
|
Posted: Mon Apr 09, 2012 1:45 pm Post subject: |
|
|
How about also re-merging libX11?
The reference to "textures" and "EXT" might suggest a problem with graphics drivers.
Can you post the output of emerge --info and also have you updated your graphics drivers lately? _________________ Whatever you do, do it properly! |
|
| Back to top |
|
 |
Astarot n00b

Joined: 04 Apr 2007 Posts: 74 Location: Poland: Wrocław
|
Posted: Mon Apr 09, 2012 2:54 pm Post subject: |
|
|
I re-emerged libX11, mesa, cogl and nothing. Here is my emerge --info output:
| Code: |
Portage 2.1.10.56 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r2, 3.3.1-gentoo x86_64)
=================================================================
System uname: Linux-3.3.1-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6400_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Sun, 08 Apr 2012 10:00:01 +0000
app-shells/bash: 4.2_p24
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.2.2-r1
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1
sys-apps/openrc: 0.9.9.3
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.4
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.6
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r2
Repositories: gentoo sunrise proaudio roslin kde x-portage multimedia x11
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/binaries"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/pro-audio /usr/local/portage/layman/roslin /usr/local/portage/layman/kde /usr/local/portage /usr/local/portage/layman/multimedia /usr/local/portage/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative djvu dri dts dvd dvdr emboss enca encode exif extras fam ffmpeg firefox flac fontconfig fortran gadu gdbm gdu gif gimp git glx gnome gpm gstreamer gtk gtk3 hal iconv introspection ipv6 java jpeg kipi lame laptop lastfm lcms ldap libnotify mad melt mmx mng mnt modules mp3 mp4 mpeg mudflap multilib multimedia musicbrainz mysql nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd private-headers pulseaudio python qt3support quicktime readline samba sdl semantic-desktop session spell sql sse sse2 sse4 ssl ssse3 startup-notification subversion svg sysfs tcpd threads thumbnail tiff truetype udev unicode usb v4l vim-syntax vlc vorbis webkit wifi x264 xcb xcomposite xine xml xmlpatterns xorg xscreensaver xulrunner xv xvid youtube 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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 pl" NETBEANS_MODULES="cnd ide" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="r700 radeon v4l" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
|
|
| Back to top |
|
 |
Thistled Guru


Joined: 06 Jan 2011 Posts: 433 Location: Scotland
|
Posted: Mon Apr 09, 2012 8:50 pm Post subject: |
|
|
I presume your video card is radeon? Is the driver for this built into the kernel?
If so, does downgrading your kernel fix the problem?
Like I said earlier, it may have something to do with your graphics card, as there are references to EXT. _________________ Whatever you do, do it properly! |
|
| Back to top |
|
 |
Arkhelion Tux's lil' helper

Joined: 07 Sep 2010 Posts: 127 Location: France
|
Posted: Tue Apr 10, 2012 9:02 am Post subject: |
|
|
From my point of view :
Emerging gnome-shell fails because of inconsistencies in libmutter :
| Code: | | /usr/lib64/libmutter.so |
Mutter fails because of bad .h in /usr/include/cogl so I'd say mutter fails because of bad cogl version :
| Code: | | /usr/include/cogl/cogl/cogl-texture-pixmap-x11.h |
Could you say which versions of mutter and cogl you're trying to emerge? _________________ Arkhelion |
|
| Back to top |
|
 |
Astarot n00b

Joined: 04 Apr 2007 Posts: 74 Location: Poland: Wrocław
|
Posted: Wed Apr 11, 2012 11:04 pm Post subject: |
|
|
Everything connected to my radeon drivers should be ok. I had no issues with drivers before. I upgraded mesa to 8.something but i don't think it caused the problem. Here is my versions of packages:
| Code: | [ebuild R #] media-libs/cogl-1.10.0 USE="introspection pango -debug -doc -examples -test"
[ebuild R ] x11-wm/mutter-3.2.2 USE="introspection -test -xinerama"
[ebuild R ] gnome-base/gnome-shell-3.2.2.1 USE="bluetooth networkmanager"
|
I tried to downgrade mutter (to 3.2.1-r1) and it didn't help. Its started to be annoying i have to write an email to mutter developers or switch back to KDE lol. By the way, what does the red hash (#) sign means ? |
|
| Back to top |
|
 |
Thistled Guru


Joined: 06 Jan 2011 Posts: 433 Location: Scotland
|
Posted: Thu Apr 12, 2012 12:39 am Post subject: |
|
|
Red hash means it's masked. Maybe not a good idea you have it installed.
Like I said earlier, does using an earlier kernel help.
I'm sure the masked cogl is causing a problem. It's not mutter.
What you will probably find is the next mutter will co-operate with your EXT problem.
I think you need to downgrade your kernel and then take it from there. Bit by bit. _________________ Whatever you do, do it properly! |
|
| Back to top |
|
 |
paulj Apprentice


Joined: 30 Sep 2004 Posts: 284 Location: Wales, UK
|
Posted: Sat Apr 14, 2012 8:29 am Post subject: |
|
|
I have the same problem, and I think the reference to the masked version of cogl is the issue. I originally was keen to get gnome 3 installed, and followed instructions posted (somewhere!!) to do so. At the time, it was necessary to unmask a collection of packages. The syntax I copied was like:
| Code: |
>=dev-libs/libgweather-3.0
|
This has of course unmasked all later versions than 3.0 (in this example). Since the unmask file was created, the need to unmask these packages has disappeared, but the side effect is that the newer masked packages are unmasked by default. Next time, I will use the syntax:
| Code: |
=dev-libs/libgweather-3.0.0
|
I am now in the process of untangling the mess and will report back once complete!  |
|
| Back to top |
|
 |
paulj Apprentice


Joined: 30 Sep 2004 Posts: 284 Location: Wales, UK
|
Posted: Sat Apr 14, 2012 3:58 pm Post subject: |
|
|
| All installed OK, with no un-masked objects. I ran revdep-rebuild, then "emerge -avuDN world". Everything compiled OK, and gnome 3.2.1 is up and running without any obvious issues. x11-wm/mutter-3.2.2-r1 compiled OK, and cogl downgraded to 1.8.2 (still unstable version, but not hard masked). |
|
| Back to top |
|
 |
Astarot n00b

Joined: 04 Apr 2007 Posts: 74 Location: Poland: Wrocław
|
Posted: Thu Apr 19, 2012 10:49 pm Post subject: |
|
|
| And what about kernel or mesa and stuff versions ? |
|
| Back to top |
|
 |
Thistled Guru


Joined: 06 Jan 2011 Posts: 433 Location: Scotland
|
Posted: Fri Apr 20, 2012 5:50 pm Post subject: |
|
|
I am using mesa-8.0.2, and also the same kernel as you. _________________ Whatever you do, do it properly! |
|
| Back to top |
|
 |
|