Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554786 - app-text/asciidoc throws SyntaxError when built with PYTHON_SINGLE_TARGET="python3_4"
Summary: app-text/asciidoc throws SyntaxError when built with PYTHON_SINGLE_TARGET="py...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 19:06 UTC by gentoo-user
Modified: 2015-07-19 09:38 UTC (History)
2 users (show)

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 gentoo-user 2015-07-13 19:06:19 UTC
Running `asciidoc' causes asciidoc to fail with:

  File "/usr/bin/asciidoc.py", line 101
    except KeyError, k: raise AttributeError, k
                   ^
SyntaxError: invalid syntax


Reproducible: Always

Steps to Reproduce:
1. Install asciidoc with PYTHON_SINGLE_TARGET="python3_4"
2. Run asciidoc
3. See error
Actual Results:  
asciidoc errors out with a syntax error

Expected Results:  
asciidoc shows usage/processes files
Comment 1 Jarek Rymut 2015-07-18 17:16:46 UTC
Well, happening to me to.
Noob question. Fix will be released as 8.6.9-r2, so I can keep -r1 in package.env and forget about it?
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2015-07-19 09:38:11 UTC
No, I just reverted my change for bug 546110 again in 8.6.9-r1.