[MacPorts] #40034: Fetch of xz distfile fails - connection timeout()

MacPorts noreply at macports.org
Tue Aug 6 13:42:11 PDT 2013


#40034: Fetch of xz distfile fails - connection timeout()
------------------------+--------------------------------
  Reporter:  richard@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.2.0
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------------------
Changes (by larryv@…):

 * keywords:  fetch connect() timeout =>
 * component:  ports => base


Old description:

> expected results: latest version of xz, 5.0.5, retrievable from
> http://tukaani.org/xz/
>
> actual results: as per macports log file, fetch fails due to connect()
> timeout on all mirrors.
>
> thus, any package depending on xz (e.g., gtk2) fails to download.
>
> ===================================
> pertinent log file contents:
>
> ...
> :debug:fetch Fetching distfile failed: connect() timed out!
> :notice:fetch --->  Attempting to fetch xz-5.0.5.tar.bz2 from
> http://tukaani.org/xz/
> :debug:fetch Fetching distfile failed: connect() timed out!
> :notice:fetch --->  Attempting to fetch xz-5.0.5.tar.bz2 from
> http://svn.macports.org/repository/macports/distfiles/xz
> :debug:fetch Fetching distfile failed: connect() timed out!
> :error:fetch org.macports.fetch for port xz returned: fetch failed
> ...
> ===================================
>

> however, when executing curl from the command line, this output:
>
> ===================================
> IT-MacBookPro:~ central$ curl -v http://tukaani.org/xz/xz-5.0.5.tar.bz2
> >xz.tar.bz2
> * About to connect() to tukaani.org port 80 (#0)
> *   Trying 84.34.147.45...
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
>                                  Dload  Upload   Total   Spent    Left
> Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
> 0* connected
> * Connected to tukaani.org (84.34.147.45) port 80 (#0)
> > GET /xz/xz-5.0.5.tar.bz2 HTTP/1.1
> > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0
> OpenSSL/0.9.8r zlib/1.2.5
> > Host: tukaani.org
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < Date: Tue, 06 Aug 2013 19:57:03 GMT
> < Server: Apache/2
> < Last-Modified: Sun, 30 Jun 2013 16:47:09 GMT
> < ETag: "12dec08-102f29-4e061dce09d40"
> < Accept-Ranges: bytes
> < Content-Length: 1060649
> < Content-Type: application/x-bzip2
> <
> { [data not shown]
> 100 1035k  100 1035k    0     0   332k      0  0:00:03  0:00:03 --:--:--
> 417k
> * Connection #0 to host tukaani.org left intact
> * Closing connection #0
> IT-MacBookPro:~ central$
> ===================================

New description:

 expected results: latest version of xz, 5.0.5, retrievable from
 http://tukaani.org/xz/

 actual results: as per macports log file, fetch fails due to connect()
 timeout on all mirrors.

 thus, any package depending on xz (e.g., gtk2) fails to download.

 ===================================\\
 pertinent log file contents:
 {{{
 ...
 :debug:fetch Fetching distfile failed: connect() timed out!
 :notice:fetch --->  Attempting to fetch xz-5.0.5.tar.bz2 from
 http://tukaani.org/xz/
 :debug:fetch Fetching distfile failed: connect() timed out!
 :notice:fetch --->  Attempting to fetch xz-5.0.5.tar.bz2 from
 http://svn.macports.org/repository/macports/distfiles/xz
 :debug:fetch Fetching distfile failed: connect() timed out!
 :error:fetch org.macports.fetch for port xz returned: fetch failed
 ...
 }}}
 ===================================


 however, when executing curl from the command line, this output:

 ===================================
 {{{
 IT-MacBookPro:~ central$ curl -v http://tukaani.org/xz/xz-5.0.5.tar.bz2
 >xz.tar.bz2
 * About to connect() to tukaani.org port 80 (#0)
 *   Trying 84.34.147.45...
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0* connected
 * Connected to tukaani.org (84.34.147.45) port 80 (#0)
 > GET /xz/xz-5.0.5.tar.bz2 HTTP/1.1
 > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0
 OpenSSL/0.9.8r zlib/1.2.5
 > Host: tukaani.org
 > Accept: */*
 >
 < HTTP/1.1 200 OK
 < Date: Tue, 06 Aug 2013 19:57:03 GMT
 < Server: Apache/2
 < Last-Modified: Sun, 30 Jun 2013 16:47:09 GMT
 < ETag: "12dec08-102f29-4e061dce09d40"
 < Accept-Ranges: bytes
 < Content-Length: 1060649
 < Content-Type: application/x-bzip2
 <
 { [data not shown]
 100 1035k  100 1035k    0     0   332k      0  0:00:03  0:00:03 --:--:--
 417k
 * Connection #0 to host tukaani.org left intact
 * Closing connection #0
 IT-MacBookPro:~ central$
 }}}
 ===================================

--

-- 
Ticket URL: <https://trac.macports.org/ticket/40034#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list