2010-07-07 00:23:02 |
Anand Kumria |
bug |
|
|
added bug |
2010-07-07 00:23:02 |
Anand Kumria |
attachment added |
|
Dependencies.txt http://launchpadlibrarian.net/51485898/Dependencies.txt |
|
2010-07-10 15:06:13 |
Stefano Rivera |
firmware-addon-dell (Ubuntu): status |
New |
In Progress |
|
2010-07-10 15:06:13 |
Stefano Rivera |
firmware-addon-dell (Ubuntu): assignee |
|
Stefano Rivera (stefanor) |
|
2010-07-10 17:32:27 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/firmware-addon-dell |
|
2010-07-10 17:35:10 |
Launchpad Janitor |
firmware-addon-dell (Ubuntu): status |
In Progress |
Fix Released |
|
2010-07-10 17:48:47 |
Stefano Rivera |
nominated for series |
|
Ubuntu Lucid |
|
2010-07-10 17:48:47 |
Stefano Rivera |
bug task added |
|
firmware-addon-dell (Ubuntu Lucid) |
|
2010-07-10 17:49:31 |
Stefano Rivera |
firmware-addon-dell (Ubuntu Lucid): importance |
Undecided |
Medium |
|
2010-07-10 17:49:31 |
Stefano Rivera |
firmware-addon-dell (Ubuntu Lucid): status |
New |
Confirmed |
|
2010-07-10 17:51:16 |
Stefano Rivera |
attachment added |
|
Lucid SRU Patch http://launchpadlibrarian.net/51686750/firmware-addon-dell.lucid-sru.debdiff |
|
2010-07-10 18:05:12 |
Stefano Rivera |
description |
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
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
SourcePackage: firmware-addon-dell |
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
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
SourcePackage: firmware-addon-dell |
|
2010-07-10 18:07:28 |
Stefano Rivera |
tags |
amd64 apport-bug lucid |
amd64 apport-bug lucid verification-needed |
|
2010-07-10 18:08:45 |
Stefano Rivera |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2010-07-10 18:11:25 |
Stefano Rivera |
firmware-addon-dell (Ubuntu): assignee |
Stefano Rivera (stefanor) |
|
|
2010-07-13 13:11:41 |
Jonathan Riddell |
firmware-addon-dell (Ubuntu Lucid): status |
Confirmed |
Fix Committed |
|
2010-07-13 13:11:53 |
Jonathan Riddell |
bug |
|
|
added subscriber SRU Verification |
2010-07-13 13:22:05 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-proposed/firmware-addon-dell |
|
2010-07-15 12:35:40 |
Martin Pitt |
tags |
amd64 apport-bug lucid verification-needed |
amd64 apport-bug lucid verification-done |
|
2010-07-26 12:20:12 |
Launchpad Janitor |
firmware-addon-dell (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2011-12-23 13:33:29 |
Martin |
bug |
|
|
added subscriber Martin |
2012-11-02 12:16:50 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/firmware-addon-dell |
|