* [PATCH] flex: disabled packaged staging of native builds
@ 2010-08-16 22:45 Jason Kridner
2010-08-16 23:43 ` Tom Rini
2010-08-17 19:19 ` Jason Kridner
0 siblings, 2 replies; 6+ messages in thread
From: Jason Kridner @ 2010-08-16 22:45 UTC (permalink / raw)
To: openembedded-devel
---
recipes/flex/flex.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
index 49b26e8..5d3f076 100644
--- a/recipes/flex/flex.inc
+++ b/recipes/flex/flex.inc
@@ -4,7 +4,7 @@ LICENSE = "BSD"
DEPENDS = "gettext"
-INC_PR = "r5"
+INC_PR = "r6"
S = "${WORKDIR}/flex-${PV}"
@@ -16,3 +16,5 @@ inherit autotools gettext
# static-only library; that might be an error
FILES_${PN} += "${libdir}/libfl.a"
+
+PSTAGING_DISABLED_virtclass-native = "1"
--
1.5.6.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] flex: disabled packaged staging of native builds
2010-08-16 22:45 [PATCH] flex: disabled packaged staging of native builds Jason Kridner
@ 2010-08-16 23:43 ` Tom Rini
2010-08-17 0:07 ` Jason Kridner
2010-08-17 19:19 ` Jason Kridner
1 sibling, 1 reply; 6+ messages in thread
From: Tom Rini @ 2010-08-16 23:43 UTC (permalink / raw)
To: openembedded-devel
Jason Kridner wrote:
> ---
> recipes/flex/flex.inc | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
> index 49b26e8..5d3f076 100644
> --- a/recipes/flex/flex.inc
> +++ b/recipes/flex/flex.inc
> @@ -4,7 +4,7 @@ LICENSE = "BSD"
>
> DEPENDS = "gettext"
>
> -INC_PR = "r5"
> +INC_PR = "r6"
>
> S = "${WORKDIR}/flex-${PV}"
>
> @@ -16,3 +16,5 @@ inherit autotools gettext
> # static-only library; that might be an error
>
> FILES_${PN} += "${libdir}/libfl.a"
> +
> +PSTAGING_DISABLED_virtclass-native = "1"
I assume you've ran into 2.3.35 not being relocation happy? Have you
been able to look at this at all? 2.3.31 works so it's something 'bad'
done upstream. Thanks!
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] flex: disabled packaged staging of native builds
2010-08-16 23:43 ` Tom Rini
@ 2010-08-17 0:07 ` Jason Kridner
2010-08-17 8:20 ` Frans Meulenbroeks
0 siblings, 1 reply; 6+ messages in thread
From: Jason Kridner @ 2010-08-17 0:07 UTC (permalink / raw)
To: openembedded-devel
On Mon, Aug 16, 2010 at 7:43 PM, Tom Rini <tom_rini@mentor.com> wrote:
> Jason Kridner wrote:
>>
>> ---
>> recipes/flex/flex.inc | 4 +++-
>> 1 files changed, 3 insertions(+), 1 deletions(-)
>>
>> diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
>> index 49b26e8..5d3f076 100644
>> --- a/recipes/flex/flex.inc
>> +++ b/recipes/flex/flex.inc
>> @@ -4,7 +4,7 @@ LICENSE = "BSD"
>> DEPENDS = "gettext"
>> -INC_PR = "r5"
>> +INC_PR = "r6"
>> S = "${WORKDIR}/flex-${PV}"
>> @@ -16,3 +16,5 @@ inherit autotools gettext
>> # static-only library; that might be an error
>> FILES_${PN} += "${libdir}/libfl.a"
>> +
>> +PSTAGING_DISABLED_virtclass-native = "1"
>
> I assume you've ran into 2.3.35 not being relocation happy? Have you been
> able to look at this at all? 2.3.31 works so it's something 'bad' done
> upstream. Thanks!
I did, but I didn't look into the details. bison-native wouldn't
rebuild when I used my flex-native pstage. bitbake -c clean
flex-native fixed it, so...
>
> --
> Tom Rini
> Mentor Graphics Corporation
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] flex: disabled packaged staging of native builds
2010-08-17 0:07 ` Jason Kridner
@ 2010-08-17 8:20 ` Frans Meulenbroeks
2010-08-17 17:25 ` Tom Rini
0 siblings, 1 reply; 6+ messages in thread
From: Frans Meulenbroeks @ 2010-08-17 8:20 UTC (permalink / raw)
To: openembedded-devel
2010/8/17 Jason Kridner <jkridner@beagleboard.org>:
> On Mon, Aug 16, 2010 at 7:43 PM, Tom Rini <tom_rini@mentor.com> wrote:
>> Jason Kridner wrote:
>>>
>>> ---
>>> recipes/flex/flex.inc | 4 +++-
>>> 1 files changed, 3 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
>>> index 49b26e8..5d3f076 100644
>>> --- a/recipes/flex/flex.inc
>>> +++ b/recipes/flex/flex.inc
>>> @@ -4,7 +4,7 @@ LICENSE = "BSD"
>>> DEPENDS = "gettext"
>>> -INC_PR = "r5"
>>> +INC_PR = "r6"
>>> S = "${WORKDIR}/flex-${PV}"
>>> @@ -16,3 +16,5 @@ inherit autotools gettext
>>> # static-only library; that might be an error
>>> FILES_${PN} += "${libdir}/libfl.a"
>>> +
>>> +PSTAGING_DISABLED_virtclass-native = "1"
>>
>> I assume you've ran into 2.3.35 not being relocation happy? Have you been
>> able to look at this at all? 2.3.31 works so it's something 'bad' done
>> upstream. Thanks!
>
> I did, but I didn't look into the details. bison-native wouldn't
> rebuild when I used my flex-native pstage. bitbake -c clean
> flex-native fixed it, so...
After that would rebuilding from pstage cause the error again?
I'm a little bit worried that we inhibit PSTAGING because e.g.
something else is wrong (e.g. a change elsewhere that should have been
resulted in a flex PR bump).
Besides (but this is more a global remark): it would be nice if a
recipe disables something that there is a short description why this
is done. (at least in the commit message, but imho preferably in the
recipe, so in half a year time, people still know why it is done and
can much easier judge if it can be removed).
Frans.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] flex: disabled packaged staging of native builds
2010-08-17 8:20 ` Frans Meulenbroeks
@ 2010-08-17 17:25 ` Tom Rini
0 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2010-08-17 17:25 UTC (permalink / raw)
To: openembedded-devel
Frans Meulenbroeks wrote:
> 2010/8/17 Jason Kridner <jkridner@beagleboard.org>:
>> On Mon, Aug 16, 2010 at 7:43 PM, Tom Rini <tom_rini@mentor.com> wrote:
>>> Jason Kridner wrote:
>>>> ---
>>>> recipes/flex/flex.inc | 4 +++-
>>>> 1 files changed, 3 insertions(+), 1 deletions(-)
>>>>
>>>> diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
>>>> index 49b26e8..5d3f076 100644
>>>> --- a/recipes/flex/flex.inc
>>>> +++ b/recipes/flex/flex.inc
>>>> @@ -4,7 +4,7 @@ LICENSE = "BSD"
>>>> DEPENDS = "gettext"
>>>> -INC_PR = "r5"
>>>> +INC_PR = "r6"
>>>> S = "${WORKDIR}/flex-${PV}"
>>>> @@ -16,3 +16,5 @@ inherit autotools gettext
>>>> # static-only library; that might be an error
>>>> FILES_${PN} += "${libdir}/libfl.a"
>>>> +
>>>> +PSTAGING_DISABLED_virtclass-native = "1"
>>> I assume you've ran into 2.3.35 not being relocation happy? Have you been
>>> able to look at this at all? 2.3.31 works so it's something 'bad' done
>>> upstream. Thanks!
>> I did, but I didn't look into the details. bison-native wouldn't
>> rebuild when I used my flex-native pstage. bitbake -c clean
>> flex-native fixed it, so...
>
> After that would rebuilding from pstage cause the error again?
> I'm a little bit worried that we inhibit PSTAGING because e.g.
> something else is wrong (e.g. a change elsewhere that should have been
> resulted in a flex PR bump).
So, this change is fine itself. The problem is that flex 2.3.35 has
introduced a hardcoded path somewhere into the binary. So blacklisting
and bumping PR means that pstaging is sane again.
> Besides (but this is more a global remark): it would be nice if a
> recipe disables something that there is a short description why this
> is done. (at least in the commit message, but imho preferably in the
> recipe, so in half a year time, people still know why it is done and
> can much easier judge if it can be removed).
Yes, I agree with that, a comment why is good.
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] flex: disabled packaged staging of native builds
2010-08-16 22:45 [PATCH] flex: disabled packaged staging of native builds Jason Kridner
2010-08-16 23:43 ` Tom Rini
@ 2010-08-17 19:19 ` Jason Kridner
1 sibling, 0 replies; 6+ messages in thread
From: Jason Kridner @ 2010-08-17 19:19 UTC (permalink / raw)
To: openembedded-devel
flex-2.5.35 introduced a hardcoded path somewhere that prevents packaged
staging from working.
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
---
recipes/flex/flex.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
index 49b26e8..39f4ec2 100644
--- a/recipes/flex/flex.inc
+++ b/recipes/flex/flex.inc
@@ -4,7 +4,7 @@ LICENSE = "BSD"
DEPENDS = "gettext"
-INC_PR = "r5"
+INC_PR = "r6"
S = "${WORKDIR}/flex-${PV}"
@@ -16,3 +16,6 @@ inherit autotools gettext
# static-only library; that might be an error
FILES_${PN} += "${libdir}/libfl.a"
+
+# flex-2.5.35 adds a hard-coded path that causes failures when using packaged staging
+PSTAGING_DISABLED_virtclass-native = "1"
--
1.5.6.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-17 19:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-16 22:45 [PATCH] flex: disabled packaged staging of native builds Jason Kridner
2010-08-16 23:43 ` Tom Rini
2010-08-17 0:07 ` Jason Kridner
2010-08-17 8:20 ` Frans Meulenbroeks
2010-08-17 17:25 ` Tom Rini
2010-08-17 19:19 ` Jason Kridner
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.