[MacPorts] #61591: py27-gobject @2.28.7. Build fails on Big Sur: Undefined symbols for architecture x86_64: "_PyCObject_AsVoidPtr" and others

MacPorts noreply at macports.org
Sat Nov 21 23:04:53 UTC 2020


#61591: py27-gobject @2.28.7. Build fails on Big Sur: Undefined symbols for
architecture x86_64:   "_PyCObject_AsVoidPtr" and others
-------------------------+--------------------
  Reporter:  kencu       |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  bigsur
      Port:  py-gobject  |
-------------------------+--------------------

Comment (by kencu):

 It looks like the only difference between the link that fails on Big Sur
 and the link that succeeds on Mojave is:
 {{{
 -Wl,-undefined -Wl,dynamic_lookup
 }}}
 which I believe is that same lilbtool bug that every other libtool port
 has been having.

 {{{
 mojave:
 /usr/bin/clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o
 .libs/libpyglib-2.0-python2.7.0.dylib  .libs/libpyglib_2_0_python2.7_la-
 pyglib.o   -L/opt/local/lib -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl
 -lffi  -Os -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot
 -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64
 -Wl,-framework -Wl,CoreFoundation   -install_name
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpyglib-2.0-python2.7.0.dylib
 -compatibility_version 1 -current_version 1.0 -Wl,-single_module
 big sur:
 /usr/bin/clang -dynamiclib                                   -o
 .libs/libpyglib-2.0-python2.7.0.dylib  .libs/libpyglib_2_0_python2.7_la-
 pyglib.o   -L/opt/local/lib -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl
 -lffi  -Os -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot
 -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64
 -Wl,-framework -Wl,CoreFoundation   -install_name
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpyglib-2.0-python2.7.0.dylib
 -compatibility_version 1 -current_version 1.0 -Wl,-single_module
 }}}

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


More information about the macports-tickets mailing list