ports/devel/noweb/Makefile contains
        FETCH_CMD=    /usr/bin/ftp
        FETCH_ARGS=   # empty
that is wrong, because if one already has the distfile on a local site
(accessed via MASTER_SITE_OVERRIDE or MASTER_SITE_BACKUP ), 
it hangs & fails on make fetch.

The patch below works for me, but we might need something better ?
Note this comand runs fine on my gate:
        fetch ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz
To see the generic failure that those FETCH above were hoping to solve, I ran 
        (cd /usr/ports/distfiles; mv noweb-2.11b.tgz noweb-2.11b.tgz.MV)
        make MASTER_SITE_OVERRIDE= MASTER_SITE_BACKUP= fetch
& saw:
        => noweb-2.11b.tgz doesn't seem to exist in /usr/ports/distfiles/.
        => Attempting to fetch ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz
        Requesting ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz
          (via gate.js.berklix.net:21)
        ftp: Improper response from `gate.js.berklix.net:21'
        => Couldn't fetch it - please try to retrieve this
        => port manually into /usr/ports/distfiles/ and try again.
        *** Error code 1
        Stop.
(but, my ftp proxy doesnt work anyway, I use http proxy beyond my gate)

*** 2017-01-05_12.0-CURRENT/ports/devel/noweb/Makefile  Thu Jan  5 13:42:19 2017
--- new-generic/ports/devel/noweb/Makefile      Thu Jan  5 13:48:41 2017
***************
*** 19,26 ****
  RUN_DEPENDS=  iconx:lang/icon
  
  # Master site uses extended passive mode fetch(1) does not support
! FETCH_CMD=    /usr/bin/ftp
! FETCH_ARGS=   # empty
  DISABLE_SIZE= yes
  
  PORTSCOUT=    skipv:2.11
--- 19,52 ----
  RUN_DEPENDS=  iconx:lang/icon
  
  # Master site uses extended passive mode fetch(1) does not support
! 
! # Next 2 lines hashed out by [email protected]
! #     FETCH_CMD=      /usr/bin/ftp
! #     FETCH_ARGS=     # empty
! # As they produced this hang:
! #     => noweb-2.11b.tgz doesn't seem to exist in /usr/ports/distfiles/.
! #     => Attempting to fetch 
file:///pub/FreeBSD/dists/current//noweb-2.11b.tgz
! #     ftp: Can't open `/pub/FreeBSD/dists/current//noweb-2.11b.tgz': No such 
file or directory
! #     => Attempting to fetch /pub/FreeBSD/dists/current//noweb-2.11b.tgz
! #     ftp: Can't connect to `/pub/FreeBSD/dists/current//noweb-2.11b.tgz:': 
No such file or directory
! #     ftp: Can't connect to `/pub/FreeBSD/dists/current//noweb-2.11b.tgz:ftp'
! #     ftp> 
! # Hashed out, it now fetches OK:
! #     => Attempting to fetch 
file:///pub/FreeBSD/dists/current//noweb-2.11b.tgz
! #     fetch: file:///pub/FreeBSD/dists/current//noweb-2.11b.tgz: No such file 
or directory
! #     => Attempting to fetch /pub/FreeBSD/dists/current//noweb-2.11b.tgz
! #     fetch: /pub/FreeBSD/dists/current//noweb-2.11b.tgz: No such file or 
directory
! #     => Attempting to fetch 
ftp://ftp.js.berklix.net/pub/FreeBSD/dists/current//noweb-2.11b.tgz
! #     resolving server address: ftp.js.berklix.net:21
! #     setting passive mode
! #     opening data connection
! #     initiating transfer
! #     fetch: 
ftp://ftp.js.berklix.net/pub/FreeBSD/dists/current//noweb-2.11b.tgz: File 
unavailable (e.g., file not found, no access)
! #     => Attempting to fetch 
file:///pub/FreeBSD/dists/11.0-RELEASE//noweb-2.11b.tgz
! #     remote size / mtime: 738870 / 1150149960
! #     noweb-2.11b.tgz                               100% of  721 kB 6339 kBps 
00m00s
! #     ===> Fetching all distfiles required by noweb-2.11b_1 for building
! 
  DISABLE_SIZE= yes
  
  PORTSCOUT=    skipv:2.11
------------
Cheers,
Julian
-- 
Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich
 Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable.
 http://berklix.eu/brexit/#stolen_votes
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to