Bug#720823: jugglemaster: FTBFS with libav9: print.cpp:547:15: error: 'avcodec_init' was not declared in this scope

David Suárez david.sephirot at gmail.com
Sun Aug 25 13:11:37 UTC 2013


Source: jugglemaster
Version: 0.4-6
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130825 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Related to current libav9 transition (see #706798).

Relevant part (hopefully):
> /usr/include/wx-2.8/wx/textbuf.h: In member function 'void wxArrayLinesType::Remove(_wxArraywxArrayLinesType)':
> /usr/include/wx-2.8/wx/debug.h:194:43: warning: typedef 'wxDummyCheckInt' locally defined but not used [-Wunused-local-typedefs]
>      #define wxFORCE_SEMICOLON typedef int wxDummyCheckInt
>                                            ^
> /usr/include/wx-2.8/wx/debug.h:224:9: note: in expansion of macro 'wxFORCE_SEMICOLON'
>          wxFORCE_SEMICOLON /* just to force a semicolon */
>          ^
> /usr/include/wx-2.8/wx/dynarray.h:353:7: note: in expansion of macro 'wxCHECK2_MSG'
>        wxCHECK2_MSG( iIndex != wxNOT_FOUND, return,                    \
>        ^
> /usr/include/wx-2.8/wx/dynarray.h:486:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_HELPER'
>      _WX_DEFINE_TYPEARRAY_HELPER(T, name, base, classexp, _WX_PTROP_NONE)
>      ^
> /usr/include/wx-2.8/wx/dynarray.h:669:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR'
>      _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl)
>      ^
> /usr/include/wx-2.8/wx/dynarray.h:856:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR'
>      WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode)
>      ^
> /usr/include/wx-2.8/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT'
>  WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType,
>  ^
> print.cpp: In member function 'int Print::printMPEG()':
> print.cpp:547:15: error: 'avcodec_init' was not declared in this scope
>   avcodec_init();
>                ^
> print.cpp:555:27: error: 'avcodec_alloc_context' was not declared in this scope
>   c= avcodec_alloc_context();
>                            ^
> print.cpp:568:27: error: 'avcodec_open' was not declared in this scope
>   if (avcodec_open(c, codec) < 0) {
>                            ^
> print.cpp:624:14: warning: 'int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations]
>    out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
>               ^
> print.cpp:624:66: warning: 'int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations]
>    out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
>                                                                   ^
> print.cpp:635:14: warning: 'int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations]
>    out_size = avcodec_encode_video(c, outbuf, outbuf_size, NULL);
>               ^
> print.cpp:635:63: warning: 'int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations]
>    out_size = avcodec_encode_video(c, outbuf, outbuf_size, NULL);
>                                                                ^
> make[3]: *** [print.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/25/jugglemaster_0.4-6_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-games-devel mailing list