Skip to contentSkip to conversation

xen.inc: fix ordering of stubs task

PATCH In review Chris Patterson 3 participants 6 messages Feb 12, 2016 – Feb 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen.inc: fix ordering of stubs task

Placing the stubs function between patch and configure steps breaks because it has dependencies which are not guranteed until the configure step.

Build error:
"fatal error: gnu/stubs-32.h: No such file or directory"

This patch simply moves the step between configure and compile to resolve the dependency issue.

---
 recipes-extended/xen/xen.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen.inc +1 -1
index 5555ed3..d35bc3f 100644
@@ -782,7 +782,7 @@ do_stubs() {
     fi
 }
 
-addtask stubs after do_patch before do_configure
+addtask stubs after do_configure before do_compile
 
 do_configure() {
 
Signature · 1 line
1.7.10.4
#1 lore raw

merged.

Bruce

Quoted 38 lines · Chris Patterson

Placing the stubs function between patch and configure steps breaks because it has dependencies which are not guranteed until the configure step.

Build error:
"fatal error: gnu/stubs-32.h: No such file or directory"

This patch simply moves the step between configure and compile to resolve the dependency issue.

---
 recipes-extended/xen/xen.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen.inc +1 -2
index 5555ed3..d35bc3f 100644
@@ -782,7 +782,7 @@ do_stubs() {
     fi
 }
 
-addtask stubs after do_patch before do_configure
+addtask stubs after do_configure before do_compile
 
 do_configure() {
 
--

1.7.10.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#2 lore raw

Someone was pinging me about cherry-picking a patch to Jethro, but I can't find any trace of that email any more.

I can't even remember 100% who it was, but this patch rings a bell.

Does anyone know of this, or other Xen patches that should also be pulled into
the jethro branch ?

Bruce

Quoted 52 lines · Bruce Ashfield

merged.

Bruce

Quoted 32 lines · Chris Patterson

Placing the stubs function between patch and configure steps breaks because it has dependencies which are not guranteed until the configure step.

Build error:
"fatal error: gnu/stubs-32.h: No such file or directory"

This patch simply moves the step between configure and compile to resolve the dependency issue.

---
 recipes-extended/xen/xen.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen.inc +1 -2
index 5555ed3..d35bc3f 100644
@@ -782,7 +782,7 @@ do_stubs() {
     fi
 }
 
-addtask stubs after do_patch before do_configure
+addtask stubs after do_configure before do_compile
 
 do_configure() {
 
--

1.7.10.4

Quoted 6 lines

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#3 lore raw
Quoted 10 lines · Bruce Ashfield

Someone was pinging me about cherry-picking a patch to Jethro, but I can't find any trace of that email any more.

I can't even remember 100% who it was, but this patch rings a bell.

Does anyone know of this, or other Xen patches that should also be pulled into
the jethro branch ?

Bruce

It was not me, but this fix applies to jethro as well. I'd recommend pushing to jethro & master (although you said "merged" above, I am not seeing it in master). :)

I'm not aware of other outstanding xen patches.

Thanks Bruce!

#4 lore raw
In reply to Bruce Ashfield
Quoted 10 lines · Bruce Ashfield

Someone was pinging me about cherry-picking a patch to Jethro, but I can't find any trace of that email any more.

I can't even remember 100% who it was, but this patch rings a bell.

Does anyone know of this, or other Xen patches that should also be pulled into
the jethro branch ?

Bruce

Bruce,

They likely pinged you off list because they dropped me a note and I told them to ask you to backport this. As far as I'm aware this is the only fix needed and its necessary into jethro and master.

Signature · 1 line
Doug Goldstein
#5 lore raw
Quoted 11 lines · Doug Goldstein
Quoted 1 line · Bruce Ashfield

Someone was pinging me about cherry-picking a patch to Jethro, but I

can't

Quoted 8 lines

find any trace of that email any more.

I can't even remember 100% who it was, but this patch rings a bell.

Does anyone know of this, or other Xen patches that should also be pulled into
the jethro branch ?

Quoted 8 lines
Quoted 1 line

Bruce

Bruce,

They likely pinged you off list because they dropped me a note and I told them to ask you to backport this. As far as I'm aware this is the only fix needed and its necessary into jethro and master.

Great. No worries about pinging me, whatever way works, I just read the email
filed it .. and then couldn't find it again.

So I figured that I had better broadcast before it was completely swapped out
of my memory.

This should now be on master and jethro.

Bruce

Quoted 5 lines

--
Doug Goldstein

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"