[Edited Message Follows]
[Reason: removing absolute paths for more general clarity]

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: [path to work 
directory]/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 2 nd 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.

Thank you for your time,

Nathan Fisher

[email protected]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7738): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7738
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