* staging problem
@ 2010-05-21 14:47 Gary Thomas
2010-05-21 20:27 ` Khem Raj
2010-05-23 9:22 ` Koen Kooi
0 siblings, 2 replies; 9+ messages in thread
From: Gary Thomas @ 2010-05-21 14:47 UTC (permalink / raw)
To: openembedded-devel
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.
* Any ideas how/why this happens? I'm sure it has to do with
the recent RP changes.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: staging problem
2010-05-21 14:47 staging problem Gary Thomas
@ 2010-05-21 20:27 ` Khem Raj
2010-05-21 20:42 ` Koen Kooi
2010-05-21 22:17 ` Gary Thomas
2010-05-23 9:22 ` Koen Kooi
1 sibling, 2 replies; 9+ messages in thread
From: Khem Raj @ 2010-05-21 20:27 UTC (permalink / raw)
To: openembedded-devel
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
}
>
> * Any ideas how/why this happens? I'm sure it has to do with
> the recent RP changes.
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: staging problem
2010-05-21 20:27 ` Khem Raj
@ 2010-05-21 20:42 ` Koen Kooi
2010-05-21 22:17 ` Gary Thomas
1 sibling, 0 replies; 9+ messages in thread
From: Koen Kooi @ 2010-05-21 20:42 UTC (permalink / raw)
To: openembedded-devel
-----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-----
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: staging problem
2010-05-21 20:27 ` Khem Raj
2010-05-21 20:42 ` Koen Kooi
@ 2010-05-21 22:17 ` Gary Thomas
2010-05-22 11:51 ` Gary Thomas
1 sibling, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2010-05-21 22:17 UTC (permalink / raw)
To: openembedded-devel
On 05/21/2010 02:27 PM, 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
> }
>
Sorry, that patch/file does not line up at all with what's in
my tree. Is it valid for org.openembedded.dev commit 0609b025f410ed09400404ab6af8775c78685b17?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: staging problem
2010-05-21 22:17 ` Gary Thomas
@ 2010-05-22 11:51 ` Gary Thomas
2010-05-22 19:25 ` Koen Kooi
0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2010-05-22 11:51 UTC (permalink / raw)
To: openembedded-devel
On 05/21/2010 04:17 PM, Gary Thomas wrote:
> On 05/21/2010 02:27 PM, 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
>> }
>>
>
> Sorry, that patch/file does not line up at all with what's in
> my tree. Is it valid for org.openembedded.dev commit
> 0609b025f410ed09400404ab6af8775c78685b17?
>
I applied the patch manually and while it does fix the /usr/include
pollution, it breaks building of 'tk'. You'll probably need a
completely fresh build to see the problem.
ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -c -O2
-isystem/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -pipe
-isystem/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -Wall -fPIC
-I/local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/tk-8.5.8-r1/tk8.5.8/unix/../unix
-I/local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/tk-8.5.8-r1/tk8.5.8/unix/../generic
-I/local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/tk-8.5.8-r1/tk8.5.8/unix/../bitmaps
-I/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/generic
-I/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/unix -I/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include
-DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_GETATTR_NP=1 -DGETATTRNP_NOT_DECLARED=1 -DTCL_THREADS=1
-DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -Dstrtod=fixstrtod
-DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS
/local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/tk-8.5.8-r1/tk8.5.8/unix/../generic/tkOption.c
/local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/tk-8.5.8-r1/tk8.5.8/unix/../generic/tkMain.c:22:20: error: tclInt.h: No such file or directory
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: staging problem
2010-05-22 11:51 ` Gary Thomas
@ 2010-05-22 19:25 ` Koen Kooi
0 siblings, 0 replies; 9+ messages in thread
From: Koen Kooi @ 2010-05-22 19:25 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 22-05-10 13:51, Gary Thomas wrote:
> On 05/21/2010 04:17 PM, Gary Thomas wrote:
>> On 05/21/2010 02:27 PM, 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
>>> }
>>>
>>
>> Sorry, that patch/file does not line up at all with what's in
>> my tree. Is it valid for org.openembedded.dev commit
>> 0609b025f410ed09400404ab6af8775c78685b17?
>>
>
> I applied the patch manually and while it does fix the /usr/include
> pollution, it breaks building of 'tk'. You'll probably need a
> completely fresh build to see the problem.
Could you please try the following on top on the patch:
- --- a/recipes/tcltk/tcl_8.5.8.bb
+++ b/recipes/tcltk/tcl_8.5.8.bb
tcl_sysroot() {
- - sed -i 's:/usr/include/tcl-private:${STAGING_INCDIR}:'
tclConfig.sh
+ sed -i 's:/usr/include/tcl-private:${STAGING_INCDIR}/tcl-${PV}:'
tclConfig.sh
}
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL+C/DMkyGM64RGpERAvhLAJwKFZS4eRwZD9uwr/VTdo0Vu6toBwCcDygX
DtAsEcQ7HXBl4iiIjYmBAgk=
=70EL
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: staging problem
2010-05-21 14:47 staging problem Gary Thomas
2010-05-21 20:27 ` Khem Raj
@ 2010-05-23 9:22 ` Koen Kooi
2010-05-23 15:17 ` Khem Raj
1 sibling, 1 reply; 9+ messages in thread
From: Koen Kooi @ 2010-05-23 9:22 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21-05-10 16:47, Gary Thomas wrote:
> Trying a clean build
> MACHINE="beagleboard"
> DISTRO="angstrom-2008.1"
> org.openembedded.dev 2c153f33b8ebb807a622ad9ae92ed5341a356740
>
> I get failures like this (in many packages):
I pushed a fix:
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=104b91c471125482eb83893425fb031557e892b4
That seems to solve the duplicate header problem for me and tk still
builds. As the commit says, do a 'bitbake glibc' afterwards to have
packaged-staging restore the headers.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL+PPwMkyGM64RGpERApRkAJ9Ser46FAnSzOZOuESxKKmN2cxSogCgsNBc
o5FZLIykJwVkhqkgXoGQLl0=
=OznZ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: staging problem
2010-05-23 9:22 ` Koen Kooi
@ 2010-05-23 15:17 ` Khem Raj
2010-05-23 15:59 ` Koen Kooi
0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2010-05-23 15:17 UTC (permalink / raw)
To: openembedded-devel
On Sun, May 23, 2010 at 2:22 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 21-05-10 16:47, Gary Thomas wrote:
>> Trying a clean build
>> MACHINE="beagleboard"
>> DISTRO="angstrom-2008.1"
>> org.openembedded.dev 2c153f33b8ebb807a622ad9ae92ed5341a356740
>>
>> I get failures like this (in many packages):
>
> I pushed a fix:
>
> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=104b91c471125482eb83893425fb031557e892b4
>
> That seems to solve the duplicate header problem for me and tk still
> builds. As the commit says, do a 'bitbake glibc' afterwards to have
> packaged-staging restore the headers.
hmm. Its deleting the libc header file isn't it. why cant they co-exist.?
Thx
-Khem
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFL+PPwMkyGM64RGpERApRkAJ9Ser46FAnSzOZOuESxKKmN2cxSogCgsNBc
> o5FZLIykJwVkhqkgXoGQLl0=
> =OznZ
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: staging problem
2010-05-23 15:17 ` Khem Raj
@ 2010-05-23 15:59 ` Koen Kooi
0 siblings, 0 replies; 9+ messages in thread
From: Koen Kooi @ 2010-05-23 15:59 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 23-05-10 17:17, Khem Raj wrote:
> On Sun, May 23, 2010 at 2:22 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> On 21-05-10 16:47, Gary Thomas wrote:
>>>> Trying a clean build
>>>> MACHINE="beagleboard"
>>>> DISTRO="angstrom-2008.1"
>>>> org.openembedded.dev 2c153f33b8ebb807a622ad9ae92ed5341a356740
>>>>
>>>> I get failures like this (in many packages):
>
> I pushed a fix:
>
> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=104b91c471125482eb83893425fb031557e892b4
>
> That seems to solve the duplicate header problem for me and tk still
> builds. As the commit says, do a 'bitbake glibc' afterwards to have
> packaged-staging restore the headers.
>
>> hmm. Its deleting the libc header file isn't it. why cant they co-exist.?
packaged-staging reaps all files the recipe staged, so if the recipe is
*overwriting* headers like it was doing you will have missing headers
till you reinstall them. Your glibc regexp.h was gone already.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL+VDSMkyGM64RGpERAlE+AJ0ZLmcPYIy4SymSufBGwDefYY9HJQCfSfsz
cCbXntNX8XdT8vxA5cdPUd8=
=C3cu
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-05-23 16:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-21 14:47 staging problem Gary Thomas
2010-05-21 20:27 ` Khem Raj
2010-05-21 20:42 ` Koen Kooi
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
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.