[MacPorts] #62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
MacPorts
noreply at macports.org
Tue Feb 23 11:18:33 UTC 2021
#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+---------------------------------
Reporter: dfleck | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur arm64
Port: qt5-qtwebkit |
---------------------------+---------------------------------
Comment (by jhoyt4):
Thanks!
That tells me the compiler isn't picking up the header file that delcares
PGSHIFT - probably because Apple moved it from "mach/vm_param.h" to
"mach/i386/vm_param.h" and "mach/arm/vm_param.h" - bu arm has no value
included. Instead we now find PGSHIFT in "arm/param.h".
This may also mean a lot more to do in the background to get qtwebkit up
and running - but let's try this as a first attempt to fix.
Here's a patch file that ::hopefully:: adds arm/param.h to the include
list and switched over to PGSIZE.
There's a good chance this patch will fail as well as I added if
statements to check for CPU(ARM64) - I may have guessed the architecture
label incorrectly.
--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:30>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list