#25450: Ports fail to fetch from Japanese ftp mirror ---------------------------------+------------------------------------------ Reporter: a.lathrop@… | Owner: macports-dev@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: fetch | Port: gsl, gettext ---------------------------------+------------------------------------------ Comment(by jxzhu@…): Replying to [comment:1 jmr@…]:
Are you using a proxy? Are you able to fetch this file using curl with FTP_PROXY set? Snow Leopard's version of libcurl has a bug related to handling of proxy environment >variables ([rdar://problem/7997030], [https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2913886&group_i... upstream]), so you may need to disable >proxy use for FTP.
This should be related to the ticket (#25857) which was created by myself and is now closed. My system is behind the proxy. The Fetch via FTP always fails on my machine with Snow Leopard 10.6.4. But I don't have problem to open the ftp site by put the ftp link on a web browser. Since I am relatively newer to MacPorts, I would appreciate if you can tell me in more detail How to fetch the file using curl with FTP_PROXY set? [I mean a list of procedures (commands) to get, e.g., the file hdf5-1.8.5.tar.bz2 from ftp://ftp.hdfgroup.org/HDF5/current/src/ ]. Also how can I disable the proxy use for FTP? Right now, I have in sudoers file Defaults env_keep += "http_proxy HTTP_PROXY HTTPS_PROXY FTP_PROXY RSYNC_PROXY" Defaults env_keep += "ALL_PROXY NO_PROXY" and in my .cshrc setenv RSYNC_PROXY proxy.xxx.xxx:8080 #setenv FTP_PROXY proxy.xxx.xxx:8080 As you notice, I have commented out the line for FTP_PROXY environment variable. But it doesn't help. Thanks. -- Ticket URL: <http://trac.macports.org/ticket/25450#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS