All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: "\"Schaumlöffel, Jan\"" <J.Schaumloeffel@astro-kom.de>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Migration from 1.7.1 to 1.8 - kernel-abiversion missing
Date: Wed, 29 Apr 2015 09:23:00 -0400	[thread overview]
Message-ID: <5540DB34.6010102@windriver.com> (raw)
In-Reply-To: <4f2d75bf33ac423ab064f754e0b67655@ASTRO-EX1.Bensberg.de>

On 04/29/2015 03:38 AM, Schaumlöffel, Jan wrote:
>> Have you tried setting linux-dummy as the preferred provider for the kernel
>> ? That would skip the build processing doing anything more than satisfying
>> the various kernel dependencies.
>
> Ah, that's a good hint, I'll try that.
>
>>>
>>>> After your build has failed, if you look in STAGING_KERNEL_BUILDDIR
>>>> do you see the abiversion file ?
>>>
>>> There are three instances of the file:
>>>
>>> ~/yocto-build-fido$ find . -name kernel-abiversion
>>> ./tmp/work/beaglebone-poky-linux-gnueabi/linux-
>> yocto/3.14.36+gitAUTOIN
>>> C+162dfe3bb0_dbe5b52e93-r0/pkgdata/kernel-depmod/kernel-abiversion
>>> ./tmp/sysroots/beaglebone/pkgdata/kernel-depmod/kernel-abiversion
>>> ./tmp/work-shared/beaglebone/kernel-build-artifacts/kernel-abiversion
>>
>> Those are where I'd expect them for 1.8, so they should be found and used
>> by the various parts of the build process. Something different is happening in
>> your build .. hmm.
>
> It looks like those were from another run, built from scratch in a new directory I now see the following result:
>
>
> NOTE: Executing RunQueue Tasks
> ERROR: No kernel-abiversion file found (/home/astro/yocto-build-reproduce/tmp/sysroots/u159/pkgdata/kernel-depmod/kernel-abiversion), cannot run depmod, aborting
> ERROR: Function failed: do_rootfs
> ERROR: Logfile of failure stored in: /home/astro/yocto-build-reproduce/tmp/work/u159-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_rootfs.7440
> ERROR: Task 7 (/home/astro/git/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1776 tasks of which 93 didn't need to be rerun and 1 failed.
> No currently running tasks (1775 of 1777)
>
> Summary: 1 task failed:
>    /home/astro/git/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> astro@eldk-vm:~/yocto-build-reproduce$ find . -name kernel-abiversion
> astro@eldk-vm:~/yocto-build-reproduce$ bitbake -e core-image-minimal | grep STAGING_KERNEL_BUILDDIR
> # $STAGING_KERNEL_BUILDDIR
> STAGING_KERNEL_BUILDDIR="/home/astro/yocto-build-reproduce/tmp/work-shared/u159/kernel-build-artifacts"
> astro@eldk-vm:~/yocto-build-reproduce$ ls -la /home/astro/yocto-build-reproduce/tmp/work-shared/u159/kernel-build-artifacts
> ls: cannot access /home/astro/yocto-build-reproduce/tmp/work-shared/u159/kernel-build-artifacts: No such file or directory
> astro@eldk-vm:~/yocto-build-reproduce$
>
> It looks like the entire STAGING_KERNEL_BUILDDIR is missing.
>
>
> I'll try some more variatons of my setup to try and narrow down why that happens.
>

That is really odd. I'll be interested to hear how that happened. I just
did a test and it points to where I expect:

  [/home/bruc...poky/build]> bitbake -e core-image-minimal | grep 
STAGING_KERNEL_BUILDDIR
# $STAGING_KERNEL_BUILDDIR
STAGING_KERNEL_BUILDDIR="/home/bruce/poky/build/tmp/work-shared/qemux86-64/kernel-build-artifacts"

Bruce



> Jan
>



  reply	other threads:[~2015-04-29 13:23 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28  6:49 Migration from 1.7.1 to 1.8 - kernel-abiversion missing Schaumlöffel, Jan
2015-04-28 13:52 ` Bruce Ashfield
2015-04-28 15:36   ` Schaumlöffel, Jan
2015-04-28 18:58     ` Bruce Ashfield
2015-04-29  7:38       ` Schaumlöffel, Jan
2015-04-29 13:23         ` Bruce Ashfield [this message]
2015-04-30  7:14           ` Schaumlöffel, Jan
2015-04-30 12:18             ` Bruce Ashfield
2015-04-30 12:27               ` Schaumlöffel, Jan
2015-04-30 14:06                 ` Bruce Ashfield
2015-05-11 18:10                   ` Brian Hutchinson
2015-05-11 18:10                     ` [yocto] " Brian Hutchinson
2015-05-11 18:34                     ` Brian Hutchinson
2015-05-11 18:34                       ` [yocto] " Brian Hutchinson
2015-05-11 19:06                     ` Bruce Ashfield
2015-05-11 19:06                       ` [yocto] " Bruce Ashfield
2015-05-12 14:20                       ` Brian Hutchinson
2015-05-12 14:20                         ` [yocto] " Brian Hutchinson
2015-05-12 15:35                         ` Bruce Ashfield
2015-05-12 15:35                           ` [yocto] " Bruce Ashfield
2015-05-14 22:08                           ` [meta-ti] " Denys Dmytriyenko
2015-05-14 22:08                             ` [yocto] " Denys Dmytriyenko
2015-05-14 22:16                             ` [meta-ti] " Brian Hutchinson
2015-05-14 22:16                               ` [yocto] " Brian Hutchinson
2015-05-15 13:55                               ` [meta-ti] " Brian Hutchinson
2015-05-15 13:55                                 ` [yocto] " Brian Hutchinson
2015-05-15 19:26                                 ` [meta-ti] " Brian Hutchinson
2015-05-15 19:26                                   ` [yocto] " Brian Hutchinson
2015-05-15 20:21                                   ` [meta-ti] " Brian Hutchinson
2015-05-15 20:21                                     ` [yocto] " Brian Hutchinson
2015-05-19 11:39                                     ` [meta-ti] " Bruce Ashfield
2015-05-19 11:39                                       ` [yocto] " Bruce Ashfield
2015-05-19 16:31                                       ` [meta-ti] " Bruce Ashfield
2015-05-19 16:31                                         ` [yocto] " Bruce Ashfield
2015-05-19 16:42                                         ` [meta-ti] " Brian Hutchinson
2015-05-19 16:42                                           ` [yocto] " Brian Hutchinson
2015-05-21  1:49                                           ` Patricia Holden
2015-06-10  1:12                                           ` [meta-ti] " Brian Hutchinson
2015-06-10  1:12                                             ` [yocto] " Brian Hutchinson
2015-06-10  1:14                                             ` [meta-ti] " Bruce Ashfield
2015-06-10  1:14                                               ` [yocto] " Bruce Ashfield
2015-06-10  1:34                                               ` [meta-ti] " Brian Hutchinson
2015-06-10  1:34                                                 ` [yocto] " Brian Hutchinson
2015-06-10 17:32                                                 ` [meta-ti] " Brian Hutchinson
2015-06-10 17:32                                                   ` [yocto] " Brian Hutchinson
2015-06-23 19:15                   ` Robert Calhoun
2015-06-23 19:56                     ` Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2015-04-29 13:53 Carl van Schaik
2015-04-29 14:04 Carl van Schaik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5540DB34.6010102@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=J.Schaumloeffel@astro-kom.de \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.