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

version graph

Package: src:jugglemaster; Maintainer for src:jugglemaster is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>;

Reported by: David Suárez <david.sephirot@gmail.com>

Date: Sun, 25 Aug 2013 14:09:40 UTC

Severity: serious

Tags: jessie, patch, sid

Found in version jugglemaster/0.4-6

Fixed in version jugglemaster/0.4-6.1

Done: Sebastian Ramacher <sramacher@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#720823; Package src:jugglemaster. (Sun, 25 Aug 2013 14:09:45 GMT) (full text, mbox, link).


Acknowledgement sent to David Suárez <david.sephirot@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sun, 25 Aug 2013 14:09:45 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: David Suárez <david.sephirot@gmail.com>
To: submit@bugs.debian.org
Subject: jugglemaster: FTBFS with libav9: print.cpp:547:15: error: 'avcodec_init' was not declared in this scope
Date: Sun, 25 Aug 2013 15:11:37 +0200
Source: jugglemaster
Version: 0.4-6
Severity: serious
Tags: jessie sid
User: debian-qa@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.



Added indication that bug 720823 blocks 706798 Request was from David Suárez <david.sephirot@gmail.com> to 706798-submit@bugs.debian.org. (Sun, 25 Aug 2013 14:24:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#720823; Package src:jugglemaster. (Wed, 28 Aug 2013 15:54:17 GMT) (full text, mbox, link).


Acknowledgement sent to Moritz Muehlenhoff <jmm@inutil.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Wed, 28 Aug 2013 15:54:17 GMT) (full text, mbox, link).


Message #12 received at 720823@bugs.debian.org (full text, mbox, reply):

From: Moritz Muehlenhoff <jmm@inutil.org>
To: David Suárez <david.sephirot@gmail.com>
Cc: 720823@bugs.debian.org
Subject: Re: jugglemaster: FTBFS with libav9: print.cpp:547:15: error: 'avcodec_init' was not declared in this scope
Date: Wed, 28 Aug 2013 17:46:47 +0200
[Message part 1 (text/plain, inline)]
On Sun, Aug 25, 2013 at 03:11:37PM +0200, David Suárez wrote:
> Source: jugglemaster
> Version: 0.4-6
> Severity: serious
> Tags: jessie sid
> User: debian-qa@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).

Patch attached.

Cheers,
        Moritz 
[libav9-jugglemaster.patch (text/x-diff, attachment)]

Added tag(s) patch. Request was from Sebastian Ramacher <sramacher@debian.org> to control@bugs.debian.org. (Fri, 30 Aug 2013 18:15:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#720823; Package src:jugglemaster. (Mon, 02 Sep 2013 23:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Sebastian Ramacher <sramacher@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Mon, 02 Sep 2013 23:21:04 GMT) (full text, mbox, link).


Message #19 received at 720823@bugs.debian.org (full text, mbox, reply):

From: Sebastian Ramacher <sramacher@debian.org>
To: 720823@bugs.debian.org
Subject: jugglemaster: diff for NMU version 0.4-6.1
Date: Tue, 3 Sep 2013 01:17:29 +0200
[Message part 1 (text/plain, inline)]
Control: tags -1 + pending

Dear maintainer,

I've prepared an NMU for jugglemaster (versioned as 0.4-6.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
-- 
Sebastian Ramacher
[jugglemaster-0.4-6.1-nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Sebastian Ramacher <sramacher@debian.org> to 720823-submit@bugs.debian.org. (Mon, 02 Sep 2013 23:21:04 GMT) (full text, mbox, link).


Reply sent to Sebastian Ramacher <sramacher@debian.org>:
You have taken responsibility. (Wed, 04 Sep 2013 23:36:08 GMT) (full text, mbox, link).


Notification sent to David Suárez <david.sephirot@gmail.com>:
Bug acknowledged by developer. (Wed, 04 Sep 2013 23:36:08 GMT) (full text, mbox, link).


Message #26 received at 720823-close@bugs.debian.org (full text, mbox, reply):

From: Sebastian Ramacher <sramacher@debian.org>
To: 720823-close@bugs.debian.org
Subject: Bug#720823: fixed in jugglemaster 0.4-6.1
Date: Wed, 04 Sep 2013 23:33:03 +0000
Source: jugglemaster
Source-Version: 0.4-6.1

We believe that the bug you reported is fixed in the latest version of
jugglemaster, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 720823@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated jugglemaster package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 03 Sep 2013 01:13:50 +0200
Source: jugglemaster
Binary: aajm jmdlx
Architecture: source amd64
Version: 0.4-6.1
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Description: 
 aajm       - ASCII art version of jugglemaster
 jmdlx      - jugglemaster deluxe using wxWidgets
Closes: 720823
Changes: 
 jugglemaster (0.4-6.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * debian/patches/libav9.patch: Fix build with libav 9. Thanks to Moritz
     Muehlenhoff for the patch. (Closes: #720823)
Checksums-Sha1: 
 285f2e3a8ecde85e03382514b341eb4dad2fe0aa 2028 jugglemaster_0.4-6.1.dsc
 5859c874e2a01b898352f9d099db3435d13a8b22 19002 jugglemaster_0.4-6.1.debian.tar.gz
 78b43516607f8fe19ba157e3893002631798a3d0 22632 aajm_0.4-6.1_amd64.deb
 0c882d4f49c27e722e3b2d041b457b6aa8e14120 70130 jmdlx_0.4-6.1_amd64.deb
Checksums-Sha256: 
 96037e845d25632bcb52af574b49ade196191f80e729f018ea0258abbd00f072 2028 jugglemaster_0.4-6.1.dsc
 d4d69557b3cc12783ce045e328afbaa2cfe91dda2642bf30919d7cd401b93504 19002 jugglemaster_0.4-6.1.debian.tar.gz
 ec0f2bc786ff4570d21738fc1e2bb0962e78ca988adec112a9f9c848a444f9ae 22632 aajm_0.4-6.1_amd64.deb
 a2227a61271fa29931b846068d7f4ea1ff0755866a440e88466891fa492b42b6 70130 jmdlx_0.4-6.1_amd64.deb
Files: 
 d3e3876a1b28fa231a2ae507f151210b 2028 games extra jugglemaster_0.4-6.1.dsc
 9266998d515e17d12da61e7cd0567b5a 19002 games extra jugglemaster_0.4-6.1.debian.tar.gz
 870a385b89d867ac085364ac4620ab11 22632 games extra aajm_0.4-6.1_amd64.deb
 2f9a08d0a8a19fc8834e733eda9760d5 70130 games extra jmdlx_0.4-6.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBCAAGBQJSJRx2AAoJEGny/FFupxmTmKoP/0/uKM6AJKqRfYR3EdhWiSn0
AGFAYhnZb6s3bppmqsRqPdg3OGxir1r26tJLAx0U4dTys9X3pd9YIjgotFz2q4wU
sZMNYI9xDhk04RWzWi+Li+n/YT/dedKYke5IPVGGkP1cbDsLvsto/zB4k2lfUZ5w
sTckOktpwNnpoaXeKggr4Rv2sxQbgo91vjigmT7rjL5dGBDoIEfZn9fJgISU/6gR
9j4ppoVJOT6H75KcLQRBct2tor15qi21fwwgjnJVor8Ok5iSfzU0pQIX1FayWnsx
cU3wmlsNDQMNUl5FeSiAaYAt6jg+GbG4+Hs9QECIkTQQZtFIAyhsK7cRogq0DX3W
zWbolvObWIomJsEjf7GNF6G2tQAdNSTxaMUHuiDRBLDx5R+GMd3DmVK2+Mr441Fs
v0mfJzMoHHdqbrDJMXtmPn5kRCd4UW5v56zlvdb0m3DexVnqBJDJoS+j9vs8wQUu
I1djVq5dSft9RdZWGkk/t7zT+RyOjckeYskY2QLnpEfSLY4cDUc3DizupcmkkqCF
3KIeAaHXvlbJvFKCKi0C/iPpP346peTC7hgP2ObHhqWKTR9+nRzW1zkWJN/6I2Ec
s3XDs5U06qbfFimYtBdofPJjq7LuD1cQDXLWRVQuFz+rAjaulhPO9fGm+flyGV7f
bGYnpWUSv3EZ8D2NTyx/
=Uvka
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 06 Nov 2013 07:29:39 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 13:23:31 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.