Message ID | 1429214355-29429-1-git-send-email-arnout@mind.be |
---|---|
State | Rejected |
Headers | show |
"Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
wrote in news:1429214355-29429-1-git-send-email-arnout@mind.be:
> + --ranlib=$(TARGET_RANLIB) \
Hi,
are you sure that your patch changes the behaviour of
http://git.videolan.org/?
p=ffmpeg.git;a=blob;f=configure;h=c11262a66c5ce8906f1a06bb54de3ab1e964dfb0;hb
=HEAD#l2760
when testing ranlib features?
I am asking this because the configure options are stored into script
variables in line 3019[1], whereas the ranlib test occurs in line 2760
already.
Regards, Bernd
[1] http://git.videolan.org/?
p=ffmpeg.git;a=blob;f=configure;h=c11262a66c5ce8906f1a06bb54de3ab1e964dfb0;hb
=HEAD#l3019
Arnout, All, On 2015-04-16 21:59 +0200, Arnout Vandecappelle (Essensium/Mind) spake thusly: > It seems that ffmpeg's custom configure doesn't observe the RANLIB > environment variable, and incorrectly uses the host's ranlib to > check if the -D option is supported. Blackfin's ranlib doesn't, most > others do. > > I also checked if there are any more mistakes like that in ffmpeg's > configure script, but it looked OK. Your wording "ffmpeg's configure" prompted me to look at ffmpeg, and so here's my thoughts about it... Given that ffmpeg is not using autoconf, automake and co., it should not be usign the autotools-package infra, but should be switched over to using the generic-package infra instead. OK, not your fault! ;-) Regards, Yann E. MORIN. > Fixes: > http://autobuild.buildroot.net/results/d13488a43f6e034623104a36c07114db99325b8d > > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> > Cc: Bernd Kuhs <bernd.kuhls@t-online.de> > --- > package/ffmpeg/ffmpeg.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk > index 787dbb1..59c49ee 100644 > --- a/package/ffmpeg/ffmpeg.mk > +++ b/package/ffmpeg/ffmpeg.mk > @@ -18,6 +18,7 @@ endif > > FFMPEG_CONF_OPTS = \ > --prefix=/usr \ > + --ranlib=$(TARGET_RANLIB) \ > --enable-avfilter \ > --disable-version3 \ > --enable-logging \ > -- > 2.1.4 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
On 16/04/15 22:17, Bernd Kuhls wrote: > "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be> > wrote in news:1429214355-29429-1-git-send-email-arnout@mind.be: > >> + --ranlib=$(TARGET_RANLIB) \ > > Hi, > > are you sure that your patch changes the behaviour of > http://git.videolan.org/? > p=ffmpeg.git;a=blob;f=configure;h=c11262a66c5ce8906f1a06bb54de3ab1e964dfb0;hb > =HEAD#l2760 > > when testing ranlib features? > I am asking this because the configure options are stored into script > variables in line 3019[1], whereas the ranlib test occurs in line 2760 > already. It doesn't change the behaviour of the ranlib_default test, but since we pass the ranlib invocation explicitly on the commandline the default is not used. And I did check that it solves the autobuild error (which I could reproduce locally). Regards, Arnout > > Regards, Bernd > > [1] http://git.videolan.org/? > p=ffmpeg.git;a=blob;f=configure;h=c11262a66c5ce8906f1a06bb54de3ab1e964dfb0;hb > =HEAD#l3019 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot > >
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 787dbb1..59c49ee 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -18,6 +18,7 @@ endif FFMPEG_CONF_OPTS = \ --prefix=/usr \ + --ranlib=$(TARGET_RANLIB) \ --enable-avfilter \ --disable-version3 \ --enable-logging \
It seems that ffmpeg's custom configure doesn't observe the RANLIB environment variable, and incorrectly uses the host's ranlib to check if the -D option is supported. Blackfin's ranlib doesn't, most others do. I also checked if there are any more mistakes like that in ffmpeg's configure script, but it looked OK. Fixes: http://autobuild.buildroot.net/results/d13488a43f6e034623104a36c07114db99325b8d Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Bernd Kuhs <bernd.kuhls@t-online.de> --- package/ffmpeg/ffmpeg.mk | 1 + 1 file changed, 1 insertion(+)