debdiff for Jammy attached.

** Summary changed:

- wminput crashes with ImportError: ... undefined symbol: 
PyVarObject_CallFunction
+ [SRU] wminput crashes with ImportError: ... undefined symbol: 
PyVarObject_CallFunction

** Description changed:

+ [ Impact ]
+ 
+ wminput is completey unusable as it will immediately crash with
+ undefined symbol error.
+ 
+ $ sudo wminput <any random mac address>
+ ImportError: 
/usr/lib/python3/dist-packages/cwiid.cpython-310-x86_64-linux-gnu.so: undefined 
symbol: PyVarObject_CallFunction
+ 
+ This is mostly because the code was not properly ported to Python-3.
+ 
+ [ Test Plan ]
+ 
+ 1. install wminput
+ 2. execute wminput with a mac address
+ 
+ If the package is not fixed, it will fail with undefined symbol error.
+ 
+ Ideally someone with the hardware should test.
+ 
+ [ Where problems could occur ]
+ 
+ There are changes in the code and there are chances of regression due to
+ this change. But wminput as of now is already unusable, so any
+ regression can not be worse than that.
+ 
+ [ Other Info ]
+ 
+ The patch, even though looks big is mostly changing all the PyVarObject to 
PyObject, and few other changes.
+ Initially I tried to pick only the changes for PyVarObject but that resulted 
in errors for PyInt_FromLong. After fixing that, errors from PyCObject_Check 
appeared. So, I thought its best to use all the fixes from the Debian patch.
+ 
+ 
+ [ Original Bug Description ]
+ 
  When trying to invoke wminput I get the following:
  
  james@thelio:~$ sudo wminput [redacted MAC address]
  ImportError: 
/usr/lib/python3/dist-packages/cwiid.cpython-310-x86_64-linux-gnu.so: undefined 
symbol: PyVarObject_CallFunction
  
  This is a duplicate of 1958466, but I could not run apport-collect
  against it because it was not my bug. Since it's been orphaned for over
  a year, I made this bug and ran apport-bug to file it. I'm happy to
  provide any additional data.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: wminput 0.6.91-2ubuntu1
  Uname: Linux 6.5.4-76060504-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: MATE
  Date: Tue Oct 31 14:35:47 2023
  InstallationDate: Installed on 2020-10-27 (1099 days ago)
  InstallationMedia: Ubuntu-MATE 20.04.1 LTS "Focal Fossa" - Release amd64 
(20200731)
  SourcePackage: cwiid
  UpgradeStatus: Upgraded to jammy on 2022-08-12 (445 days ago)

** Patch added: "cwiid_jammy.debdiff"
   
https://bugs.launchpad.net/debian/+source/cwiid/+bug/2042356/+attachment/5769545/+files/cwiid_jammy.debdiff

** Changed in: cwiid (Ubuntu Jammy)
       Status: In Progress => Confirmed

** Changed in: cwiid (Ubuntu Jammy)
     Assignee: Sudip Mukherjee (sudipmuk) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2042356

Title:
  [SRU] wminput crashes with ImportError: ... undefined symbol:
  PyVarObject_CallFunction

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cwiid/+bug/2042356/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to