SRU: python-imaging missing dependencies (edgy)

Bug #75021 reported by .:. brainsik
4
Affects Status Importance Assigned to Milestone
python-imaging (Debian)
Fix Released
Unknown
python-imaging (Ubuntu)
Fix Released
Medium
Unassigned
Dapper
Invalid
Undecided
Unassigned
Edgy
Fix Released
Undecided
LaserJock

Bug Description

During the new python policy transition python-imaging lost its ${shlibs:Depends}. This causes dependencies like
libc6, libfreetype6, libjpeg62, and zlib1g (which are critical to the function of python-imaging) to be missing. On desktop machines these dependencies are brought in by other packages but on a server install they aren't.

This bug was fixed with 1.1.5-11 in Debian and Feisty.

I have just added the ${shlibs:Depends} back in as version 1.1.5-11 does. See the attached debdiff for full details of changes.

Simon Law (sfllaw)
Changed in python-imaging:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
LaserJock (laserjock)
Changed in python-imaging:
assignee: nobody → mantha
Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

Fixed in Feisty:

python-imaging (1.1.5-11) unstable; urgency=low

  * python-imaging-sane: Depend on python-numarray. Closes: #382190.
  * Add dependencies on ${shlibs:Depends}, lost in -6. Closes: #378596.

 -- Ubuntu Archive Auto-Sync <email address hidden> Wed, 08 Nov 2006 17:18:42 +0000

Changed in python-imaging:
status: Unknown → Fix Released
.:. brainsik (brainsik)
Changed in python-imaging:
status: Unconfirmed → Rejected
Revision history for this message
LaserJock (laserjock) wrote :

fixed in feisty

Changed in python-imaging:
assignee: mantha → nobody
status: Confirmed → Fix Released
Revision history for this message
LaserJock (laserjock) wrote :

working on SRU

Changed in python-imaging:
assignee: nobody → mantha
status: Unconfirmed → Confirmed
Revision history for this message
.:. brainsik (brainsik) wrote :

Here's an example of how removing libjpeg62 breaks python-imaging. The main problem is libjpeg62 was a dependency in dapper, but is not in edgy, so upgrading via aptitude causes libjpeg62 to be removed as "unused". This broke the web app running on the server being upgraded.

suki2:~/python-imaging-broken$ python
Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> im = Image.open("sample.jpg")
>>> im.rotate(90)
<Image.Image instance at 0xb7dd10ec>
>>>
suki2:~/python-imaging-broken$ sudo dpkg -r libjpeg62
(Reading database ... 22109 files and directories currently installed.)
Removing libjpeg62 ...
suki2:~/python-imaging-broken$ python
Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> im = Image.open("sample.jpg")
>>> im.rotate(90)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/PIL/Image.py", line 1225, in rotate
    self.load()
  File "/usr/lib/python2.4/site-packages/PIL/ImageFile.py", line 155, in load
    self.load_prepare()
  File "/usr/lib/python2.4/site-packages/PIL/ImageFile.py", line 221, in load_prepare
    self.im = Image.core.new(self.mode, self.size)
  File "/usr/lib/python2.4/site-packages/PIL/Image.py", line 35, in __getattr__
    raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
>>>

Revision history for this message
LaserJock (laserjock) wrote :

debdiff for edgy-proposed backporting fixes from 1.1.5-11

LaserJock (laserjock)
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Sponsored upload and accepted into edgy-proposed. Please go ahead with QA testing.

Changed in python-imaging:
status: Confirmed → Fix Committed
Revision history for this message
Michael Vogt (mvo) wrote :

I verified that the dependencies are now ok with the version from edgy-proposed, the package installs fine and pulls in the required dependencies (as expected).

Revision history for this message
LaserJock (laserjock) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into edgy-updates.

Changed in python-imaging:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.