[MacPorts] #70237: fastfetch: Wrong OS Version Shown
MacPorts
noreply at macports.org
Mon Jun 17 22:33:59 UTC 2024
#70237: fastfetch: Wrong OS Version Shown
--------------------------------------+-------------------------
Reporter: TopHatProductions115new | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: fastfetch |
--------------------------------------+-------------------------
Comment (by ryandesign):
I get the same thing. If I build from source with `sudo port -ns upgrade
--force fastfetch` that fixes it.
The portfile sets `platforms any`, meaning the portfile author believes
the port installs identical files regardless of OS or OS version. As a
result, only one of our build machines (whichever one is available first)
will build it and you will receive that archive, even if its OS or OS
version does not match yours.
You can see at https://ports.macports.org/port/fastfetch/builds/ that the
last build occurred on a macOS 11 machine; that's the archive that is
being served from our servers and the one you received. As for why
fastfetch is identifying macOS 11 as 10.16, you'd have to discuss that
with the developers of fastfetch. I recommend [https://github.com
/fastfetch-cli/fastfetch/issues filing an issue about that].
Since this port's installed files contain information about the macOS
version used to build it, `platforms any` is not accurate and should be
removed, along with increasing the `revision`. (We already know this was
wrong from #70107 where we learned that the port installs compiled files,
which always differ on every macOS version.)Then MacPorts will return to
its usual mode, wherein every one of our build machines will build the
port and archives will be kept separately for each OS and OS version and
you will receive the archive that matches your OS and OS version.
--
Ticket URL: <https://trac.macports.org/ticket/70237#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list