Skip to contentSkip to conversation

Building Valgrind

DISCUSSION Jack Mitchell 2 participants 3 messages May 17, 2012

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.
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.

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#1 lore raw
Quoted 11 lines · Jack Mitchell

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,

Quoted 71 lines

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 <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.
AUTOV is 1.11
NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint

(quoted diff) +0 -2
-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.

Signature · 11 lines
   Jack Mitchell ([email protected])
   Embedded Systems Engineer
   http://www.embed.me.uk

--


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 87 lines · Martin Jansa
Quoted 11 lines · Jack Mitchell

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,

Quoted 66 lines

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<[email protected]>
and Alexandre Duret-Lutz<[email protected]>.
AUTOV is 1.11
NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint

(quoted diff) +0 -2
-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.

Signature · 5 lines
    Jack Mitchell ([email protected])
    Embedded Systems Engineer
    http://www.embed.me.uk

--
Quoted 10 lines
Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
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.

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--