[OE-core] linux-yocto-dev currently trips do_kernel_version_sanity_check

Paul Barker paul at paulbarker.me.uk
Sat Feb 18 12:11:48 UTC 2017


Hi all,

I've cloned the master branch of poky, ran oe-init-build-env then
edited local.conf to include the following line:

    PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"

After this I ran 'bitbake linux-yocto-dev' and got the following error:

    ERROR: linux-yocto-dev-4.9-rc++gitAUTOINC+a5183d8346_36439e87c8-r0 do_kernel_version_sanity_check: Package Version (4.9-rc++gitAUTOINC+a5183d8346_36439e87c8) does not match of kernel being built (4.10-rc8). Please update the PV variable to match the kernel source.
    ERROR: linux-yocto-dev-4.9-rc++gitAUTOINC+a5183d8346_36439e87c8-r0 do_kernel_version_sanity_check: Function failed: do_kernel_version_sanity_check (log file is located at .../poky/build/tmp/work/qemux86-poky-linux/linux-yocto-dev/4.9-rc++gitAUTOINC+a5183d8346_36439e87c8-r0/temp/log.do_kernel_version_sanity_check.30252)
    ERROR: Logfile of failure stored in: .../poky/build/tmp/work/qemux86-poky-linux/linux-yocto-dev/4.9-rc++gitAUTOINC+a5183d8346_36439e87c8-r0/temp/log.do_kernel_version_sanity_check.30252
    ERROR: Task (.../poky/meta/recipes-kernel/linux/linux-yocto-dev.bb:do_kernel_version_sanity_check) failed with exit code '1'

I found this problem whilst playing around with the
linux-raspberrypi_dev in meta-raspberrypi which also includes
linux-yocto.inc.

Should this task be disabled for linux-yocto-dev and similar recipes?
I'd be happy with PV = "4.9+git...." for anything in the 4.9 series
myself.

Thanks,
Paul



More information about the Openembedded-core mailing list