Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError in the configure_ctypes #66849

Closed
bill9889 mannequin opened this issue Oct 17, 2014 · 3 comments
Closed

SyntaxError in the configure_ctypes #66849

bill9889 mannequin opened this issue Oct 17, 2014 · 3 comments
Labels
build The build process and cross-build type-bug An unexpected behavior, bug, or error

Comments

@bill9889
Copy link
Mannequin

bill9889 mannequin commented Oct 17, 2014

BPO 22659
Nosy @berkerpeksag

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2016-04-11.07:40:55.526>
created_at = <Date 2014-10-17.17:11:55.481>
labels = ['type-bug', 'invalid', 'build']
title = 'SyntaxError in the configure_ctypes'
updated_at = <Date 2016-04-11.07:40:55.524>
user = 'https://bugs.python.org/bill9889'

bugs.python.org fields:

activity = <Date 2016-04-11.07:40:55.524>
actor = 'berker.peksag'
assignee = 'none'
closed = True
closed_date = <Date 2016-04-11.07:40:55.526>
closer = 'berker.peksag'
components = ['Cross-Build']
creation = <Date 2014-10-17.17:11:55.481>
creator = 'bill9889'
dependencies = []
files = []
hgrepos = []
issue_num = 22659
keywords = []
message_count = 3.0
messages = ['229584', '238842', '263171']
nosy_count = 3.0
nosy_names = ['BreamoreBoy', 'berker.peksag', 'bill9889']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue22659'
versions = ['Python 3.4']

@bill9889
Copy link
Mannequin Author

bill9889 mannequin commented Oct 17, 2014

Hi all,

I have a issue with the cross-compilation, here I let it:

File "../src/setup.py", line 1849
exec(f.read(), globals(), fficonfig)
SyntaxError: unqualified exec is not allowed in function 'configure_ctypes' it contains a nested function with free variables
make[1]: *** [sharedmods] Error 1

Who wants to help me, please

Best regards.

@bill9889 bill9889 mannequin added build The build process and cross-build labels Oct 17, 2014
@BreamoreBoy
Copy link
Mannequin

BreamoreBoy mannequin commented Mar 21, 2015

Without more detail I very much doubt that anybody can help.

@berkerpeksag
Copy link
Member

Thanks for the report.

I think this is a problem in your dev environment (wrong path or something like that). For some reason, you are trying to run Python 3 setup.py in Python 2.

@berkerpeksag berkerpeksag added invalid type-bug An unexpected behavior, bug, or error and removed build The build process and cross-build labels Apr 11, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant