[Pidgin] #17396: Build failure with python-3.8
Pidgin
trac at pidgin.im
Tue Jun 4 04:12:34 EDT 2019
#17396: Build failure with python-3.8
--------------------+--------------------------
Reporter: yarda | Owner: EionRobb
Type: defect | Status: new
Milestone: | Component: unclassified
Version: 2.13.0 | Keywords:
--------------------+--------------------------
The pidgin 2.13.0 doesn't seem to be compatible with python-3.8, the build
fails:
{{{
...
CCLD finch
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`Py_Finalize'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`_Py_Dealloc'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`PyUnicode_FromString'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`Py_SetProgramName'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`PySys_GetObject'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`PyRun_SimpleFileExFlags'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`PyErr_Occurred'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`PyList_Insert'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`Py_Initialize'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`PyErr_Print'
BUILDSTDERR: /usr/bin/ld: ./libgnt/.libs/libgnt.so: undefined reference to
`Py_IsInitialized'
BUILDSTDERR: collect2: error: ld returned 1 exit status
...
}}}
It's due to following upstream change:
https://docs.python.org/dev/whatsnew/3.8.html#debug-build-uses-the-same-
abi-as-release-build
I.e. the PY_LIB detection code should now use:
python3-config --libs --embed
and eventually fallback to:
python3-config --libs
Downstream Fedora bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1716480
--
Ticket URL: <https://developer.pidgin.im/ticket/17396>
Pidgin <https://pidgin.im>
Pidgin
More information about the Tracker
mailing list