[MacPorts] #67425: bmake fails on Rosetta
MacPorts
noreply at macports.org
Mon May 22 14:43:35 UTC 2023
#67425: bmake fails on Rosetta
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: snowleopard, powerpc, rosetta
Port: bmake |
---------------------------+-------------------------------------------
Comment (by barracuda156):
Replying to [comment:8 ryandesign]:
> Replying to [comment:5 barracuda156]:
> > I propose to make this fix conditional on PowerPC: then it cannot
possibly affect anything else.
>
> My point is, if `uname -m` was wrong, `uname -p` isn't any more right.
What information is the build system trying to determine by running
`uname`? I can almost guarantee that `uname` is not the right tool for the
job. `uname` tells you what machine you're building on. It doesn't tell
you what machine you're building for. (Consider what would happen when
building for i386 on PowerPC, or for ppc on Intel.)
Yes, in fancy scenarios it won’t work, and that is a typical problem of
`uname`, as it is often used – it breaks the build.
I cannot subscribe to “isn’t any more right” part – at least that fixes a
native build on PPC, but anyway, let’s wait if the developer fixes it
appropriately.
--
Ticket URL: <https://trac.macports.org/ticket/67425#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list