[MacPorts] #60581: garbage error output from failed curl
MacPorts
noreply at macports.org
Sun May 31 21:07:05 UTC 2020
#60581: garbage error output from failed curl
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.2
Keywords: | Port:
------------------------+--------------------
I'm trying to fix an old port by fetching its distfiles from archive.org.
archive.org is having some problem today where I have to refresh its pages
several times before it shows me the information I want; other times I get
various connection errors. In addition, connections to
"distfiles.macports.org" will not succeed because on my network that is
mapped to a custom server that is offline right now.
Trying to fetch the modified port with MacPorts (on High Sierra) I got
this output:
{{{
---> Attempting to fetch p4d from
https://web.archive.org/web/20101114082044if_/http://filehost.perforce.com/perforce/r10.1/bin.darwin80u/
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 125k 0 125k 0 0 112k 0 --:--:-- 0:00:01 --:--:--
112k
DEBUG: Fetching distfile failed: transfer closed with outstanding read
data remaining
---> Attempting to fetch p4d from
https://distfiles.macports.org/perforce/2010.1
% 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 distfile failed: ½Å
Error: Failed to fetch perforce: ½Å
DEBUG: Error code: NONE
DEBUG: Backtrace: ½Å
while executing
"error $lastError"
(procedure "portfetch::fetchfiles" line 66)
invoked from within
"portfetch::fetchfiles"
(procedure "portfetch::fetch_main" line 17)
invoked from within
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_Users_rschmidt_macports_macports-
ports-svn-trunk-new_devel_perforce/perforce/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port perforce failed
}}}
Regardless of how badly the servers from which I'm downloading are
behaving, I should never see an "error message" like `½Å`.
--
Ticket URL: <https://trac.macports.org/ticket/60581>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list