* [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset
@ 2016-07-18 11:19 Andrew Lowe
2016-07-18 12:03 ` Fernando Rodriguez
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lowe @ 2016-07-18 11:19 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset
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
0 siblings, 1 reply; 4+ messages in thread
From: Fernando Rodriguez @ 2016-07-18 12:03 UTC (permalink / raw
To: gentoo-user
-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXjMWcAAoJEPbOFX/5Ulwc32wQAJiC462L8Ql2e31nUuPcQNKu
f6EWtzXXgx48+4PMeEceJ5flDaSSc7ogXq+sgs/rA4r4NR2Khx77/f76dwVrP1UB
5osM3XatgoWancxewjw8HzW3pPrgBYOZN4Qm1ZLfKHEveS3N8LGx2EDIVUC7QDbf
sdEUQ4nWoA/KiMV0V/sFA/3NYsHrH8FRc7mb6HUchyQEitcMIbK3X0OU+r6bBEvc
7kX7j6bpcsM+W/9YF0jFwFtxYU7CwtEcY4cJaqdkMvEj1yaxkJPAPvBrfzenLVog
ZKovil4nk494t4U0niZ7kzBgTjPn3gOBvisGb2YSfeVYX/yYL7zs42ZFh2fcuSwT
DUgvmNMHweqjsj51zZoXxx9dT/bkJJqjXyNdnX0BqIuyQAJ4LITtW412l9/H0VIW
1bybRduZ1aEIeYJovsjgwp/NITMZvBPr1EM0QIGrppnCs45zs3ambcQqNbk0vTc8
3qghaTAcrUX9FMgeuf0k8LUaJPBdjTxFBDMFv7fr4mPpLgr0mWYYN3zgRPM9SDh5
3FC+aXv24T6e+ly96sgluhY05CC18mSEkhUGzJR4qZdIKC2GFl47pNxHWU7T1qsq
wRzIBnfEUI2Y2Cae6lCwHbY3hs+ltUgCUhM2l1z7fAsj4KFnXV6ooa52BEM9dUam
0DxCZMPa4tI+/LjGOee1
=EsNF
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset
2016-07-18 12:03 ` Fernando Rodriguez
@ 2016-07-18 13:18 ` Andrew Lowe
2016-07-18 13:39 ` Andrew Lowe
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lowe @ 2016-07-18 13:18 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset
2016-07-18 13:18 ` Andrew Lowe
@ 2016-07-18 13:39 ` Andrew Lowe
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Lowe @ 2016-07-18 13:39 UTC (permalink / raw
To: gentoo-user
On 18/07/16 21:18, Andrew Lowe wrote:
> 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
I have no idea as to why, but I've just rerun the install and it now
works, llvm is installed. Since my original post I reran "emerge
eselect-python", as to whether that fixed the problem I have no idea.
Fernando, thanks for the feedback,
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-07-18 13:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-07-18 13:39 ` Andrew Lowe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox