[MacPorts] #61289: python39 @3.9.0 : Build failure on Mac OS X Leopard due to undefined symbols

MacPorts noreply at macports.org
Sun Oct 11 18:19:14 UTC 2020


#61289: python39 @3.9.0 : Build failure on Mac OS X Leopard due to undefined
symbols
---------------------------+--------------------
  Reporter:  SerpentChris  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.3
Resolution:                |   Keywords:
      Port:  python39      |
---------------------------+--------------------

Comment (by fhgwright):

 I'd started investigating this before noticing the python38 patches, and
 it seems that a one-line patch is sufficient to convince it that native
 thread naming doesn't exist prior to 10.6.  I don't know if anything more
 elaborate than that is really needed.

 Similarly, a one-line patch is sufficient to get rid of the COPYFILE_DATA
 reference, though the consequences of disabling the corresponding Python
 definition (including in shutil and test_shutil) would need to be
 investigated.  I do notice that the "fast copyfile" mechanism isn't
 expected to be available on all OSes, according to the Python docs.

 A recurring problem with 10.4, affecting Python and Ruby at least, is that
 it implements the fcopyfile() ''function'', but not the COPYFILE_DATA
 ''option'' for it.

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


More information about the macports-tickets mailing list