[MacPorts] #60756: Tell the user when fetching a binary failed and a build from source will occur
MacPorts
noreply at macports.org
Tue Apr 30 03:17:55 UTC 2024
#60756: Tell the user when fetching a binary failed and a build from source will
occur
--------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.2
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by ryandesign):
Has duplicate #68869.
Changing "archive" to "binary archive" as I first suggested may not be the
best. Not all archives contain binaries; some are just data files. We seem
to have settled on the word "archive" to describe our pre-built downloads,
but it's not the clearest term. After all, most distfiles are technically
archives too.
Similarly, changing "distfiles" to "source code" may not be the best,
since not all distfiles are source code. Some are pre-compiled binaries,
as Frank pointed out, and some are data files. Some ports may even use a
combination of file types.
Project-wide, we should come up with better terms to differentiate these.
Maybe something like "Fetching pre-built archive of $port" vs "Fetching
files to build $port".
Replying to [comment:1 mf2k]:
> Maybe we should also add a new keyword to base to note that the Portfile
is downloading a binary and not source code:
> {{{
> distfiles_type source [default]
> distfiles_type binary
> }}}
>
> It could even not try to run the configure and build phases when it is
binary.
For the purpose of changing the output to indicate what kind of file is
being fetched, it would be simpler to come up with a single message that
applies in all cases.
For the purpose of not running the configure and build phases when
fetching a binary, it's off topic for this ticket.
--
Ticket URL: <https://trac.macports.org/ticket/60756#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list