On Thu, 26 Apr 2012, Marc Espie wrote:
On Wed, Apr 25, 2012 at 11:34:24PM -0400, Alan Corey wrote:
I've seen this before, I wonder if there's some environment variable
I can set to stop it?
Nope.
I try make fetch on a port, it fails due to a bad site. I hit
Ctrl-C to stop it, it goes to the next site and downloads the file.
Then it deletes the file when it finishes. I type make install and
it tries the bad site again...
That's the way make works. Don't hit ^C.
Changing this is impossible, since make sees the ^C, being the controlling
process and all.
Oh, and if the site is really bad, report the site.
If it's not, fix your network config.
I hardly notice anymore since dpb fetches things for me.
It doesn't have to be just ^C that stops it, if my ISP disconnects me or
the connection times out, anything that can go wrong causes it to happen.
I'd like to be able to resume with wget --continue but there's nothing to
continue. In fact I have FETCH_CMD defined as 'wget --continue' but it
never has a chance to work. I can spend an hour downloading then lose it
all.
This site in question is for net/trafshow, the nsk.su site:
Resolving ftp.nsk.su (ftp.nsk.su)... 212.20.0.102
Connecting to ftp.nsk.su (ftp.nsk.su)|212.20.0.102|:21... connected.
Logging in as anonymous ...
The server refuses login.
Retrying.
It could be temporary (too many users at the moment, etc.) but I got it 2
days in a row.
Back to manually fetching I guess. FreeBSD has something like "make
fetchlist recursive" that gives paths to the distfile and dependancies
which is a big help. I'm still working on fetching all the parts to
libreoffice, for at least 2 weeks now. The default site in Hungary times
out on modem slowness so I search with Google for each file and find them
buried at fedoraproject in directory names like
5eb8e1950f91198ae1e7ddc6c1dd19fd.
Alan