Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485876 - kde-base/kalgebra-4.11.1 USE=opengl should depend on kde-base/analitza[opengl]
Summary: kde-base/kalgebra-4.11.1 USE=opengl should depend on kde-base/analitza[opengl]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-24 16:16 UTC by Sven Wehner
Modified: 2013-10-02 05:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Wehner 2013-09-24 16:16:14 UTC
There seems to be a minor problem with the (currently unstable) kalgebra 4.11.1 ebuild: If the opengl use flag is enabled, it doesn't enforce kde-base/analitza to enable opengl as well. This results in a compiler error:
--- snip ---
[...]
[ 37%] Built target plasma_applet_kalgebra
make -f mobile/declarative/CMakeFiles/analitzadeclarativeplugin.dir/build.make mobile/declarative/CMakeFiles/analitzadeclarativeplugin.dir/depend
make[2]: Entering directory `/var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build'
cd /var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1 /var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1/mobile/declarative /var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build /var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build/mobile/declarative /var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build/mobile/declarative/CMakeFiles/analitzadeclarativeplugin.dir/DependInfo.cmake
Dependee "/var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build/mobile/declarative/CMakeFiles/analitzadeclarativeplugin.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build/mobile/declarative/CMakeFiles/analitzadeclarativeplugin.dir/depend.internal".
Dependee "/var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build/mobile/declarative/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build/mobile/declarative/CMakeFiles/analitzadeclarativeplugin.dir/depend.internal".
Scanning dependencies of target analitzadeclarativeplugin
/var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1/src/kalgebra.cpp:28:39: fatal error: analitzagui//plotsview3d.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/kalgebra.dir/kalgebra.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build'
make[1]: *** [src/CMakeFiles/kalgebra.dir/all] Error 2
make[1]: /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/kde-base/kalgebra-4.11.1/work/kalgebra-4.11.1_build/CMakeFiles 21
[...]
--- snap ---

Could you please add the use flag dependency to kalgebra's ebuild?
Thanks!


Workaround: You can circumvent the problem by adding the opengl use flag to analitza (which installs "/usr/include/analitzagui/plotsview3d.h") and re-emerging both packages.
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2013-10-02 05:30:48 UTC
Fixed, thanks for the report.