[MacPorts] #62027: mythtv.28 fails to build on Big Sur 11.1 with Apple silicon

MacPorts noreply at macports.org
Sun Feb 21 14:16:43 UTC 2021


#62027: mythtv.28 fails to build on Big Sur 11.1 with Apple silicon
------------------------+--------------------------
  Reporter:  dfleck     |      Owner:  ctreleaven
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:  bigsur arm64
      Port:  mythtv.28  |
------------------------+--------------------------

Comment (by jhoyt4):

 @ILMostro @kencu - it looks like the qtwebkit compile is failing where we
 had to patch recently in FastMalloc.cpp for Big Sur back in Nov/Dec.

 The related patch is patch-qtwebkit-FastMalloc.diff

 Basically, Apple changed from using the PAGE_SHIFT variable to
 I386_PGSHIFT for x86 and I believe PGSHIFT for ARM.  Modding the patch to
 change PAGE_SHIFT to PGSHIT should fix the initial compile issue.


 {{{
 #if OS(DARWIN)
 #    if CPU(X86_64)
 #        define K_PAGE_SHIFT I386_PGSHIFT
 #    else
 #        define K_PAGE_SHIFT PGSHIFT
 #    endif
 }}}

 The portfile is currently setup only to patch os.major > 20 so this should
 not hurt anyone else.

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


More information about the macports-tickets mailing list