MacPorts
2018-12-04 10:22:11 UTC
#57720: preferred_hosts has no effect on archive_site_local
------------------------+----------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 2.6.0
Component: base | Version: 2.5.99
Keywords: | Port:
------------------------+----------------------------
With `archive_site_local`'s basic functionality fixed (#57717), we now see
that `preferred_hosts` has no effect on `archive_site_local`. With
macports.conf containing:
{{{
archive_site_local https://packages-private.macports.org/:tbz2
preferred_hosts packages.macports.org
}}}
We see that, contrary to intentions, nevertheless packages-
private.macports.org was tried before packages.macports.org:
{{{
---> Fetching archive for libpng
DEBUG: Executing org.macports.archivefetch (libpng)
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/incoming to macports
DEBUG: euid/egid changed to: 502/501
---> libpng-1.6.36_0.darwin_15.x86_64.tbz2 doesn't seem to exist in
/opt/local/var/macports/incoming/verified
---> Attempting to fetch libpng-1.6.36_0.darwin_15.x86_64.tbz2 from https
://packages-private.macports.org/libpng
% 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: The requested URL returned error: 404 Not
Found
---> Attempting to fetch libpng-1.6.36_0.darwin_15.x86_64.tbz2 from https
://packages-private.macports.org/libpng
% 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: The requested URL returned error: 404 Not
Found
---> Attempting to fetch libpng-1.6.36_0.darwin_15.x86_64.tbz2 from
https://packages.macports.org/libpng
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0DEBUG: Fetching archive failed: The requested URL returned error: 404 Not
Found
}}}
------------------------+----------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 2.6.0
Component: base | Version: 2.5.99
Keywords: | Port:
------------------------+----------------------------
With `archive_site_local`'s basic functionality fixed (#57717), we now see
that `preferred_hosts` has no effect on `archive_site_local`. With
macports.conf containing:
{{{
archive_site_local https://packages-private.macports.org/:tbz2
preferred_hosts packages.macports.org
}}}
We see that, contrary to intentions, nevertheless packages-
private.macports.org was tried before packages.macports.org:
{{{
---> Fetching archive for libpng
DEBUG: Executing org.macports.archivefetch (libpng)
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/incoming to macports
DEBUG: euid/egid changed to: 502/501
---> libpng-1.6.36_0.darwin_15.x86_64.tbz2 doesn't seem to exist in
/opt/local/var/macports/incoming/verified
---> Attempting to fetch libpng-1.6.36_0.darwin_15.x86_64.tbz2 from https
://packages-private.macports.org/libpng
% 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: The requested URL returned error: 404 Not
Found
---> Attempting to fetch libpng-1.6.36_0.darwin_15.x86_64.tbz2 from https
://packages-private.macports.org/libpng
% 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: The requested URL returned error: 404 Not
Found
---> Attempting to fetch libpng-1.6.36_0.darwin_15.x86_64.tbz2 from
https://packages.macports.org/libpng
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0DEBUG: Fetching archive failed: The requested URL returned error: 404 Not
Found
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57720>
MacPorts <https://www.macports.org/>
Ports system for macOS
Ticket URL: <https://trac.macports.org/ticket/57720>
MacPorts <https://www.macports.org/>
Ports system for macOS