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

Error when compiling with Python3.12 (WAF files contain null bytes) #614

Open
Rtx-Nick-Howden opened this issue Jun 21, 2024 · 0 comments
Open

Comments

@Rtx-Nick-Howden
Copy link

When compiling the source with Python 3.12 (using WAF)
python3 waf configure --prefix=installed --require-python
File "/tmp/nitro-NITRO-2.11.6/externals/coda-oss/build/waf", line 166
#BZh91AY&SYr
SyntaxError: source code cannot contain null bytes

Cause is a change in Python3.12 which raises a syntax error when source files contain null bytes
python/cpython#96670

I think the fix is to remove the null bytes from the WAF file in contrib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant