[MacPorts] #53530: fallback to build from source when binary package not available failing when primary archive source is FTP
MacPorts
noreply at macports.org
Tue Feb 14 12:47:29 UTC 2017
#53530: fallback to build from source when binary package not available failing
when primary archive source is FTP
----------------------------+--------------------
Reporter: JohnPritchard | Owner: jmroot
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: base | Version: 2.4.0
Resolution: fixed | Keywords:
Port: |
----------------------------+--------------------
Changes (by jmroot):
* status: new => closed
* owner: => jmroot
* resolution: => fixed
Comment:
In [changeset:"6718cc6248373752d3172a1ed6412d883d6a96e4/macports-base"
6718cc6/macports-base]:
{{{
#!ConfigurableCommitTicketReference repository="macports-base"
revision="6718cc6248373752d3172a1ed6412d883d6a96e4"
Check for file size sanity in _archive_available
It seems that if 'curl getsize' is called with an FTP URL that points
to a nonexistent file, it will return a size of -1 rather than throw
an error like it does with HTTP.
Fixes: https://trac.macports.org/ticket/53530
}}}
--
Ticket URL: <https://trac.macports.org/ticket/53530#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list