All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Analysis of build error: ffmpeg-2.6.2@bfin on Nathaniel�s autobuilder
       [not found] <XnsA47DDCE7A4440berndkuhlsPkbjNfxxIA@bernd-kuhls.de>
@ 2015-04-16  1:40 ` Nathaniel Roach
  2015-04-16 19:55 ` [Buildroot] Analysis of build error: ffmpeg-2.6.2@bfin on Nathaniel´s autobuilder Arnout Vandecappelle
  1 sibling, 0 replies; 2+ messages in thread
From: Nathaniel Roach @ 2015-04-16  1:40 UTC (permalink / raw)
  To: buildroot

On 16/04/15 03:42, Bernd Kuhls wrote:
> Hi Nathaniel,
> 
> today this build error happened:
> http://autobuild.buildroot.net/results/d13/d13488a43f6e034623104a36c07114db99
> 325b8d/
> 
> I can not reproduce the error here but I think I know why it happened:
> 
> $ grep -i ^ranlib output/build/ffmpeg-2.6.2/config.log
> RANLIB='/home/fli4l/br3/output/host/usr/bin/bfin-uclinux-ranlib'
> ranlib_default='ranlib'
> 
> compare this to 
> http://autobuild.buildroot.net/results/d13/d13488a43f6e034623104a36c07114db99
> 325b8d//ffmpeg-2.6.2/config.log
> 
> RANLIB='/home/chroot/media/code/buildroot/autobuilder/instance-
> 1/output/host/usr/bin/bfin-uclinux-ranlib'
> ranlib_default='ranlib -D'
> 
> output/build/ffmpeg-2.6.2/configure in line 2722 checks for ranlib
> 
> if ranlib 2>&1 | grep -q "\-D "; then
>     ranlib_default="ranlib -D"
> else
>     ranlib_default="ranlib"
> fi
> 
> Maybe this check[1] is done on /usr/bin/ranlib instead of bfin-uclinux-
> ranlib. Here /usr/bin/ranlib does not support -D, maybe your?s does...?
> 
> Regards, Bernd
> 
> [1] Added Jan 27th, 2015: http://git.videolan.org/?
> p=ffmpeg.git;a=commitdiff;h=f8716d1e56d5019d070b30692d144c30a18fcf23
> 
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 
Hi Bernd,

The autobuilder is a Debian Jessie chroot, I can't test it on the system
right now, but testing it on my Jessie laptop shows that ranlib does
support -D in debian:

nroach44 at poseidon:~$ which ranlib
/usr/bin/ranlib
nroach44 at poseidon:~$ ranlib --help
Usage: ranlib [options] archive
 Generate an index to speed access to archives
 The options are:
  @<file>                      Read options from <file>
  --plugin <name>              Load the specified plugin
  -D                           Use zero for symbol map timestamp
  -U                           Use actual symbol map timestamp (default)
  -t                           Update the archive's symbol map timestamp
  -h --help                    Print this help message
  -v --version                 Print version information
ranlib: supported targets: elf64-x86-64 elf32-i386 elf32-x86-64
a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little
elf64-big elf32-little elf32-big pe-x86-64 pe-bigobj-x86-64 pe-i386
plugin srec symbolsrec verilog tekhex binary ihex
Report bugs to <http://www.sourceware.org/bugzilla/>

If you need anymore help, just ask!

Nathaniel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Analysis of build error: ffmpeg-2.6.2@bfin on Nathaniel´s autobuilder
       [not found] <XnsA47DDCE7A4440berndkuhlsPkbjNfxxIA@bernd-kuhls.de>
  2015-04-16  1:40 ` [Buildroot] Analysis of build error: ffmpeg-2.6.2@bfin on Nathaniel�s autobuilder Nathaniel Roach
@ 2015-04-16 19:55 ` Arnout Vandecappelle
  1 sibling, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2015-04-16 19:55 UTC (permalink / raw)
  To: buildroot

On 15/04/15 21:42, Bernd Kuhls wrote:
> today this build error happened:
> http://autobuild.buildroot.net/results/d13/d13488a43f6e034623104a36c07114db99
> 325b8d/
> 
> I can not reproduce the error here but I think I know why it happened:
> 
> $ grep -i ^ranlib output/build/ffmpeg-2.6.2/config.log
> RANLIB='/home/fli4l/br3/output/host/usr/bin/bfin-uclinux-ranlib'
> ranlib_default='ranlib'

 The problem is that bfin-uclinux-ranlib does not have the -D option. I think we
have to pass --ranlib=$(TARGET_RANLIB) to configure.

 I could reproduce and that fixes it. Patch follows.

 Regards,
 Arnout

-- 
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] 2+ messages in thread

end of thread, other threads:[~2015-04-16 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <XnsA47DDCE7A4440berndkuhlsPkbjNfxxIA@bernd-kuhls.de>
2015-04-16  1:40 ` [Buildroot] Analysis of build error: ffmpeg-2.6.2@bfin on Nathaniel�s autobuilder Nathaniel Roach
2015-04-16 19:55 ` [Buildroot] Analysis of build error: ffmpeg-2.6.2@bfin on Nathaniel´s autobuilder Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.