From: Andrew Lowe <agl@wht.com.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset
Date: Mon, 18 Jul 2016 21:18:24 +0800 [thread overview]
Message-ID: <a83c0b81-7c60-5cb5-aa21-b3d8dd521740@wht.com.au> (raw)
In-Reply-To: <4923d8a0-3c74-cb7f-db11-1936d3107689@gmail.com>
On 18/07/16 20:03, Fernando Rodriguez wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 07/18/2016 07:19 AM, Andrew Lowe wrote:
>> Hi all,
>> I'm attempting to update llvm & clang and am getting a failure. Portage is reporting:
>>
>> * ERROR: sys-devel/llvm-3.8.1::gentoo failed (install phase):
>> * python_fix_shebang: EPYTHON unset (pkg_setup not called?)
>>
>> I've looked in the ebuild and can't even find a mention of EPYTHON. I've tried:
>>
>> export EPYTHON=python3.5
>>
>> and
>>
>> export EPYTHON=python2.7
>>
>> and still the fail persists. Anyone got any thoughts on what could be going wrong?
>>
>> Regards,
>> Andrew
>>
>>
>
> It is set on python-single-r1.eclass. What is the output of these commands?
>
> # eselect python list
> # emerge -vp sys-devel/llvm
Fernando,
Thanks for the reply. Output is as follows:
****************
bluey agl # eselect python list
Available Python interpreters, in order of preference:
[1] python3.5
[2] python3.4
[3] python2.7 (fallback)
bluey agl #
****************
Notice there is no asterisk indicating an "active" version as I would
expect, like if I list opengl, opencl, ruby, binutils and others.
When I noticed this, I ran python-updater and got:
****************
bluey agl # python-updater
* Starting Python Updater...
* Main active version of Python: 3.5
* Active version of Python 2: 2.7
* Active version of Python 3: 3.5
* Globally supported Python ABIs in installed repositories:
* agl: 2.4 2.5 2.6 2.7 3.1 3.2 3.3
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
* gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
* nightmare: 2.4 2.5 2.6 2.7 3.1 3.2 3.3
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
* No packages need to be reinstalled.
****************
Pretending to run the emerge gives me:
****************
bluey agl # emerge -vp sys-devel/llvm
* WARNING: The FEATURES variable contains one or more values that
* should be disabled under normal circumstances: keeptemp keepwork
These are the packages that would be merged, in order:
Calculating dependencies ... done!
[ebuild U ] sys-devel/llvm-3.8.1:0/3.8.0::gentoo
[3.8.0-r3:0/3.8.0::gentoo] USE="clang libffi lldb ncurses
static-analyzer xml -debug -doc -gold -libedit -multitarget -ocaml
-python {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7"
VIDEO_CARDS="-radeon" 0 KiB
[ebuild U ] sys-devel/clang-3.8.1-r100:0/3.8::gentoo
[3.8.0-r100:0/3.8::gentoo] USE="static-analyzer -debug -multitarget
-python" ABI_X86="(64) -32 (-x32)" 0 KiB
[blocks b ] <=sys-devel/clang-3.8.1-r99
("<=sys-devel/clang-3.8.1-r99" is blocking sys-devel/llvm-3.8.1)
Total: 2 packages (2 upgrades), Size of downloads: 0 KiB
Conflict: 1 block
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
****************
As the error happened during the install phase, I changed from
"emerge...." to "ebuild llvm install". When this runs, the first line
that is output is the following:
python-exec: EPYTHON value invalid (/usr/bin/python2.7).
Anything else you need?
Regards,
Andrew
next prev parent reply other threads:[~2016-07-18 13:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-18 11:19 [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset Andrew Lowe
2016-07-18 12:03 ` Fernando Rodriguez
2016-07-18 13:18 ` Andrew Lowe [this message]
2016-07-18 13:39 ` Andrew Lowe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a83c0b81-7c60-5cb5-aa21-b3d8dd521740@wht.com.au \
--to=agl@wht.com.au \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox