FS#64811 - [hplip] python2 symbols in python3 module.

Attached to Project: Arch Linux
Opened by bartus (bartus) - Wednesday, 11 December 2019, 15:08 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 21:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package has `python3` module `pcardext:/usr/lib/python3.8/site-packages/pcardext.so` referring `python2` methods for initializing modules `Py_InitModule4`
```
$ ldd -r /usr/lib/python3.8/site-packages/pcardext.so |grep undefined
undefined symbol: PyString_FromStringAndSize (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: PyLong_AsLong (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: PyArg_ParseTuple (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: Py_BuildValue (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: PyList_Append (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: Py_InitModule4 (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: PyString_AsStringAndSize (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: PyObject_CallFunction (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: PyList_New (/usr/lib/python3.8/site-packages/pcardext.so)
undefined symbol: PyCallable_Check (/usr/lib/python3.8/site-packages/pcardext.so)

$ python3 -c "import pcardext"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /usr/lib/python3.8/site-packages/pcardext.so: undefined symbol: PyString_FromStringAndSi
```

Can't tell if this is simply misplaced file, or a problem during build.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 11 December 2019, 21:54 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 16:56 GMT
Please check 3.19.11-7 with the full Debian python3 patch applied. This one allows me to run the import command though ldd still shows these errors.
Comment by bartus (bartus) - Wednesday, 11 December 2019, 20:19 GMT
Looks clear.

Loading...