Alan McKinnon <alan.mckin...@gmail.com> [15-01-16 17:00]: > On 16/01/2015 17:09, meino.cra...@gmx.de wrote: > > Alan McKinnon <alan.mckin...@gmail.com> [15-01-16 16:00]: > >> On 16/01/2015 15:40, meino.cra...@gmx.de wrote: > >>> Alan McKinnon <alan.mckin...@gmail.com> [15-01-16 13:40]: > >>>> On 16/01/2015 14:28, meino.cra...@gmx.de wrote: > >>>>> Hi, > >>>>> > >>>>> I want to install Calligra to get Kita. > >>>>> For that I compiled every version available via portage. > >>>>> All failed to compile, which may be caused on problems > >>>>> caused by other sources than calligra. > >>>>> > >>>>> Which version is known to compile cleanly ? > >>>>> > >>>>> Thank you very much for any help! > >>>>> Best regards, > >>>>> Meino > >>>> > >>>> > >>>> > >>>> Calligra builds and installs just fine here: > >>>> > >>>> > >>>> $ genlop -t calligra > >>>> * app-office/calligra > >>>> ... > >>>> Sun Jan 11 10:46:11 2015 >>> app-office/calligra-2.8.7 > >>>> merge time: 37 minutes and 19 seconds. > >>>> > >>>> > >>>> > >>>> $ eix calligra > >>>> [I] app-office/calligra > >>>> Installed versions: 2.8.7(4)^t(10:45:30 11/01/2015)(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 CALLIGRA_FEATURES="author braindump flow karbon > >>>> kexi krita sheets stage words -plan") > >>>> > >>>> > >>>> > >>>> -- > >>>> Alan McKinnon > >>>> alan.mckin...@gmail.com > >>>> > >>>> > >>> > >>> Hi Alan, > >>> > >>> thanks for your reply ! :) > >>> > >>> I copied your use flags and started emerge... > >>> > >>> Got this from the oracle: > >>> > >>> !!! Problem resolving dependencies for app-office/calligra > >>> ... done! > >>> > >>> !!! The ebuild selected to satisfy "calligra" has unmet requirements. > >>> - 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" > >>> > >>> The following REQUIRED_USE flag constraints are unsatisfied: > >>> calligra_features_plan? ( kdepim ) > >>> > >>> The above constraints are a subset of the following complete expression: > >>> 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 ) > >>> > >>> > >>> And if I had learned from previous given holy mubles of the great > >>> portage it means: The feature calligra_features_plan of calligra wants > >>> kdepim installed which in turn (I tried to emerge it) cannot be found > >>> as ebuild. > >>> > >>> I smy prophecy in so far correct or need I more spider legs and frog > >>> eyes in the mystric soup? ;) > >> > >> > >> > >> You're on the right track, but missing on the detail: > >> > >> The following REQUIRED_USE flag constraints are unsatisfied: > >> calligra_features_plan? ( kdepim ) > >> > >> > >> means it needs USE=kdepim > >> > >> Either add it globally in make,conf or just for calligra in package.use > >> > >> You got this error because USE="kdepim" is not in the list of flags for > >> calligra itself, so you didn't know to add it. > >> > >> Beware though, this will pull in an almighty list of kde stuff, which > >> you might not want.... > >> > >> > >> -- > >> Alan McKinnon > >> alan.mckin...@gmail.com > >> > >> > > > > Hi Alan, > > > > thanks for the support again! :) > > > > These are the USE flags, which were active during the compilation, > > which produces the above error > > > > > > 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 -aqua -fftw -gsl > > -import-filter kdepim -nepomuk -postgres -spacenav -sybase -test -vc > > -xbase CALLIGRA_FEATURES="krita" > > > > Kdepim was set. > > > > On the other hand -- you mentioned this will pull a lot of kde-stuff. > > I only wnat krita...is there a more convenient, faster way to get > > krita running without pulling the whole kde ? > > > > Best regards, > > Meino > > > I'm getting confused too now. You only have krita in FEATURES, yet it > wants to pull in plan. And, your posted output seems to have a typo. > Yes, it does have kdepim in USE, but it's right in the middle of the > unset list. Are you 100% certain that post is correct? > > What I did in the past is to enable all calligra features except plan > (as that pulls in kdepim which I certainly don't want - it's a complete > POS, doesn't work, and has caused many people to lose mails including > me) so I put this in make.conf: > > CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage > words -plan" > > You might have some portage config file pollution. Can you post the > output of: > > egrep -ir "calligra|plan|kdepim" /etc/portage > > > > -- > Alan McKinnon > alan.mckin...@gmail.com > >
Hi Alan, sorry for my delay... I again run emerge. Before that I did the following: I edited make.conf to include CALLIGRA_FEATURES="krita". The "kdepim" in the middle of the unset list was the result of copying your use flags for calligra (in one of the previous posts) and then remove the "-" in front of "kdepim" because the emerge process has wanted it. The emerging still fails...but the color is different... ;) The error messages are: 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: /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] typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield); ^ /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) /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 typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield); ^ /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 static kis_glFenceSync k_glFenceSync = 0; ^ /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) typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*); ^ /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 /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 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*); ^ /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 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*); ^ /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 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*); ^ /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 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*); ^ /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 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*); ^ /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 typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*); ^ /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 static kis_glGetSynciv k_glGetSynciv = 0; ^ /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) typedef void (*kis_glDeleteSync)(GLsync); ^ /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 typedef void (*kis_glDeleteSync)(GLsync); ^ /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 static kis_glDeleteSync k_glDeleteSync = 0; ^ /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()’: /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 if ((QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_Version_3_2) || GLEW_ARB_sync) { ^ /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 k_glFenceSync = (kis_glFenceSync)VSyncWorkaround::qglx_getProcAddress("glFenceSync"); ^ /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 k_glFenceSync = (kis_glFenceSync)VSyncWorkaround::qglx_getProcAddress("glFenceSync"); ^ /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’ k_glFenceSync = (kis_glFenceSync)VSyncWorkaround::qglx_getProcAddress("glFenceSync"); ^ /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 k_glGetSynciv = (kis_glGetSynciv)VSyncWorkaround::qglx_getProcAddress("glGetSynciv"); ^ /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 k_glGetSynciv = (kis_glGetSynciv)VSyncWorkaround::qglx_getProcAddress("glGetSynciv"); ^ /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’ k_glGetSynciv = (kis_glGetSynciv)VSyncWorkaround::qglx_getProcAddress("glGetSynciv"); ^ /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 k_glDeleteSync = (kis_glDeleteSync)VSyncWorkaround::qglx_getProcAddress("glDeleteSync"); ^ /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 k_glDeleteSync = (kis_glDeleteSync)VSyncWorkaround::qglx_getProcAddress("glDeleteSync"); ^ /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’ k_glDeleteSync = (kis_glDeleteSync)VSyncWorkaround::qglx_getProcAddress("glDeleteSync"); ^ /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 if (k_glFenceSync == 0 || k_glGetSynciv == 0 || k_glGetSynciv == 0) { ^ /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 if (k_glFenceSync == 0 || k_glGetSynciv == 0 || k_glGetSynciv == 0) { ^ /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: /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 GLsync getSync() { ^ /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 SyncStatus syncStatus(GLsync syncObject) { ^ /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 SyncStatus syncStatus(GLsync syncObject) { ^ 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: /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 } ^ krita/ui/CMakeFiles/kritaui.dir/build.make:2894: recipe for target 'krita/ui/CMakeFiles/kritaui.dir/opengl/kis_opengl_canvas2.cpp.o' failed make[2]: *** [krita/ui/CMakeFiles/kritaui.dir/opengl/kis_opengl_canvas2.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6_build' CMakeFiles/Makefile2:8488: recipe for target 'krita/ui/CMakeFiles/kritaui.dir/all' failed make[1]: *** [krita/ui/CMakeFiles/kritaui.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6_build' Makefile:126: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: app-office/calligra-2.8.6::gentoo failed (compile phase): * emake failed The output of "egrep -ir "calligra|plan|kdepim" /etc/portage" is: /etc/portage/package.use/poppler:# required by app-office/calligra-2.8.5[okular] /etc/portage/package.use/poppler:# required by app-office/calligra (argument) /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" /etc/portage/package.keywords/calligra:# required by =app-office/calligra-2.8.6 (argument) /etc/portage/package.keywords/calligra:=app-office/calligra-2.8.6 ~amd64 /etc/portage/package.keywords/calligra:# required by =app-office/calligra-2.8.7 (argument) /etc/portage/package.keywords/calligra:# =app-office/calligra-2.8.7 ~amd64 /etc/portage/package.keywords/plan9port:# required by dev-util/plan9port (argument) /etc/portage/package.keywords/plan9port:=dev-util/plan9port-20140306 ~amd64 Best regards, Meino