[MacPorts] #58497: Don't check os_major on Linux
MacPorts
noreply at macports.org
Sun May 19 17:10:07 UTC 2019
#58497: Don't check os_major on Linux
-------------------------+--------------------
Reporter: yan12125 | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Keywords: | Port:
-------------------------+--------------------
I've just upgrade my server from Linux kernel 4.18.16 to kernel 5.1.2, and
the `port` command refuses to work:
{{{
Error: Current platform "linux 5" does not match expected platform "linux
4"
Error: If you upgraded your OS, please follow the migration instructions:
https://trac.macports.org/wiki/Migration
OS platform mismatch
while executing
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform
mismatch
}}}
This check is not necessary on Linux IMO as programs compiled on Linux 4.x
should work just fine on Linux 5.x. Need to change this line:
https://github.com/macports/macports-
base/blob/v2.5.4/src/macports1.0/macports.tcl#L703
--
Ticket URL: <https://trac.macports.org/ticket/58497>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list