Opened 14 months ago

Last modified 14 months ago

#67946 assigned defect

python310 does not respect MACOSX_DEPLOYMENT_TARGET — at Version 1

Reported by: lukaso (Lukas Oberhuber) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-cython

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The following files in the Python 3.10 build are not respecting the MACOSX_DEPLOYMENT_TARGET, similar to #67899 for libstemmer.

Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Cython/Runtime/refnanny.cpython-310-darwin.so
Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Cython/Tempita/_tempita.cpython-310-darwin.so
Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Cython/Plex/Scanners.cpython-310-darwin.so
Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Cython/Plex/Actions.cpython-310-darwin.so
Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Cython/Compiler/Scanning.cpython-310-darwin.so
Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Cython/Compiler/Visitor.cpython-310-darwin.so
Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Cython/Compiler/FusedNode.cpython-310-darwin.so
Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/Cython/Compiler/FlowControl.cpython-310-darwin.so
Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/yaml/_yaml.cpython-310-darwin.so

As a reminder (if it's helpful) this was the fix for libstemmer: [6d75c22ebad1cf495e688fba8cbc4db9266d6286/macports-ports].

This affects the deployment build of GIMP.

I would expect other Python versions to have the same issue.

I would gladly create a PR but I'm not really sure how I'd go about it.

This is the (snipped) output of otool -l for one of the .sos, but they are all the same:

Load command 4
      cmd LC_DYLD_CHAINED_FIXUPS
  cmdsize 16
  dataoff 81920
 datasize 2648
Load command 5
      cmd LC_DYLD_EXPORTS_TRIE
  cmdsize 16
  dataoff 84568
 datasize 88

...

Load command 9
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform 1
    minos 12.0
      sdk 12.3
   ntools 1
     tool 3
  version 820.1

...

Change History (1)

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.