Bug#693560: FTBFS against libav 9

Sebastian Ramacher sramacher at debian.org
Sat Aug 24 18:28:41 UTC 2013


On 2012-11-17 21:49:02, Reinhard Tartler wrote:
> cd /build/buildd/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/libs/pixertool && /usr/bin/g++   -D_FORTIFY_SOURCE=2 -DDEBUG -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -O2 -g -I/build/buildd/qutecom-2.2.1+dfsg1/libs/owutil -I/build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/include -I/build/buildd/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/libs/pixertool -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale    -fPIC -Wall -Wstrict-aliasing -Wextra -Wno-unused-parameter -fmessage-length=0 -D__STDC_CONSTANT_MACROS -DHAVE_SWSCALE=1 -o CMakeFiles/pixertool.dir/src/pixertool.o -c /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp
> In file included from /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp:20:0:
> /build/buildd/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/libs/pixertool/config.h:4:0: warning: "HAVE_SWSCALE" redefined [enabled by default]
> <command-line>:0:0: note: this is the location of the previous definition
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp: In function 'piximage* pix_alloc(pixosi, unsigned int, unsigned int)':
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp:57:15: error: 'avcodec_init' was not declared in this scope
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp:63:84: error: 'av_malloc' was not declared in this scope
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp: In function 'void pix_free(piximage*)':
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp:75:21: error: 'av_free' was not declared in this scope
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp: In function 'const char* pix_get_fmt_name(pixosi)':
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp:86:66: error: 'avcodec_get_pix_fmt_name' was not declared in this scope
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp: In function 'pixerrorcode pix_convert(int, piximage*, piximage*)':
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp:214:21: error: 'av_free' was not declared in this scope
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp: In function 'uint8_t* _nv12_to_yuv420p(uint8_t*, unsigned int, unsigned int)':
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp:224:75: error: 'av_malloc' was not declared in this scope
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp: In function 'const char* pix_get_fmt_name(pixosi)':
> /build/buildd/qutecom-2.2.1+dfsg1/libs/pixertool/src/pixertool.cpp:87:1: warning: control reaches end of non-void function [-Wreturn-type]
> make[3]: *** [libs/pixertool/CMakeFiles/pixertool.dir/src/pixertool.o] Error 1

This can be fixed by the attached patch. However, it later fails with:
| In file included from /«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/pixertool/src/v4l2/v4l2-pixertool.c:27:0:
| /usr/include/linux/videodev2.h:1763:18: error: field 'timestamp' has incomplete type
|   struct timespec   timestamp;
|                   ^
| make[3]: *** [libs/pixertool/CMakeFiles/pixertool.dir/src/v4l2/v4l2-pixertool.o] Error 1

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libav9.8.patch
Type: text/x-diff
Size: 1028 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20130824/08f50289/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20130824/08f50289/attachment.sig>


More information about the Pkg-voip-maintainers mailing list