p
p copied to clipboard
Space in url for download of python sources prevents download of python sources.
in commit 8459aea Because the url now contains a space in the version directory, the fetch gets the directory https://www.python.org/ftp/python/ instead of the intended 2.7.10/Python-2.7.10.tgz. gzip fails because the directory listing is not the intended tgz file. Test results and patch included.
run_test 2.7.10
P_PREFIX: /home/pac1/work/testp_dir Test command: /home/pac1/work/p/bin/p 2.7.10
install : Python-2.7.10
create : /home/pac1/work/testp_dir/p/versions/python/2.7.10
fetch : https://www.python.org/ftp/python/ 2.7.10/Python-2.7.10.tgz
################################################################## 100.0%
gzip: stdin: not in gzip format tar: Child returned status 1 configure : 2.7.10 compile : 2.7.10
Error: Unable to compile Python 2.7.10!
Note that after the error in the download, the script continued to run.
Attached Patch applied
Result This issue is fixed but issue #11 is still there:
run_test 2.7.10
P_PREFIX: /home/pac1/work/testp_dir Test command: /home/pac1/work/p/bin/p 2.7.10
install : Python-2.7.10
create : /home/pac1/work/testp_dir/p/versions/python/2.7.10
fetch : https://www.python.org/ftp/python//2.7.10/Python-2.7.10.tgz
configure : 2.7.10 compile : 2.7.10
Error: Unable to compile Python 2.7.10!
patch attached p_8459aea_gzip_error.patch.txt