[MacPorts] #62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon

MacPorts noreply at macports.org
Tue Dec 7 21:42:26 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 chrstphrchvz):

 See #64126: older Qt ports either need to build successfully on newer
 macOS, or be marked `known_fail yes` to avoid tying up the buildbots.

 phantomjs-qt-qtwebkit and possibly other older qtwebkit ports are likewise
 affected by the `Unsupported PAGE_SHIFT amount` issue with macOS 11+ SDKs.
 Because phantomjs-qt-qtbase and other older qtbase ports will likely never
 build for ARM64, the x86_64 builds will instead try to be used under
 Rosetta 2.

 Upstream WebKit made changes in 2014 to accommodate variable page
 size/shift amounts.

 Discussion: https://bugs.webkit.org/show_bug.cgi?id=129370

 Patch for relevant source code file:
 https://trac.webkit.org/changeset?old=164727&old_path=webkit%2Ftrunk%2FSource%2FWTF%2Fwtf%2FFastMalloc.cpp&new=164742&new_path=webkit%2Ftrunk%2FSource%2FWTF%2Fwtf%2FFastMalloc.cpp

 I find that applying these changes are enough to allow phantomjs-qt-
 qtwebkit to build on macOS 12 x86-64.

 Unless the qt5-qtwebkit port is updated to newer qtwebkit not affected by
 this issue, I would suggest that it backport upstream’s proper fix instead
 of trying to hardcode size/shift amounts to work, even though production
 Rosetta 2 does not use different page size/shift amounts than actual
 x86-64.

-- 
Ticket URL: <https://trac.macports.org/ticket/62027#comment:49>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list