Oh, I apparently can't do FTP, but that's a recent thing so I'm not
sure.  I'm using a cell phone data connection.

On 5/20/15, Alan Corey <[email protected]> wrote:
> I didn't override it because I didn't know how.  I've defined
> FETCH_CMD in the environment before but I've never messed with
> mk.conf.  I put in literally what you said, but  _PROGRESS and
> FTP_KEEPALIVE seem to be undefined.
>
> I'm experimenting now using wget but here's a run from trying to
> install qiv.  I was able to get firefox installed without much
> problem.
>
> ===>  Checking files for qiv-2.3.1
>>> Fetch http://spiegl.de/qiv//download/qiv-2.3.1.tgz
> Trying 2a03:2500:1:7:5054:ff:fe95:55b1...
> ftp: connect: No route to host
>>> Fetch http://ftp.openbsd.org/pub/OpenBSD/distfiles//qiv-2.3.1.tgz
> Trying 129.128.5.191...
> Requesting http://ftp.openbsd.org/pub/OpenBSD/distfiles//qiv-2.3.1.tgz
>
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
> 100% |**************************************************|   127 KB    00:00
> 130621 bytes received in 0.00 seconds (2542.24 MB/s)
>>> (SHA256) qiv-2.3.1.tgz: OK
> ===> qiv-2.3.1 depends on: gettext->=0.10.38 -> gettext-0.19.4
> ===> qiv-2.3.1 depends on: gmake-* -> gmake-4.1p0
> ===> qiv-2.3.1 depends on: libmagic-* - not found
> ===>  Verifying install for libmagic-* in devel/libmagic
> ===>  Checking files for libmagic-5.22
>>> Fetch ftp://ftp.astron.com/pub/file/file-5.22.tar.gz
> Connected to ftp.astron.com.
> 220 FTP server ready.
> 331 Anonymous login ok, send your complete email address as your password
> 230-ASTRON SOFTWARE FTP SERVICE (38.117.134.18)
>
>  Unauthorized access prohibited.  All activity may be logged.
>
>  File utility:         /pub/file
>  Tcsh shell:           /pub/tcsh
>
>  The software in this server is provided ``as is'' and any express
>  or implied warranties, including, but not limited to, the implied
>  warranties of merchantability and fitness for a particular purpose
>  are disclaimed.
>
>  In no event shall ASTRON.COM be liable for any direct, indirect,
>  incidental, special, exemplary, or consequential damages (including,
>  but not limited to, procurement of substitute goods or services;
>  loss of use, data, or profits; or business interruption) however
>  caused and on any theory of liability, whether in contract, strict
>  liability, or tort (including negligence or otherwise) arising in
>  any way out of the use of this software, even if advised of the
>  possibility of such damage.
>
>  If you are experiencing problems with the FTP service, you can
>  reach us by e-mail at [email protected] (please include details).
>
> 230 Anonymous access granted, restrictions apply
> Remote system type is UNIX.
> Using binary mode to transfer files.
> 200 Type set to I
> 250 CWD command successful
> Retrieving pub/file/file-5.22.tar.gz
> local: /usr/ports/distfiles/file-5.22.tar.gz.part remote: file-5.22.tar.gz
> 421 Service not available, remote server has closed connection.
>>> Fetch http://ftp.openbsd.org/pub/OpenBSD/distfiles//file-5.22.tar.gz
> Trying 129.128.5.191...
> Requesting http://ftp.openbsd.org/pub/OpenBSD/distfiles//file-5.22.tar.gz
>
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>  17% |********                                          |   128 KB    --:--
> ETA
>  17% |********                                          |   128 KB    00:04
> ETA
>  17% |********                                          |   128 KB    00:09
> ETA
>  17% |********                                          |   128 KB    00:13
> ETA
>  17% |********                                          |   128 KB    00:18
> ETA
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  27% |*************                                     |   200 KB    00:00
> 205104 bytes received in 0.00 seconds (3431.62 MB/s)
>>> Size does not match for file-5.22.tar.gz
>>> Fetch ftp://ftp.usa.openbsd.org/pub/OpenBSD/distfiles//file-5.22.tar.gz
> Connected to plier.ucar.edu.
> 220 plier.ucar.edu FTP server ready.
> 331 Guest login ok, send your email address as password.
> 230-   Welcome to ftp.usa.OpenBSD.org in Boulder, Colorado, USA.
> 230-   For other mirror sites visit http://www.openbsd.org/ftp.html
> 230-        _____                 ____   _____ _____
> 230-       / ___ \               |  _ \ / ____|  __ \
> 230-      / /  / /___  ___  ____ | |_) | (___ | |  | |
> 230-     / /  / / __ \/ _ \/ __ \|  _ < \___ \| |  | |
> 230-    / /__/ / /_/ /  __/ / / /| |_) |____) | |__| |
> 230-    \_____/ .___/\___/_/ /_/ |____/|_____/|_____/
> 230-         /_/
> 230-                |    .            The proactively secure Unix-like
> 230-            .   |L  /|   .        Operating System.
> 230-        _ . |\ _| \--+._/| .      Please visit the OpenBSD web site
> 230-       / ||\| Y J  )   / |/| ./    at http://www.openbsd.org/
> 230-      J  |)'( |        ` F`.'/
> 230-    -<|  F         __     .-<     All transfers are logged, if you
> don't
> 230-      | /       .-'. `.  /-. L___ like this policy, disconnect now!
> 230-      J \      <    \  | | O\|.-'
> 230-    _J \  .-    \/ O | | \  |F
> 230-   '-F  -<_.     \   .-'  `-' L__ OpenBSD 5.7 has now been released!
> 230-  __J  _   _.     >-'  )._.   |-' You can order a CD of OpenBSD 5.7
> 230-  `-|.'   /_.           \_|   F   from
> http://www.openbsd.org/orders.html.
> 230-    /.-   .                _.<    CD sales are important to support the
> 230-   /'    /.'             .'  `\    continued development of the project.
> 230-    /L  /'   |/      _.-'-\
> 230-   /'J       ___.---'\|
> 230-     |\  .--' V  | `. `
> 230-     |/`. `-.     `._)
> 230-        / .-.\
> 230-  VK    \ (  `\
> 230-         `.\
> 230-
> 230-   E-mail comments, questions, trouble reports, and complaints
> 230-   to millert AT openbsd.org.  Please drive safely.
> 230-
> 230 Guest login ok, access restrictions apply.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> 200 Type set to I.
> 250 CWD command successful.
> Retrieving pub/OpenBSD/distfiles//file-5.22.tar.gz
> local: /usr/ports/distfiles/file-5.22.tar.gz.part remote: file-5.22.tar.gz
> 550 file-5.22.tar.gz: No such file or directory.
> 221 Goodbye.
>>> Fetch http://ftp.fr.openbsd.org/pub/OpenBSD/distfiles//file-5.22.tar.gz
> Trying 145.238.209.46...
> Requesting
> http://ftp.fr.openbsd.org/pub/OpenBSD/distfiles//file-5.22.tar.gz
>
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>   0% |                                                  |     0       --:--
> ETA
>  17% |********                                          |   128 KB    --:--
> ETA
>  17% |********                                          |   128 KB    00:04
> ETA
>  17% |********                                          |   128 KB    00:09
> ETA
>  17% |********                                          |   128 KB    00:13
> ETA
>  17% |********                                          |   128 KB    00:18
> ETA
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  17% |********                                          |   128 KB  -
> stalled -
>  28% |**************                                    |   203 KB    00:00
> 208751 bytes received in 0.00 seconds (12442.53 MB/s)
>>> Size does not match for file-5.22.tar.gz
> *** Error 1 in /usr/ports/devel/libmagic
> (/usr/ports/infrastructure/mk/bsd.port.mk:2935
> '/usr/ports/distfiles/file-5.22.tar.gz': @lock=file-...)
> *** Error 1 in /usr/ports/devel/libmagic
> (/usr/ports/infrastructure/mk/bsd.port.mk:2307 '_internal-fetch')
> *** Error 1 in /usr/ports/devel/libmagic
> (/usr/ports/infrastructure/mk/bsd.port.mk:2556
> '/usr/ports/pobj/libmagic-5.22/.extract_done')
> *** Error 1 in /usr/ports/devel/libmagic
> (/usr/ports/infrastructure/mk/bsd.port.mk:1940
> '/usr/ports/packages/i386/all/libmagic-5.22.tgz')
> *** Error 1 in /usr/ports/devel/libmagic
> (/usr/ports/infrastructure/mk/bsd.port.mk:2493 '_internal-package')
> *** Error 1 in /usr/ports/devel/libmagic
> (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'package')
> *** Error 1 in /usr/ports/devel/libmagic
> (/usr/ports/infrastructure/mk/bsd.port.mk:1957
> '/var/db/pkg/libmagic-5.22/+CONTENTS')
> *** Error 1 in /usr/ports/devel/libmagic
> (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'install')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2100
> '/usr/ports/pobj/qiv-2.3.1/.dep-devel-libmagic')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2556
> '/usr/ports/pobj/qiv-2.3.1/.extract_done')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1940
> '/usr/ports/packages/i386/all/qiv-2.3.1.tgz')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2493
> '_internal-package')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'package')
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1957
> '/var/db/pkg/qiv-2.3.1/+CONTENTS')
> *** Error 1 in /usr/ports/graphics/qiv
> (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'install')
>
>
> On 5/18/15, Marc Espie <[email protected]> wrote:
>> On Sun, May 17, 2015 at 08:18:06AM -0400, Alan Corey wrote:
>>> I don't think it did this back in 5.0 days or maybe earlier.  I started
>>> with OpenBSD 2.7, I just usually attributed problems to being my fault.
>>> And I've always used the ports tree, not packages. Distfiles are often
>>> useful across OpenBSD versions, sometimes in FreeBSD, I've even built
>>> some
>>> under Linux.
>>>
>>> I didn't look at what FETCH_CMD was defined as by default, I just
>>> assumed
>>> defining something non-null changed it.  I did notice that when it
>>> retries
>>> it's wrongly assumed there's a problem with the first source and gone to
>>> another.
>>>
>>> Does every developer have perfect internet?  That's very frustrating,
>>> maybe
>>> counterproductive in testing.  Try a modem, you can probably find a free
>>> one.  Connection interruptions and resets happen many times a day.
>>> On May 17, 2015 1:22 AM, "Marc Espie" <[email protected]> wrote:
>>
>> Why are you ranting instead of providing the info I'm asking for ?!!!
>>
>> JUST OVERRIDE THE DAMN FETCH_CMD!!!
>>
>> put
>> FETCH_CMD = /usr/bin/ftp -v ${_PROGRESS} -k ${FTP_KEEPALIVE} -C
>>
>> in /etc/mk.conf
>>
>> so that *at least* we can see verbose output from your fetches.
>>
>> Like I said, *the error comes from ftp*.
>>
>> More accurately, fetch itself has the following logic:
>>
>> for site in list
>> do
>>      if FETCH_CMD -o file.part ${site}url
>>      then
>>          ck=`check_size file.part.part`
>>          -> leading to "size does not match, hence rm file.part, hence retry"
>>      fi
>> done
>>
>> this is where your problem lies: ftp returns "everything okay", so the
>> logic
>> assumes the file retrieved correctly, and when it finds out the size does
>> not
>> match, it assumes a corrupted mirror, and hence deletes the partial file.
>>
>> ftp(1)'s code is awful. I'm not wading thru those waters without more
>> info.
>>
>> GIVE ME WHATEVER FTP IS SAYING WHEN THINGS BREAK, when you tell it to be
>> verbose.
>>
>
>
> --
> Credit is the root of all evil.  - AB1JX
>


-- 
Credit is the root of all evil.  - AB1JX

Reply via email to