Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407213 - Modify bootstrap-prefix.sh to prefer fetch over wget
Summary: Modify bootstrap-prefix.sh to prefer fetch over wget
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Other
: Normal QA
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 02:40 UTC by Richard Yao (RETIRED)
Modified: 2012-03-08 21:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Yao (RETIRED) gentoo-dev 2012-03-07 02:40:35 UTC
On platforms that lack wget by default, like *BSD, Mac OS X and Minix, bootstrap-prefix.sh will attempt to use ftp, which is an interactive program.

It would be useful if the order of fetch commands was changed so that fetch is checked before ftp.
Comment 1 Fabian Groffen gentoo-dev 2012-03-07 07:52:56 UTC
I don't see the problem.  It uses ftp in such a way that you don't have to do anything.  At least that's what it did in the past.  It's just a workaround for as long as you don't have wget.
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-03-07 08:02:29 UTC
(In reply to comment #1)
> I don't see the problem.  It uses ftp in such a way that you don't have to
> do anything.  At least that's what it did in the past.  It's just a
> workaround for as long as you don't have wget.

It will display a prompt that says "ftp>" on cygwin and minix.


vortexx on freenode reported issues on Mac OS X because wget was not installed and at the time, I had assumed that it was the cygwin/minix issue. However, I just tried disabling the use of wget in the script on Mac OS X and I cannot reproduce his issue.
Comment 3 Fabian Groffen gentoo-dev 2012-03-07 09:04:19 UTC
ftp on BSD, Darwin and even Interix just downloads the file and terminates.  I see that cygwin and minix are different.  Annoying, because I recall that fetch couldn't be before ftp for some other platform...
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-03-08 21:39:51 UTC
ftp works perfectly on osx, the way it is. I'm inclined to not change it for 2 obscure platforms, cygwin and minix - there will need to be some documentation changes for those...that is, if anyone care.