[Pkg-scicomp-devel] Bug#565121: opencv: FTBFS with python 2.6 because of reference to site-packages in .install file

Fabrice Coutadeur fabricesp at ubuntu.com
Wed Jan 13 06:14:07 UTC 2010


Package: opencv
Version: 1.0.0-6.1
Severity: important
Tags: patch
Justification: fails to build from source
User: debian-python at lists.debian.org
Usertags: python2.6 origin-ubuntu jaunty ubuntu-patch

Hi,

When building your package for python 2.6, I'm getting this error:
dh_install --sourcedir=debian/tmp --list-missing -Xlicense.txt -X.pyc -X.pyo
dh_install: python-opencv missing files (/usr/lib/python*/site-packages/opencv/*.py), aborting
make: *** [install] Error 2
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit status 2

This is because python 2.6 is using dist-packages instead of site-packages. The
attached patch update the instlal file, changing site-packages to *-packages.

Thanks,
Fabrice

*** /tmp/tmpBkgUnX
In Ubuntu, we've applied the attached patch to achieve the following:

  * Update debian/python-opencv.install for Python 2.6 dist-packages install
    location 

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-17-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmppsJRUs
Type: text/x-diff
Size: 370 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20100113/1be87247/attachment.diff>


More information about the Pkg-scicomp-devel mailing list