* meta-toolchain-qte and wrong paths to QT tools
@ 2011-12-21 14:56 Juraj Hercek
2011-12-21 15:16 ` Eric Bénard
2011-12-21 18:22 ` Dmitry Eremin-Solenikov
0 siblings, 2 replies; 7+ messages in thread
From: Juraj Hercek @ 2011-12-21 14:56 UTC (permalink / raw)
To: openembedded-core
Hello list,
I've two questions:
1) When I build meta-toolchain-qte (c2de8d4 metadata revision) and
install the resulting sdk, I see two directories in /usr/local/:
oecore-i686-arm and oecore-i686-i686. What is a rationale behind having
these two directories instead of one i.e.: oecore-i686-arm?
2) The oecore-i686-arm/environment-setup-armv5te-oe-linux-gnueabi script
sets paths to the QT tools which should be installed in oecore-i686-arm
directory, but they are not. These tools are installed under
oecore-i686-i686 directory. Changing the path in
environment-setup-armv5te-oe-linux-gnueabi after toolchain installation
is easy, but I do not consider it to be a correct fix (assuming that
oecore-i686-{arm,i686} directories represents proper toolchain
structure). What is a proper fix for this issue?
Thank you in advance for your response(s).
Cheers,
Juraj
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: meta-toolchain-qte and wrong paths to QT tools
2011-12-21 14:56 meta-toolchain-qte and wrong paths to QT tools Juraj Hercek
@ 2011-12-21 15:16 ` Eric Bénard
2011-12-21 15:48 ` Juraj Hercek
2011-12-21 18:22 ` Dmitry Eremin-Solenikov
1 sibling, 1 reply; 7+ messages in thread
From: Eric Bénard @ 2011-12-21 15:16 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Hi Juraj,
Le 21/12/2011 15:56, Juraj Hercek a écrit :
> I've two questions:
>
> 1) When I build meta-toolchain-qte (c2de8d4 metadata revision) and install the
> resulting sdk, I see two directories in /usr/local/: oecore-i686-arm and
> oecore-i686-i686. What is a rationale behind having these two directories
> instead of one i.e.: oecore-i686-arm?
>
> 2) The oecore-i686-arm/environment-setup-armv5te-oe-linux-gnueabi script sets
> paths to the QT tools which should be installed in oecore-i686-arm directory,
> but they are not. These tools are installed under oecore-i686-i686 directory.
> Changing the path in environment-setup-armv5te-oe-linux-gnueabi after
> toolchain installation is easy, but I do not consider it to be a correct fix
> (assuming that oecore-i686-{arm,i686} directories represents proper toolchain
> structure). What is a proper fix for this issue?
>
> Thank you in advance for your response(s).
>
did you build a i686 machine before building the arm one in the same tmp ?
I have a similar problem reported here :
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014480.html
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: meta-toolchain-qte and wrong paths to QT tools
2011-12-21 15:16 ` Eric Bénard
@ 2011-12-21 15:48 ` Juraj Hercek
0 siblings, 0 replies; 7+ messages in thread
From: Juraj Hercek @ 2011-12-21 15:48 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Hi Eric,
On 12/21/2011 04:16 PM, Eric Bénard wrote:
> Hi Juraj,
>
> Le 21/12/2011 15:56, Juraj Hercek a écrit :
>> I've two questions:
>>
>> 1) When I build meta-toolchain-qte (c2de8d4 metadata revision) and
>> install the
>> resulting sdk, I see two directories in /usr/local/: oecore-i686-arm and
>> oecore-i686-i686. What is a rationale behind having these two directories
>> instead of one i.e.: oecore-i686-arm?
>>
>> 2) The oecore-i686-arm/environment-setup-armv5te-oe-linux-gnueabi
>> script sets
>> paths to the QT tools which should be installed in oecore-i686-arm
>> directory,
>> but they are not. These tools are installed under oecore-i686-i686
>> directory.
>> Changing the path in environment-setup-armv5te-oe-linux-gnueabi after
>> toolchain installation is easy, but I do not consider it to be a
>> correct fix
>> (assuming that oecore-i686-{arm,i686} directories represents proper
>> toolchain
>> structure). What is a proper fix for this issue?
>>
>> Thank you in advance for your response(s).
>>
> did you build a i686 machine before building the arm one in the same tmp ?
AFAIR, I've just "bitbake meta-toolchain-qte" after removing
build/{bitbake.lock,pseudodone,sstate-cache,tmp-eglibc} files/directories.
> I have a similar problem reported here :
> http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014480.html
It seems to be the same, or at least very similar problem.
> Eric
--juraj
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: meta-toolchain-qte and wrong paths to QT tools
2011-12-21 14:56 meta-toolchain-qte and wrong paths to QT tools Juraj Hercek
2011-12-21 15:16 ` Eric Bénard
@ 2011-12-21 18:22 ` Dmitry Eremin-Solenikov
2011-12-21 23:35 ` Eric Bénard
2011-12-22 13:57 ` Juraj Hercek
1 sibling, 2 replies; 7+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-12-21 18:22 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]
On 12/21/2011 06:56 PM, Juraj Hercek wrote:
> Hello list,
>
> I've two questions:
>
> 1) When I build meta-toolchain-qte (c2de8d4 metadata revision) and
> install the resulting sdk, I see two directories in /usr/local/:
> oecore-i686-arm and oecore-i686-i686. What is a rationale behind having
> these two directories instead of one i.e.: oecore-i686-arm?
Because oecore-i686-i686 holds files that are created on i686 to be used
on i686. They will be common for arm meta-toolchain-qte, mips
meta-toolchain-qte, powerpc meta-toolchain-qte, etc.
> 2) The oecore-i686-arm/environment-setup-armv5te-oe-linux-gnueabi script
> sets paths to the QT tools which should be installed in oecore-i686-arm
> directory, but they are not. These tools are installed under
> oecore-i686-i686 directory. Changing the path in
> environment-setup-armv5te-oe-linux-gnueabi after toolchain installation
> is easy, but I do not consider it to be a correct fix (assuming that
> oecore-i686-{arm,i686} directories represents proper toolchain
> structure). What is a proper fix for this issue?
I have the attached patch in my patch queue. Hope this helps.
--
With best wishes
Dmitry
[-- Attachment #2: 0001-SDK-generation-fixup-paths.patch --]
[-- Type: text/x-diff, Size: 1712 bytes --]
From 80adbc460fa3abd595f1e4c37e402fb2ba51cba4 Mon Sep 17 00:00:00 2001
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Date: Sun, 18 Dec 2011 22:27:49 +0400
Subject: [PATCH] SDK generation: fixup paths
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
meta/conf/bitbake.conf | 3 ++-
meta/recipes-qt/meta/meta-toolchain-qte.bb | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1c21616..9af6faa 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -359,8 +359,9 @@ DEPLOY_DIR_TOOLS = "${DEPLOY_DIR}/tools"
PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}"
SDK_NAME = "oecore-${SDK_ARCH}-${TARGET_ARCH}"
+SDK_NATIVE_NAME = "oecore-${SDK_ARCH}-${BUILD_ARCH}"
SDKPATH = "/usr/local/${SDK_NAME}"
-SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
+SDKPATHNATIVE = "/usr/local/${SDK_NATIVE_NAME}/sysroots/${SDK_SYS}"
##################################################################
# Kernel info.
diff --git a/meta/recipes-qt/meta/meta-toolchain-qte.bb b/meta/recipes-qt/meta/meta-toolchain-qte.bb
index 735ccd1..a0d13bd 100644
--- a/meta/recipes-qt/meta/meta-toolchain-qte.bb
+++ b/meta/recipes-qt/meta/meta-toolchain-qte.bb
@@ -30,5 +30,5 @@ toolchain_create_sdk_env_script_append() {
# make a symbolic link to mkspecs for compatibility with Nokia's SDK
# and QTCreator
- (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s ${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)
+ (cd ${SDK_NATIVE_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s ${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)
}
--
1.7.7.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: meta-toolchain-qte and wrong paths to QT tools
2011-12-21 18:22 ` Dmitry Eremin-Solenikov
@ 2011-12-21 23:35 ` Eric Bénard
2011-12-22 13:48 ` Dmitry Eremin-Solenikov
2011-12-22 13:57 ` Juraj Hercek
1 sibling, 1 reply; 7+ messages in thread
From: Eric Bénard @ 2011-12-21 23:35 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Hi Dmitry,
Le 21/12/2011 19:22, Dmitry Eremin-Solenikov a écrit :
> On 12/21/2011 06:56 PM, Juraj Hercek wrote:
>> Hello list,
>>
>> I've two questions:
>>
>> 1) When I build meta-toolchain-qte (c2de8d4 metadata revision) and
>> install the resulting sdk, I see two directories in /usr/local/:
>> oecore-i686-arm and oecore-i686-i686. What is a rationale behind having
>> these two directories instead of one i.e.: oecore-i686-arm?
>
> Because oecore-i686-i686 holds files that are created on i686 to be used on
> i686. They will be common for arm meta-toolchain-qte, mips meta-toolchain-qte,
> powerpc meta-toolchain-qte, etc.
>
>> 2) The oecore-i686-arm/environment-setup-armv5te-oe-linux-gnueabi script
>> sets paths to the QT tools which should be installed in oecore-i686-arm
>> directory, but they are not. These tools are installed under
>> oecore-i686-i686 directory. Changing the path in
>> environment-setup-armv5te-oe-linux-gnueabi after toolchain installation
>> is easy, but I do not consider it to be a correct fix (assuming that
>> oecore-i686-{arm,i686} directories represents proper toolchain
>> structure). What is a proper fix for this issue?
>
> I have the attached patch in my patch queue. Hope this helps.
>
there seems to be something wrong here :
- (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)
+ (cd ${SDK_NATIVE_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)
${SDK_NATIVE_OUTPUT} seems undefined.
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: meta-toolchain-qte and wrong paths to QT tools
2011-12-21 23:35 ` Eric Bénard
@ 2011-12-22 13:48 ` Dmitry Eremin-Solenikov
0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-12-22 13:48 UTC (permalink / raw)
To: openembedded-core
On 12/22/2011 03:35 AM, Eric Bénard wrote:
> Hi Dmitry,
>
> Le 21/12/2011 19:22, Dmitry Eremin-Solenikov a écrit :
>> On 12/21/2011 06:56 PM, Juraj Hercek wrote:
>>> Hello list,
>>>
>>> I've two questions:
>>>
>>> 1) When I build meta-toolchain-qte (c2de8d4 metadata revision) and
>>> install the resulting sdk, I see two directories in /usr/local/:
>>> oecore-i686-arm and oecore-i686-i686. What is a rationale behind having
>>> these two directories instead of one i.e.: oecore-i686-arm?
>>
>> Because oecore-i686-i686 holds files that are created on i686 to be
>> used on
>> i686. They will be common for arm meta-toolchain-qte, mips
>> meta-toolchain-qte,
>> powerpc meta-toolchain-qte, etc.
>>
>>> 2) The oecore-i686-arm/environment-setup-armv5te-oe-linux-gnueabi script
>>> sets paths to the QT tools which should be installed in oecore-i686-arm
>>> directory, but they are not. These tools are installed under
>>> oecore-i686-i686 directory. Changing the path in
>>> environment-setup-armv5te-oe-linux-gnueabi after toolchain installation
>>> is easy, but I do not consider it to be a correct fix (assuming that
>>> oecore-i686-{arm,i686} directories represents proper toolchain
>>> structure). What is a proper fix for this issue?
>>
>> I have the attached patch in my patch queue. Hope this helps.
>>
> there seems to be something wrong here :
>
> - (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
> ${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)
> + (cd ${SDK_NATIVE_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
> ${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)
>
>
> ${SDK_NATIVE_OUTPUT} seems undefined.
My fault. I think you can ignore this part of the patch.
>
> Eric
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: meta-toolchain-qte and wrong paths to QT tools
2011-12-21 18:22 ` Dmitry Eremin-Solenikov
2011-12-21 23:35 ` Eric Bénard
@ 2011-12-22 13:57 ` Juraj Hercek
1 sibling, 0 replies; 7+ messages in thread
From: Juraj Hercek @ 2011-12-22 13:57 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 12/21/2011 07:22 PM, Dmitry Eremin-Solenikov wrote:
> On 12/21/2011 06:56 PM, Juraj Hercek wrote:
>> Hello list,
>>
>> I've two questions:
>>
>> 1) When I build meta-toolchain-qte (c2de8d4 metadata revision) and
>> install the resulting sdk, I see two directories in /usr/local/:
>> oecore-i686-arm and oecore-i686-i686. What is a rationale behind having
>> these two directories instead of one i.e.: oecore-i686-arm?
>
> Because oecore-i686-i686 holds files that are created on i686 to be used
> on i686. They will be common for arm meta-toolchain-qte, mips
> meta-toolchain-qte, powerpc meta-toolchain-qte, etc.
This makes perfect sense. Thank you.
>> 2) The oecore-i686-arm/environment-setup-armv5te-oe-linux-gnueabi script
>> sets paths to the QT tools which should be installed in oecore-i686-arm
>> directory, but they are not. These tools are installed under
>> oecore-i686-i686 directory. Changing the path in
>> environment-setup-armv5te-oe-linux-gnueabi after toolchain installation
>> is easy, but I do not consider it to be a correct fix (assuming that
>> oecore-i686-{arm,i686} directories represents proper toolchain
>> structure). What is a proper fix for this issue?
>
> I have the attached patch in my patch queue. Hope this helps.
---8<---
- (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)
+ (cd ${SDK_NATIVE_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)
}
--->8---
I've applied patch but as Eric pointed out earlier, SDK_NATIVE_OUTPUT
(from the snip above) is not defined anywhere (I've searched the string
throughout whole oe-core).
Anyways, this snip of code deals with mkspecs, and I am not sure if
mkspecs should be installed in "i686-arm". My gut feeling would expect
mkspecs to be in "i686-i686" along with the other QT tools which are
already in "i686-i686" part.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-12-22 14:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-21 14:56 meta-toolchain-qte and wrong paths to QT tools Juraj Hercek
2011-12-21 15:16 ` Eric Bénard
2011-12-21 15:48 ` Juraj Hercek
2011-12-21 18:22 ` Dmitry Eremin-Solenikov
2011-12-21 23:35 ` Eric Bénard
2011-12-22 13:48 ` Dmitry Eremin-Solenikov
2011-12-22 13:57 ` Juraj Hercek
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.