Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Trouble compiling GNOME (x11-wm/mutter)...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Tue Jul 01, 2014 9:10 am    Post subject: [SOLVED] Trouble compiling GNOME (x11-wm/mutter)... Reply with quote

Hi, I'm trying to compile GNOME 3 (amd64), and am experiencing some random weird issues. When compiling x11-wm/mutter, I get the following errors...
Code:
compositor/meta-texture-rectangle.c: In function 'meta_texture_rectangle_new':
compositor/meta-texture-rectangle.c:49:52: error: too many arguments to function 'cogl_texture_rectangle_new_with_size'
In file included from /usr/include/cogl/cogl/cogl.h:115:0,
                 from /usr/include/clutter-1.0/clutter/clutter-types.h:32,
                 from /usr/include/clutter-1.0/clutter/clutter.h:32,
                 from compositor/meta-texture-rectangle.c:28:
/usr/include/cogl/cogl/cogl-texture-rectangle.h:132:1: note: declared here
make[4]: *** [meta-texture-rectangle.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
compositor/meta-window-group.c: In function 'painting_untransformed':
compositor/meta-window-group.c:52:3: warning: 'cogl_get_modelview_matrix' is deprecated (declared at /usr/include/cogl/cogl/cogl1-context.h:383): Use 'cogl_framebuffer_get_modelview_matrix' instead [-Wdeprecated-declarations]
compositor/meta-window-group.c:53:3: warning: 'cogl_get_projection_matrix' is deprecated (declared at /usr/include/cogl/cogl/cogl1-context.h:409): Use 'cogl_framebuffer_get_projection_matrix' instead [-Wdeprecated-declarations]
compositor/meta-window-group.c:74:3: warning: 'cogl_get_viewport' is deprecated (declared at /usr/include/cogl/cogl/cogl1-context.h:438): Use 'cogl_framebuffer_get_viewport4fv' instead [-Wdeprecated-declarations]
make[4]: Leaving directory `/home/gentoo/var/tmp/portage/x11-wm/mutter-3.10.4/work/mutter-3.10.4/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gentoo/var/tmp/portage/x11-wm/mutter-3.10.4/work/mutter-3.10.4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gentoo/var/tmp/portage/x11-wm/mutter-3.10.4/work/mutter-3.10.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gentoo/var/tmp/portage/x11-wm/mutter-3.10.4/work/mutter-3.10.4'
make: *** [all] Error 2
 * ERROR: x11-wm/mutter-3.10.4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-wm/mutter-3.10.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-wm/mutter-3.10.4::gentoo'`.
 * The complete build log is located at '/home/gentoo/var/tmp/portage/x11-wm/mutter-3.10.4/temp/build.log'.
 * The ebuild environment file is located at '/home/gentoo/var/tmp/portage/x11-wm/mutter-3.10.4/temp/environment'.
 * Working directory: '/home/gentoo/var/tmp/portage/x11-wm/mutter-3.10.4/work/mutter-3.10.4'
 * S: '/home/gentoo/var/tmp/portage/x11-wm/mutter-3.10.4/work/mutter-3.10.4'


I have put the full build log in the pastebin.
Also, here is the output of emerge --info '=x11-wm/mutter-3.10.4::gentoo'.


Anyone got an idea how to fix this?
Thanks in advance!


edit: SOLVED. I should have double-checked the dependencies. Somehow I ended up having too many ~amd64 packages, mainly media-libs/cogl.
_________________
Only the best is good enough.

My make.conf file


Last edited by Wintershade on Thu Jul 03, 2014 10:35 am; edited 1 time in total
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 618

PostPosted: Tue Jul 01, 2014 11:05 pm    Post subject: Reply with quote

What version of media-libs/cogl do you have?

I have 1.16.2 and mutter builds ok for me.

HTH
Back to top
View user's profile Send private message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Thu Jul 03, 2014 10:33 am    Post subject: Reply with quote

Thanks! Downgrading media-libs/cogl to stable worked.
_________________
Only the best is good enough.

My make.conf file
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum