* Building Valgrind
@ 2012-05-17 14:21 Jack Mitchell
2012-05-17 14:28 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Jack Mitchell @ 2012-05-17 14:21 UTC (permalink / raw)
To: openembedded-devel
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:
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@redhat.com>
and Alexandre Duret-Lutz <adl@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@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Building Valgrind
2012-05-17 14:21 Building Valgrind Jack Mitchell
@ 2012-05-17 14:28 ` Martin Jansa
2012-05-17 14:31 ` Jack Mitchell
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2012-05-17 14:28 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3652 bytes --]
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@redhat.com>
> and Alexandre Duret-Lutz <adl@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@embed.me.uk)
> Embedded Systems Engineer
> http://www.embed.me.uk
>
> --
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Building Valgrind
2012-05-17 14:28 ` Martin Jansa
@ 2012-05-17 14:31 ` Jack Mitchell
0 siblings, 0 replies; 3+ messages in thread
From: Jack Mitchell @ 2012-05-17 14:31 UTC (permalink / raw)
To: openembedded-devel
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@redhat.com>
>> and Alexandre Duret-Lutz<adl@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@embed.me.uk)
>> Embedded Systems Engineer
>> http://www.embed.me.uk
>>
>> --
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@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@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-17 14:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17 14:21 Building Valgrind Jack Mitchell
2012-05-17 14:28 ` Martin Jansa
2012-05-17 14:31 ` Jack Mitchell
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.