Hallo,
der Versuch vdr-epg-daemon-1.1.146 unter der zukünftigen Fedora 31 mit Python 3.8 zu kompilieren schlägt fehl.
vdr-epg-daemon fails to build with Python 3.8.0b3.
/usr/bin/ld: ./lib/libhorchi.a(python.o): in function `_Py_DECREF':
/usr/include/python3.8/object.h:478: undefined reference to `_Py_Dealloc'
/usr/bin/ld: ./lib/libhorchi.a(python.o): in function `Python::init(char
const*)':
/builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:262: undefined
reference to `PyErr_Occurred'
/usr/bin/ld: ./lib/libhorchi.a(python.o): in function
`Python::execute(cDbTable*, int, char const*)':
/builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:301: undefined
reference to `PyObject_CallObject'
/usr/bin/ld: /builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:314:
undefined reference to `PyUnicode_AsEncodedString'
/usr/bin/ld: /builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:315:
undefined reference to `PyBytes_AsString'
/usr/bin/ld: ./lib/libhorchi.a(python.o): in function `_Py_DECREF':
/usr/include/python3.8/object.h:478: undefined reference to `_Py_Dealloc'
/usr/bin/ld: ./lib/libhorchi.a(python.o): in function
`Python::episodeName(_object*, _object*)':
/builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:63: undefined
reference to `Py_BuildValue'
/usr/bin/ld: /builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:61:
undefined reference to `Py_BuildValue'
/usr/bin/ld: ./lib/libhorchi.a(python.o): in function
`Python::episodePart(_object*, _object*)':
/builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:119: undefined
reference to `Py_BuildValue'
/usr/bin/ld: /builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:117:
undefined reference to `Py_BuildValue'
/usr/bin/ld: ./lib/libhorchi.a(python.o): in function
`Python::episodeNumber(_object*, _object*)':
/builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:127: undefined
reference to `Py_BuildValue'
/usr/bin/ld:
./lib/libhorchi.a(python.o):/builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.c:125:
more undefined references to `Py_BuildValue' follow
/usr/bin/ld: ./lib/libhorchi.a(python.o): in function `Python::PyInitEvent()':
/builddir/build/BUILD/vdr-epg-daemon-1.1.146/lib/python.h:72: undefined
reference to `PyModule_Create2'
The build no longer links to libpython, resulting in undefined references to
Python API like _Py_Dealloc.
Code that embeds Python (rather than building an extension module) needs to
pass `--embed` to any `python3-config --libs` invocation to build with Python
3.8.
More information:
https://docs.python.org/3.8/wh…same-abi-as-release-build
For the build logs, see:
https://copr-be.cloud.fedorapr…/00992313-vdr-epg-daemon/
Vielleicht hat jemand eine Idee wie man das beheben kann ?