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

classic Classic list List threaded Threaded
57 messages Options
123
Reply | Threaded
Open this post in threaded view
|

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

macports-4
#62027: mythtv.28 fails to build on Big Sur 11.1 with Apple silicon
--------------------------+-----------------------
 Reporter:  dfleck        |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.6.4
 Keywords:  bigsur arm64  |       Port:  mythtv.28
--------------------------+-----------------------
 mythtv.28 builds for x86_64. Logrotate builds for arm64. mythtv won't
 build because it can't find an X86 version of logrotate (I don't think it
 should care - should it?)

 {{{
 --->  Computing dependencies for mythtv.28
 Error: Cannot install mythtv-core.28 for the arch 'x86_64' because
 Error: its dependency logrotate does not build for the required arch by
 default
 Error: and does not have a universal variant.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port mythtv.28 failed
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/62027>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

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

Comment (by ctreleaven):

 AFAIK, you are the first person to attempt to build Myth 0.28 on Apple
 Silicon.

 You could try adding arm64 to the supported_archs (line 26 of the
 Portfile).  The build dependency on yasm will then be superfluous, I
 believe.

 Are you looking to try running mythbackend on an M1 Mac?  I'll be glad to
 offer what advice I can but I don't have such hardware myself.

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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  |
------------------------+--------------------------
Changes (by ctreleaven):

 * status:  new => accepted
 * owner:  (none) => ctreleaven


--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 dfleck):

 Actually I *have* mythbackend (and mythweb) running on the M1. I installed
 a v28 app package I found somewhere. But I'd like to get it running
 "properly" as a service thru MacPorts (plus the webbackend server isn't
 working right with the app).

 I'll try to modify the Portfile - but so far I've been flummoxed with
 updating the checksums.

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 dfleck):

 Modifying the Portfiles as suggested results in a different error:

 {{{
 Error: Cannot install mythtv.28 for the arch 'arm64' because
 Error: its dependency qt5-qtbase only supports the arch 'x86_64'.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 ctreleaven):

 Interesting.  I would guess that you installed from the all-in-one
 installer and are therefore running Myth under Rosetta2 emulation.  First
 report I've heard of that.

 I'm not sure what the status is on qt5 on Apple silicon.  I think it might
 be best to send a query to the macports-dev mailing list, copying the qt5
 maintainers, and ask what the plan is to bring Qt up.  I did notice that
 Qt6 was released recently.  The indication was that Qt6 was not a major
 departure from Qt5 so maybe it won't be hard to add to MacPorts.  OTOH, Qt
 is massive, complicated suite of software and making it work in a
 MacPorts-context has been far from trivial.

 Please feel free to contact me directly at my macports.org address if
 you'd like to discuss further.

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 ILMostro):

 Yeah, the same issue with qt5-base is the blocker for the current release
 of mythtv; version 0.31.  I had brought it up in the IRC at the time.

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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  |
------------------------+--------------------------
Changes (by ILMostro):

 * Attachment "qt5-qtwebkit-main.log" added.

 main.log from port install qt5-qtwebkit

--
Ticket URL: <https://trac.macports.org/ticket/62027>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 kencu):

 I fixed most of qt5 to work on arm64, but qt5-qtwebkit is not fixed. It's
 a upstream issue, and I haven't heard when or if they plan on getting it
 fixed.

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 ctreleaven):

 @ILMostro, what is your objective?  If you are looking to install a full
 Myth system (front & backend), then 0.28 is not a great choice.  It is no
 longer supported upstream and version 32 is going to be released in a few
 weeks/months.

 However, AFAIK, qtwebkit is only used for plugins (like MythNews &
 MythBrowser).  You could try deleting qtwebkit as a dependency and see if
 the build gets much further.  Myth frontend, at least, does build and run
 on Android so it is conceivable that it could be made to build and run on
 Apple Silicon.

 Also, I could not find a ticket or pull request regarding qt5-qtwebkit not
 building on arm64.  Another ticket should be opened.  @kencu, is there an
 upstream Qt ticket regarding building on arm64?

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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  |
------------------------+--------------------------
Changes (by jhoyt4):

 * Attachment "patch-qtwebkit-FastMalloc.diff" added.

 Patch file for FastMalloc.cpp

--
Ticket URL: <https://trac.macports.org/ticket/62027>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 kencu):

 nb #62139.

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 kencu):

 this is the one for qtwebengine.

 <https://bugreports.qt.io/browse/QTBUG-85537>

 It's been a couple of months since I worked on this, and qt5 has several
 different web-related packages...might have to check again to be certain
 exactly where each package got to in terms of build status.

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#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 kencu):

 Here are the qt5 ports we have installed on arm64 so far:
 {{{
 % port -v installed | grep qt5
   qt5 @5.15.2_0 (active) platform='darwin 20' archs='noarch'
 date='2020-12-20T02:51:37-0500'
   qt5-qt3d @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T02:42:11-0500'
   qt5-qtbase @5.15.2_2+openssl (active) platform='darwin 20' archs='arm64'
 date='2021-01-21T20:16:44-0500'
   qt5-qtconnectivity @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T02:50:52-0500'
   qt5-qtcreator @4.12.4_0 (active) platform='darwin 20' archs='arm64'
 date='2021-01-14T03:35:10-0500'
   qt5-qtdeclarative @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:19:58-0500'
   qt5-qtgamepad @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:34:47-0500'
   qt5-qtgraphicaleffects @5.15.2_0 (active) platform='darwin 20'
 archs='arm64' date='2020-12-20T01:24:01-0500'
   qt5-qtimageformats @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:24:17-0500'
   qt5-qtlocation @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:30:48-0500'
   qt5-qtmacextras @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:26:56-0500'
   qt5-qtmultimedia @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:33:48-0500'
   qt5-qtnetworkauth @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:33:56-0500'
   qt5-qtquickcontrols @5.15.2_0 (active) platform='darwin 20'
 archs='arm64' date='2020-12-20T01:27:38-0500'
   qt5-qtquickcontrols2 @5.15.2_0 (active) platform='darwin 20'
 archs='arm64' date='2020-12-20T01:25:55-0500'
   qt5-qtremoteobjects @5.15.2_0 (active) platform='darwin 20'
 archs='arm64' date='2020-12-20T01:34:17-0500'
   qt5-qtscript @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2021-01-06T11:00:04-0500'
   qt5-qtscxml @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:34:35-0500'
   qt5-qtsensors @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:26:31-0500'
   qt5-qtserialbus @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:32:41-0500'
   qt5-qtserialport @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:26:03-0500'
   qt5-qtspeech @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T02:51:02-0500'
   qt5-qtsvg @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:15:18-0500'
   qt5-qttools @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:23:23-0500'
   qt5-qttranslations @5.15.2_0 (active) platform='darwin 20'
 archs='noarch' date='2020-12-20T02:51:21-0500'
   qt5-qtwebchannel @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:26:50-0500'
   qt5-qtwebsockets @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:26:42-0500'
   qt5-qtxmlpatterns @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T01:32:22-0500'
   qt5-sqlite-plugin @5.15.2_0 (active) platform='darwin 20' archs='arm64'
 date='2020-12-20T02:51:36-0500'
 }}}

 And here's what the buildbot has made wrt to qt5-qtwebkit

 <http://packages.macports.org/qt5-qtwebkit/>

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon (was: mythtv.28 fails to build on Big Sur 11.1 with Apple silicon)

macports-4
In reply to this post by macports-4
#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+--------------------------
  Reporter:  dfleck        |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur arm64
      Port:  qt5-qtwebkit  |
---------------------------+--------------------------
Changes (by ctreleaven):

 * owner:  ctreleaven => kencu
 * status:  accepted => assigned
 * port:  mythtv.28 => qt5-qtwebkit


Old description:

> mythtv.28 builds for x86_64. Logrotate builds for arm64. mythtv won't
> build because it can't find an X86 version of logrotate (I don't think it
> should care - should it?)
>
> {{{
> --->  Computing dependencies for mythtv.28
> Error: Cannot install mythtv-core.28 for the arch 'x86_64' because
> Error: its dependency logrotate does not build for the required arch by
> default
> Error: and does not have a universal variant.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port mythtv.28 failed
> }}}
New description:

 This bug is now apparently about qt5-qtwebkit failing to build on arm64.
 mythtv is only incidental at this point.

--

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+--------------------------
  Reporter:  dfleck        |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur arm64
      Port:  qt5-qtwebkit  |
---------------------------+--------------------------

Comment (by kencu):

 Replying to [comment:9 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.

 That patch is already in qt5-qtwebit build.

 <https://github.com/macports/macports-ports/blob/master/aqua/qt5/files
 /patch-qtwebkit-FastMalloc.diff>


 and should be being used already:

 <https://github.com/macports/macports-
 ports/blob/396d56f67cd6bc62a6ab49fff279fa83c7098032/aqua/qt5/Portfile#L1533>

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+--------------------------
  Reporter:  dfleck        |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur arm64
      Port:  qt5-qtwebkit  |
---------------------------+--------------------------

Comment (by jhoyt4):

 Replying to [comment:15 kencu]:
 > Replying to [comment:9 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.
 >
 > That patch is already in the qt5-qtwebit build.

 Ken - check again.  I modded line 11 from "PAGE_SHIFT" to "PGSHIFT" the
 new variable.

 Sorry - should have made a new file name...

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+--------------------------
  Reporter:  dfleck        |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur arm64
      Port:  qt5-qtwebkit  |
---------------------------+--------------------------

Comment (by jhoyt4):

 I could also be wrong about PGSIZE :)

--
Ticket URL: <https://trac.macports.org/ticket/62027#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

macports-4
In reply to this post by macports-4
#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+--------------------------
  Reporter:  dfleck        |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur arm64
      Port:  qt5-qtwebkit  |
---------------------------+--------------------------

Comment (by jhoyt4):

 {{{
 % grep -r PGSHIFT /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/i386/param.h:#define
 PGSHIFT         12              /* LOG2(NBPG) */
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/i386/param.h:#define
 ctod(x) ((x)<<(PGSHIFT-DEV_BSHIFT))
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/i386/param.h:#define
 dtoc(x) ((x)>>(PGSHIFT-DEV_BSHIFT))
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/i386/param.h:#define
 ctob(x) ((x)<<PGSHIFT)
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/i386/param.h:#define
 btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/param.h:#define
 CLSHIFT         (PGSHIFT+CLSIZELOG2)
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/mach/i386/vm_param.h:#define
 I386_PGSHIFT            12              /* bitshift for pages */
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/mach/i386/vm_param.h:#define
 PAGE_SHIFT              I386_PGSHIFT
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/arm/param.h:#define
 PGSHIFT         12              /* LOG2(NBPG) */
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/arm/param.h:#define
 ctod(x) ((x)<<(PGSHIFT-DEV_BSHIFT))
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/arm/param.h:#define
 dtoc(x) ((x)>>(PGSHIFT-DEV_BSHIFT))
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/arm/param.h:#define
 ctob(x) ((x)<<PGSHIFT)
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/arm/param.h:#define
 btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
 }}}

 This is the one :)


 {{{
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/arm/param.h:#define
 PGSHIFT         12              /* LOG2(NBPG) */
 }}}

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