[OE-core] daisy: runtime-reverse/udev-hwdb missing during do_rootfs

Richard Purdie richard.purdie at linuxfoundation.org
Wed Sep 24 17:58:54 UTC 2014


On Wed, 2014-09-24 at 09:34 -0700, Darren Hart wrote:
> I've hit the following on a custom image recipe (based on core-image):
> 
> | Configuring run-postinsts.
> |
> | NOTE: Installing complementary packages ...
> | NOTE: Running intercept scripts:
> | NOTE: Executing write_package_manifest ...
> | DEBUG: Executing python function write_package_manifest
> | DEBUG: Python function write_package_manifest finished
> | NOTE: Executing license_create_manifest ...
> | DEBUG: Executing shell function license_create_manifest
> | ls: cannot access
> /build/yocto/daisy/intel-corei7-64_20140718205500/build/tmp/sysroots/intel-
> internal-corei7-64/pkgdata/runtime-reverse/udev-hwdb: 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
> /build/yocto/daisy/intel-corei7-64_20140718205500/build/tmp/work/intel_inte
> rnal_corei7_64-eywa-linux/core-image-minimal-initramfs/1.0-r0/temp/log.do_r
> ootfs.15414)
> ERROR: Task 150 
> (/build/yocto/daisy/intel-corei7-64_20140718205500/poky/meta/recipes-core/i
> mages/core-image-minimal-initramfs.bb, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 4727 tasks of which 4697 didn't need to be
> rerun and 1 failed.
> Waiting for 0 running tasks to finish:

I don't know why it does this but I can perhaps give some pointers as to
where to look.

udev-hwdb was installed in the image. First question is whether that is
actually in the build dependencies. "bitbake
core-image-minimal-initramfs -c rootfs -g", then grep task-depends.dot
and see if udev is in there. If not, there is the question of why the
image is installing something not in its dependency list. a "bitbake
udev" will probably make the problem "disappear".

If it is there, we have a dependency so the question is why the file
doesn't exist. udev do_packagedata should write out files into
sysroots/intel-internal-corei7-64/pkgdata/runtime-reverse/ for each
package it generates. Are the other udev packages there? Is there a
stamp for the udev do_packagedata task?

Cheers,

Richard






More information about the Openembedded-core mailing list