Opened 7 years ago

Closed 7 years ago

#53501 closed defect (worksforme)

expat fetch failure

Reported by: aknigh Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: expat

Description (last modified by mf2k (Frank Schima))

I have updated Mac Ports to the most recent base (2.4.0) and am trying to install Demeter software. I keep getting an error (shown below):

rts.org/macports/distfiles/expat
--->  Attempting to fetch expat-2.2.0.tar.bz2 from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/expat
Error: Failed to fetch expat: Connection timed out after 30002 milliseconds
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_expat/expat/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port xorg-server failed

Change History (6)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to ryandesign
Port: expat added
Status: newassigned

In the future, please use WikiFormatting, fill in the Port field with the port that actually fails to build and Cc that port's maintainers (port info --maintainers expat), if any.

Last edited 7 years ago by mf2k (Frank Schima) (previous) (diff)

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Summary: Demeter Software for Macexpat fetch failure

comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

This looks similar to your previous ticket, #53482. Did you see my notes there?

comment:5 Changed 7 years ago by kencu (Ken)

Hi - So I don't know which version of Mac OS you're running, but the approach to this kind of problem is like this:

run

port -v distfiles demeter

you get this

$ port -v distfiles demeter
--->  Distfiles for demeter
[demeter-0.9.25.tar.gz] /opt/local/var/macports/distfiles/demeter/demeter-0.9.25.tar.gz
 rmd160: be2d1eeec4e698d8630cf910a141640503ec5777
 sha256: 54801aa04d8e8f83ea3ecf52024eb75d34410c29c0188c8be8917f09bcd6efd2
  https://github.com/bruceravel/demeter/tarball/0.9.25/demeter-0.9.25.tar.gz
  https://distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/demeter/demeter-0.9.25.tar.gz
  http://cjj.kr.distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/demeter/demeter-0.9.25.tar.gz
  http://her.gr.distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  http://jnb.za.distfiles.macports.org/distfiles/demeter/demeter-0.9.25.tar.gz
  http://jog.id.distfiles.macports.org/macports/distfiles/demeter/demeter-0.9.25.tar.gz
  http://kmq.jp.distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  http://lil.fr.distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  http://nue.de.distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  http://osl.no.distfiles.macports.org/demeter/demeter-0.9.25.tar.gz
  https://pek.cn.distfiles.macports.org/macports/distfiles/demeter/demeter-0.9.25.tar.gz
  http://sea.us.distfiles.macports.org/macports/distfiles/demeter/demeter-0.9.25.tar.gz
  http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/demeter/demeter-0.9.25.tar.gz

OK. lots of those links are to macport's mirrors of the distfiles, which might be having a problem getting the file. There is one, though, that is the original source of the file -- it's not a macports mirror:

https://github.com/bruceravel/demeter/tarball/0.9.25/demeter-0.9.25.tar.gz

So I don't know what the problem is -- maybe the file doesn't exist any more, or maybe your security setup is too old to download it (that's the usual issue these days on older systems). So go into the folder where the file is to be downloaded (from the first line of the above listing)

cd /opt/local/var/macports/distfiles/demeter/

and download it with a different downloader than macports internal downloading system. I like to use wget, which you can install like this if you don't already have it:

sudo port -v install wget

once you have wget installed, download the file manually into the proper folder:

sudo wget https://github.com/bruceravel/demeter/tarball/0.9.25/demeter-0.9.25.tar.gz

If that doesn't work, the file has probably been deleted or moved, and the portfile needs updating. You can try one of the other download links if you like. You can download it on a different machine and scp it over to the problem machine. Or you may get a clue as to what's going wrong from wget.

Hope this helps -- K

comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: assignedclosed

I don't think there's anything further we can do here, without more information.

Note: See TracTickets for help on using tickets.