NITRO (NITFio, "R" is a ligature for "Fi") is a full-fledged, extensible library solution for reading and writing the National Imagery Transmission Format (NITF), a U.S. DoD standard format. It is written in cross-platform C, with bindings available for other languages.
GNU Lesser General Public License v3.0
62
stars
37
forks
source link
Error when compiling with Python3.12 (WAF files contain null bytes) #614
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
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 https://github.com/python/cpython/issues/96670
I think the fix is to remove the null bytes from the WAF file in contrib