All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Chris Tapp <opensource@keylevel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Build fails moving from 4.0.1 to 5.0.1
Date: Fri, 19 Aug 2011 14:22:48 -0700	[thread overview]
Message-ID: <1313788968.13995.127.camel@rex> (raw)
In-Reply-To: <CF307BEE-0981-4EC1-8BAA-8071B8B2071A@keylevel.com>

On Fri, 2011-08-19 at 21:58 +0100, Chris Tapp wrote:
> On 19 Aug 2011, at 21:49, Richard Purdie wrote:
> 
> > On Fri, 2011-08-19 at 20:43 +0100, Chris Tapp wrote:
> >> On 19 Aug 2011, at 17:16, Richard Purdie wrote:
> >>
> >>> On Fri, 2011-08-19 at 08:29 +0100, Chris Tapp wrote:
> >>>> I've got a configuration that builds ok under 4.0.1, but when I  
> >>>> build
> >>>> under 5.0.1 I get the following right at the end:
> >>>>
> >>>> Installing task-poky-boot (1.0-r7) to root...
> >>>> Downloading file:/home/chris/yocto/ebox3300-build/tmp/deploy/ipk/
> >>>> Vortex86DX/task-poky-boot_1.0-r7_Vortex86DX.ipk.
> >>>> Installing task-sjs (1.0-r0) to root...
> >>>> Downloading file:/home/chris/yocto/ebox3300-build/tmp/deploy/ipk/
> >>>> Vortex86DX/task-sjs_1.0-r0_Vortex86DX.ipk.
> >>>> Unknown package 'run-postinsts'.
> >>>> Collected errors:
> >>>> * satisfy_dependencies_for: Cannot satisfy the following
> >>>> dependencies for task-poky-boot:
> >>>> * 	tinylogin * 	busybox * 	modutils-initscripts * 	initscripts * 	
> >>>> console-tools * 	initscripts * 	udev * 	sysvinit * 	netbase * 	 
> >>>> base-
> >>>> passwd *
> >>>> * opkg_install_cmd: Cannot install package task-poky-boot.
> >>>> * satisfy_dependencies_for: Cannot satisfy the following
> >>>> dependencies for task-sjs:
> >>>> * 	yocto-wallboard * 	psplash * 	syslinux *
> >>>> * opkg_install_cmd: Cannot install package task-sjs.
> >>>> * opkg_install_cmd: Cannot install package run-postinsts.
> >>>> ERROR: Function 'do_rootfs' failed (see ...
> >>>>
> >>>> If I look in tmp/work, it looks as if the missing dependencies have
> >>>> all been built and packaged within their work areas.
> >>>>
> >>>> I tried cleaning and rebuilding 'task-sjs', but that made no
> >>>> difference to the errors reported against it.
> >>>>
> >>>> Where should I start looking to work out what's going wrong here?  
> >>>> Is
> >>>> it as simple as needing to add something like RDEPENDS?
> >>>
> >>> This sounds like the machine specific packages are failing to be  
> >>> found
> >>> so it sounds like a package feed issue. Is sounds like PACKAGE_ARCHS
> >>> isn't listing everything it needs to (such as the machine name) or  
> >>> the
> >>> package system isn't finding a group of packages for some other
> >>> reason.
> >>
> >> Thanks, but that's way over my head at the moment ;-)
> >>
> >> I've searched through the meta data for PACKAGE_ARCHS, but that's not
> >> thrown anything up to make me think there was anything I should  
> >> look at.
> >>
> >> I'm using my own machine recipe. Is this were I should be looking?
> >
> > Yes, I suspect something about your machine config is resulting in  
> > this
> > but its hard to me to say what.
> >
> > You can do things like "bitbake -e | grep ^PACKAGE_ARCHS" to see the
> > contents of variables. I'm curious if your machine name is listed in
> > that list.
> 
> chris@ubuntu:~/yocto/ebox3300-build$ bitbake -e |grep "PACKAGE_ARCHS"
> 
> # PACKAGE_ARCHS=all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}
> PACKAGE_ARCHS="all any noarch x86 Vortex86DX"
> 		ipkg_archs = bb.data.getVar('PACKAGE_ARCHS',d)
> 			bb.error("PACKAGE_ARCHS missing")
> 
> My machine is "Vortex86DX"

What does "ls /home/chris/yocto/ebox3300-build/tmp/deploy/ipk" say?

Cheers,

Richard



  reply	other threads:[~2011-08-19 21:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19  7:29 Build fails moving from 4.0.1 to 5.0.1 Chris Tapp
2011-08-19 16:16 ` Richard Purdie
2011-08-19 19:43   ` Chris Tapp
2011-08-19 20:49     ` Richard Purdie
2011-08-19 20:58       ` Chris Tapp
2011-08-19 21:22         ` Richard Purdie [this message]
2011-08-21  9:19           ` Chris Tapp
2011-08-21 11:20             ` Chris Tapp

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=1313788968.13995.127.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=opensource@keylevel.com \
    --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.