Trac login

Daniel J. Luke dluke at geeklair.net
Mon Mar 6 20:35:07 UTC 2017


On Mar 6, 2017, at 3:31 PM, Geoff Down <geoffdown at fastmail.net> wrote:
> thanks for replying. Ports tries to install 4.2.8p9 and exits when it
> can't find the distfile:
> --->  Fetching distfiles for ntp
> --->  Attempting to fetch ntp-4.2.8p9.tar.gz from
> http://distfiles.macports.org/ntp
> ...other mirrors
> --->  Attempting to fetch ntp-4.2.8p9.tar.gz from
> http://her.gr.distfiles.macports.org/ntp
> Error: Failed to fetch ntp: The requested URL returned error: 404

even if it's not being mirrored, you should be able to fetch it from the source - here's what happens if I try now:

% sudo port clean --all ntp
--->  Cleaning ntp
% sudo port -dv fetch ntp
DEBUG: Copying /Volumes/Extra/dluke/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory: /Volumes/Extra/dluke/Projects/macports-ports/sysutils/ntp
DEBUG: OS darwin/16.4.0 (Mac OS X 10.12) arch i386
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /Volumes/Extra/dluke/Projects/macports-ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_Volumes_Extra_dluke_Projects_macports-ports_sysutils_ntp/ntp/work /Volumes/Extra/dluke/Projects/macports-ports/sysutils/ntp/work
DEBUG: dropping privileges: euid changed to 509, egid changed to 20.
DEBUG: Starting logging for ntp
DEBUG: Executing org.macports.main (ntp)
DEBUG: dropping privileges: euid changed to 509, egid changed to 20.
DEBUG: fetch phase started at Mon Mar  6 15:32:53 EST 2017
--->  Fetching distfiles for ntp
DEBUG: elevating privileges for fetch: euid changed to 0, egid changed to 0.
DEBUG: dropping privileges: euid changed to 509, egid changed to 20.
DEBUG: Executing org.macports.fetch (ntp)
--->  ntp-4.2.8p9.tar.gz does not exist in /opt/local/var/macports/distfiles/ntp
--->  Attempting to fetch ntp-4.2.8p9.tar.gz from https://distfiles.macports.org/ntp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG: Fetching distfile failed: The requested URL returned error: 404 Not Found
--->  Attempting to fetch ntp-4.2.8p9.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/ntp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG: Fetching distfile failed: The requested URL returned error: 404 Not Found
--->  Attempting to fetch ntp-4.2.8p9.tar.gz from http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   154  100   154    0     0   1956      0 --:--:-- --:--:-- --:--:--  1974
100 7062k  100 7062k    0     0  2286k      0  0:00:03  0:00:03 --:--:-- 2851k
DEBUG: Checking time since last reclaim run

> How do I force it to install 4.2.8p8 instead please?

you don't want to do that (p9 fixes security bugs)

-- 
Daniel J. Luke





More information about the macports-users mailing list