can't find qemu-native recipe
I'm building thud for the raspberry pi3 for boot2qt on Ubuntu 18.04.
I've got a patch that I need to apply to to fix an include file problem and I can't find the qemu-native recipe. I can find a number of recipes that depend in one way or another on 'qemu-native', but I can't find a recipe, class for it or anything that provides it. I can see it being built, and I get an error that indicates that the patch that I have needs to be applied. I can find tmp/work/x86_64-linux/qemu-native/.
In the cooker log I see:
task qemu_3.0.0
recipe qemu-native-3.0.0
But I can't find a qemu-native.bb file,or bbclass.
I'm rather confused at this point, can someone shed a bit of light on what I'm missing?
Regards,
Greg Wilson-Lindberg
Quoted 4 lines · Greg Wilson-Lindberg
I'm building thud for the raspberry pi3 for boot2qt on Ubuntu 18.04.
I've got a patch that I need to apply to to fix an include file problem and I can't find the qemu-native recipe. I can find a number of recipes that depend in one way or another on 'qemu-native', but I can't find a recipe, class for it or anything that provides it. I can see it being built, and I get an error that indicates that the patch that I have needs to be applied. I can find tmp/work/x86_64-linux/qemu-native/.
Quoted 8 lines
In the cooker log I see:
task qemu_3.0.0
recipe qemu-native-3.0.0But I can't find a qemu-native.bb file,or bbclass.
I'm rather confused at this point, can someone shed a bit of light on what I'm missing?
there must be BBCLASSEXTEND = "native" in qemu recipe which essentially automatically extends the recipe for native case
see
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-BBCLASSEXTEND
Quoted 8 lines
Regards,
Greg Wilson-Lindberg--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Hi Khem,
I found the BBCLASSEXTEND in the qemu.inc file, I also found a line in the .bb file:
SRC_URI_append_class-native = " \
so I changed my SRC_URI to that and I stopped getting the 'can't find file to patch' error, but the file (syscall.c) is not modified.
Here is my qemu_3.0.0.bbappend file, meta-sakura/recipes-devtools/qemu/qemu_3.0.0.bbappend:
FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/${PN}:"
SRC_URII_append_class-native = "file://syscall.c-add_missing_sockios_header_include.patch"
And here is the patch file .../qemu/syscall.c-add_missing_sockios_header_include.patch:
linux-user/syscall.c 2019-11-18 09:23:23.000000000 -0800 renamed from linux-user/syscall.c 2019-11-18 09:42:39.000000000 -0800 +1 -0
@@ -34,6 +34,7 @@ #include <sys/resource.h> #include <sys/swap.h> #include <linux/capability.h> +#include <linux/sockios.h> #include <sched.h> #include <sys/timex.h> #include <sys/socket.h>
I am not getting the:
...tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/syscall.c
modified.
I'm obviously missing something. Any help would be greatly appreciated.
Regards,
Greg
________________________________
From: Khem Raj <[email protected]>
Sent: Monday, November 18, 2019 3:30:27 PM
To: Greg Wilson-Lindberg
Cc: Yocto list discussion
Subject: Re: [yocto] [qemu] can't find qemu-native recipe
Quoted 4 lines · Greg Wilson-Lindberg
I'm building thud for the raspberry pi3 for boot2qt on Ubuntu 18.04.
I've got a patch that I need to apply to to fix an include file problem and I can't find the qemu-native recipe. I can find a number of recipes that depend in one way or another on 'qemu-native', but I can't find a recipe, class for it or anything that provides it. I can see it being built, and I get an error that indicates that the patch that I have needs to be applied. I can find tmp/work/x86_64-linux/qemu-native/.
Quoted 8 lines
In the cooker log I see:
task qemu_3.0.0
recipe qemu-native-3.0.0But I can't find a qemu-native.bb file,or bbclass.
I'm rather confused at this point, can someone shed a bit of light on what I'm missing?
there must be BBCLASSEXTEND = "native" in qemu recipe which essentially automatically extends the recipe for native case
see
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-BBCLASSEXTEND
Quoted 8 lines
Regards,
Greg Wilson-Lindberg--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Hi Khem,
And just after I hit send I realized that I changed 'SRC_URI' to 'SRC_URII_append_class-native' with the 'II'. I deleted the 'II' and now the file is changed like it should be.
Thanks fo all of your help,
Greg Wilson-Lindberg
From: Greg Wilson-Lindberg
Sent: Monday, November 18, 2019 04:10 PM
To: Khem Raj <[email protected]>
Cc: Yocto list discussion <[email protected]>
Subject: Re: [yocto] [qemu] can't find qemu-native recipe
Hi Khem,
I found the BBCLASSEXTEND in the qemu.inc file, I also found a line in the .bb file:
SRC_URI_append_class-native = " \
so I changed my SRC_URI to that and I stopped getting the 'can't find file to patch' error, but the file (syscall.c) is not modified.
Here is my qemu_3.0.0.bbappend file, meta-sakura/recipes-devtools/qemu/qemu_3.0.0.bbappend:FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/${PN}:"
SRC_URII_append_class-native = "file://syscall.c-add_missing_sockios_header_include.patch"
And here is the patch file .../qemu/syscall.c-add_missing_sockios_header_include.patch:
linux-user/syscall.c 2019-11-18 09:23:23.000000000 -0800 renamed from linux-user/syscall.c 2019-11-18 09:42:39.000000000 -0800 +0 -0
@@ -34,6 +34,7 @@
#include <sys/resource.h>
#include <sys/swap.h>
#include <linux/capability.h>
+#include <linux/sockios.h>
#include <sched.h>
#include <sys/timex.h>
#include <sys/socket.h>
I am not getting the:...tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/syscall.c modified.
I'm obviously missing something. Any help would be greatly appreciated.
Regards,
Greg
________________________________________
From: Khem Raj <[email protected]>
Sent: Monday, November 18, 2019 3:30:27 PM
To: Greg Wilson-Lindberg
Cc: Yocto list discussion
Subject: Re: [yocto] [qemu] can't find qemu-native recipe
Quoted 4 lines · Greg Wilson-Lindberg
I'm building thud for the raspberry pi3 for boot2qt on Ubuntu 18.04.
I've got a patch that I need to apply to to fix an include file problem and I can't find the qemu-native recipe. I can find a number of recipes that depend in one way or another on 'qemu-native', but I can't find a recipe, class for it or anything that provides it. I can see it being built, and I get an error that indicates that the patch that I have needs to be applied. I can find tmp/work/x86_64-linux/qemu-native/.
Quoted 8 lines
In the cooker log I see:
task qemu_3.0.0
recipe qemu-native-3.0.0But I can't find a qemu-native.bb file,or bbclass.
I'm rather confused at this point, can someone shed a bit of light on what I'm missing?
there must be BBCLASSEXTEND = "native" in qemu recipe which essentially automatically extends the recipe for native case
see
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-BBCLASSEXTEND
Quoted 8 lines
Regards,
Greg Wilson-Lindberg--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 8 lines · Greg Wilson-Lindberg
Hi Khem,
I found the BBCLASSEXTEND in the qemu.inc file, I also found a line in the .bb file:
SRC_URI_append_class-native = " \
Quoted 8 lines
so I changed my
SRC_URIto that and I stopped getting the 'can't find file to patch' error, but the file (syscall.c) is not modified.Here is my qemu_3.0.0.bbappend file, meta-sakura/recipes-devtools/qemu/qemu_3.0.0.bbappend:
FILESEXTRAPATHS_prepend:= "${FILE_DIRNAME}/${PN}:"SRC_URII_append_class-native = "file://syscall.c-add_missing_sockios_header_include.patch"
^^
If you pasted exactly what you have then there is a typo above it should be SRC_URI_append_class-native ...
Quoted 63 lines
And here is the patch file
.../qemu/syscall.c-add_missing_sockios_header_include.patch:linux-user/syscall.c 2019-11-18 09:23:23.000000000 -0800 renamed from linux-user/syscall.c 2019-11-18 09:42:39.000000000 -0800 +1
-0@@ -34,6 +34,7 @@ #include <sys/resource.h> #include <sys/swap.h> #include <linux/capability.h> +#include <linux/sockios.h> #include <sched.h> #include <sys/timex.h> #include <sys/socket.h>I am not getting the:
...tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/syscall.cmodified.
I'm obviously missing something. Any help would be greatly appreciated.
Regards,
Greg
________________________________
From: Khem Raj <[email protected]>
Sent: Monday, November 18, 2019 3:30:27 PM
To: Greg Wilson-Lindberg
Cc: Yocto list discussion
Subject: Re: [yocto] [qemu] can't find qemu-native recipeQuoted 4 lines · Greg Wilson-Lindberg
I'm building thud for the raspberry pi3 for boot2qt on Ubuntu 18.04.
I've got a patch that I need to apply to to fix an include file problem and I can't find the qemu-native recipe. I can find a number of recipes that depend in one way or another on 'qemu-native', but I can't find a recipe, class for it or anything that provides it. I can see it being built, and I get an error that indicates that the patch that I have needs to be applied. I can find tmp/work/x86_64-linux/qemu-native/.Quoted 8 lines
In the cooker log I see:
task qemu_3.0.0
recipe qemu-native-3.0.0But I can't find a qemu-native.bb file,or bbclass.
I'm rather confused at this point, can someone shed a bit of light on what I'm missing?
there must be BBCLASSEXTEND = "native" in qemu recipe which essentially automatically extends the recipe for native case
see
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-BBCLASSEXTENDQuoted 8 lines
Regards,
Greg Wilson-Lindberg--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto