[MacPorts] #70411: msp430-elf-gcc: version is not fixed
MacPorts
noreply at macports.org
Sun Jul 21 20:43:19 UTC 2024
#70411: msp430-elf-gcc: version is not fixed
-----------------------------+--------------------------
Reporter: cooljeanius | Owner: edilmedeiros
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: msp430-elf-gcc |
-----------------------------+--------------------------
Comment (by ryandesign):
Replying to [comment:5 edilmedeiros]:
> The pre-extract version rollback
> {{{
> # Bump back version so that newlib will compile correctly.
> pre-extract {
> version 9.3.0
> }
> }}}
> was added so that the cross-gcc portgroup compiles fine. I could not
make it work another way.
These lines cannot stay in the Portfile. They cause the problem described
in this ticket. Ports cannot change the version number after setting
it—not in a phase, not in a variant, not ever.
In case it's not clear, MacPorts will ''not'' automatically set the
version back to the previous value after the extract phase, ''unless'' the
user runs phases separately, e.g. `sudo port extract` followed by a later
phase like `sudo port build`. And if I do run the phases separately like
that, it fails with a "No such file or directory" error since it's looking
for a 9.3.1.11 directory but there is actually a 9.3.0 directory.
--
Ticket URL: <https://trac.macports.org/ticket/70411#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list