All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-yocto-dev currently trips do_kernel_version_sanity_check
@ 2017-02-18 12:11 Paul Barker
  2017-02-18 15:00 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Barker @ 2017-02-18 12:11 UTC (permalink / raw)
  To: Bruce Ashfield, openembedded-core

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-yocto-dev currently trips do_kernel_version_sanity_check
  2017-02-18 12:11 linux-yocto-dev currently trips do_kernel_version_sanity_check Paul Barker
@ 2017-02-18 15:00 ` Bruce Ashfield
  2017-02-18 15:33   ` Paul Barker
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2017-02-18 15:00 UTC (permalink / raw)
  To: Paul Barker, openembedded-core

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
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-yocto-dev currently trips do_kernel_version_sanity_check
  2017-02-18 15:00 ` Bruce Ashfield
@ 2017-02-18 15:33   ` Paul Barker
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Barker @ 2017-02-18 15:33 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: openembedded-core

On Sat, 18 Feb 2017 10:00:51 -0500
Bruce Ashfield <bruce.ashfield@windriver.com> wrote:

> 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.
> 

I've found the patch ("kernel.bbclass: Make sanity check opt-out and
provide easy opt-out"), I'll give it a try locally with the opt-out
variable set in my recipe.

Cheers,
Paul


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-18 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-18 12:11 linux-yocto-dev currently trips do_kernel_version_sanity_check Paul Barker
2017-02-18 15:00 ` Bruce Ashfield
2017-02-18 15:33   ` Paul Barker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.