[Pkg-scicomp-devel] Bug#487638: opencv FTBFS

Nicolau Werneck nwerneck at gmail.com
Mon May 4 14:05:36 UTC 2009


To this day I still haven't formed a clear image in my head about
this problem. I wanted to write down everything we know to make things
clear, and help us decide what we must do. This thing has haunted me
for a long time, and I know at least one person who gave up Debian
after this specific bug here (I'm not saying it was a sufficient
condition).

So let me list some facts, and please tell me if I forgot something,
or if I got anything wrong:

1_ The whole problem started because OpenCV uses some function in
ffmpeg that became obsolete after i-don't-know-what version.

2_ The OpenCV developers seem to have delayed a bit the solution of
this problem upstream, but AFAIK there is at least one patch available
somewhere on the Internet that work.

3_ Debian has some restrictions regarding ffmpeg, and the official
version has a number of relevant modifications from upstream. Many
Debian users opt for the bootlegged ffmpeg package instead.

4_ Everything should work fine with a certain Debian SVN version of
ffmpeg and a certain other Debian OpenCV package.


What I still don't know exactly is:

1_ Does any Debian package of ffmpeg already implement this new
functions from ffmpeg, or are we still holding to the deprecated
mechanism? Or are we keeping both by any chance?

2_ Is any Debian package of OpenCV patched to use the new functions
from ffmpeg? If not, are we waiting for something specific, like a
release upstream?

In other words: Does the "Debian way" today means using the deprecated
functions (img_conv)? If so, when are we going to make the switch to
the more recent mechanisms?



I think that's it... I wish someone could fill up for me the number of
the versions of each package involved in this mess.

My hint for anyone anyone caught in this crossfire is: check out the
versions of your installed packages, and move to the must up-to-date
Debian packages if possible. You might want to use chroot.

If you don't have the skills to this wondrous packet managing puzzle,
just pick up the sources from everything and build in your home.
Start with your own OpenCV, which is easier, and build ffmpeg itself
if you are desperate. Make sure you have the fixed version of OpenCV,
or the broken one if you are using the older ffmpeg.



 See you all, and good luck.

    ++nicolau



On Thu, Apr 30, 2009 at 03:18:57PM -0700, Ludovico Cavedon wrote:
> package libhighgui1
> severity 487638 serious
> retitle 487638  libhighgui1: FTBFS: uses depreciated img_convert function, please port to libswscale
> thanks
> 
> Unfortunately opencv no longer builds:
> cvcap_ffmpeg.cpp:222: error: ‘img_convert’ was not declared in this scope
> 
> 
> Thanks,
> Ludovico
> 
> 
> 
> -- 
> To unsubscribe, send mail to 487638-unsubscribe at bugs.debian.org.

-- 
Nicolau Werneck <nwerneck at gmail.com>          D533 C47C 7E61 3868 9FC4
http://www.lti.pcs.usp.br/~nwerneck           1412 3B02 5A64 BC41 450F
"To err is human - to moo, bovine"
-- Unknown

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20090504/46b9d96a/attachment.pgp>


More information about the Pkg-scicomp-devel mailing list