** Description changed:

+ SRU
+ ====
+ 
+ Impact: 
+ The package is completely unusable on Lucid, as the default python version is 
2.6, and this package only ships libaries in the 2.5 site-packages.
+ 
+ Solution:
+ The root cause is that dh_pysupport is never called. This patch calls it 
during the build, which results in a Python version-independant package.
+ 
+ Reproduction Instructions:
+ 1. Install firmware-addon-dell and firmware-tools.
+ 2. Run inventory_firmware
+ 3. Note error: Config Error: Plugin "firmware_addon_dell.dellbios" cannot be 
loaded: No module named firmware_addon_dell.dellbios
+ 
+ Regression potential:
+ None I can see.
+ 
+ Original Report:
+ ============
+ 
  Binary package hint: firmware-addon-dell
  
- 
- The package contains a Python module with is, unfortunately, hardcoded -- not 
for any particular reason -- to use Python 2.5
+ The package contains a Python module with is, unfortunately, hardcoded
+ -- not for any particular reason -- to use Python 2.5
  
  kalki:[~]% dpkg -L firmware-addon-dell
  /.
  /etc
  /etc/yum
  /etc/yum/pluginconf.d
  /etc/yum/pluginconf.d/dellsysidplugin.conf
  /etc/firmware
  /etc/firmware/firmware.d
  /etc/firmware/firmware.d/firmware-addon-dell.conf
  [...]
  /usr/lib/python2.5
  /usr/lib/python2.5/site-packages
  /usr/lib/python2.5/site-packages/firmware_addon_dell
  /usr/lib/python2.5/site-packages/firmware_addon_dell/__init__.py
  /usr/lib/python2.5/site-packages/firmware_addon_dell/biosHdr.py
  /usr/lib/python2.5/site-packages/firmware_addon_dell/dellbios.py
  /usr/lib/python2.5/site-packages/firmware_addon_dell/extract_bios.py
  /usr/lib/python2.5/site-packages/firmware_addon_dell/extract_bios_blacklist.py
  /usr/lib/python2.5/site-packages/firmware_addon_dell/extract_common.py
  /usr/lib/python2.5/site-packages/firmware_addon_dell/HelperXml.py
  /usr/lib/python2.5/site-packages/firmware_addon_dell/__init__.pyc
  /usr/lib/python2.5/site-packages/firmware_addon_dell/biosHdr.pyc
  /usr/lib/python2.5/site-packages/firmware_addon_dell/dellbios.pyc
  /usr/lib/python2.5/site-packages/firmware_addon_dell/extract_bios.pyc
  
/usr/lib/python2.5/site-packages/firmware_addon_dell/extract_bios_blacklist.pyc
  /usr/lib/python2.5/site-packages/firmware_addon_dell/extract_common.pyc
  /usr/lib/python2.5/site-packages/firmware_addon_dell/HelperXml.pyc
  /usr/lib/python2.5/site-packages/firmware_addon_dell/__init__.pyo
  /usr/lib/python2.5/site-packages/firmware_addon_dell/biosHdr.pyo
  /usr/lib/python2.5/site-packages/firmware_addon_dell/dellbios.pyo
  /usr/lib/python2.5/site-packages/firmware_addon_dell/extract_bios.pyo
  
/usr/lib/python2.5/site-packages/firmware_addon_dell/extract_bios_blacklist.pyo
  /usr/lib/python2.5/site-packages/firmware_addon_dell/extract_common.pyo
  /usr/lib/python2.5/site-packages/firmware_addon_dell/HelperXml.pyo
  [...]
  
  It should be using either pycentral or pyshared (or similiar) so that it
  can adapt to the system python version (which on Ubuntu 10.04 is Python
  2.6).
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: firmware-addon-dell 2.1.0-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic x86_64
  NonfreeKernelModules: wl
  Architecture: amd64
  Date: Wed Jul  7 00:57:16 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  PackageArchitecture: all
  ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_AU.utf8
-  SHELL=/bin/zsh
+  PATH=(custom, user)
+  LANG=en_AU.utf8
+  SHELL=/bin/zsh
  SourcePackage: firmware-addon-dell

** Tags added: verification-needed

** Changed in: firmware-addon-dell (Ubuntu)
     Assignee: Stefano Rivera (stefanor) => (unassigned)

-- 
does not work with firmware-tools
https://bugs.launchpad.net/bugs/602496
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to