On Mon, Apr 15, 2013 at 2:15 PM, Bruce Ashfield <bruce.ashfi...@gmail.com> wrote: > On Mon, Apr 15, 2013 at 2:07 PM, Anders Darander <and...@chargestorm.se> > wrote: >> >> 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... > > 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.
Indeed, something managed to happen here. I'm investigating and will follow up once I know what broke. Bruce > > Cheers, > > Bruce > >> >> Cheers, >> Anders >> >> -- >> Anders Darander >> ChargeStorm AB / eStorm AB >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> 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" -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core