On Wed, Dec 7, 2022 at 11:46 AM [email protected] via
lists.yoctoproject.org
<[email protected]> wrote:
>
> To the maintainers:
>
>
>
> I’ve been trying to use meta-virtualization to include kvm in a build I’m 
> working on. In my local.conf file I have added the lines:
>
> DISTRO_FEATURES:append = " virtualization"
> IMAGE_INSTALL:append = " dtc libaio zlib kvmtool" (upon initially getting the 
> error below, I explicitly included the stated dependencies listed in the 
> kvmtool recipe in hopes that would change things. It did not).
>
>
>
> However, whenever I run bitbake core-image-base, I get a build error. The 
> following is the output:
>
>
>
>
>
> ERROR: kvmtool-5.10.0+gitAUTOINC+336751fb10-r0 do_patch: Applying patch 
> 'external-crosscompiler.patch' on target directory '[path to work 
> directory]/core2-64-amd-linux/kvmtool/5.10.0+gitAUTOINC+336751fb10-r0/git'
>
> CmdError('quilt --quiltrc [path to work 
> directory]/core2-64-amd-linux/kvmtool/5.10.0+gitAUTOINC+336751fb10-r0/recipe-sysroot-native/etc/quiltrc
>  push', 0, 'stdout: Applying patch external-crosscompiler.patch
>
> patching file Makefile
>
> Hunk #2 FAILED at 337.
>
> 1 out of 2 hunks FAILED -- rejects in file Makefile
>
> Patch external-crosscompiler.patch does not apply (enforce with -f)
>
>
>
> stderr: ')
>
> ERROR: Logfile of failure stored in: 
> /home/yocto/bmc3_os/build/tmp/work/core2-64-amd-linux/kvmtool/5.10.0+gitAUTOINC+336751fb10-r0/temp/log.do_patch.15225
>
> ERROR: Task ([path to 
> meta-virtualization]/recipes-extended/kvmtool/kvmtool.bb:do_patch) failed 
> with exit code '1'
>
>
>
>
>
> I took the liberty of looking at the patch file and the makefile. The 2nd 
> hunk in the patch appears to be trying to replace a line that no longer 
> exists. I have tried not only your latest master branch, but also the 
> Kirkstone, Langdale, and Dunfell releases in case any of them had a working 
> state for the recipe (I also tried other releases but started running into 
> syntax errors due to those versions of the recipe using the old bitbake 
> syntax instead of the current grammar).
>
>
>
> I was wondering if this was a known issue with a fix available, or if there 
> were plans to update the patch files.
>
>

When I updated it on Sept 22nd, it worked here.

But I can double check my builders and see if something was missed.

Bruce

>
> Thank you for your time,
>
> Nathan Fisher
>
> [email protected]
>
>
>
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7739): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7739
Mute This Topic: https://lists.yoctoproject.org/mt/95519084/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to