[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 16:30:46 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:  py27-gobject py38-gobject py-gobject  |
---------------------------------------------------+--------------------
Description changed by kencu:

Old description:

> {{{
> 1 warning generated.
>   CCLD   libpyglib-2.0-python2.7.la
> 1 warning generated.
> 1 warning generated.
> Undefined symbols for architecture x86_64:
>   "_PyCObject_AsVoidPtr", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>       _pyglib_init_internal in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyCObject_Type", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyDict_GetItem", referenced from:
>       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyDict_New", referenced from:
>       _pyglib_register_exception_for_domain in libpyglib_2_0_python2
> .7_la-pyglib.o
>   "_PyDict_SetItem", referenced from:
>       _pyglib_register_exception_for_domain in libpyglib_2_0_python2
> .7_la-pyglib.o
>   "_PyErr_Fetch", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyErr_Format", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyErr_GivenExceptionMatches", referenced from:
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyErr_NewException", referenced from:
>       _pyglib_register_exception_for_domain in libpyglib_2_0_python2
> .7_la-pyglib.o
>   "_PyErr_NormalizeException", referenced from:
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyErr_Occurred", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyErr_Print", referenced from:
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>       __pyglib_handler_marshal in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyErr_Restore", referenced from:
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyErr_SetObject", referenced from:
>       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyErr_SetString", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyEval_InitThreads", referenced from:
>       _pyglib_enable_threads in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyExc_ImportError", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyExc_ValueError", referenced from:
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyFloat_FromDouble", referenced from:
>       _pyglib_float_from_timeval in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyGILState_Ensure", referenced from:
>       _pyglib_gil_state_ensure in libpyglib_2_0_python2.7_la-pyglib.o
>       _pyglib_gil_state_ensure_py23 in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyGILState_Release", referenced from:
>       _pyglib_gil_state_release in libpyglib_2_0_python2.7_la-pyglib.o
>       _pyglib_gil_state_release_py23 in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyImport_ImportModule", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyInt_AsLong", referenced from:
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyInt_FromLong", referenced from:
>       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
>       _pyglib_register_exception_for_domain in libpyglib_2_0_python2
> .7_la-pyglib.o
>   "_PyObject_CallObject", referenced from:
>       __pyglib_handler_marshal in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyObject_GetAttrString", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyObject_IsTrue", referenced from:
>       __pyglib_handler_marshal in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyObject_Repr", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyObject_SetAttrString", referenced from:
>       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyString_AsString", referenced from:
>       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
>       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "_PyString_FromString", referenced from:
>       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyThread_create_key", referenced from:
>       _pyglib_enable_threads in libpyglib_2_0_python2.7_la-pyglib.o
>   "_PyTuple_GetItem", referenced from:
>       __pyglib_handler_marshal in libpyglib_2_0_python2.7_la-pyglib.o
>   "__PyObject_CallFunction_SizeT", referenced from:
>       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
>   "__Py_NoneStruct", referenced from:
>       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
>   "__Py_NotImplementedStruct", referenced from:
>       __pyglib_generic_ptr_richcompare in libpyglib_2_0_python2.7_la-
> pyglib.o
>       __pyglib_generic_long_richcompare in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "__Py_TrueStruct", referenced from:
>       __pyglib_generic_ptr_richcompare in libpyglib_2_0_python2.7_la-
> pyglib.o
>       __pyglib_generic_long_richcompare in libpyglib_2_0_python2.7_la-
> pyglib.o
>   "__Py_ZeroStruct", referenced from:
>       __pyglib_generic_ptr_richcompare in libpyglib_2_0_python2.7_la-
> pyglib.o
>       __pyglib_generic_long_richcompare in libpyglib_2_0_python2.7_la-
> pyglib.o
> ld: symbol(s) not found for architecture x86_64
> }}}

New description:

 I believe the same issue affects all python supports of py-gobject:

 {{{
 1 warning generated.
   CCLD   libpyglib-2.0-python2.7.la
 1 warning generated.
 1 warning generated.
 Undefined symbols for architecture x86_64:
   "_PyCObject_AsVoidPtr", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
       _pyglib_init_internal in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyCObject_Type", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyDict_GetItem", referenced from:
       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyDict_New", referenced from:
       _pyglib_register_exception_for_domain in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyDict_SetItem", referenced from:
       _pyglib_register_exception_for_domain in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyErr_Fetch", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyErr_Format", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyErr_GivenExceptionMatches", referenced from:
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyErr_NewException", referenced from:
       _pyglib_register_exception_for_domain in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyErr_NormalizeException", referenced from:
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyErr_Occurred", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyErr_Print", referenced from:
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
       __pyglib_handler_marshal in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyErr_Restore", referenced from:
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyErr_SetObject", referenced from:
       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyErr_SetString", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyEval_InitThreads", referenced from:
       _pyglib_enable_threads in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyExc_ImportError", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyExc_ValueError", referenced from:
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyFloat_FromDouble", referenced from:
       _pyglib_float_from_timeval in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyGILState_Ensure", referenced from:
       _pyglib_gil_state_ensure in libpyglib_2_0_python2.7_la-pyglib.o
       _pyglib_gil_state_ensure_py23 in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyGILState_Release", referenced from:
       _pyglib_gil_state_release in libpyglib_2_0_python2.7_la-pyglib.o
       _pyglib_gil_state_release_py23 in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyImport_ImportModule", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyInt_AsLong", referenced from:
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyInt_FromLong", referenced from:
       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
       _pyglib_register_exception_for_domain in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyObject_CallObject", referenced from:
       __pyglib_handler_marshal in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyObject_GetAttrString", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyObject_IsTrue", referenced from:
       __pyglib_handler_marshal in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyObject_Repr", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyObject_SetAttrString", referenced from:
       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyString_AsString", referenced from:
       _pyglib_init in libpyglib_2_0_python2.7_la-pyglib.o
       _pyglib_gerror_exception_check in libpyglib_2_0_python2.7_la-
 pyglib.o
   "_PyString_FromString", referenced from:
       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyThread_create_key", referenced from:
       _pyglib_enable_threads in libpyglib_2_0_python2.7_la-pyglib.o
   "_PyTuple_GetItem", referenced from:
       __pyglib_handler_marshal in libpyglib_2_0_python2.7_la-pyglib.o
   "__PyObject_CallFunction_SizeT", referenced from:
       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
   "__Py_NoneStruct", referenced from:
       _pyglib_error_check in libpyglib_2_0_python2.7_la-pyglib.o
   "__Py_NotImplementedStruct", referenced from:
       __pyglib_generic_ptr_richcompare in libpyglib_2_0_python2.7_la-
 pyglib.o
       __pyglib_generic_long_richcompare in libpyglib_2_0_python2.7_la-
 pyglib.o
   "__Py_TrueStruct", referenced from:
       __pyglib_generic_ptr_richcompare in libpyglib_2_0_python2.7_la-
 pyglib.o
       __pyglib_generic_long_richcompare in libpyglib_2_0_python2.7_la-
 pyglib.o
   "__Py_ZeroStruct", referenced from:
       __pyglib_generic_ptr_richcompare in libpyglib_2_0_python2.7_la-
 pyglib.o
       __pyglib_generic_long_richcompare in libpyglib_2_0_python2.7_la-
 pyglib.o
 ld: symbol(s) not found for architecture x86_64
 }}}

--

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


More information about the macports-tickets mailing list