Your message dated Sun, 01 Sep 2013 13:48:54 +0000
with message-id <e1vg81o-0002tj...@franck.debian.org>
and subject line Bug#694299: fixed in shotdetect 1.0.86-2
has caused the Debian Bug report #694299,
regarding shotdetect: FTBFS with libav 0.9 (from experimental)
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 ow...@bugs.debian.org
immediately.)
--
694299: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694299
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: shotdetect
Version: 1.0.86-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch
Dear Maintainer,
shotdetect FTBFS with the latest libav that you can find in experimental, with
the following error:
....
g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../resources/ -I/usr/include/ffmpeg
`xslt-config --cflags` -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o film.o film.cpp
film.cpp: In member function 'int film::process()':
film.cpp:215:74: error: 'av_open_input_file' was not declared in this scope
film.cpp:226:38: error: 'av_find_stream_info' was not declared in this scope
film.cpp:273:52: error: 'avcodec_open' was not declared in this scope
film.cpp:288:42: error: 'avcodec_open' was not declared in this scope
film.cpp:457:3: warning: 'void av_close_input_file(AVFormatContext*)' is
deprecated (declared at /usr/include/libavformat/avformat.h:1391)
[-Wdeprecated-declarations]
film.cpp:457:34: warning: 'void av_close_input_file(AVFormatContext*)' is
deprecated (declared at /usr/include/libavformat/avformat.h:1391)
[-Wdeprecated-declarations]
film.cpp: In member function 'void film::process_audio()':
film.cpp:498:14: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*,
int*, AVPacket*)' is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3568) [-Wdeprecated-declarations]
film.cpp:498:82: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*,
int*, AVPacket*)' is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3568) [-Wdeprecated-declarations]
make[3]: *** [film.o] Error 1
In Ubuntu, we've applied the following patch to fix this FTBFS.
*** /tmp/tmppNROC7/bug_body
Thanks for considering it.
Fabrice
-- System Information:
Debian Release: wheezy/sid
APT prefers quantal-updates
APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500,
'quantal')
Architecture: i386 (i686)
Kernel: Linux 3.5.0-18-generic (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru shotdetect-1.0.86/debian/patches/fix-FTBFS-libav0.9.patch shotdetect-1.0.86/debian/patches/fix-FTBFS-libav0.9.patch
--- shotdetect-1.0.86/debian/patches/fix-FTBFS-libav0.9.patch 1970-01-01 01:00:00.000000000 +0100
+++ shotdetect-1.0.86/debian/patches/fix-FTBFS-libav0.9.patch 2012-11-24 18:43:36.000000000 +0100
@@ -0,0 +1,40 @@
+Description: Fix FTBFS with libav 0.9 by replacing deprecated functions
+Author: Fabrice Coutadeur <fabric...@ubuntu.com>
+--- a/src/film.cpp
++++ b/src/film.cpp
+@@ -212,7 +212,7 @@
+ */
+ av_register_all ();
+
+- if (av_open_input_file (&pFormatCtx, input_path.c_str (), NULL, 0, NULL) != 0)
++ if (avformat_open_input (&pFormatCtx, input_path.c_str (), NULL, NULL) != 0)
+ {
+ string error_msg = "Impossible to open file";
+ error_msg += input_path;
+@@ -223,7 +223,7 @@
+ /*
+ * Retrieve stream information
+ */
+- if (av_find_stream_info (pFormatCtx) < 0)
++ if (avformat_find_stream_info (pFormatCtx, NULL) < 0)
+ return -1; // Couldn't find stream information
+
+
+@@ -270,7 +270,7 @@
+
+ if (pCodecAudio == NULL)
+ return -1; // Codec not found
+- if (avcodec_open (pCodecCtxAudio, pCodecAudio) < 0)
++ if (avcodec_open2 (pCodecCtxAudio, pCodecAudio, NULL) < 0)
+ return -1; // Could not open codec
+
+ }
+@@ -285,7 +285,7 @@
+
+ if (pCodec == NULL)
+ return -1; // Codec not found
+- if (avcodec_open (pCodecCtx, pCodec) < 0)
++ if (avcodec_open2 (pCodecCtx, pCodec, NULL) < 0)
+ return -1; // Could not open codec
+
+ /*
diff -Nru shotdetect-1.0.86/debian/patches/series shotdetect-1.0.86/debian/patches/series
--- shotdetect-1.0.86/debian/patches/series 2012-01-18 01:20:40.000000000 +0100
+++ shotdetect-1.0.86/debian/patches/series 2012-11-24 18:20:01.000000000 +0100
@@ -1 +1,2 @@
compilation_fixes.patch
+fix-FTBFS-libav0.9.patch
--- End Message ---
--- Begin Message ---
Source: shotdetect
Source-Version: 1.0.86-2
We believe that the bug you reported is fixed in the latest version of
shotdetect, 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 694...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Giulio Paci <giuliop...@gmail.com> (supplier of updated shotdetect 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 01 Sep 2013 15:23:15 +0200
Source: shotdetect
Binary: shotdetect
Architecture: source amd64
Version: 1.0.86-2
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers
<pkg-multimedia-maintain...@lists.alioth.debian.org>
Changed-By: Giulio Paci <giuliop...@gmail.com>
Description:
shotdetect - scene change detector
Closes: 694299
Changes:
shotdetect (1.0.86-2) unstable; urgency=low
.
[ Giulio Paci ]
* Add a patch to fix FTBFS with libav 0.9.
Closes: #694299.
Fixes FTBFS on Ubuntu 12.04.
* Rename compilation_fixes.patch to 1001-compilation_fixes.patch.
* Add 1003-fix-FTBFS-ffmpeg_1.0.x.patch.
* Add 1004-fix_comments_and_names.patch.
* Add 1005-add_framenumber_to_filename.patch (unused).
* Add 1006-label_xaxis_with_timecode.patch (unused).
* Set Debian Multimedia Maintainers as maintainer.
* Add Giulio Paci as uploader.
* Add Vcs-Git and Vcs-Browser fields in debian/control.
* Drop libstdc++-dev dependency.
* Drop optional libgd2-xpm-dev dependency.
* Require libgd-dev (>= 2.1).
* Fix copyright Format field.
* Fix copyright license information for some files.
* Add hardening flags.
* Set debhelper compatibility level to 9.
* Bump Standards-Version to 3.9.4.
No changes needed.
.
[ Sebastian Ramacher]
* Add myself to Uploaders.
Checksums-Sha1:
cbca0e92ada13123f7e116e81c335d0afc2b9e04 2190 shotdetect_1.0.86-2.dsc
69354116dbb2658a1d6122104a58fadc1694c4ec 11635
shotdetect_1.0.86-2.debian.tar.gz
40cdbc5b459beabe4c0a1f3a3b5e3166d672c7a1 30550 shotdetect_1.0.86-2_amd64.deb
Checksums-Sha256:
2c11c243d2f5e8a331256a32a669e5c464f0fc7128bdf6f0f331bec79b8b0a89 2190
shotdetect_1.0.86-2.dsc
dc1d11d49c9f78cd26306b8dbdb963ac5eed9b91d0b1a269680001c32710c643 11635
shotdetect_1.0.86-2.debian.tar.gz
738223cfa31d8d3d8e16d26529ce3ec4387f3a3a4d09c323188707c70d9501bc 30550
shotdetect_1.0.86-2_amd64.deb
Files:
1f4fec9e3e4740157476ecedfa9305ae 2190 video optional shotdetect_1.0.86-2.dsc
a74999a421a03f3c2d2031838c1305cf 11635 video optional
shotdetect_1.0.86-2.debian.tar.gz
16ca931b73a4fad893cb119b405e9acb 30550 video optional
shotdetect_1.0.86-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
iQIcBAEBCAAGBQJSI0PDAAoJEGny/FFupxmT8rUP/js/fuuSOm9viYo0nbxvUfab
gBK7w/sfb/2Geb8KXmVy4R3dUjQzEaxfzxJOxwTQSOx0hS7vUTjaEVCxlvJdSnub
oMW26VRABgcQAcn6t/wA7v90zd1934kDwldDz0xIodro/Q2livuh0Lj5aHhv3ccP
TsNQYDpB5djQtxQaY6JQR8vI4ogeeDCQehCGT+nw+f3JpKCRC5tNX/liHm+kMWab
CCZqyUGeYybfvIOlzGeo0BKyIaCoS6gIbSw84PLr3sXglsKOTW1fLDQIIquG+LRa
fKIBE06YEedyWg4N4RFvsGIEI45sg3887H/S1J0y0gjkekVJXinWWsymngXGoDrf
767o6rPSgnFWlKjIVk9z/q08FCcHN6mmqIjXZ8Ri+BssKva9nHWqjXZC9Qbb1mvP
vrt1gh7MaaJavHIVtw2Vu5ZWWJf9BxfTN7ll1Bim7bMZU8p/B22wA5jEkGvykxeU
YskLmZuHakpVFY3NHwvfMPQaNcdqlSBhtuBktSBWZeTfLnAs4GSWX7NrSGtZ9iZf
/ecvMJ8cG4zU5FHsvN5fpgSIhsoXa2AmKrZOBrbDeLRkSvvuBsWqf1y5AO00CGzb
yL9nDmAUdRJJ65Y7OvlLCgkJF9HHxBgeAo/2wJd3bpLTLx5qJkuE4T4eFV4vAGA6
RrQUOB1u/NVe4+F8KnS7
=Dqwz
-----END PGP SIGNATURE-----
--- End Message ---