Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The MXP Build System on Big Sur
#1
I've been trying to migrate my builds over to Big Sur, and so far I've found i had to to do two things: add all the executables in the platform folder to security exceptions in System Preferences. And add: #include <sys/ioctl.h> to _psutil_posix.c

And I've tried building with the Mojave SDK and it builds fine with out errors. However when launching the build in debug mode i get the following error:

Process 86244 launched: '/Volumes/t1_backup/silver_2/basilisk/obj-x86_64-apple-darwin20.5.0/dist/Silver.app/Contents/MacOS/basilisk' (x86_64)
2021-08-19 16:27:04.562747+0000 basilisk[86244:7238718] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=86244
2021-08-19 16:27:04.562938+0000 basilisk[86244:7238718] SecTaskCopyDebugDescription: basilisk[86244]/0#-1 LF=0
2021-08-19 16:27:05.008296+0000 basilisk[86244:7238718] WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.0 instead of 10.16.0. This is not a bug in Gestalt -- it is a documented limitation. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
2021-08-19 16:27:05.008368+0000 basilisk[86244:7238718] 0  CarbonCore                          0x00007fff228be2d1 ___Gestalt_SystemVersion_block_invoke + 112
2021-08-19 16:27:05.008393+0000 basilisk[86244:7238718] 1  libdispatch.dylib                  0x00007fff2024a806 _dispatch_client_callout + 8
2021-08-19 16:27:05.008415+0000 basilisk[86244:7238718] 2  libdispatch.dylib                  0x00007fff2024b98c _dispatch_once_callout + 20
2021-08-19 16:27:05.008436+0000 basilisk[86244:7238718] 3  CarbonCore                          0x00007fff2285fa72 _Gestalt_SystemVersion + 944
2021-08-19 16:27:05.008444+0000 basilisk[86244:7238718] 4  CarbonCore                          0x00007fff2285f688 Gestalt + 149
2021-08-19 16:27:05.008453+0000 basilisk[86244:7238718] 5  XUL                                0x00000001048249fd WebPGetColorPalette + 498691
Process 86244 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x7ffe00002007)
    frame #0: 0x000000010436a084 XUL`___lldb_unnamed_symbol183870$$XUL + 240
XUL`___lldb_unnamed_symbol183870$$XUL:
->  0x10436a084 <+240>: movq  $0x0, (%rax)
    0x10436a08b <+247>: leaq  0x1f30506(%rip), %rax
    0x10436a092 <+254>: cmpl  $0x0, (%rax)
    0x10436a095 <+257>: je    0x10436a0a9              ; <+277>
Target 0: (basilisk) stopped.


Which I'm pretty sure is a codesign problem. My first assumptions are that the privileges are somehow not being granted properly to some executable or script, because I've tried with the exact same configurations as on Mojave but the only different variable being that the build is on Big Sur. I've tried building with verbose mode but i don't seem to see error messages pertaining to ungranted privileges (probably because it just fails silently). Any ideas on what can be done?

On a side note i was also wondering if there's any progress toward building on apple silicon. I took the first steps towards trying it out by using the python script 2to3 to convert everything to python3 but i encountered some errors and eventually after fixing all the explicit errors the most obvious error i got was that the output folder's name was corrupted in that it contained an extra 'b' letter in the name caused by python2 strings being prefixed with 'b's to convert string so to byte strings.
Reply


Messages In This Thread
The MXP Build System on Big Sur - by noobsoftware - 08-20-2021, 01:26 PM
RE: The MXP Build System on Big Sur - by dbsoft - 08-20-2021, 07:07 PM
RE: The MXP Build System on Big Sur - by dbsoft - 08-21-2021, 08:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)