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

Space in url for download of python sources prevents download of python sources. #19

Open
callahanp opened this issue Dec 30, 2015 · 1 comment

Comments

@callahanp
Copy link

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!

@callahanp
Copy link
Author

patch attached
p_8459aea_gzip_error.patch.txt

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