[MacPorts] #59463: Binary-only mode requested with no usable archive sites configured
MacPorts
noreply at macports.org
Thu Sep 23 22:36:43 UTC 2021
#59463: Binary-only mode requested with no usable archive sites configured
-------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.2
Resolution: | Keywords:
Port: |
-------------------------+--------------------
Comment (by fhgwright):
Replying to [comment:3 raimue]:
> The problem is that we don't know whether the binary archive was built
from this Portfile. See the commit message in
[changeset:"9c147ed1379254954063ce7354c35369dfe4b945/macports-base"
9c147ed1379254954063ce7354c35369dfe4b945/macports-base].
>
> But as a workaround, you could define archive sites in the ports tree at
`_resources/port1.0/fetch/archive_sites.tcl` to indicate that you want to
use the binary archives of the official MacPorts ports tree.
That doesn't work. It seems that sources.conf only affects where to look
for the `ports` tree, not the `_resources` tree, so there's no way to get
it to see a locally-modified (or even locally-unmodified) file under
`_resources`. I've run into the same problem when trying to test a
PortGroup change in the local sparse overlay tree.
--
Ticket URL: <https://trac.macports.org/ticket/59463#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list