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

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Mon Jan 18 08:31:51 UTC 2010


tags 565121 pending
thanks

Hi,

2010/1/13 Fabrice Coutadeur <fabricesp at ubuntu.com>:
> 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 for your report. I confirmed this problem.
python-defaults of Debian is still python2.5. I will upload the
package which revised this problem
when python become 2.6.

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6





More information about the Pkg-scicomp-devel mailing list