[MacPorts] #45655: FTP hosting source code for wcslib not reachable from NATed VirtualBox machines.
MacPorts
noreply at macports.org
Mon Oct 27 12:16:16 PDT 2014
#45655: FTP hosting source code for wcslib not reachable from NATed VirtualBox
machines.
------------------------+--------------------------------
Reporter: aszostak@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: | Port: wcslib
------------------------+--------------------------------
I have run into a problem with the wcslib Portfile. When trying to install
the port from within a VirtualBox guest machine the command,
{{{
sudo port install wcslib
}}}
hands when trying to download the source code, eventually times out and
fails.
Using the curl command directly I am able to reproduce the connection
problem (see listing at the end). This problem only goes away when the
"--disable-epsv" options is used with the curl command. I would suggest
adding the following configuration option to the wcslib Portfile to solve
this issue:
{{{
fetch.use_epsv no
}}}
Trace of hanging curl connection:
{{{
macosx-10-9:~ vagrant$ curl -v
ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-4.23.tar.bz2 -o
/tmp/wcslib-4.23.tar.bz2
* Adding handle: conn: 0x7fc6e1005e00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fc6e1005e00) send_pipe: 1, recv_pipe: 0
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* About to connect() to ftp.atnf.csiro.au port 21 (#0)
* Trying 150.229.106.20...
* Connected to ftp.atnf.csiro.au (150.229.106.20) port 21 (#0)
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0< 220-This is the anonymous FTP server operated by
< 220- CSIRO Astronomy and Space Science and
< 220- CSIRO ICT Centre.
< 220-
< 220-All transfers from this machine are logged.
< 220 If you don't agree with this policy then please disconnect now.
> USER anonymous
< 230 Anonymous user logged in
> PWD
< 257 "/" is your current location
* Entry path is '/'
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:--
0> CWD pub
< 250 OK. Current directory is /pub
> CWD software
< 250 OK. Current directory is /pub/software
> CWD wcslib
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:--
0< 250 OK. Current directory is /pub/software/wcslib
> EPSV
* Connect data stream passively
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:--
0< 229 Extended Passive mode OK (|||15593|)
* Trying 150.229.106.20...
* Connecting to 150.229.106.20 (150.229.106.20) port 15593
> TYPE I
0 0 0 0 0 0 0 0 --:--:-- 0:02:04 --:--:--
0^C
}}}
--
Ticket URL: <https://trac.macports.org/ticket/45655>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list