From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: staging problem
Date: Fri, 21 May 2010 22:42:05 +0200 [thread overview]
Message-ID: <ht6r6t$niu$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTik1pMbRIMYx01oR0eA4xwruqMaSI8qoggbgPHwd@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21-05-10 22:27, Khem Raj wrote:
> On Fri, May 21, 2010 at 7:47 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>> Trying a clean build
>> MACHINE="beagleboard"
>> DISTRO="angstrom-2008.1"
>> org.openembedded.dev 2c153f33b8ebb807a622ad9ae92ed5341a356740
>>
>> I get failures like this (in many packages):
>> /local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/regex.h:138:
>> error: expected '=', ',', ';', 'asm' or '__attribute__' before 're_void'
>> /local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/regex.h:298:
>> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
>> /local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/regex.h:307:
>> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
>> /local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/regex.h:309:
>> error: expected '=', ',', ';', 'asm' or '__attribute__' before 're_void'
>> /local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/regex.h:310:
>> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
>>
>> The problem is that the compiler include file <regex.h> is
>> not the standard/default one, rather the file from tcl!
>> I replaced the bogus regex.h file with the correct one and
>> my build completes & runs.
>
> its tcl dev package bug it should have installed its version into
> /usr/include/tcl<ver> instead of overwriting the existing version in sysroot.
>
> I can see the problem in the recipes if you are using 8.5.8 then
> try this untested patch and let me know if it helps
>
> diff --git a/recipes/tcltk/tcl_8.5.8.bb b/recipes/tcltk/tcl_8.5.8.bb
> index 220e858..dd5c810 100644
> --- a/recipes/tcltk/tcl_8.5.8.bb
> +++ b/recipes/tcltk/tcl_8.5.8.bb
> @@ -33,7 +33,8 @@ BINCONFIG_GLOB = "*Config.sh"
> do_install() {
> autotools_do_install
> # Stage a few extra headers to make tk happy
> - install -m 0644 ../generic/*.h ${D}${includedir}
> + install -d ${D}${includedir}/tcl8.5/generic/
> + install -m 0644 ../generic/*.h ${D}${includedir}/tcl8.5/generic/
> install -m 0644 *.h ${D}${includedir}
> ln -sf tclsh8.5 ${D}${bindir}/tclsh
> }
I have a different patch, but yours is better. If TK builds after yours,
feel free to add my ack and push it.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL9vAdMkyGM64RGpERAsNhAKCFHUduJmKs6TYcYIlKkgfiwgOsuwCeLRQS
VIpCFAdPJnx5451XhNHFW3A=
=TbNQ
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2010-05-21 20:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-21 14:47 staging problem Gary Thomas
2010-05-21 20:27 ` Khem Raj
2010-05-21 20:42 ` Koen Kooi [this message]
2010-05-21 22:17 ` Gary Thomas
2010-05-22 11:51 ` Gary Thomas
2010-05-22 19:25 ` Koen Kooi
2010-05-23 9:22 ` Koen Kooi
2010-05-23 15:17 ` Khem Raj
2010-05-23 15:59 ` Koen Kooi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ht6r6t$niu$1@dough.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.