Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360001 - kde-base/marble-4.6.1 automagically detects gpsd, ignoring the "gps" use flag.
Summary: kde-base/marble-4.6.1 automagically detects gpsd, ignoring the "gps" use flag.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 21:11 UTC by Kevin McCarthy (RETIRED)
Modified: 2011-04-25 17:28 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 Kevin McCarthy (RETIRED) gentoo-dev 2011-03-22 21:11:10 UTC
I had sci-geosciences/gpsd installed without the "qt4" use flag set and decided to emerge kde-meta. I was only using gpsd for testing another package, so I do not have the "gps" use flag set. When it got to kde-base/marble it failed to compile:

[ 95%] Building CXX object marble/src/plugins/positionprovider/gpsd/CMakeFiles/GpsdPositionProviderPlugin.dir/GpsdConnection.o                                                                          
In file included from /var/tmp/portage/kde-base/marble-4.6.1/work/marble-4.6.1/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:11:0:
/var/tmp/portage/kde-base/marble-4.6.1/work/marble-4.6.1/marble/src/plugins/positionprovider/gpsd/GpsdConnection.h:19:22: fatal error: libgpsmm.h: No such file or directory
compilation terminated.

If I rebuild gpsd with the "qt4" USE flag, marble compiles cleanly, but still builds the GpsdPositionProviderPlugin, even with USE="-gps". If I remove gpsd from my system marble builds without the GpsdPositionProvider.

It would appear that marble's build system is detecting the presence of gpsd on my system and enabling support if it finds it, even if I have the gps use flag unset:

% emerge -pv marble

These are the packages that would be merged, in order:

Calculating dependencies                           ... done!
[ebuild   R    ] kde-base/marble-4.6.1  USE="handbook python (-aqua) -debug -designer-plugin -gps (-kdeenablefinal) (-kdeprefix) -plasma -test" 0 kB                                                    

Total: 1 package (1 reinstall), Size of downloads: 0 kB
% qlist marble | grep Gpsd
/usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so

Reproducible: Always

Steps to Reproduce:
1. Install sci-geosciences/gpsd
2. emerge kde-base/marble with USE="-gps"
3.
Actual Results:  
/usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so is built and installed.

Expected Results:  
GpsdPositionProviderPlugin.so should not be built.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-30 10:29:17 UTC

*** This bug has been marked as a duplicate of bug 360471 ***
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-30 10:30:38 UTC
Oops wrong bug :)
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-04-11 02:14:17 UTC
Fixed in 4.6.2-r1.