linux-yocto-custom. error in patch step
Hi,
I've been playing around a little bit with linux-yocto-custom, however, i'm currently getting a build error (rather patch error)...
Skipping my own layers and machines, I've reproduced the same issue by just taking oe-core (or poky), and editing meta-skeleton/recipes-kernel/linux-yocto-custom.bb accoring to the partial patch below, and adding a defconfig in meta-skeletons/recipes-kernel/linux/linux-yocto-custom/defconfig:
---------------------
@@ -47,18 +47,23 @@ require recipes-kernel/linux/linux-yocto.inc
# Override SRC_URI in a bbappend file to point at a different source
# tree if you do not want to build from Linus' tree. SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1" +SRC_URI += "file://defconfig"
-LINUX_VERSION ?= "3.4"
+LINUX_VERSION ?= "3.8"
LINUX_VERSION_EXTENSION ?= "-custom"
# Override SRCREV to point to a different commit in a bbappend file to
# build a different release of the Linux kernel. # tag: v3.4 76e10d158efb6d4516018846f60c2ab5501900bc -SRCREV="76e10d158efb6d4516018846f60c2ab5501900bc" +SRCREV="19f949f52599ba7c3f67a5897ac6be14bfcb1200" + +
PR = "r1"
PV = "${LINUX_VERSION}+git${SRCPV}"
# Override COMPATIBLE_MACHINE to include your machine in a bbappend
# file. Leaving it empty here ensures an early explicit build failure. -COMPATIBLE_MACHINE = "(^$)" +COMPATIBLE_MACHINE = "qemuarm" ----------------------
I'm using qemuarm as a playground (as I'm normally running a custom arm machine).
This gives the following error:
ERROR: Function failed: do_patch (see /home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972 for further information)
ERROR: Logfile of failure stored in:/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972 Log data follows:
| DEBUG: Executing shell function do_patch | WARNING: no meta data branch found ... | Already on 'master' | Your branch is behind 'origin/master' by 12742 commits, and can be
fast-forwarded.
| ERROR. input file "meta/cfg/scratch/obj/qemuarm-standard.scc" does not exist
| ERROR. A meta series could not be created for meta/cfg/scratch/obj/qemuarm-standard.scc
| ERROR. Could not locate meta series for qemuarm | ERROR. Could not apply patches for qemuarm. | Patch failures can be resolved in the devshell (bitbake -c
devshell linux-yocto-custom)
| ERROR: Function failed: do_patch (see /home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972 for further information)
ERROR: Task 3
(/home/anders/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb,do_patch) failed with exit code '1'
Using my own machine, I got a similar error, that
${MACHINE}-standard.scc didn't exist.
The plan is to use a defconfig as the main configuration, and possibly later on add config fragments for certain featuers.
However, I'm missing one step, as I'm not able to build without the meta/cfg/scratch/obj/qemuarm-standard.scc file.
Any hints on what step I've currently overlooked would be nice...
Cheers,
Anders
Signature · 2 lines
Anders Darander ChargeStorm AB / eStorm AB
Quoted 75 lines · Anders Darander
Hi,
I've been playing around a little bit with linux-yocto-custom, however, i'm currently getting a build error (rather patch error)...
Skipping my own layers and machines, I've reproduced the same issue by just taking oe-core (or poky), and editing meta-skeleton/recipes-kernel/linux-yocto-custom.bb accoring to the partial patch below, and adding a defconfig in meta-skeletons/recipes-kernel/linux/linux-yocto-custom/defconfig:
---------------------
(quoted diff) +0
-0@@ -47,18 +47,23 @@ require recipes-kernel/linux/linux-yocto.inc # Override SRC_URI in a bbappend file to point at a different source # tree if you do not want to build from Linus' tree. SRC_URI ="
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1"(quoted diff) +6
-4+SRC_URI += "file://defconfig" -LINUX_VERSION ?= "3.4" +LINUX_VERSION ?= "3.8" LINUX_VERSION_EXTENSION ?= "-custom" # Override SRCREV to point to a different commit in a bbappend file to # build a different release of the Linux kernel. # tag: v3.4 76e10d158efb6d4516018846f60c2ab5501900bc -SRCREV="76e10d158efb6d4516018846f60c2ab5501900bc" +SRCREV="19f949f52599ba7c3f67a5897ac6be14bfcb1200" + + PR = "r1" PV = "${LINUX_VERSION}+git${SRCPV}" # Override COMPATIBLE_MACHINE to include your machine in a bbappend # file. Leaving it empty here ensures an early explicit build failure. -COMPATIBLE_MACHINE = "(^$)" +COMPATIBLE_MACHINE = "qemuarm" ----------------------I'm using qemuarm as a playground (as I'm normally running a custom arm machine).
This gives the following error:
ERROR: Function failed:do_patch(see/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972for further information)
ERROR: Logfile of failure stored in:/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972Log data follows:| DEBUG: Executing shell function do_patch | WARNING: no meta data branch found ... | Already on 'master' | Your branch is behind 'origin/master' by 12742 commits, and can befast-forwarded.
| ERROR. input file "meta/cfg/scratch/obj/qemuarm-standard.scc" does not exist
| ERROR. A meta series could not be created for meta/cfg/scratch/obj/qemuarm-standard.scc| ERROR. Could not locate meta series for qemuarm | ERROR. Could not apply patches for qemuarm. | Patch failures can be resolved in the devshell (bitbake -cdevshell linux-yocto-custom)
| ERROR: Function failed:do_patch(see/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972for further information)
ERROR: Task 3
(/home/anders/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb,do_patch) failed with exit code '1'Using my own machine, I got a similar error, that
${MACHINE}-standard.scc didn't exist.
Quoted 7 lines
The plan is to use a defconfig as the main configuration, and possibly later on add config fragments for certain featuers.
However, I'm missing one step, as I'm not able to build without the meta/cfg/scratch/obj/qemuarm-standard.scc file.
Any hints on what step I've currently overlooked would be nice...
Let me have a look at this, there were some changes to the tools for 1.4, so the
examples may need some tweaking.
We did run all the yocto-bsp tools against 1.4 and they worked, and they are users of the same interface.
Anyway, if there's a bug, I'll follow up with a patch shortly.
Cheers,
Bruce
Quoted 4 lines
Cheers,
Anders
Quoted 8 lines
--
Anders Darander
ChargeStorm AB / eStorm AB_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 88 lines · Bruce Ashfield
Quoted 75 lines · Anders Darander
Hi,
I've been playing around a little bit with linux-yocto-custom, however, i'm currently getting a build error (rather patch error)...
Skipping my own layers and machines, I've reproduced the same issue by just taking oe-core (or poky), and editing meta-skeleton/recipes-kernel/linux-yocto-custom.bb accoring to the partial patch below, and adding a defconfig in meta-skeletons/recipes-kernel/linux/linux-yocto-custom/defconfig:
---------------------
(quoted diff) +0
-0@@ -47,18 +47,23 @@ require recipes-kernel/linux/linux-yocto.inc # Override SRC_URI in a bbappend file to point at a different source # tree if you do not want to build from Linus' tree. SRC_URI ="
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1"(quoted diff) +6
-4+SRC_URI += "file://defconfig" -LINUX_VERSION ?= "3.4" +LINUX_VERSION ?= "3.8" LINUX_VERSION_EXTENSION ?= "-custom" # Override SRCREV to point to a different commit in a bbappend file to # build a different release of the Linux kernel. # tag: v3.4 76e10d158efb6d4516018846f60c2ab5501900bc -SRCREV="76e10d158efb6d4516018846f60c2ab5501900bc" +SRCREV="19f949f52599ba7c3f67a5897ac6be14bfcb1200" + + PR = "r1" PV = "${LINUX_VERSION}+git${SRCPV}" # Override COMPATIBLE_MACHINE to include your machine in a bbappend # file. Leaving it empty here ensures an early explicit build failure. -COMPATIBLE_MACHINE = "(^$)" +COMPATIBLE_MACHINE = "qemuarm" ----------------------I'm using qemuarm as a playground (as I'm normally running a custom arm machine).
This gives the following error:
ERROR: Function failed:do_patch(see/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972for further information)
ERROR: Logfile of failure stored in:/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972Log data follows:| DEBUG: Executing shell function do_patch | WARNING: no meta data branch found ... | Already on 'master' | Your branch is behind 'origin/master' by 12742 commits, and can befast-forwarded.
| ERROR. input file "meta/cfg/scratch/obj/qemuarm-standard.scc" does not exist
| ERROR. A meta series could not be created for meta/cfg/scratch/obj/qemuarm-standard.scc| ERROR. Could not locate meta series for qemuarm | ERROR. Could not apply patches for qemuarm. | Patch failures can be resolved in the devshell (bitbake -cdevshell linux-yocto-custom)
| ERROR: Function failed:do_patch(see/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972for further information)
ERROR: Task 3
(/home/anders/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb,do_patch) failed with exit code '1'Using my own machine, I got a similar error, that
${MACHINE}-standard.scc didn't exist.Quoted 7 lines
The plan is to use a defconfig as the main configuration, and possibly later on add config fragments for certain featuers.
However, I'm missing one step, as I'm not able to build without the meta/cfg/scratch/obj/qemuarm-standard.scc file.
Any hints on what step I've currently overlooked would be nice...
Let me have a look at this, there were some changes to the tools for 1.4, so the
examples may need some tweaking.
Quoted 4 lines
We did run all the yocto-bsp tools against 1.4 and they worked, and they are users of the same interface.
Anyway, if there's a bug, I'll follow up with a patch shortly.
Indeed, something managed to happen here. I'm investigating and will follow up once I know what broke.
Bruce
Quoted 20 lines
Cheers,
Bruce
Quoted 4 lines
Cheers,
AndersQuoted 8 lines
--
Anders Darander
ChargeStorm AB / eStorm AB_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 3 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
I
Quoted 48 lines · Bruce Ashfield
Quoted 1 line · Bruce Ashfield
On Mon, Apr 15, 2013 at 2:07 PM, Anders Darander
<[email protected]> wrote:
/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972Quoted 7 lines
Quoted 7 lines
Log data follows:
| DEBUG: Executing shell function do_patch | WARNING: no meta data branch found ... | Already on 'master' | Your branch is behind 'origin/master' by 12742 commits, and can befast-forwarded.
| ERROR. input file "meta/cfg/scratch/obj/qemuarm-standard.scc" doesnot
Quoted 9 lines
Quoted 9 lines
exist
| ERROR. A meta series could not be created for
meta/cfg/scratch/obj/qemuarm-standard.scc| ERROR. Could not locate meta series for qemuarm | ERROR. Could not apply patches for qemuarm. | Patch failures can be resolved in the devshell (bitbake -cdevshell linux-yocto-custom)
| ERROR: Function failed:do_patch(see
/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972Quoted 3 lines
Quoted 3 lines
for further information)
ERROR: Task 3(
/home/anders/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb,Quoted 7 lines
Quoted 7 lines
do_patch) failed with exit code '1'Using my own machine, I got a similar error, that
${MACHINE}-standard.scc didn't exist.The plan is to use a defconfig as the main configuration, and
possibly
Quoted 5 lines
Quoted 5 lines
later on add config fragments for certain featuers.
However, I'm missing one step, as I'm not able to build without the meta/cfg/scratch/obj/qemuarm-standard.scc file.
Quoted 7 lines
Quoted 1 line
Any hints on what step I've currently overlooked would be nice...
Let me have a look at this, there were some changes to the tools for 1.4, so the
examples may need some tweaking.We did run all the yocto-bsp tools against 1.4 and they worked, and
Quoted 8 lines
they are
Quoted 3 lines
users of the same interface.
Anyway, if there's a bug, I'll follow up with a patch shortly.
Indeed, something managed to happen here. I'm investigating and will follow
up once I know what broke.
Thanks!
Good that the issue was found prior to the release. Looking forward to see what it was all about.
I was slightly worried for a while, when I couldn't find the best problem in my recipe, as something similar had been working on the 1.3 release.
Cheers,
Anders
Signature · 6 lines
Anders Darander ChargeStorm AB Tel: +46 702 44 84 36 Laxholmstorget 3 Email: [email protected] 602 21 Norrköping Web: www.chargestorm.se Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Quoted 57 lines · Anders Darander
I
Quoted 53 lines · Bruce Ashfield
Quoted 1 line · Bruce Ashfield
On Mon, Apr 15, 2013 at 2:07 PM, Anders Darander
<[email protected]> wrote:
/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972Quoted 7 lines
Quoted 7 lines
Log data follows:
| DEBUG: Executing shell function do_patch | WARNING: no meta data branch found ... | Already on 'master' | Your branch is behind 'origin/master' by 12742 commits, and can befast-forwarded.
| ERROR. input file "meta/cfg/scratch/obj/qemuarm-standard.scc" doesnot
Quoted 9 lines
Quoted 9 lines
exist
| ERROR. A meta series could not be created for
meta/cfg/scratch/obj/qemuarm-standard.scc| ERROR. Could not locate meta series for qemuarm | ERROR. Could not apply patches for qemuarm. | Patch failures can be resolved in the devshell (bitbake -cdevshell linux-yocto-custom)
| ERROR: Function failed:do_patch(see
/home/anders/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-custom/3.8+gitAUTOINC+19f949f52599ba7c3f67a5897ac6be14bfcb1200-r1/temp/log.do_patch.8972Quoted 3 lines
Quoted 3 lines
for further information)
ERROR: Task 3(
/home/anders/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb,Quoted 7 lines
Quoted 7 lines
do_patch) failed with exit code '1'Using my own machine, I got a similar error, that
${MACHINE}-standard.scc didn't exist.The plan is to use a defconfig as the main configuration, and
possibly
Quoted 5 lines
Quoted 5 lines
later on add config fragments for certain featuers.
However, I'm missing one step, as I'm not able to build without the meta/cfg/scratch/obj/qemuarm-standard.scc file.
Quoted 7 lines
Quoted 1 line
Any hints on what step I've currently overlooked would be nice...
Let me have a look at this, there were some changes to the tools for 1.4, so the
examples may need some tweaking.We did run all the yocto-bsp tools against 1.4 and they worked, and
they are
Quoted 3 lines
users of the same interface.
Anyway, if there's a bug, I'll follow up with a patch shortly.
Quoted 8 lines
Quoted 3 lines
Indeed, something managed to happen here. I'm investigating and will follow
up once I know what broke.Thanks!
Good that the issue was found prior to the release. Looking forward to see what it was all about.I was slightly worried for a while, when I couldn't find the best problem in my recipe, as something similar had been working on the 1.3 release.
This is fixed here. One line fix (smaller than that actually) .. isn't that always the
way.
I'll be sending RP a fix for it shortly. Thanks for the report!
Bruce
Quoted 10 lines
Cheers,
Anders
--
Anders Darander
ChargeStorm AB Tel: +46 702 44 84 36
Laxholmstorget 3 Email: [email protected]
602 21 Norrköping Web: www.chargestorm.seSent from my Android phone with K-9 Mail. Please excuse my brevity.
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 4 lines · Bruce Ashfield
This is fixed here. One line fix (smaller than that actually) .. isn't that always the
way.
Sure, it's always something small that has either been forgotten about or that's falling apart for some other reasons!
Quoted 1 line
I'll be sending RP a fix for it shortly. Thanks for the report!
Thanks again for a quick fix!
Cheers,
Anders
Signature · 4 lines
Anders Darander EPO guidelines 1978: "If the contribution to the known art resides solely in a computer program then the subject matter is not patentable in whatever manner it may be presented in the claims."