* [Buildroot] [PATCH] ffmpeg: explicitly pass --ranlib
@ 2015-04-16 19:59 Arnout Vandecappelle
2015-04-16 20:17 ` Bernd Kuhls
2015-04-16 21:12 ` Yann E. MORIN
0 siblings, 2 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2015-04-16 19:59 UTC (permalink / raw)
To: buildroot
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(+)
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] ffmpeg: explicitly pass --ranlib
2015-04-16 19:59 [Buildroot] [PATCH] ffmpeg: explicitly pass --ranlib Arnout Vandecappelle
@ 2015-04-16 20:17 ` Bernd Kuhls
2015-04-16 22:02 ` Arnout Vandecappelle
2015-04-16 21:12 ` Yann E. MORIN
1 sibling, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2015-04-16 20:17 UTC (permalink / raw)
To: buildroot
"Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
wrote in news:1429214355-29429-1-git-send-email-arnout at 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] ffmpeg: explicitly pass --ranlib
2015-04-16 20:17 ` Bernd Kuhls
@ 2015-04-16 22:02 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2015-04-16 22:02 UTC (permalink / raw)
To: 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 at 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 at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] ffmpeg: explicitly pass --ranlib
2015-04-16 19:59 [Buildroot] [PATCH] ffmpeg: explicitly pass --ranlib Arnout Vandecappelle
2015-04-16 20:17 ` Bernd Kuhls
@ 2015-04-16 21:12 ` Yann E. MORIN
1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2015-04-16 21:12 UTC (permalink / raw)
To: buildroot
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 at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-16 22:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-16 19:59 [Buildroot] [PATCH] ffmpeg: explicitly pass --ranlib Arnout Vandecappelle
2015-04-16 20:17 ` Bernd Kuhls
2015-04-16 22:02 ` Arnout Vandecappelle
2015-04-16 21:12 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox