Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937612 - sci-geosciences/gpsd-3.25-r1 fails to install: incompatible shebang
Summary: sci-geosciences/gpsd-3.25-r1 fails to install: incompatible shebang
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:
Blocks:
 
Reported: 2024-08-09 09:57 UTC by Alexey
Modified: 2024-08-12 12:33 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,130.32 KB, text/x-log)
2024-08-09 09:57 UTC, Alexey
Details
emerge --info (emerge.info,23.08 KB, text/plain)
2024-08-09 09:58 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2024-08-09 09:57:00 UTC
Created attachment 899665 [details]
build.log

* The file has incompatible shebang:                                                                                                                                                                                                                                             
 *   file: //usr/lib/python-exec/python3.11/cgps                                                                                                                                                                                                                                  
 *   current shebang: ELF>�_@��
Comment 1 Alexey 2024-08-09 09:58:23 UTC
Created attachment 899666 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-08-12 12:33:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b1222f17bb1f28e3151b1e00d2ddb22645e00a

commit 91b1222f17bb1f28e3151b1e00d2ddb22645e00a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-12 12:29:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-12 12:32:26 +0000

    sci-geosciences/gpsd: fix USE=python install
    
    * Add missing `assert` which reveals one problem where the directory
    is trashed after one impl, which is a problem given the package
    is multi impl.
    
    * grep for the known-bad shebang before fixing so we don't try to touch ELF.
    
    Closes: https://bugs.gentoo.org/937612
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gpsd/{gpsd-3.25-r1.ebuild => gpsd-3.25-r2.ebuild}   | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)