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: Fri, 16 Jan 2015 17:45:22
Message-Id: 20150116174507.GI4457@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-16 17:00]:
2 > On 16/01/2015 17:09, Meino.Cramer@×××.de wrote:
3 > > Alan McKinnon <alan.mckinnon@×××××.com> [15-01-16 16:00]:
4 > >> On 16/01/2015 15:40, Meino.Cramer@×××.de wrote:
5 > >>> Alan McKinnon <alan.mckinnon@×××××.com> [15-01-16 13:40]:
6 > >>>> On 16/01/2015 14:28, Meino.Cramer@×××.de wrote:
7 > >>>>> Hi,
8 > >>>>>
9 > >>>>> I want to install Calligra to get Kita.
10 > >>>>> For that I compiled every version available via portage.
11 > >>>>> All failed to compile, which may be caused on problems
12 > >>>>> caused by other sources than calligra.
13 > >>>>>
14 > >>>>> Which version is known to compile cleanly ?
15 > >>>>>
16 > >>>>> Thank you very much for any help!
17 > >>>>> Best regards,
18 > >>>>> Meino
19 > >>>>
20 > >>>>
21 > >>>>
22 > >>>> Calligra builds and installs just fine here:
23 > >>>>
24 > >>>>
25 > >>>> $ genlop -t calligra
26 > >>>> * app-office/calligra
27 > >>>> ...
28 > >>>> Sun Jan 11 10:46:11 2015 >>> app-office/calligra-2.8.7
29 > >>>> merge time: 37 minutes and 19 seconds.
30 > >>>>
31 > >>>>
32 > >>>>
33 > >>>> $ eix calligra
34 > >>>> [I] app-office/calligra
35 > >>>> Installed versions: 2.8.7(4)^t(10:45:30 11/01/2015)(attica crypt
36 > >>>> eigen exif fontconfig freetds glew glib gsf handbook jpeg jpeg2k kdcraw
37 > >>>> kde lcms marble mysql okular openexr opengl pdf threads tiff truetype
38 > >>>> xml -aqua -fftw -gsl -import-filter -kdepim -nepomuk -postgres -spacenav
39 > >>>> -sybase -test -vc -xbase CALLIGRA_FEATURES="author braindump flow karbon
40 > >>>> kexi krita sheets stage words -plan")
41 > >>>>
42 > >>>>
43 > >>>>
44 > >>>> --
45 > >>>> Alan McKinnon
46 > >>>> alan.mckinnon@×××××.com
47 > >>>>
48 > >>>>
49 > >>>
50 > >>> Hi Alan,
51 > >>>
52 > >>> thanks for your reply ! :)
53 > >>>
54 > >>> I copied your use flags and started emerge...
55 > >>>
56 > >>> Got this from the oracle:
57 > >>>
58 > >>> !!! Problem resolving dependencies for app-office/calligra ... done!
59 > >>>
60 > >>> !!! The ebuild selected to satisfy "calligra" has unmet requirements.
61 > >>> - app-office/calligra-2.8.7::gentoo USE="attica crypt eigen exif fontconfig freetds glew glib gsf handbook jpeg jpeg2k kdcraw kde lcms marble mysql okular openexr opengl pdf threads tiff truetype xml (-aqua) -fftw -gsl -import-filter -kdepim -nepomuk (-postgres) -spacenav (-sybase) -test -vc -xbase" ABI_X86="64" CALLIGRA_FEATURES="author braindump flow karbon kexi krita plan sheets stage words"
62 > >>>
63 > >>> The following REQUIRED_USE flag constraints are unsatisfied:
64 > >>> calligra_features_plan? ( kdepim )
65 > >>>
66 > >>> The above constraints are a subset of the following complete expression:
67 > >>> calligra_features_author? ( calligra_features_words ) calligra_features_krita? ( eigen exif lcms ) calligra_features_plan? ( kdepim ) calligra_features_sheets? ( eigen ) vc? ( calligra_features_krita ) test? ( calligra_features_karbon )
68 > >>>
69 > >>>
70 > >>> And if I had learned from previous given holy mubles of the great
71 > >>> portage it means: The feature calligra_features_plan of calligra wants
72 > >>> kdepim installed which in turn (I tried to emerge it) cannot be found
73 > >>> as ebuild.
74 > >>>
75 > >>> I smy prophecy in so far correct or need I more spider legs and frog
76 > >>> eyes in the mystric soup? ;)
77 > >>
78 > >>
79 > >>
80 > >> You're on the right track, but missing on the detail:
81 > >>
82 > >> The following REQUIRED_USE flag constraints are unsatisfied:
83 > >> calligra_features_plan? ( kdepim )
84 > >>
85 > >>
86 > >> means it needs USE=kdepim
87 > >>
88 > >> Either add it globally in make,conf or just for calligra in package.use
89 > >>
90 > >> You got this error because USE="kdepim" is not in the list of flags for
91 > >> calligra itself, so you didn't know to add it.
92 > >>
93 > >> Beware though, this will pull in an almighty list of kde stuff, which
94 > >> you might not want....
95 > >>
96 > >>
97 > >> --
98 > >> Alan McKinnon
99 > >> alan.mckinnon@×××××.com
100 > >>
101 > >>
102 > >
103 > > Hi Alan,
104 > >
105 > > thanks for the support again! :)
106 > >
107 > > These are the USE flags, which were active during the compilation,
108 > > which produces the above error
109 > >
110 > >
111 > > app-office/calligra attica crypt eigen exif fontconfig freetds glew
112 > > glib gsf handbook jpeg jpeg2k kdcraw kde lcms marble mysql okular
113 > > openexr opengl pdf threads tiff truetype xml -aqua -fftw -gsl
114 > > -import-filter kdepim -nepomuk -postgres -spacenav -sybase -test -vc
115 > > -xbase CALLIGRA_FEATURES="krita"
116 > >
117 > > Kdepim was set.
118 > >
119 > > On the other hand -- you mentioned this will pull a lot of kde-stuff.
120 > > I only wnat krita...is there a more convenient, faster way to get
121 > > krita running without pulling the whole kde ?
122 > >
123 > > Best regards,
124 > > Meino
125 >
126 >
127 > I'm getting confused too now. You only have krita in FEATURES, yet it
128 > wants to pull in plan. And, your posted output seems to have a typo.
129 > Yes, it does have kdepim in USE, but it's right in the middle of the
130 > unset list. Are you 100% certain that post is correct?
131 >
132 > What I did in the past is to enable all calligra features except plan
133 > (as that pulls in kdepim which I certainly don't want - it's a complete
134 > POS, doesn't work, and has caused many people to lose mails including
135 > me) so I put this in make.conf:
136 >
137 > CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage
138 > words -plan"
139 >
140 > You might have some portage config file pollution. Can you post the
141 > output of:
142 >
143 > egrep -ir "calligra|plan|kdepim" /etc/portage
144 >
145 >
146 >
147 > --
148 > Alan McKinnon
149 > alan.mckinnon@×××××.com
150 >
151 >
152
153 Hi Alan,
154
155 sorry for my delay...
156
157 I again run emerge. Before that I did the following:
158
159 I edited make.conf to include CALLIGRA_FEATURES="krita".
160
161 The "kdepim" in the middle of the unset list was the result
162 of copying your use flags for calligra (in one of the previous
163 posts) and then remove the "-" in front of "kdepim" because
164 the emerge process has wanted it.
165
166 The emerging still fails...but the color is different... ;)
167 The error messages are:
168
169 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:
170 /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]
171 typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
172 ^
173 /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)
174 /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
175 typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
176 ^
177 /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
178 static kis_glFenceSync k_glFenceSync = 0;
179 ^
180 /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)
181 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
182 ^
183 /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
184 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:51: error: expected primary-expression before ‘,’ token
185 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
186 ^
187 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:60: error: expected primary-expression before ‘,’ token
188 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
189 ^
190 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:69: error: expected primary-expression before ‘*’ token
191 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
192 ^
193 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:70: error: expected primary-expression before ‘,’ token
194 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
195 ^
196 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:77: error: expected primary-expression before ‘*’ token
197 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
198 ^
199 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:78: error: expected primary-expression before ‘)’ token
200 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*);
201 ^
202 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:314:12: error: ‘kis_glGetSynciv’ does not name a type
203 static kis_glGetSynciv k_glGetSynciv = 0;
204 ^
205 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:315:44: error: typedef ‘Sync::kis_glDeleteSync’ is initialized (use decltype instead)
206 typedef void (*kis_glDeleteSync)(GLsync);
207 ^
208 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:315:38: error: ‘GLsync’ was not declared in this scope
209 typedef void (*kis_glDeleteSync)(GLsync);
210 ^
211 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:316:12: error: ‘kis_glDeleteSync’ does not name a type
212 static kis_glDeleteSync k_glDeleteSync = 0;
213 ^
214 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h: In function ‘void Sync::init()’:
215 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:334:82: error: ‘GLEW_ARB_sync’ was not declared in this scope
216 if ((QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_Version_3_2) || GLEW_ARB_sync) {
217 ^
218 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:336:13: error: ‘k_glFenceSync’ was not declared in this scope
219 k_glFenceSync = (kis_glFenceSync)VSyncWorkaround::qglx_getProcAddress("glFenceSync");
220 ^
221 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:336:30: error: ‘kis_glFenceSync’ was not declared in this scope
222 k_glFenceSync = (kis_glFenceSync)VSyncWorkaround::qglx_getProcAddress("glFenceSync");
223 ^
224 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:336:46: error: expected ‘;’ before ‘VSyncWorkaround’
225 k_glFenceSync = (kis_glFenceSync)VSyncWorkaround::qglx_getProcAddress("glFenceSync");
226 ^
227 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:337:13: error: ‘k_glGetSynciv’ was not declared in this scope
228 k_glGetSynciv = (kis_glGetSynciv)VSyncWorkaround::qglx_getProcAddress("glGetSynciv");
229 ^
230 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:337:30: error: ‘kis_glGetSynciv’ was not declared in this scope
231 k_glGetSynciv = (kis_glGetSynciv)VSyncWorkaround::qglx_getProcAddress("glGetSynciv");
232 ^
233 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:337:46: error: expected ‘;’ before ‘VSyncWorkaround’
234 k_glGetSynciv = (kis_glGetSynciv)VSyncWorkaround::qglx_getProcAddress("glGetSynciv");
235 ^
236 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:338:13: error: ‘k_glDeleteSync’ was not declared in this scope
237 k_glDeleteSync = (kis_glDeleteSync)VSyncWorkaround::qglx_getProcAddress("glDeleteSync");
238 ^
239 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:338:31: error: ‘kis_glDeleteSync’ was not declared in this scope
240 k_glDeleteSync = (kis_glDeleteSync)VSyncWorkaround::qglx_getProcAddress("glDeleteSync");
241 ^
242 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:338:48: error: expected ‘;’ before ‘VSyncWorkaround’
243 k_glDeleteSync = (kis_glDeleteSync)VSyncWorkaround::qglx_getProcAddress("glDeleteSync");
244 ^
245 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:341:13: error: ‘k_glFenceSync’ was not declared in this scope
246 if (k_glFenceSync == 0 || k_glGetSynciv == 0 || k_glGetSynciv == 0) {
247 ^
248 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:341:35: error: ‘k_glGetSynciv’ was not declared in this scope
249 if (k_glFenceSync == 0 || k_glGetSynciv == 0 || k_glGetSynciv == 0) {
250 ^
251 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h: At global scope:
252 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:347:5: error: ‘GLsync’ does not name a type
253 GLsync getSync() {
254 ^
255 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:355:27: error: ‘GLsync’ was not declared in this scope
256 SyncStatus syncStatus(GLsync syncObject) {
257 ^
258 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:355:46: error: expected ‘,’ or ‘;’ before ‘{’ token
259 SyncStatus syncStatus(GLsync syncObject) {
260 ^
261 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:609:0:
262 /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6_build/krita/ui/kis_opengl_canvas2.moc:94:1: error: expected ‘}’ at end of input
263 }
264 ^
265 krita/ui/CMakeFiles/kritaui.dir/build.make:2894: recipe for target 'krita/ui/CMakeFiles/kritaui.dir/opengl/kis_opengl_canvas2.cpp.o' failed
266 make[2]: *** [krita/ui/CMakeFiles/kritaui.dir/opengl/kis_opengl_canvas2.cpp.o] Error 1
267 make[2]: *** Waiting for unfinished jobs....
268 make[2]: Leaving directory '/var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6_build'
269 CMakeFiles/Makefile2:8488: recipe for target 'krita/ui/CMakeFiles/kritaui.dir/all' failed
270 make[1]: *** [krita/ui/CMakeFiles/kritaui.dir/all] Error 2
271 make[1]: Leaving directory '/var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6_build'
272 Makefile:126: recipe for target 'all' failed
273 make: *** [all] Error 2
274 * ERROR: app-office/calligra-2.8.6::gentoo failed (compile phase):
275 * emake failed
276
277
278
279 The output of "egrep -ir "calligra|plan|kdepim" /etc/portage" is:
280
281
282 /etc/portage/package.use/poppler:# required by app-office/calligra-2.8.5[okular]
283 /etc/portage/package.use/poppler:# required by app-office/calligra (argument)
284 /etc/portage/package.use/calligra:app-office/calligra attica crypt eigen exif fontconfig freetds glew glib gsf handbook jpeg jpeg2k kdcraw kde lcms marble mysql okular openexr opengl pdf threads tiff truetype xml kdepim -aqua -fftw -gsl -import-filter -nepomuk -postgres -spacenav -sybase -test -vc -xbase CALLIGRA_FEATURES="krita"
285 /etc/portage/package.keywords/calligra:# required by =app-office/calligra-2.8.6 (argument)
286 /etc/portage/package.keywords/calligra:=app-office/calligra-2.8.6 ~amd64
287 /etc/portage/package.keywords/calligra:# required by =app-office/calligra-2.8.7 (argument)
288 /etc/portage/package.keywords/calligra:# =app-office/calligra-2.8.7 ~amd64
289 /etc/portage/package.keywords/plan9port:# required by dev-util/plan9port (argument)
290 /etc/portage/package.keywords/plan9port:=dev-util/plan9port-20140306 ~amd64
291
292
293 Best regards,
294 Meino

Replies

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