Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573264 - [science overlay] =sci-physics/root-9999 installs python scripts with broken shebangs
Summary: [science overlay] =sci-physics/root-9999 installs python scripts with broken ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 03:20 UTC by Oliver Freyermuth
Modified: 2018-07-06 14:07 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 Oliver Freyermuth 2016-01-29 03:20:17 UTC
Since the "bugfix" done upstream:
https://sft.its.cern.ch/jira/browse/ROOT-7888
for configure-style installation, the shebangs of the installed python-scripts look like:

#!/usr/bin/env /var/tmp/portage/sci-physics/root-9999/temp/python2.7/bin/python

since "configure" calls "which" and embeds the absolute path to the python-wrapper found during compile-time. 
Needless to say, this means execution fails. 

The best solution might be to use facilities of the python-eclass to handle the script installation / replace upstreams shebang altogether. 

Reproducible: Always
Comment 1 Oliver Freyermuth 2017-05-07 16:40:54 UTC
Since the configure-style build is breaking regularly because upstream is focussing on cmake only, it might even be best to start a 9999 ebuild from scratch relying on cmake only...
Comment 2 Guilherme Amadio gentoo-dev 2018-07-06 08:37:51 UTC
I added a live ebuild to the main tree:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b894710cc425e03d54562c56eab0731d333dc1

We can remove it from the science overlay now.
Comment 3 Oliver Freyermuth 2018-07-06 09:39:34 UTC
Cool, many thanks!
Sadly, all issues / PR I opened for https://github.com/gentoo/sci in the last half year are completely without reaction, so I doubt it will be removed if I open an issue there. Essentially, it seems to be dead for the community (and only be used by those with direct push access). 

Do you have permissions / contacts to get the old, unmaintained ebuild removed? 
I'm also upstreaming some other ebuild that ought to be removed from gentoo/sci later.
Comment 4 Justin Bronder (RETIRED) gentoo-dev 2018-07-06 14:07:21 UTC
commit 854e59ed4c4d28e6e165da84022274fb7675d401
Author: Justin Bronder <jsbronder@gentoo.org>
Date:   Fri Jul 6 10:06:24 2018 -0400

    sci-physics/root: in main tree
    
    Removal per https://bugs.gentoo.org/573264
    
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    RepoMan-Options: --force