[oe] Building Valgrind

Jack Mitchell ml at communistcode.co.uk
Thu May 17 14:31:43 UTC 2012


On 17/05/12 15:28, Martin Jansa wrote:
> On Thu, May 17, 2012 at 03:21:05PM +0100, Jack Mitchell wrote:
>> I am attempting to build Valgrind with mu very minimal package compiling
>> experience, and unsurprisingly for such a complex program I am stuck! I
>> will be happy to submit it to meta-oe once it is building and believe it
>> would be very useful now that it supports ARM (and MIPS to some extent
>> apparently). So, my progress so far:
>>
>>
>>   From what I can gather the autoconf class is passing --warning=cross
>> which it doesn't understand... I'm really not very experienced at this! :-)
>>
>> bb file:
> what's wrong with
> openembedded-core/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
> ?
>
> just update it to include arm/mips in COMPATIBLE_HOST
>
>
> Cheers,
>
>> DESCRIPTION = "Valgrind"
>> HOMEPAGE = "http://www.valgrind.org"
>>
>> LICENSE = "GPLv2"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803"
>>
>> inherit autotools gettext pkgconfig
>>
>> SRC_URI = "http://valgrind.org/downloads/valgrind-${PV}.tar.bz2"
>> SRC_URI[md5sum] = "a855fda56edf05614f099dca316d1775"
>>
>> error:
>>
>> DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
>> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
>> ERROR: Function failed: do_configure (see
>> /home/jack/angstrom.git/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/valgrind-3.7.0-r0/temp/log.do_configure.14418
>> for further information)
>> automake (GNU automake) 1.11.2
>> Copyright (C) 2011 Free Software Foundation, Inc.
>> License GPLv2+: GNU GPL version 2 or later
>> <http://gnu.org/licenses/gpl-2.0.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>> Written by Tom Tromey<tromey at redhat.com>
>>          and Alexandre Duret-Lutz<adl at gnu.org>.
>> AUTOV is 1.11
>> NOTE: Executing autoreconf --verbose --install --force
>> --exclude=autopoint
>> -I/home/jack/angstrom.git/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.11
>> -I
>> /home/jack/angstrom.git/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/valgrind-3.7.0-r0/valgrind-3.7.0/aclocal-copy/
>> autoreconf: Entering directory `.'
>> autoreconf: configure.in: not using Gettext
>> autoreconf: running: aclocal -I
>> /home/jack/angstrom.git/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.11
>> -I
>> /home/jack/angstrom.git/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/valgrind-3.7.0-r0/valgrind-3.7.0/aclocal-copy/
>> -I
>> /home/jack/angstrom.git/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.11
>> -I
>> /home/jack/angstrom.git/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/valgrind-3.7.0-r0/valgrind-3.7.0/aclocal-copy/
>> --force --warnings=cross
>> aclocal: unknown warning category `cross'
>> aclocal: aclocal: file
>> `/home/jack/angstrom.git/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/share/aclocal/gsettings.m4'
>> does not exist
>> autoreconf: aclocal failed with exit status: 1
>> ERROR: autoreconf execution failed.
>> ~
>>
>> Thanks in advance!
>>
>> Regards,
>> Jack.
>>
>> -- 
>>
>>     Jack Mitchell (jack at embed.me.uk)
>>     Embedded Systems Engineer
>>     http://www.embed.me.uk
>>
>> --
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Ah, fantastic! I looked in meta-oe but didn't think to check core.... :-[

Cheers,
Jack.

-- 

   Jack Mitchell (jack at embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




More information about the Openembedded-devel mailing list