veekays / iphonedevonlinux

Automatically exported from code.google.com/p/iphonedevonlinux
0 stars 0 forks source link

wget: unrecognized option `--max-redirect=0' #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using Ubuntu 8.04, and latest wget from their repositories
2. Run ./toolchain.sh darwin_sources

What is the expected output? What do you see instead?
Script is expected to download the required daerwin sources from Apple's
dev website. Instead, after entering username and password and accepting
terms, the shell returns:

Attempting to download tool sources...
wget: unrecognized option `--max-redirect=0'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
Finished downloading!
Darwin sources retrieved.

What version of the product are you using? On what operating system?
Using toolchain.sh v2.2 with Ubuntu 8.04 x86

Please provide any additional information below.
Bypass by removing the --max-redirect=0 option in toolchain.sh

Original issue reported on code.google.com by jtxdriggers on 6 Feb 2009 at 2:50

GoogleCodeExporter commented 8 years ago
This is designed to prevent redirects to a login screen being downloaded 
instead of 
the proper tools, however it seems like the flag is only a recent addition to 
wget. 
It's not a particularly clear way of indicating a failure anyway. I will remove 
the 
flag and perhaps substitute for better APSL agreement verification.

Thanks for the report.

Original comment by m4d...@gmail.com on 7 Feb 2009 at 2:42

GoogleCodeExporter commented 8 years ago
This has been fixed in the unstable branch, which will be merged into the trunk 
after
the next successful complete build of toolchain 2.2. In the meantime users can 
check
out unstable revision 60 (functioning) with the command:
svn co svn checkout --revision 60
http://iphonedevonlinux.googlecode.com/svn/branches/unstable/

Original comment by m4d...@gmail.com on 7 Feb 2009 at 3:06