Spawning ping for packages.macports.org failed

Ryan Schmidt ryandesign at macports.org
Thu Feb 25 17:50:58 PST 2016


> On Feb 25, 2016, at 4:29 PM, Adam Mercer <ram at macports.org> wrote:
> 
> Hi
> 
> Just setting up MacPorts on a new machine and when I try to install a
> port it fails with the following:
> 
> DEBUG: Starting logging for expat
> DEBUG: changing euid/egid - current euid: 0 - current egid: 0
> DEBUG: egid changed to: 501
> DEBUG: euid changed to: 507
> DEBUG: Executing org.macports.main (expat)
> DEBUG: Privilege de-escalation not attempted as not running as root.
> DEBUG: archivefetch phase started at Thu Feb 25 14:26:32 PST 2016
> --->  Fetching archive for expat
> DEBUG: Executing org.macports.archivefetch (expat)
> DEBUG: euid/egid changed to: 0/0
> DEBUG: chowned /opt/local/var/macports/incoming to macports
> DEBUG: euid/egid changed to: 507/501
> --->  expat-2.1.0_0.darwin_15.x86_64.tbz2 doesn't seem to exist in
> /opt/local/var/macports/incoming/verified
> DEBUG: Spawning ping for packages.macports.org failed
> DEBUG: Spawning ping for fco.it.packages.macports.org failed
> DEBUG: Spawning ping for jnb.za.packages.macports.org failed
> DEBUG: Spawning ping for lil.fr.packages.macports.org failed
> DEBUG: Spawning ping for nou.nc.packages.macports.org failed
> DEBUG: Spawning ping for nue.de.packages.macports.org failed
> DEBUG: Spawning ping for mse.uk.packages.macports.org failed
> DEBUG: Spawning ping for osl.no.packages.macports.org failed
> DEBUG: Spawning ping for sea.us.packages.macports.org failed
> DEBUG: Spawning ping for jog.id.packages.macports.org failed
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://packages.macports.org/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://fco.it.packages.macports.org/mirrors/macports-packages/expat/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> fco.it.packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://jnb.za.packages.macports.org/packages/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> jnb.za.packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> lil.fr.packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://nou.nc.packages.macports.org/pub/macports/packages.macports.org/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> nou.nc.packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://nue.de.packages.macports.org/macports/packages/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> nue.de.packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> mse.uk.packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://osl.no.packages.macports.org/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> osl.no.packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://sea.us.packages.macports.org/macports/packages/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> sea.us.packages.macports.org
> --->  Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from
> http://jog.id.packages.macports.org/macports/packages/expat
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0DEBUG: Fetching archive failed:: Could not resolve host:
> jog.id.packages.macports.org
> Error: org.macports.archivefetch for port expat returned: archivefetch
> failed for expat @2.1.0_0
> DEBUG: Error code: NONE
> DEBUG: Backtrace: archivefetch failed for expat @2.1.0_0
> 
> From this machine I can ping and contact all the hosts it complains about.
> 
> Any ideas what's going on here?

You apparently can't resolve hosts, or at least MacPorts and programs it spawn can't. I don't know why that would be, if you can do it outside of MacPorts.





More information about the macports-users mailing list