Bug 242656 - gnash 0.8.3 fails configure with ffmpeg 0.4.9_p20081014
Bug#: 242656 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: loki_val@gentoo.org Reported By: mark@fluxbox.org
Component: Applications
URL: 
Summary: gnash 0.8.3 fails configure with ffmpeg 0.4.9_p20081014
Keywords:  
Status Whiteboard: 
Opened: 2008-10-18 22:07 0000
Description:   Opened: 2008-10-18 22:07 0000
I just installed a new version of ffmpeg, and then when I did an emerge
@preserved-rebuild, gnash's configure script failed with the following error:

        ERROR: You have version 5200 of ffmpeg installed.
               This version of ffmpeg may not work!
               Version 51.27.0 or newer is highly recommended.

There's clearly something wrong with the way it's checking ffmpeg's version. It
should probably be checking for the existence of the features it needs, rather
than comparing versions.

Reproducible: Always

------- Comment #1 From Peter Alfredsen 2008-10-19 11:52:01 0000 -------
+*gnash-0.8.4 (19 Oct 2008)
+
+  19 Oct 2008; Peter Alfredsen <loki_val@gentoo.org> gnash-0.8.3.ebuild,
+  +gnash-0.8.4.ebuild:
+  Fix bug 242656 by restricting 0.8.3 to ffmpeg 20080326. Bump to 0.8.4, bug
+  241874, thanks to Mounir Lamouri. This version works much better than
+  0.8.3, but tests fail to compile.
+

------- Comment #2 From Peter Alfredsen 2008-10-19 14:21:10 0000 -------
*** Bug 242772 has been marked as a duplicate of this bug. ***

------- Comment #3 From Ed Tomlinson 2008-10-20 00:29:05 0000 -------
Still fails here on amd64:

eix gnash
[U] net-www/gnash
     Available versions:  (~)0.8.1-r1 (~)0.8.3 (~)0.8.4 **9999 {agg cairo dbus
fbcon ffmpeg gstreamer gtk kde mad nsplugin opengl qt3 sdl test
video_cards_i810}
     Installed versions:  0.8.3(05:44:24 PM 16/08/08)(agg ffmpeg gtk kde
nsplugin opengl sdl -cairo -dbus -fbcon -gstreamer -qt3 -test
-video_cards_i810)
     Homepage:            http://www.gnu.org/software/gnash
     Description:         Gnash is a GNU Flash movie player that supports many
SWF v7 features


>>> Emerging (4 of 5) net-www/gnash-0.8.4 to /
>>> Downloading 'http://gentoo.osuosl.org/distfiles/gnash-0.8.4.tar.bz2'
--2008-10-19 20:03:15--  http://gentoo.osuosl.org/distfiles/gnash-0.8.4.tar.bz2
Resolving gentoo.osuosl.org... 64.50.236.52, 64.50.238.52
Connecting to gentoo.osuosl.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2887666 (2.8M) [application/x-tar]
Saving to: `/mnt/sda4/portage/distfiles/gnash-0.8.4.tar.bz2'

100%[======================================================================================================>]
2,887,666    245K/s   in 36s

2008-10-19 20:03:55 (77.3 KB/s) -
`/mnt/sda4/portage/distfiles/gnash-0.8.4.tar.bz2' saved [2887666/2887666]

 * checking ebuild checksums ;-) ...                                           
                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                          [ ok ]
 * checking gnash-0.8.4.tar.bz2 ;-) ...                                        
                                                          [ ok ]
 * Only 1 renderer can be activated at any one time.
 * If more than one renderer is activated, the order of preference is:
 * agg > opengl > cairo
>>> Unpacking source...
>>> Unpacking gnash-0.8.4.tar.bz2 to /var/tmp/portage/net-www/gnash-0.8.4/work
 * Applying gnash-0.8.3-boost-dynamic-link.patch ...                           
                                                          [ ok ]
 * Running eautoreconf in
'/var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4' ...
 * Running aclocal -I macros ...                                               
                                                          [ ok ]
 * Running libtoolize --copy --force --automake ...                            
                                                          [ ok ]
 * Running aclocal -I macros ...                                               
                                                          [ ok ]
 * Running autoconf ...                                                        
                                                          [ ok ]
 * Running autoheader ...                                                      
                                                          [ ok ]
 * Running automake --add-missing --copy ...                                   
                                                          [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-www/gnash-0.8.4/temp/automake-12052.out

 *
 * ERROR: net-www/gnash-0.8.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3570:  Called eautoreconf
 *             environment, line 1237:  Called eautomake
 *             environment, line 1211:  Called autotools_run_tool 'src_unpack'
'src_unpack' 'automake'
 *             environment, line  505:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running automake !
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/net-www/gnash-0.8.4/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-www/gnash-0.8.4/temp/environment'.
 *

------- Comment #4 From Peter Alfredsen 2008-10-20 05:19:14 0000 -------
(In reply to comment #3)
> Still fails here on amd64:

Argh. Try again.

------- Comment #5 From Peter Alfredsen 2008-10-22 16:59:12 0000 -------
I'm assuiming this is now fixed once and for all.