Subject: pkg building and broken FTP sessions
To: None <tech-pkg@NetBSD.org>
From: Carl Brewer <carl@bl.echidna.id.au>
List: tech-pkg
Date: 07/05/2004 15:48:39
Hello,

I've just experienced something interesting while trying to
install mutt on a 1.6.2 (i386) box.

rollcage2# make
===> Checking for vulnerabilities in mutt-1.4.2.1nb1
=> mutt-1.4.2.1i.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch mutt-1.4.2.1i.tar.gz from ftp://ftp.mutt.org/mutt/.
=> [2611253 bytes]
Trying 217.69.76.44...
Connected to ftp.mutt.org.
220 Service ready for new user.
331 Send e-mail address as password.
230 User logged in, proceed.
Remote system type is UNIX.
200 Command okay.
250 Directory change successful.
local: mutt-1.4.2.1i.tar.gz remote: mutt-1.4.2.1i.tar.gz
229 Entering Extended Passive Mode (|||41769|)
150 About to open data connection.
   0% |                                     |     0       0.00 KB/s 
--:-- ETA
425 Error accepting connection; connection from invalid IP.
221 Service closing control connection.
=> Checksum mismatch for mutt-1.4.2.1i.tar.gz.
Make sure the Makefile and checksum file (/usr/pkgsrc/mail/mutt/distinfo)
are up to date.  If you want to override this check, type
"/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/mutt



I'm not worried about the invalid IP business, I figure it's
just unhappy about mismatching A and PTR records, or
something .. but shouldn't the make be able to recognise
a failed download and try from somewhere else, rather than
assume it went ok, and then fail dramatically?

Carl