Summary: | kde-apps/analitza-15.12.3: build failed in linker phase with USE="-opengl" w/o dev-qt/qtopengl present | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, kroemmelbein, orodruinlair, penguin |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge.log.gz
emerge.log |
Description
Toralf Förster
2016-05-24 19:16:55 UTC
Created attachment 435296 [details]
emerge.log
ha, when I add the line kde-apps/analitza opengl to the file /etc/portage/package.use/z_misc then qtopengl-5.6.0 is emerged and all is fine : alculating dependencies .. . ... ... done! [ebuild N ] kde-apps/kalgebra-15.12.3 USE="handbook readline -debug -opengl" [ebuild N ] kde-apps/analitza-15.12.3 USE="opengl -debug -eigen {-test}" [ebuild NS ~] dev-qt/qtopengl-5.6.0 [4.8.7] USE="gles2 -debug {-test}" I think i have found the upstream build system cause, they have forked plotter3d.cpp in plotter3d_es.cpp. plotter3d.cpp honours HAVE_OPENGL, and plotter3d_es.cpp not. Maybe there are more sources affected by the class fork https://quickgit.kde.org/?p=analitza.git&a=blob&h=4f7a52956ff100ace3862098d8498fd680db4d2f&hb=04f243b51eaf6a9d0e56f8970e0cf490a1bd11e1&f=analitzaplot%2FCMakeLists.txt Upstream build system needs patching. plotter3d.{cpp,h} is removed in 17.04: https://cgit.kde.org/analitza.git/commit/?id=904ef1cc917276cf85946c18288ede098a50d462 Dropping USE=opengl: https://gitweb.gentoo.org/proj/kde.git/commit/?id=e4b4fe288029a729aa44dc3c695d3dab2f6a1185 I can't reproduce that issue with USE=-opengl and after removing qtopengl:5, maybe this was actually fixed by https://cgit.kde.org/analitza.git/commit/?h=Applications/16.12&id=a872aa34d73e93191bb24ecf3a007ad3958f1020 Frank, if you indeed got the same error as above, could you share your build.log? (In reply to Andreas Sturmlechner from comment #5) > I can't reproduce that issue with USE=-opengl and after removing qtopengl:5, > maybe this was actually fixed by > https://cgit.kde.org/analitza.git/commit/?h=Applications/16. > 12&id=a872aa34d73e93191bb24ecf3a007ad3958f1020 > > Frank, if you indeed got the same error as above, could you share your > build.log? Sorry my mistake. No can´t reproduce this error, the reference to this ticket from me in the other ticket was wrong. And I would have to filter out this error in the other ticket. Only real issue was that this application failed test. I can confirm that your commit fixed this for me: https://github.com/gentoo/gentoo/commit/595b5ca7e2257eef1457b7c86a18054453b292a0 Great, let's declare this fixed. This issue has returned for kde-apps/analitza-17.04.0; fails to compile in the same spot, but regardless of USE='opengl' or USE='-opengl'. (In reply to Arnim Eijkhoudt from comment #8) > This issue has returned for kde-apps/analitza-17.04.0; fails to compile in > the same spot, but regardless of USE='opengl' or USE='-opengl'. If you have gles2 enabled globally, please re-think that decision and then try again with analitza. That seems to have solved it, I've restricted gles* to the relevant packages. Thanks for the quick reply and recommendation. Forced -gles2 in git commit 3d322deda2770eee9e431607244f55866b1ee17e |