Summary: | app-text/asciidoc-8.6.9-r1 installs /usr/bin/asciidoc with python3.3 shebang (was sys-fs/btrfs-progs-4.1 fails to compile with SyntaxError: invalid syntax) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven Müller <musv> |
Component: | Current packages | Assignee: | Marc Joliet <marcec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | djc, proxy-maint, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info /usr/bin/asciidoc |
Description
Sven Müller
2015-07-19 08:11:17 UTC
Created attachment 407126 [details]
build.log
Created attachment 407128 [details]
emerge --info
Played around with some options: The source of the problem is: PYTHON_SINGLE_TARGET="python3_3" Setting this to python-2.7 works. What version of app-text/asciidoc do you have installed? 8.6.9-r1 Can you attach /usr/bin/asciidoc to this bug? I'm mainly interested in the shebang on the first line. Created attachment 407292 [details]
/usr/bin/asciidoc
The Shebang of /usr/bin/asciidoc
#!/usr/bin/env python3.3
The python version seems to be correct.
(In reply to Sven Müller from comment #7) Thanks. asciidoc should never have a python3.3 shebang; it is only compatible with python2. It looks like this would occur if you had installed asciidoc between 12 Jul 2015 and 19 Jul 2015. 19 Jul 2015; Dirkjan Ochtman <djc@gentoo.org> asciidoc-8.6.9-r1.ebuild: Remove python 3.3, 3.4 compatibility again (bug 554786) 12 Jul 2015; Dirkjan Ochtman <djc@gentoo.org> asciidoc-8.6.9-r1.ebuild: Add python 3.3, 3.4 compatibility (fixes bug 546110) djc: Please revbump asciidoc so people don't randomly run into it. Keeping stable keywords should be fine. (In reply to Mike Gilbert from comment #9) > It looks like this would occur if you had installed asciidoc between 12 Jul > 2015 and 19 Jul 2015. That's correct. Is it necessary to test anything else with a new portage sync? Otherwise I'll stay with PYTHON_SINGLE_TARGET="python2_7". There were some other packages with some trouble with Python 3.3. Probably could've done so earlier, but closing now that app-text/asciidoc-8.6.9-r1 is gone. |