This is a source base zip from https://github.com/ThomasDickey/ncurses-snapshots:
ncurses-snapshots-6_5_20250927.zip
If you use runez.decompress() in Python to decompress it, you'll find that a lot of files that should be executable become non-executable, including the important "./configure". This makes portable-python fail because it utilizes runez for decompressing.
Furthermore, this is a tarball:
ncurses-6.5.tar.gz
If you decompress it with linux command tar then compress it to a .zip with linux command zip, then decompress it again with runez.decompress() in Python, the issue also occurs.
However, decompressing the zip files with linux command unzip provides no issues.