Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Calligra: Which version is supposed to be compileable?
Date: Sat, 17 Jan 2015 06:16:48
Message-Id: 54B9FE18.70306@gmail.com
In Reply to: Re: [gentoo-user] Calligra: Which version is supposed to be compileable? by Meino.Cramer@gmx.de
1 On 16/01/2015 19:45, Meino.Cramer@×××.de wrote:
2 > The emerging still fails...but the color is different... ;)
3 > The error messages are:
4 >
5 > In file included from /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2.cpp:58:0:
6 > /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:311:20: error: ISO C++ forbids declaration of ‘GLsync’ with no type [-fpermissive]
7 > typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
8 > ^
9 > /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:311:20: error: typedef ‘Sync::GLsync’ is initialized (use decltype instead)
10 > /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:311:22: error: ‘kis_glFenceSync’ was not declared in this scope
11 > typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
12 > ^
13 > /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:312:12: error: ‘kis_glFenceSync’ does not name a type
14 > static kis_glFenceSync k_glFenceSync = 0;
15 > ^
16 > /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:37: error: typedef ‘Sync::kis_glGetSynciv’ is initialized (use decltype instead)
17 > typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
18 > ^
19 > /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:37: error: ‘GLsync’ was not declared in this scope
20
21
22
23 Hi Meino,
24
25 A quick look at those errors makes me wonder if you need glew. There's
26 an upstream bug:
27
28 https://bugs.kde.org/show_bug.cgi?id=332813
29
30 and more detail at b.g.o:
31
32 https://bugs.gentoo.org/show_bug.cgi?id=532762
33
34 If I read the bugs correctly, it looks like you need USE="glew" then
35 rebuild calligra.
36
37
38
39 The package builds for me, so we know it does work. The errors are the
40 kind of thing you'd get if some required package or feature is missing.
41 If adding glew support doesn't fix it for you, I recommend you open a
42 new bug at b.g.o.
43
44
45
46
47 --
48 Alan McKinnon
49 alan.mckinnon@×××××.com

Replies