[MacPorts] #51045: "---> Attempting to fetch" doesn't start in a new line
MacPorts
noreply at macports.org
Thu Dec 15 23:09:30 CET 2016
#51045: "---> Attempting to fetch" doesn't start in a new line
---------------------+--------------------------------
Reporter: mojca | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.99
Resolution: | Keywords:
Port: |
---------------------+--------------------------------
Comment (by ryandesign):
We can use the buildbot logs to see what happens on various OS versions.
Picking a build at random (libgcrypt):
[https://build.macports.org/builders/ports-10.6_i386_legacy-
builder/builds/12362/steps/install-port/logs/stdio We don't see the
problem on Snow Leopard] (curl 7.19.7):
{{{
---> Attempting to fetch libgcrypt-1.7.5_0.darwin_10.i386.tbz2 from
https://packages.macports.org/libgcrypt
% 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 --:--:-- --:--:-- --:--:--
0
DEBUG: Fetching archive failed:: The requested URL returned error: 404
}}}
[https://build.macports.org/builders/ports-10.7_x86_64_legacy-
builder/builds/18310/steps/install-port/logs/stdio We don't see the
problem on Lion] (curl 7.21.4):
{{{
---> Attempting to fetch libgcrypt-1.7.5_0.darwin_11.x86_64.tbz2 from
https://packages.macports.org/libgcrypt
% 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 --:--:-- --:--:-- --:--:--
0
DEBUG: Fetching archive failed:: The requested URL returned error: 404
}}}
[https://build.macports.org/builders/ports-10.8_x86_64_legacy-
builder/builds/13004/steps/install-port/logs/stdio We don't see the
problem on Mountain Lion] (curl 7.24.0):
{{{
---> Attempting to fetch libgcrypt-1.7.5_0.darwin_12.x86_64.tbz2 from
https://packages.macports.org/libgcrypt
% 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 --:--:-- --:--:-- --:--:--
0
DEBUG: Fetching archive failed:: The requested URL returned error: 404
}}}
[https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/13056/steps
/install-port/logs/stdio We don't see the problem on Mavericks] (curl
7.30.0):
{{{
---> Attempting to fetch libgcrypt-1.7.5_0.darwin_13.x86_64.tbz2 from
https://packages.macports.org/libgcrypt
% 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 --:--:-- --:--:-- --:--:--
0
DEBUG: Fetching archive failed:: The requested URL returned error: 404 Not
Found
}}}
[https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/13039/steps
/install-port/logs/stdio We see the problem on Yosemite] (curl 7.43.0):
{{{
---> Attempting to fetch libgcrypt-1.7.5_0.darwin_14.x86_64.tbz2 from
https://packages.macports.org/libgcrypt
% 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
}}}
[https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/13069/steps
/install-port/logs/stdio We see the problem on El Capitan] (curl 7.43.0):
{{{
---> Attempting to fetch libgcrypt-1.7.5_0.darwin_15.x86_64.tbz2 from
https://packages.macports.org/libgcrypt
% 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
}}}
[https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/14897/steps
/install-port/logs/stdio We don't see the problem on Sierra] (curl
7.49.1):
{{{
---> Attempting to fetch libgcrypt-1.7.5_0.darwin_16.x86_64.tbz2 from
https://packages.macports.org/libgcrypt
% 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 --:--:-- --:--:-- --:--:--
0
DEBUG: Fetching archive failed:: The requested URL returned error: 404 Not
Found
}}}
This suggests it is a curl bug that was introduced after curl 7.30.0 and
fixed before curl 7.49.1. But it's also possible Apple made custom
modifications to the copies of curl included with macOS that could account
for this.
These types of bugs in the system curl are a reason why I've suggested
that we should [comment:ticket:51516:23 bundle a newer copy of curl] so
that we get consistent behavior across OS versions.
--
Ticket URL: <https://trac.macports.org/ticket/51045#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list