[Pkg-scicomp-devel] Bug#482217: opencv: FTBFS: cvcap_ffmpeg.cpp:784: error: cannot convert 'ByteIOContext**' to 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'

Lucas Nussbaum lucas at lucas-nussbaum.net
Wed May 21 13:30:06 UTC 2008


Package: opencv
Version: 1.0.0-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080520 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on
i386.

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3
is now the default on most architectures (even if it's not the case on
i386 yet).  Consequently, many failures are caused by the switch to gcc
4.3.
If you determine that this failure is caused by gcc 4.3, feel free to
downgrade this bug to 'important' if your package is only built on i386,
and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cxcore/include -I../../cv/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DNDEBUG -fno-strict-aliasing -Wall -g -O2 -g -MT cvcap_ffmpeg.lo -MD -MP -MF .deps/cvcap_ffmpeg.Tpo -c cvcap_ffmpeg.cpp  -fPIC -DPIC -o .libs/cvcap_ffmpeg.o
> cvcap_ffmpeg.cpp: In function 'int icvOpenAVI_FFMPEG(CvCaptureAVI_FFMPEG*, const char*)':
> cvcap_ffmpeg.cpp:121: warning: comparison between signed and unsigned integer expressions
> cvcap_ffmpeg.cpp: In function 'const IplImage* icvRetrieveFrameAVI_FFMPEG(CvCaptureAVI_FFMPEG*)':
> cvcap_ffmpeg.cpp:218: warning: 'int img_convert(AVPicture*, int, const AVPicture*, int, int, int)' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2463)
> cvcap_ffmpeg.cpp:222: warning: 'int img_convert(AVPicture*, int, const AVPicture*, int, int, int)' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2463)
> cvcap_ffmpeg.cpp: In function 'int cvWriteFrame(CvVideoWriter*, const IplImage*)':
> cvcap_ffmpeg.cpp:716: warning: 'int img_convert(AVPicture*, int, const AVPicture*, int, int, int)' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2463)
> cvcap_ffmpeg.cpp:718: warning: 'int img_convert(AVPicture*, int, const AVPicture*, int, int, int)' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2463)
> cvcap_ffmpeg.cpp: In function 'void cvReleaseVideoWriter(CvVideoWriter**)':
> cvcap_ffmpeg.cpp:777: warning: comparison between signed and unsigned integer expressions
> cvcap_ffmpeg.cpp:784: error: cannot convert 'ByteIOContext**' to 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'
> make[4]: *** [cvcap_ffmpeg.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/05/20

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-scicomp-devel mailing list