Since the upstream commit [1] gps/{__init__,gps}.py files are templatized, and so aren't present in the source tree. Instead, they are generated in the build directory. The ebuild, however, still runs setup.py script in the source directory, which fails to find and install these files (they aren't there since that commit). The end result is that Python programs using these modules fail to start, including, for example, the bundled xgps utility: > $ xgps > Traceback (most recent call last): > File "/usr/bin/xgps", line 70, in <module> > if gps.__version__ != gps_version: > AttributeError: module 'gps' has no attribute '__version__' I've attached a simple patch to the ebuild that fixes the issue to me (both src_compile() and src_install() hunks seem to be required, otherwise the install script complains). [1] https://gitlab.com/gpsd/gpsd/-/commit/1912054625c34a26b0c1b5fcf66d81f21358c20b
Created attachment 733643 [details, diff] fix
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f268b9b67d24bcf1f6d6e376ffa9c5d30bc758f6 commit f268b9b67d24bcf1f6d6e376ffa9c5d30bc758f6 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-08-18 18:39:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-18 19:22:50 +0000 sci-geosciences/gpsd: fix Python modules Thanks-to: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Closes: https://bugs.gentoo.org/808805 Signed-off-by: Sam James <sam@gentoo.org> sci-geosciences/gpsd/{gpsd-3.23.ebuild => gpsd-3.23-r1.ebuild} | 6 +++++- sci-geosciences/gpsd/gpsd-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)