Gentoo Archives: gentoo-alt

From: Michael Yang <yangofzeal@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] setsid using non-bootstrap shebang python
Date: Mon, 03 Aug 2009 14:06:41
Message-Id: 2125c95f0908030706i1f7acf75ta4e00fada20672a2@mail.gmail.com
1 On FreeBSD-7.2 I found a newly added portage file
2 $EPREFIX/usr/lib/portage/bin/setsid having the shebang line:
3 #!/usr/bin/python -O
4 Is the file new? I didn't see it a few days ago. The file reads:
5 $Id: setsid 13869 2009-07-31 07:41:14Z grobian $
6
7 After installing this file, ebuild.sh fails since FreeBSD 7.2 doesn't
8 have /usr/bin/python by default.
9 A workaround: I have to manually update the shebang line to:
10 #!${MY_PREFIX}/usr/bin/python
11
12 Can the portage install figure out how to reference the bootstrapped
13 python so as to avoid the workaround?

Replies

Subject Author
[gentoo-alt] Re: setsid using non-bootstrap shebang python Michael Yang <yangofzeal@×××××.com>
Re: [gentoo-alt] setsid using non-bootstrap shebang python Fabian Groffen <grobian@g.o>