Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642326 - sci-geosciences/gpsd missing xgps
Summary: sci-geosciences/gpsd missing xgps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on: 632372
Blocks:
  Show dependency tree
 
Reported: 2017-12-26 16:02 UTC by Techwolf
Modified: 2018-01-12 16:01 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,75.91 KB, text/plain)
2018-01-03 14:08 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Techwolf 2017-12-26 16:02:07 UTC
xgps is missing due to upstream option change that added "xgps" to its list of option packages.

https://github.com/bzed/gpsd-mirror/commit/410d80c9ee43fe2b67dfa1f472056f952f722f17
Comment 1 Andreas Sturmlechner gentoo-dev 2017-12-28 14:17:21 UTC
I'm not sure how it is missing - upstream default is "true". how do you build gpsd?
Comment 2 Martin Mokrejš 2018-01-03 14:07:22 UTC
I have same issue here, the executable is present in "${S}"/xgps but not in the image dir.

# FEATURES=noclean emerge gpsd
# find /scratch/var/tmp/portage/sci-geosciences/gpsd-3.17-r1 -name xgps
/scratch/var/tmp/portage/sci-geosciences/gpsd-3.17-r1/work/gpsd-3.17/xgps
# ls -latr /scratch/var/tmp/portage/sci-geosciences/gpsd-3.17-r1/work/gpsd-3.17/xgps
-rwxr-xr-x 1 portage portage 36341 Aug 29 22:28 /scratch/var/tmp/portage/sci-geosciences/gpsd-3.17-r1/work/gpsd-3.17/xgps
# /scratch/var/tmp/portage/sci-geosciences/gpsd-3.17-r1/work/gpsd-3.17/xgps
Traceback (most recent call last):
  File "/scratch/var/tmp/portage/sci-geosciences/gpsd-3.17-r1/work/gpsd-3.17/xgps", line 23, in <module>
    import gps.clienthelpers
ImportError: No module named clienthelpers
#

Is DEPEND on dev-python/cli_helpers is missing. But installing it does not help. Probably a similarly named package. See gpsd-3.17-python2_7/lib/gps/gps.py to figure out, maybe?
Comment 3 Martin Mokrejš 2018-01-03 14:08:32 UTC
Created attachment 512970 [details]
build.log
Comment 4 Larry the Git Cow gentoo-dev 2018-01-12 15:54:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80cd95d84632cc83878b72ea2a350c3e1ad44e5a

commit 80cd95d84632cc83878b72ea2a350c3e1ad44e5a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-01-12 15:52:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-01-12 15:54:44 +0000

    sci-geosciences/gpsd: Fix USE=X DEPEND, add missing xgps switch
    
    Closes: https://bugs.gentoo.org/642326
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-geosciences/gpsd/gpsd-3.17-r2.ebuild | 167 +++++++++++++++++++++++++++++++
 1 file changed, 167 insertions(+)