Opened 14 years ago

Closed 14 years ago

#26855 closed defect (invalid)

expat unavailable

Reported by: lagrave+bugs+macosforge.org@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port:

Description

I am upgrading my ports installation and expat is one of many dependencies that need to be installed. However it does not seem to be available at its expected download locations

zsh-% sudo port -d install expat
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Starting logging for expat
--->  Computing dependencies for expat
DEBUG: Executing org.macports.main (expat)
--->  Fetching expat
DEBUG: fetch phase started at Fri Oct 15 09:36:23 CEST 2010
DEBUG: Executing org.macports.fetch (expat)
--->  expat-2.0.1.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/expat
DEBUG: Pinging downloads.sourceforge.net...
DEBUG: Pinging aarnet.dl.sourceforge.net...
DEBUG: Pinging biznetnetworks.dl.sourceforge.net...
DEBUG: Pinging cdnetworks-us-1.dl.sourceforge.net...
DEBUG: Pinging cdnetworks-us-2.dl.sourceforge.net...
DEBUG: Pinging cdnetworks-kr-1.dl.sourceforge.net...
DEBUG: Pinging cdnetworks-kr-2.dl.sourceforge.net...
DEBUG: Pinging citylan.dl.sourceforge.net...
DEBUG: Pinging dfn.dl.sourceforge.net...
DEBUG: Pinging fastbull.dl.sourceforge.net...
DEBUG: Pinging freefr.dl.sourceforge.net...
DEBUG: Pinging garr.dl.sourceforge.net...
DEBUG: Pinging heanet.dl.sourceforge.net...
DEBUG: Pinging hivelocity.dl.sourceforge.net...
DEBUG: Pinging ignum.dl.sourceforge.net...
DEBUG: Pinging internode.dl.sourceforge.net...
DEBUG: Pinging iweb.dl.sourceforge.net...
DEBUG: Pinging jaist.dl.sourceforge.net...
DEBUG: Pinging kent.dl.sourceforge.net...
DEBUG: Pinging mesh.dl.sourceforge.net...
DEBUG: Pinging nchc.dl.sourceforge.net...
DEBUG: Pinging ncu.dl.sourceforge.net...
DEBUG: Pinging netcologne.dl.sourceforge.net...
DEBUG: Pinging ovh.dl.sourceforge.net...
DEBUG: Pinging puzzle.dl.sourceforge.net...
DEBUG: Pinging softlayer.dl.sourceforge.net...
DEBUG: Pinging space.dl.sourceforge.net...
DEBUG: Pinging sunet.dl.sourceforge.net...
DEBUG: Pinging superb-east.dl.sourceforge.net...
DEBUG: Pinging superb-west.dl.sourceforge.net...
DEBUG: Pinging surfnet.dl.sourceforge.net...
DEBUG: Pinging switch.dl.sourceforge.net...
DEBUG: Pinging transact.dl.sourceforge.net...
DEBUG: Pinging ufpr.dl.sourceforge.net...
DEBUG: Pinging voxel.dl.sourceforge.net...
DEBUG: Pinging waix.dl.sourceforge.net...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging aarnet.au.distfiles.macports.org...
DEBUG: Pinging lil.fr.distfiles.macports.org...
DEBUG: Pinging sea.us.distfiles.macports.org...
DEBUG: downloads.sourceforge.net ping time is 1138.358
DEBUG: aarnet.dl.sourceforge.net ping time is 1379.852
DEBUG: biznetnetworks.dl.sourceforge.net ping time is 1419.357
DEBUG: cdnetworks-us-1.dl.sourceforge.net ping time is 1221.529
DEBUG: cdnetworks-us-2.dl.sourceforge.net ping time is 1229.557
DEBUG: cdnetworks-kr-1.dl.sourceforge.net ping time is 1366.571
DEBUG: cdnetworks-kr-2.dl.sourceforge.net ping time is 1374.509
DEBUG: citylan.dl.sourceforge.net ping time is 1095.102
DEBUG: dfn.dl.sourceforge.net ping time is 1217.155
DEBUG: fastbull.dl.sourceforge.net ping time is 1071.238
DEBUG: freefr.dl.sourceforge.net ping time is 1069.644
DEBUG: garr.dl.sourceforge.net ping time is 1092.260
DEBUG: heanet.dl.sourceforge.net ping time is 1087.737
DEBUG: hivelocity.dl.sourceforge.net ping time is 1182.154
DEBUG: ignum.dl.sourceforge.net ping time is 1069.202
DEBUG: internode.dl.sourceforge.net ping time is 1518.842
DEBUG: iweb.dl.sourceforge.net ping time is 1279.870
DEBUG: jaist.dl.sourceforge.net ping time is 1396.471
DEBUG: kent.dl.sourceforge.net ping time is 1059.664
DEBUG: mesh.dl.sourceforge.net ping time is 1134.040
DEBUG: nchc.dl.sourceforge.net ping time is 1484.988
DEBUG: ncu.dl.sourceforge.net ping time is 10000
DEBUG: netcologne.dl.sourceforge.net ping time is 10000
DEBUG: ovh.dl.sourceforge.net ping time is 1169.413
DEBUG: puzzle.dl.sourceforge.net ping time is 1330.032
DEBUG: softlayer.dl.sourceforge.net ping time is 1326.293
DEBUG: space.dl.sourceforge.net ping time is 1431.122
DEBUG: sunet.dl.sourceforge.net ping time is 1142.680
DEBUG: superb-east.dl.sourceforge.net ping time is 1292.097
DEBUG: superb-west.dl.sourceforge.net ping time is 1295.378
DEBUG: surfnet.dl.sourceforge.net ping time is 1206.734
DEBUG: switch.dl.sourceforge.net ping time is 1211.880
DEBUG: transact.dl.sourceforge.net ping time is 10000
DEBUG: ufpr.dl.sourceforge.net ping time is 1554.734
DEBUG: voxel.dl.sourceforge.net ping time is 1281.565
DEBUG: waix.dl.sourceforge.net ping time is 1566.431
DEBUG: distfiles.macports.org ping time is 1442.353
DEBUG: aarnet.au.distfiles.macports.org ping time is 1607.328
DEBUG: lil.fr.distfiles.macports.org ping time is 1264.722
DEBUG: sea.us.distfiles.macports.org ping time is 10000
--->  Attempting to fetch expat-2.0.1.tar.gz from http://kent.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://ignum.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://freefr.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://fastbull.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://heanet.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://garr.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://citylan.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://mesh.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://downloads.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://sunet.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://ovh.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://hivelocity.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://surfnet.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://switch.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://dfn.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://cdnetworks-us-1.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://cdnetworks-us-2.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://lil.fr.distfiles.macports.org/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://iweb.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://voxel.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://superb-east.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://superb-west.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://softlayer.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://puzzle.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://cdnetworks-kr-1.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://cdnetworks-kr-2.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://aarnet.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://jaist.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://biznetnetworks.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://space.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://distfiles.macports.org/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://nchc.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://internode.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://ufpr.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://waix.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://ncu.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://netcologne.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://transact.dl.sourceforge.net/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://sea.us.distfiles.macports.org/macports/mpdistfiles/expat

DEBUG: Fetching failed:: couldn't connect to host
--->  Attempting to fetch expat-2.0.1.tar.gz from http://svn.macports.org/repository/macports/distfiles/expat

DEBUG: Fetching failed:: couldn't connect to host
Error: Target org.macports.fetch returned: fetch failed
DEBUG: Backtrace: fetch failed
    while executing
"portfetch::fetchfiles"
    (procedure "portfetch::fetch_main" line 17)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for expat): org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for expat is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Manually trying to download with curl from the location suggested by sourceforge

zsh-% curl -Ov "https://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz?r=&ts=1287128279&use_mirror=kent"
* About to connect() to downloads.sourceforge.net port 443 (#0)
*   Trying 216.34.181.59... connected
* Connected to downloads.sourceforge.net (216.34.181.59) port 443 (#0)
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using RC4-MD5
* Server certificate:
* 	 subject: serialNumber=qX-f4C214rA08JCmMJ0mDr07yxudlxrj; C=US; ST=California; L=Mountain View; O=Geeknet, Inc.; CN=*.sourceforge.net
* 	 start date: 2010-05-03 02:00:07 GMT
* 	 expire date: 2011-07-05 03:33:33 GMT
* 	 common name: *.sourceforge.net (matched)
* 	 issuer: C=US; O=Equifax; OU=Equifax Secure Certificate Authority
* 	 SSL certificate verify ok.
> GET /project/expat/expat/2.0.1/expat-2.0.1.tar.gz?r=&ts=1287128279&use_mirror=kent HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: downloads.sourceforge.net
> Accept: */*
> 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0< HTTP/1.1 302 Found
< X-Powered-By: PHP/5.2.9
< Content-Disposition: attachment; filename="expat-2.0.1.tar.gz"
< Location: http://kent.dl.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
< Content-type: text/html
< Content-Length: 0
< Date: Fri, 15 Oct 2010 07:45:14 GMT
< Server: lighttpd/1.4.26
< 
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0* Connection #0 to host downloads.sourceforge.net left intact

* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
} [data not shown]
zsh-%   

Using the same link in a browser also, not surprisingly, fails, that is, it loads for a while and then nothing. It is not something temporary, I have tried for 12 hours now.

Another related problem: port's error message is

DEBUG: Fetching failed:: couldn't connect to host

when in fact it seems like the host is responding but with an empty response. Maybe it should be changed to something more user friendly, I started to look into my firewall etc to rule out network problems.

Change History (4)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

There is something wrong with your network; the file should exist on most of those servers.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

The "couldn't connect to host" message isn't being produced by MacPorts itself; that comes from the curl library MacPorts uses to fetch files.

comment:3 Changed 14 years ago by lagrave+bugs+macosforge.org@…

This was really weird. I got a kernel panic an hour after I wrote this report and after a restart expat was downloaded fine BUT during that hour I used all other network using applications as usual. Maybe the -d flag to port should trigger --verbose or similar flag for the helper applications?

comment:4 Changed 14 years ago by raimue (Rainer Müller)

Resolution: invalid
Status: newclosed

There is no helper application as we are using libcurl. And as curl had the same problem, I doubt it was anything specific to the way we use libcurl, but was a general problem.

Note: See TracTickets for help on using tickets.