Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-30 Thread Alex Converse
Attached patch allows audacity to runtime detect match_ext() vs av_match_ext().

Audacity compiled with this patch against FFmpeg 0.5 will still have
problems with AVPacket and AVFifo API issues that they have put behind
#if FFMPEG_STABLE
Index: src/FFmpeg.h
===
--- a/src/FFmpeg.h	(revision 10632)
+++ b/src/FFmpeg.h	(working copy)
@@ -63,6 +63,7 @@
 
 /* These defines apply whether or not ffmpeg is available */
 #define INITDYN(w,f) if ((*(void**)this-f=(void*)w-GetSymbol(wxT(#f))) == NULL) { wxLogMessage(wxT(Failed to load symbol ) wxT(#f)); return false; };
+#define INITDYN2(w,f,f2) if ((*(void**)this-f=(void*)w-GetSymbol(wxT(#f2))) == NULL) { INITDYN(w,f) };
 
 /// Callback function to catch FFmpeg log messages.
 /// Uses wxLogMessage.
Index: src/FFmpeg.cpp
===
--- a/src/FFmpeg.cpp	(revision 10632)
+++ b/src/FFmpeg.cpp	(working copy)
@@ -828,7 +828,7 @@
INITDYN(avformat,av_open_input_file);
INITDYN(avformat,av_open_input_stream);
INITDYN(avformat,get_buffer);
-   INITDYN(avformat,match_ext);
+   INITDYN2(avformat,match_ext,av_match_ext);
 
 #if FFMPEG_STABLE
INITDYN(avformat,av_init_packet);
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Processed (with 5 errors): Re: Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-22 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 retitle 593162 Audacity fails to load libavformat52/FFmpeg 0.6: undefined 
 symbol: match_ext
Bug #593162 [audacity] audacity: Audacity fails to load libavformat
Changed Bug title to 'Audacity fails to load libavformat52/FFmpeg 0.6: 
undefined symbol: match_ext' from 'audacity: Audacity fails to load libavformat'
 tags 593162 upstream
Bug #593162 [audacity] Audacity fails to load libavformat52/FFmpeg 0.6: 
undefined symbol: match_ext
Added tag(s) upstream.
 On Sun, Aug 22, 2010 at 05:12:08 (CEST), Aaron Barany wrote:
Unknown command or malformed arguments to command.

  I installed the appropriate ffmpeg packages from both testing and
Unknown command or malformed arguments to command.

  experimental. Audacity did load the ffmpeg modules from testing, but it gave
Unknown command or malformed arguments to command.

  the same error (missing the symbol match_ext) with the experimental version.
Unknown command or malformed arguments to command.

 Just as I feared, it seems that audacity uses internals of FFmpeg that
Unknown command or malformed arguments to command.

Too many unknown commands, stopping here.

Please contact me if you need assistance.
-- 
593162: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593162
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-21 Thread Aaron Barany
I installed the appropriate ffmpeg packages from both testing and
experimental. Audacity did load the ffmpeg modules from testing, but it gave
the same error (missing the symbol match_ext) with the experimental version.

Aaron

On Mon, Aug 16, 2010 at 11:34 PM, Fabian Greffrath fab...@greffrath.comwrote:

 Am 16.08.2010 22:54, schrieb Reinhard Tartler:

  If this requires faac, then right, we don't support non-free stuff and
 actually do care for licensing issues.


 No, but it requires libmp4v2 which is licensed under the MPL whereas gtkpod
 itself is licensed under the GPL. So, yes, this is a licensing issue and we
 have to care for it...

  - Fabian

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-17 Thread Fabian Greffrath

Am 16.08.2010 22:54, schrieb Reinhard Tartler:

If this requires faac, then right, we don't support non-free stuff and
actually do care for licensing issues.


No, but it requires libmp4v2 which is licensed under the MPL whereas 
gtkpod itself is licensed under the GPL. So, yes, this is a licensing 
issue and we have to care for it...


 - Fabian



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-16 Thread Jonas Smedegaard

On Mon, Aug 16, 2010 at 12:39:13PM +0200, Reinhard Tartler wrote:

On Mon, Aug 16, 2010 at 09:25:12 (CEST), Aaron Barany wrote:
and the standard squeeze install has 0.5.1.  (which also means that 
the standard squeeze libraries might experience the same problem)


And I've asked you to check this. Until this happens, I'd agree to 
leave this bug closed.


Whoops: I reopened again before above arrived in my inbox.

I will simply leave this bugreport alone for a little while now - 
reopened and all.



Kind regards,

 - Jonas

--
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-16 Thread Aaron Barany
 Well, for exactly reasons like this, I find installing libraries from
 3rd party repositories problematic at least.

I agree it's not ideal, but unfortunately there's some functionality that
isn't present in the main repositories. (for example, a build of gtkpod that
supports AAC)

 And I've asked you to check this. Until this happens, I'd agree to leave
 this bug closed.
 It would be great if you could help with filling
 the gaps.

Since that's the case, I can try both the testing and experimental versions,
but most likely it will be this weekend or the next when I have the time.

Aaron

On Mon, Aug 16, 2010 at 3:39 AM, Reinhard Tartler siret...@tauware.dewrote:

 On Mon, Aug 16, 2010 at 09:25:12 (CEST), Aaron Barany wrote:

  Just to provide a bit more information, I'm using debian-multimedia,
 which
  is why my ffmpeg libraries are newer than what's in the standard debian
  repositories. This thread on Audacity forums (
  http://forum.audacityteam.org/viewtopic.php?f=18t=28048) documents the
  problem, and also includes a patch. According to that thread, the change
  appeared in ffmpeg 0.5.1. If I'm reading the version numbers correctly,
 both
  debian-multimedia and experimental have ffmpeg 0.6 (with slightly newer
  version in debian-multimedia),

 the package distributed by debian-multimedia is not based on ffmpeg 0.6,
 it is just horribly and confusingly named. It is based on SVN trunk,
 were a lot of development is going on, and such compatibility bugs still
 need to be found and ironed out. Christian Marillat is obviously not
 helping with that at all.

  and the standard squeeze install has 0.5.1.  (which also means that
  the standard squeeze libraries might experience the same problem)

 And I've asked you to check this. Until this happens, I'd agree to leave
 this bug closed.

  I would prefer not to try to install a different version of the libraries
  since I don't have any experience working with different repositories
 like
  that, especially since I would have to deal with the dependencies.

 Well, for exactly reasons like this, I find installing libraries from
 3rd party repositories problematic at least.

  (I'm mainly worried about getting everything back together again when
  I'm done...) If somebody could try it on a standard testing and/or
  experimental install that would be great.

 Well, you've reported an imcomplete bug, and I've told you what
 information is missing. It would be great if you could help with filling
 the gaps.

 --
 Gruesse/greetings,
 Reinhard Tartler, KeyID 945348A4

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-16 Thread Reinhard Tartler
On Mon, Aug 16, 2010 at 20:45:45 (CEST), Aaron Barany wrote:

 Well, for exactly reasons like this, I find installing libraries from
 3rd party repositories problematic at least.

 I agree it's not ideal, but unfortunately there's some functionality that
 isn't present in the main repositories. (for example, a build of gtkpod that
 supports AAC)

If this requires faac, then right, we don't support non-free stuff and
actually do care for licensing issues.

 And I've asked you to check this. Until this happens, I'd agree to
 leave this bug closed.  It would be great if you could help with
 filling the gaps.

 Since that's the case, I can try both the testing and experimental versions,
 but most likely it will be this weekend or the next when I have the time.

Thanks!

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-15 Thread Debian Bug Tracking System
Your message dated Mon, 16 Aug 2010 00:25:11 +0200
with message-id 20100815222511.go7...@jones.dk
and subject line Re: Bug#593162: audacity: Audacity fails to load libavformat
has caused the Debian Bug report #593162,
regarding audacity: Audacity fails to load 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 ow...@bugs.debian.org
immediately.)


-- 
593162: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593162
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: audacity
Version: 1.3.12-4+b1
Severity: important

When Audacity attempts to load libavformat, it throws the following error in
the log: Error: /usr/lib/libavformat.so.52: undefined symbol: match_ext.
According to my research online, this is because newer versions of ffmpeg
changed the function match_ext to be av_match ext.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages audacity depends on:
ii  audacity-data   1.3.12-4 A fast, cross-platform audio edito
ii  libasound2  1.0.23-1 shared library for ALSA applicatio
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libexpat1   2.0.1-7  XML parsing C library - runtime li
ii  libflac++6  1.2.1-2+b1   Free Lossless Audio Codec - C++ ru
ii  libflac81.2.1-2+b1   Free Lossless Audio Codec - runtim
ii  libgcc1 1:4.4.4-8GCC support library
ii  libglib2.0-02.24.1-1 The GLib library of C routines
ii  libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface 
ii  libid3tag0  0.15.1b-10   ID3 tag reading library from the M
ii  libmad0 0.15.1b-5MPEG audio decoder library
ii  libogg0 1.2.0~dfsg-1 Ogg bitstream library
ii  libsamplerate0  0.1.7-3  Audio sample rate conversion libra
ii  libsndfile1 1.0.21-3 Library for reading/writing audio 
ii  libsoundtouch1c21.3.1-2  sound stretching library
ii  libstdc++6  4.4.4-8  The GNU Standard C++ Library v3
ii  libtwolame0 0.3.12-1 MPEG Audio Layer 2 encoding librar
ii  libvamp-hostsdk32.1-1helper library for Vamp hosts writ
ii  libvorbis0a 1.3.1-1  The Vorbis General Audio Compressi
ii  libvorbisenc2   1.3.1-1  The Vorbis General Audio Compressi
ii  libvorbisfile3  1.3.1-1  The Vorbis General Audio Compressi
ii  libwxbase2.8-0  2.8.10.1-3   wxBase library (runtime) - non-GUI
ii  libwxgtk2.8-0   2.8.10.1-3   wxWidgets Cross-platform C++ GUI t

Versions of packages audacity recommends:
ii  libavcodec52   5:0.6~svn20100726-0.0 library to encode decode multimedi
ii  libavformat52  5:0.6~svn20100726-0.0 ffmpeg file format library

Versions of packages audacity suggests:
pn  ladspa-plugin none (no description available)
ii  libmp3lame0   3.98.4-0.0 LAME Ain't an MP3 Encoder

-- no debconf information


---End Message---
---BeginMessage---

Hi Aaron,

On Sun, Aug 15, 2010 at 02:27:54PM -0700, Aaron Barany wrote:
When Audacity attempts to load libavformat, it throws the following 
error in the log: Error: /usr/lib/libavformat.so.52: undefined symbol: 
match_ext. According to my research online, this is because newer 
versions of ffmpeg changed the function match_ext to be av_match ext.



Versions of packages audacity recommends:
ii  libavcodec52   5:0.6~svn20100726-0.0 library to encode decode multimedi
ii  libavformat52  5:0.6~svn20100726-0.0 ffmpeg file format library


Above package versions are not official Debian packages.

Debian unfortunately cannot guarantee compatibility with externally 
built packages.


Please use Debian packages, or work with those unofficial package 
providers to improve their compatibility with Debian.



Bug hereby closed.  Please do tell us if your experienced problem is 
reproducible using only Debian packages, and we will investigate 
further.


And please do continue to file bugreports - even if this one is judged 
as wrong: We really appreciate the feedback!



Kind regards,

 - Jonas

--
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask 

Bug#593162: marked as done (audacity: Audacity fails to load libavformat)

2010-08-15 Thread Reinhard Tartler
On Mon, Aug 16, 2010 at 00:27:04 (CEST), Jonas Smedegaard wrote:

 Hi Aaron,

 On Sun, Aug 15, 2010 at 02:27:54PM -0700, Aaron Barany wrote:
 When Audacity attempts to load libavformat, it throws the following
 error in the log: Error: /usr/lib/libavformat.so.52: undefined symbol:
 match_ext. According to my research online, this is because newer
 versions of ffmpeg changed the function match_ext to be av_match ext.

Versions of packages audacity recommends:
ii  libavcodec52   5:0.6~svn20100726-0.0 library to encode decode 
multimedi
ii  libavformat52  5:0.6~svn20100726-0.0 ffmpeg file format library

 Above package versions are not official Debian packages.

 Debian unfortunately cannot guarantee compatibility with externally
 built packages.

 Please use Debian packages, or work with those unofficial package
 providers to improve their compatibility with Debian.


 Bug hereby closed.  Please do tell us if your experienced problem is
 reproducible using only Debian packages, and we will investigate
 further.

I'm actually pretty confident that this problem also appears with the
ffmpeg package from experimental. Aaron, or someone else, can you please
try to reproduce this with the package from experimental? If I'm right,
then this bug needs to be reopened.

Aaron's analysis about the match_ext vs. av_match symbol makes totally
sense to me. audacity shouldn't have used the match_ext function from
libavcodec at the time it was still private at all.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers