Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861305 - portage and EPREFIX she-bang
Summary: portage and EPREFIX she-bang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-26 19:06 UTC by hsk17
Modified: 2022-07-27 06:41 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 hsk17 2022-07-26 19:06:15 UTC
seems that portage-3.0.34.1 does no longer prefixify she-bangs during installation of scripts, e.g., changing #!/bin/tcsh to #!/opt/prefix/bin/tcsh

is this intentional or is it a bug?
how could/should i work around this?
or is something wrong with my prefix configs or ebuilds?
Comment 1 Fabian Groffen gentoo-dev 2022-07-26 19:07:57 UTC
bug for sure, what pkg are you seeing this with?
Comment 2 Larry the Git Cow gentoo-dev 2022-07-26 19:46:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=1967db27a408446c789a1f04ad36810dc21b1aeb

commit 1967db27a408446c789a1f04ad36810dc21b1aeb
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-07-26 19:44:17 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-07-26 19:44:17 +0000

    sys-apps/portage-3.0.34.2: version bump to fix #861305
    
    This fixes the shebang rewrite, and also includes a bunch of changes
    made to reduce differences with master.
    
    Closes: https://bugs.gentoo.org/861305
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 sys-apps/portage/Manifest                                             | 2 +-
 sys-apps/portage/{portage-3.0.34.1.ebuild => portage-3.0.34.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 3 hsk17 2022-07-26 20:02:57 UTC
thanks for the quick fix.

it's a home-grown ebuild for some scientific software, that a. o. installs some shell scripts.  but if looking for it, i probably could have found a gentoo ebuild exposing the bug :-)
Comment 4 Fabian Groffen gentoo-dev 2022-07-27 06:41:42 UTC
I used bzip2 :)