[OE-core] linux-yocto-dev currently trips do_kernel_version_sanity_check
Bruce Ashfield
bruce.ashfield at windriver.com
Sat Feb 18 15:00:51 UTC 2017
On 2017-02-18 7:11 AM, Paul Barker wrote:
> 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.
I carry a deltask for it myself, and Cal sent a series to disable the
check recently (via a variable).
So yes, it can (and often should be disabled) for AUTOREV -dev recipes.
I pushed 4.10-rc8 to the -dev kernel a few days ago, hence why things
are triggering while my recipe version bump is cycling through the
merge process.
Bruce
>
> Thanks,
> Paul
>
More information about the Openembedded-core
mailing list