Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Calligra: Which version is supposed to be compileable?
Date: Sat, 17 Jan 2015 07:51:36
Message-Id: 20150117075123.GA29298@solfire
In Reply to: Re: [gentoo-user] Calligra: Which version is supposed to be compileable? by Alan McKinnon
1 Alan McKinnon <alan.mckinnon@×××××.com> [15-01-17 07:20]:
2 > On 16/01/2015 19:45, Meino.Cramer@×××.de wrote:
3 > > The emerging still fails...but the color is different... ;)
4 > > The error messages are:
5 > >
6 > > 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:
7 > > /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]
8 > > typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
9 > > ^
10 > > /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)
11 > > /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
12 > > typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
13 > > ^
14 > > /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
15 > > static kis_glFenceSync k_glFenceSync = 0;
16 > > ^
17 > > /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)
18 > > typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
19 > > ^
20 > > /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
21 >
22 >
23 >
24 > Hi Meino,
25 >
26 > A quick look at those errors makes me wonder if you need glew. There's
27 > an upstream bug:
28 >
29 > https://bugs.kde.org/show_bug.cgi?id=332813
30 >
31 > and more detail at b.g.o:
32 >
33 > https://bugs.gentoo.org/show_bug.cgi?id=532762
34 >
35 > If I read the bugs correctly, it looks like you need USE="glew" then
36 > rebuild calligra.
37 >
38 >
39 >
40 > The package builds for me, so we know it does work. The errors are the
41 > kind of thing you'd get if some required package or feature is missing.
42 > If adding glew support doesn't fix it for you, I recommend you open a
43 > new bug at b.g.o.
44 >
45 >
46 >
47 >
48 > --
49 > Alan McKinnon
50 > alan.mckinnon@×××××.com
51 >
52 >
53
54 Hi Alan,
55
56 thanks again for your help! :)
57
58
59
60 I checked both bugs you linked but it seems (read: I dont know for
61 sure ;), that they a little different.
62
63 ...only to get sure, that I understand correctly:
64
65 "glew" should be set as one of the USE-flags for calligra.
66
67 OK?
68
69 Best regards,
70 Meino

Replies

Subject Author
Re: [gentoo-user] Calligra: Which version is supposed to be compileable? Alan McKinnon <alan.mckinnon@×××××.com>