Bug#537003: python-imaging: FTBFS: dh_movefiles: debian/python-imaging/usr/lib/python2.4/site-packages/PIL/_imagingtk.so not found (supposed to put it in python-imaging-tk)
* Lucas Nussbaum lu...@lucas-nussbaum.net, 2009-07-14, 09:15: During a rebuild of all packages in sid, your package failed to build on amd64. The attached patch fixes the problem. It also makes parallel builds reliable. -- Jakub Wilk diff --git a/debian/control b/debian/control --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Section: python Priority: optional Maintainer: Matthias Klose d...@debian.org -Build-Depends: tk8.4-dev, python-all-dev, python-all-dbg, python-central (= 0.4.12), python-tk-dbg (= 2.4.3), libsane-dev, libfreetype6-dev, libjpeg62-dev, zlib1g-dev, debhelper (= 5.0.37.1) +Build-Depends: tk8.5-dev, python-all-dev, python-all-dbg, python-central (= 0.4.12), python-tk-dbg (= 2.5.2-1.1), libsane-dev, libfreetype6-dev, libjpeg62-dev, zlib1g-dev, debhelper (= 5.0.37.1) Build-Conflicts: python-numarray XS-Python-Version: all Standards-Version: 3.8.0 @@ -51,7 +51,7 @@ Package: python-imaging-tk Architecture: any -Depends: python-imaging (= ${Source-Version}), python-tk (= 2.4.3), ${python:Depends}, ${shlibs:Depends} +Depends: python-imaging (= ${Source-Version}), python-tk (= 2.5.2-1.1), ${python:Depends}, ${shlibs:Depends} Conflicts: python-imaging ( 1.0.1-3), python2.3-imaging-tk, python2.4-imaging-tk Replaces: python-imaging ( 1.0.1-3), python2.3-imaging-tk, python2.4-imaging-tk Suggests: python-imaging-doc, python-imaging-tk-dbg @@ -74,7 +74,7 @@ Depends: python-imaging (= ${Source-Version}), ${python:Depends}, ${shlibs:Depends} Conflicts: python2.3-imaging-sane, python2.4-imaging-sane Replaces: python2.3-imaging-sane, python2.4-imaging-sane -Recommends: python-tk +Recommends: python-tk (= 2.5.2-1.1) Suggests: python-imaging-doc, python-imaging-sane-dbg Provides: ${python:Provides} XB-Python-Version: ${python:Versions} diff --git a/debian/rules b/debian/rules --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +.NOTPARALLEL: + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -196,7 +196,7 @@ # # add Tcl include directory -add_directory(include_dirs, /usr/include/tcl8.4) +add_directory(include_dirs, /usr/include/tcl8.5) # # insert new dirs *before* default libs, to avoid conflicts
Bug#537003: python-imaging: FTBFS: dh_movefiles: debian/python-imaging/usr/lib/python2.4/site-packages/PIL/_imagingtk.so not found (supposed to put it in python-imaging-tk)
Package: python-imaging Version: 1.1.6-3 Severity: serious User: debian...@lists.debian.org Usertags: qa-ftbfs-20090713 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: /usr/bin/fakeroot debian/rules binary dh_testdir dh_testroot dh_clean -k python2.4 setup.py install --root /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging running install running build running build_py running build_ext PIL 1.1.6 BUILD SUMMARY version 1.1.6 platform linux2 2.4.6 (#2, Feb 18 2009, 04:39:14) [GCC 4.3.3] *** TKINTER support not available (Tcl/Tk 8.5 libraries needed) --- JPEG support ok --- ZLIB (PNG/ZIP) support ok --- FREETYPE2 support ok To add a missing option, make sure you have the required library, and set the corresponding ROOT variable in the setup.py script. To check the build, run the selftest.py script. running build_scripts running install_lib creating /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging creating /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr creating /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib creating /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4 creating /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages creating /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/DcxImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/ContainerIO.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/FpxImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/PcdImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/FitsStubImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/PngImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/GimpGradientFile.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/ImageWin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/IcnsImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/ImageSequence.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/XVThumbImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/ImageDraw2.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/IcoImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/PSDraw.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/ImageOps.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying build/lib.linux-x86_64-2.4/ImImagePlugin.py - /build/user-python-imaging_1.1.6-3-amd64-9qX6No/python-imaging-1.1.6/debian/python-imaging/usr/lib/python2.4/site-packages/PIL copying