Your message dated Thu, 19 Sep 2013 13:34:25 +0000 with message-id <[email protected]> and subject line Bug#677959: fixed in mediatomb 0.12.1-5 has caused the Debian Bug report #677959, regarding mediatomb: fails to build against current version of libavformat to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 677959: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677959 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: mediatomb Version: 0.12.1-4 Severity: serious Tags: upstream patch Justification: fails to build from source (but built successfully in the past) Dear Maintainer, The current version of mediatomb (in wheezy) fails to build from source with the current version of libavformat. * What exactly did you do (or not do) that was effective (or ineffective)? apt-get source mediatomb cd mediatomb-0.12.1 ./configure && make * What was the outcome of this action? ../src/metadata/ffmpeg_handler.cc: In function ‘void addFfmpegMetadataFields(zmm::Ref<CdsItem>, AVFormatContext*)’: ../src/metadata/ffmpeg_handler.cc:110:3: error: ‘AVMetadataTag’ was not declared in this scope ../src/metadata/ffmpeg_handler.cc:110:18: error: ‘tag’ was not declared in this scope ../src/metadata/ffmpeg_handler.cc:111:65: error: ‘av_metadata_get’ was not declared in this scope ../src/metadata/ffmpeg_handler.cc: In member function ‘virtual void FfmpegHandler::fillMetadata(zmm::Ref<CdsItem>)’: ../src/metadata/ffmpeg_handler.cc:291:69: error: ‘av_open_input_file’ was not declared in this scope ../src/metadata/ffmpeg_handler.cc:295:9: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations] ../src/metadata/ffmpeg_handler.cc:295:39: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations] ../src/metadata/ffmpeg_handler.cc:297:9: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] ../src/metadata/ffmpeg_handler.cc:297:39: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] ../src/metadata/ffmpeg_handler.cc:306:5: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] ../src/metadata/ffmpeg_handler.cc:306:35: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations] make[2]: *** [libmediatomb_a-ffmpeg_handler.o] Error 1 make[2]: Leaving directory `/home/jona/sandbox/mediatomb-0.12.1/build' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jona/sandbox/mediatomb-0.12.1' make: *** [all] Error 2 I've attached a patch that replaces the relevant deprecated / deleted function calls. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mediatomb depends on: ii chromium [www-browser] 18.0.1025.151~r130497-1 ii epiphany-browser [www-browser] 3.4.2-1 ii iceweasel [www-browser] 10.0.5esr-1 ii lynx-cur [www-browser] 2.8.8dev.12-2 ii mediatomb-daemon 0.12.1-4 ii libavformat54:i386 7:0.11-dmo2 mediatomb recommends no packages. mediatomb suggests no packages. -- debconf-show failed--- mediatomb-0.12.1.orig/src/metadata/ffmpeg_handler.cc 2012-06-18 02:50:35.000000000 -0400 +++ mediatomb-0.12.1/src/metadata/ffmpeg_handler.cc 2012-06-18 02:59:02.000000000 -0400 @@ -107,8 +107,8 @@ return; for (const mapping_t *m = mapping; m->avname != NULL; m++) { - AVMetadataTag *tag = NULL; - tag = av_metadata_get(pFormatCtx->metadata, m->avname, NULL, 0); + AVDictionaryEntry *tag = NULL; + tag = av_dict_get(pFormatCtx->metadata, m->avname, NULL, 0); if (tag && tag->value && tag->value[0]) { log_debug("Added metadata %s: %s\n", m->avname, tag->value); @@ -278,7 +278,7 @@ int x = 0; int y = 0; - AVFormatContext *pFormatCtx; + AVFormatContext *pFormatCtx = avformat_alloc_context(); // Suppress all log messages av_log_set_callback(FfmpegNoOutputStub); @@ -286,15 +286,15 @@ // Register all formats and codecs av_register_all(); - // Open video file - if (av_open_input_file(&pFormatCtx, - item->getLocation().c_str(), NULL, 0, NULL) != 0) + // Open video file + if (avformat_open_input(&pFormatCtx, + item->getLocation().c_str(), NULL, NULL) != 0) return; // Couldn't open file // Retrieve stream information - if (av_find_stream_info(pFormatCtx) < 0) + if (avformat_find_stream_info(pFormatCtx,NULL) < 0) { - av_close_input_file(pFormatCtx); + avformat_close_input(&pFormatCtx); return; // Couldn't find stream information } // Add metadata using ffmpeg library calls @@ -303,7 +303,7 @@ addFfmpegResourceFields(item, pFormatCtx, &x, &y); // Close the video file - av_close_input_file(pFormatCtx); + avformat_close_input(&pFormatCtx); } Ref<IOHandler> FfmpegHandler::serveContent(Ref<CdsItem> item, int resNum, off_t *data_size)
--- End Message ---
--- Begin Message ---Source: mediatomb Source-Version: 0.12.1-5 We believe that the bug you reported is fixed in the latest version of mediatomb, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sebastian Ramacher <[email protected]> (supplier of updated mediatomb 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Thu, 19 Sep 2013 15:16:50 +0200 Source: mediatomb Binary: mediatomb-common mediatomb-daemon mediatomb mediatomb-dbg Architecture: source amd64 all Version: 0.12.1-5 Distribution: unstable Urgency: low Maintainer: Debian multimedia packages maintainers <[email protected]> Changed-By: Sebastian Ramacher <[email protected]> Description: mediatomb - UPnP MediaServer (main package) mediatomb-common - UPnP MediaServer (base package) mediatomb-daemon - UPnP MediaServer (daemon package) mediatomb-dbg - UPnP MediaServer (debug package) Closes: 677958 677959 Changes: mediatomb (0.12.1-5) unstable; urgency=low . * Team upload. . [ Hector Oron ] * Fix build against libmp4v2. (Closes: #677958) * Remove config.log file upon cleanup. . [ Sebastian Ramacher ] * debian/patches/0011_libav_9_support.patch: Apply patch from Jona Schuman to port mediatomb to libav 9 API. Thanks to Jona Schuman for the patch (Closes: #677959) * debian/control: - Remove obsolete Dm-Upload-Allow. The archive software ignores it. - Build-Depends: Bump libavformat-dev to >= 6:9. - Vcs-*: Use canonical locations. - Bump Standards-Version to 3.9.4. Checksums-Sha1: 696d664b73d2b918efbcd0008ba326a28c2510c9 2455 mediatomb_0.12.1-5.dsc df8ed549e3f1fd3db31123e1ef736eb5ed233f98 36001 mediatomb_0.12.1-5.debian.tar.gz 6981e1d89248a1daadbeff734639aa7b8098000f 786938 mediatomb-common_0.12.1-5_amd64.deb f0c80eced436fdd4a1f0c1e99a24d309e71cbbd1 25102 mediatomb-daemon_0.12.1-5_all.deb e0078812c1cb58c14b92a2884655f756189e4d52 22144 mediatomb_0.12.1-5_all.deb a686c307a6d5ad7f293ff85e319670913de472d3 3126660 mediatomb-dbg_0.12.1-5_amd64.deb Checksums-Sha256: 8927384a3f924a044eb248292da3b5271e40dc796fb5fa6e11ce221d86f4b366 2455 mediatomb_0.12.1-5.dsc bfbc971eeaeb09791d4cf1b1102a19ca9ce69d67c97608bba7b8ce3b519a8625 36001 mediatomb_0.12.1-5.debian.tar.gz 86f3b2db21055e3a9c912603c90820e8d0eae4da0c5d1f253e0d11fe43768780 786938 mediatomb-common_0.12.1-5_amd64.deb af075cdc9cca0fe45b2a15369b5e6368a9adff6786d494d47f96dd902b285053 25102 mediatomb-daemon_0.12.1-5_all.deb ead91e2f978dd605e890ba13b9beb4eea62e25c01672c28ac818cd22e0abb1db 22144 mediatomb_0.12.1-5_all.deb 2794daa2b17c6c2c38c0d1e8d85e4f8c24557c1e3b951d0d59a192985c59ca0e 3126660 mediatomb-dbg_0.12.1-5_amd64.deb Files: a021afed8d8ee1f1d2522dea0e1e00f3 2455 net optional mediatomb_0.12.1-5.dsc 76142830a3d58e7a45bd837f4beec723 36001 net optional mediatomb_0.12.1-5.debian.tar.gz 263a350b40670757af82735fa7eb79c8 786938 net optional mediatomb-common_0.12.1-5_amd64.deb 8a3e093028ae321a8687d2845659636e 25102 net optional mediatomb-daemon_0.12.1-5_all.deb 31112a8bfb978ebd92bb1b2c7aa1602e 22144 net optional mediatomb_0.12.1-5_all.deb 1a59fafe6cb7fe983aabf67b266b527a 3126660 debug extra mediatomb-dbg_0.12.1-5_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBCAAGBQJSOvuQAAoJEGny/FFupxmTWNAQALvT+uXz3No3B9PSRbOLFlfa QfXwnVgFOmj63M/yDMuTpl9WJhIKvQJnlejM0Y4BY44pHH9G5f2fjUoZrpCzOpqk LQaOGDOw/k5L+hFU/ilkEihZc4OAYf8Up9EsXXMKeSz/c/AKVQgj32mzgzR7JmB6 qNpfIO8str6N3/6SYOaJ1NRaR2u31I8lHbk7A3qude5SiauzpAz8RRU7Ud5RGA5r SdL51T72cOOcKp3v9yBkBmXjdU626u3QimnVtNHv2ZXPv1TZAdIUN49XFw74Fq0N b0wx77NbWOogbOuCjJVI0EJWspyEK7ABF/H+vFL6NXq2GPCdHbbIswPII7QpeD6N Z+jKyoiV3IS0qResETOY/q2fvVmPTzHnT6XLwAi1HwRFdlET+VJR791I4cU4WjDh yzbjeQph8hdLPWIgDxaGzfGxpbdfWFDG12d+Dj35dZyGfYW5hl3O5VkIou+FVHRQ 5734TXQ2Vvy85vmJ9hLkr5aGuuAwdBU/C2f+y7v9o6mW7EmADaSE5sNPUJ8vCWcu ihvLggVgMHfk/hWcDFdprfsrshojc66I+lK1tWHo0cMoiLyRHTABSnGtg/pbuT8s /D6P2WkZ7Ocw7DUR0F7dudz9CCk4ZMvoxn148ngmkmB76i1lUR1mQh2L8XqCqilb iSyOGE2pdCZnvENElae0 =PRhv -----END PGP SIGNATURE-----
--- End Message ---

