flex: disabled packaged staging of native builds
PATCH 1/1 flex: disabled packaged staging of native builds
--- recipes/flex/flex.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/flex/flex.inc +3 -1
@@ -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"
Signature · 1 line
1.5.6.4
Quoted 18 lines · Jason Kridner
--- recipes/flex/flex.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)recipes/flex/flex.inc +1
-1@@ -4,7 +4,7 @@ LICENSE = "BSD" DEPENDS = "gettext" -INC_PR = "r5" +INC_PR = "r6" S = "${WORKDIR}/flex-${PV}"
recipes/flex/flex.inc inherit autotools gettext · line 20
Quoted 5 lines
recipes/flex/flex.inc +2
-0@@ -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!
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Quoted 16 lines · Tom Rini
Quoted 15 lines · Jason Kridner
---
recipes/flex/flex.inc | 4 +++-1 files changed, 3 insertions(+), 1 deletions(-)recipes/flex/flex.inc +0
-0@@ -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
Quoted 8 lines
recipes/flex/flex.inc inherit autotools gettext · line 20
Quoted 4 lines
# static-only library; that might be an error FILES_${PN} += "${libdir}/libfl.a"recipes/flex/flex.inc +2
-0+ +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...
Quoted 10 lines
--
Tom Rini
Mentor Graphics Corporation_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
2010/8/17 Jason Kridner <[email protected]>:
Quoted 26 lines · Tom Rini
Quoted 16 lines
Quoted 15 lines · Jason Kridner
---
recipes/flex/flex.inc | 4 +++-1 files changed, 3 insertions(+), 1 deletions(-)recipes/flex/flex.inc +0
-0@@ -4,7 +4,7 @@ LICENSE = "BSD"DEPENDS = "gettext"
-INC_PR = "r5"
+INC_PR = "r6"
S = "${WORKDIR}/flex-${PV}"
@@ -16,3 +16,5 @@ inherit autotools gettextQuoted 8 lines
recipes/flex/flex.inc inherit autotools gettext · line 20
Quoted 4 lines
# static-only library; that might be an error FILES_${PN} += "${libdir}/libfl.a"recipes/flex/flex.inc +2
-0+ +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!
Quoted 3 lines
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.
Quoted 24 lines · Frans Meulenbroeks
2010/8/17 Jason Kridner <[email protected]>:
Quoted 23 lines · Tom Rini
Quoted 22 lines
Quoted 9 lines · Jason Kridner
--- recipes/flex/flex.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)recipes/flex/flex.inc +0
-0recipes/flex/flex.inc LICENSE = "BSD"
Quoted 9 lines
recipes/flex/flex.inc +3
-0@@ -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!
Quoted 8 lines
Quoted 3 lines
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.
Quoted 5 lines
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.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
PATCH 1/1 flex: disabled packaged staging of native builds
In reply to Jason Kridnerflex-2.5.35 introduced a hardcoded path somewhere that prevents packaged staging from working.
--- recipes/flex/flex.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
recipes/flex/flex.inc +4 -1
@@ -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"
Signature · 1 line
1.5.6.4