Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 485876

Summary: kde-base/kalgebra-4.11.1 USE=opengl should depend on kde-base/analitza[opengl]
Product: Gentoo Linux Reporter: Sven Wehner <sven>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.