Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: error: LOOP: udev/ libudev during do_rootfs?
Date: Tue, 3 May 2011 17:31:30 -0500	[thread overview]
Message-ID: <4DC08242.4030009@windriver.com> (raw)
In-Reply-To: <BANLkTikxo4jWt7zKciXt1w4iiJYHg=WnqQ@mail.gmail.com>

On 5/3/11 5:19 PM, Leon Woestenberg wrote:
> Hello,
> 
> on oe-core I'm testing the addition of powerpc-linux-gnuspe targets.
> Everything runs fine up to do_rootfs where I hit this "LOOP" error
> which I found rather cryptic:
> 
> Seems a cyclic loop dependency. I have never seen this error, does
> this ring a bell with someone?
> 
> | error: LOOP:
> | error: removing udev-164-r1.ppce500v2 "Requires: libudev0 >= 164"
> from tsort relations.
> | error: removing libudev0-164-r1.ppce500v2 "Requires: udev = 164-r1"
> from tsort relations.
> | Preparing...                ##################################################
> | ERROR: Function 'do_rootfs' failed

The above is misleading.  The "error: LOOP:" is an installation warning, due to
having a dependency loop.  It is not itself an error.

...

> | + rpm --dbpath /var/lib/rpm '--define=_openall_before_chroot 1'
> --root /home/leon/sandbox/sidebranch/yocto/oe-core/build/tmp/work/p2020rdb-poky-linux-gnuspe/core-image-minimal-1.0-r0/rootfs
> --predefine '_rpmds_sysinfo_path
> /home/leon/sandbox/sidebranch/yocto/oe-core/build/tmp/work/p2020rdb-poky-linux-gnuspe/core-image-minimal-1.0-r0/rootfs/etc/rpm/sysinfo'
> --predefine '_rpmrc_platform_path
> /home/leon/sandbox/sidebranch/yocto/oe-core/build/tmp/work/p2020rdb-poky-linux-gnuspe/core-image-minimal-1.0-r0/rootfs/etc/rpm/platform'
> -D '_dbpath /var/lib/rpm' --noscripts --notriggers --noparentdirs
> --nolinktos -D '__dbi_txn create nofsync private' -Uhv
> /home/leon/sandbox/sidebranch/yocto/oe-core/build/tmp/work/p2020rdb-poky-linux-gnuspe/core-image-minimal-1.0-r0/rootfs/install/install_solution.manifest
> | error: LOOP:
> | error: removing busybox-1.17.3-r2.ppce500v2 "Requires(hint):
> busybox-udhcpc" from tsort relations.
> | error: removing busybox-udhcpc-1.17.3-r2.ppce500v2 "Requires(post):
> /bin/sh" from tsort relations.
> | error: LOOP:
> | error: removing busybox-syslog-1.17.3-r2.ppce500v2 "Requires(post):
> /bin/sh" from tsort relations.
> | error: removing busybox-1.17.3-r2.ppce500v2 "Requires(hint):
> busybox-syslog" from tsort relations.
> | error: LOOP:
> | error: removing udev-164-r1.ppce500v2 "Requires: libudev0 >= 164"
> from tsort relations.
> | error: removing libudev0-164-r1.ppce500v2 "Requires: udev = 164-r1"
> from tsort relations.
> | Preparing...                ##################################################
> | ERROR: Function 'do_rootfs' failed (see
> /home/leon/sandbox/sidebranch/yocto/oe-core/build/tmp/work/p2020rdb-poky-linux-gnuspe/core-image-minimal-1.0-r0/temp/log.do_rootfs.12166
> for further information)
> NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed
> ERROR: Task 8 (/home/leon/sandbox/sidebranch/yocto/oe-core/meta/recipes-core/images/core-image-minimal.bb,
> do_rootfs) failed with exit code '1'
> ERROR: '/home/leon/sandbox/sidebranch/yocto/oe-core/meta/recipes-core/images/core-image-minimal.bb'
> failed

In the past I've only seen this type of "mystery" failure when PSEUDO was not be
run properly.  (pseudo is being configured by the "bitbake" wrapper, located in
the scripts directory.  It has to be preloaded by the wrapper for performance
reasons during the build.)  If you are not using the bitbake wrapper script
(automatically added to your environment when you use the environment setup
script oe-init-build-env) you will need to either use the environment setup
script, or add the wrapper to your path [or call it directly].

If the wrapper is being invoked, I have some further checks to verify behavior
on your system.

If the failures continue, what type of host system do you have (distro), and
what version of libc?  Do you have both 32-bit and 64-bit libraries and
executables installed?

--Mark

> Regards,




  reply	other threads:[~2011-05-03 22:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 22:19 error: LOOP: udev/ libudev during do_rootfs? Leon Woestenberg
2011-05-03 22:31 ` Mark Hatle [this message]
2011-05-04 22:11   ` Leon Woestenberg

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=4DC08242.4030009@windriver.com \
    --to=mark.hatle@windriver.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