From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: "David Nyström" <david.nystrom@enea.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2 00/50] Rootfs/image generation refactoring (cover letter only)
Date: Wed, 5 Feb 2014 16:43:34 +0200 [thread overview]
Message-ID: <20140205144334.GG5112@lpalcu-linux> (raw)
In-Reply-To: <52F229E1.3040204@enea.com>
On Wed, Feb 05, 2014 at 01:09:05PM +0100, David Nyström wrote:
> >
> >| NOTE: Installing complementary packages ...
> >| NOTE: Installing the following packages:
> >| /media/sdb5/bld/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl: the
> >``install'' command requires at least one argument
> >| NOTE: Unable to install packages. Command
> >/media/sdb5/bld/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f
> >/media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/opkg.conf
> >-o
> >/media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/rootfs
> >--force_postinstall --prefer-arch-to-version install returned 1
I'll send a quick fix for this. This, however, is not the reason of the
build failure. It's complementary packages that are installed and an
empty list is passed to install(). Since these are attempt only
packages, the build does not fail because of this. Anyway, I added a
simple check and I will send a v3.
> >| NOTE: Running intercept scripts:
> >| NOTE: Executing write_package_manifest ...
> >| DEBUG: Executing python function write_package_manifest
> >| NOTE: Building from feeds activated!
> >| NOTE: Add all feed with URL
> >file:///media/sdb5/oel/build/tmp/deploy/ipk/all
> >| NOTE: Add qemuppc feed with URL
> >file:///media/sdb5/oel/build/tmp/deploy/ipk/qemuppc
> >| NOTE: Add ppc7400 feed with URL
> >file:///media/sdb5/oel/build/tmp/deploy/ipk/ppc7400
> >| DEBUG: Python function write_package_manifest finished
> >| NOTE: Executing license_create_manifest ...
> >| DEBUG: Executing shell function license_create_manifest
> >| ls: cannot access
> >/media/sdb5/bld/tmp/sysroots/qemuppc/pkgdata/runtime-reverse/base-files: No
> >such file or directory
> >| readlink: missing operand
> >| Try 'readlink --help' for more information.
> >| basename: missing operand
> >| Try 'basename --help' for more information.
> >| WARNING: exit code 1 from a shell command.
> >| DEBUG: Python function do_rootfs finished
> >| ERROR: Function failed: license_create_manifest (log file is located at
> >/media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.29007)
Now, this is the interesting part which, btw, happens on master too. That's
because you're installing from feeds and you're installing an older
version that has different packages than the latest (these are read from
package.manifest). The YP 1.5 core-image-minimal package.manifest
contains update-alternatives-cworth. The latest core-image-minimal does
not contain this package anymore. It contains update-alternatives-opkg.
The easiest way would be to add a check in license_create_manifest() to
just ignore packages that cannot be found. However, since we're dealing
with licenses here, I honestly don't know if this is the right way of
doing it...
laurentiu
next prev parent reply other threads:[~2014-02-05 14:43 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-03 11:38 [PATCH 00/49] Rootfs/image generation refactoring (cover letter only) Laurentiu Palcu
2014-02-03 11:54 ` Laurentiu Palcu
2014-02-03 14:32 ` David Nyström
2014-02-03 16:47 ` Laurentiu Palcu
2014-02-04 14:08 ` David Nyström
2014-02-04 14:49 ` David Nyström
2014-02-04 15:34 ` Laurentiu Palcu
2014-02-04 15:40 ` David Nyström
2014-02-05 10:07 ` [PATCH v2 00/50] " Laurentiu Palcu
2014-02-05 10:58 ` David Nystrom
2014-02-05 12:09 ` David Nyström
2014-02-05 14:43 ` Laurentiu Palcu [this message]
2014-02-05 18:00 ` David Nystrom
2014-02-05 15:05 ` [PATCH v3 00/51] " Laurentiu Palcu
2014-02-10 7:53 ` [PATCH v4 00/52] " Laurentiu Palcu
2014-02-10 12:15 ` [PATCH v5 00/53] " Laurentiu Palcu
2014-02-11 8:42 ` David Nyström
2014-02-11 8:50 ` Laurentiu Palcu
2014-02-11 8:56 ` David Nyström
2014-02-11 9:36 ` David Nyström
2014-02-11 14:33 ` David Nyström
2014-02-11 14:50 ` David Nyström
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=20140205144334.GG5112@lpalcu-linux \
--to=laurentiu.palcu@intel.com \
--cc=david.nystrom@enea.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox