Changes between Initial Version and Version 1 of Ticket #64579, comment 4


Ignore:
Timestamp:
Feb 4, 2022, 12:44:38 AM (3 years ago)
Author:
Gandoon (Erik Hedlund)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64579, comment 4

    initial v1  
    55I also used the previously mentioned patch to solve the race conditions. The patch alone did not solve the issue. In the end I tested to revert the errors one by one, confirming that they passed the ''destroot'' and eventually reverted every framework component to `distutils`, and the port finally built and installed.
    66
     7Example from `patch-setuptools-distutils.diff` as distributed by MacPorts:
     8{{{
     9. . .
     10diff --git pyobjc-framework-AVFoundation/pyobjc_setup.py pyobjc-framework-AVFoundation/pyobjc_setup.py
     11--- pyobjc-framework-AVFoundation/pyobjc_setup.py
     12+++ pyobjc-framework-AVFoundation/pyobjc_setup.py
     13@@ -23,9 +23,9 @@ from setuptools import Extension as _Ext
     14 from setuptools import setup as _setup
     15 from setuptools.command import build_ext, build_py, develop, egg_info, install_lib, test
     16
     17-from distutils import log
     18-from distutils.errors import DistutilsError, DistutilsPlatformError
     19-from distutils.command import build, install
     20+from setuptools._distutils import log
     21+from setuptools._distutils.errors import DistutilsError, DistutilsPlatformError
     22+from setuptools._distutils.command import build, install
     23. . .
     24}}}
     25So essentially, by not doing this, I got it to work.
     26
    727Remains to see if it works as expected…