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 08:57:04
Message-Id: 20150117085653.GB29298@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 09:20]:
2 > On 17/01/2015 09:51, Meino.Cramer@×××.de wrote:
3 > > Alan McKinnon <alan.mckinnon@×××××.com> [15-01-17 07:20]:
4 > >> On 16/01/2015 19:45, Meino.Cramer@×××.de wrote:
5 > >>> The emerging still fails...but the color is different... ;)
6 > >>> The error messages are:
7 > >>>
8 > >>> 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:
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: ISO C++ forbids declaration of ‘GLsync’ with no type [-fpermissive]
10 > >>> typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
11 > >>> ^
12 > >>> /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)
13 > >>> /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
14 > >>> typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
15 > >>> ^
16 > >>> /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
17 > >>> static kis_glFenceSync k_glFenceSync = 0;
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: typedef ‘Sync::kis_glGetSynciv’ is initialized (use decltype instead)
20 > >>> typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
21 > >>> ^
22 > >>> /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
23 > >>
24 > >>
25 > >>
26 > >> Hi Meino,
27 > >>
28 > >> A quick look at those errors makes me wonder if you need glew. There's
29 > >> an upstream bug:
30 > >>
31 > >> https://bugs.kde.org/show_bug.cgi?id=332813
32 > >>
33 > >> and more detail at b.g.o:
34 > >>
35 > >> https://bugs.gentoo.org/show_bug.cgi?id=532762
36 > >>
37 > >> If I read the bugs correctly, it looks like you need USE="glew" then
38 > >> rebuild calligra.
39 > >>
40 > >>
41 > >>
42 > >> The package builds for me, so we know it does work. The errors are the
43 > >> kind of thing you'd get if some required package or feature is missing.
44 > >> If adding glew support doesn't fix it for you, I recommend you open a
45 > >> new bug at b.g.o.
46 > >>
47 > >>
48 > >>
49 > >>
50 > >> --
51 > >> Alan McKinnon
52 > >> alan.mckinnon@×××××.com
53 > >>
54 > >>
55 > >
56 > > Hi Alan,
57 > >
58 > > thanks again for your help! :)
59 > >
60 > >
61 > >
62 > > I checked both bugs you linked but it seems (read: I dont know for
63 > > sure ;), that they a little different.
64 > >
65 > > ...only to get sure, that I understand correctly:
66 > >
67 > > "glew" should be set as one of the USE-flags for calligra.
68 > >
69 > > OK?
70 >
71 >
72 > Yes, I would do that first.
73 >
74 >
75 > You might run into other compile issues as glew is a somewhat low-level
76 > library and other things might need it as well. But step 1 would be to
77 > add it to only calligra first.
78 >
79 >
80 > --
81 > Alan McKinnon
82 > alan.mckinnon@×××××.com
83 >
84 >
85
86 Hi Alan,
87
88 ok, I did it and it fails with the same error...
89
90 Best regards,
91 Meino

Replies

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