All of lore.kernel.org
 help / color / mirror / Atom feed
* daisy: runtime-reverse/udev-hwdb missing during do_rootfs
@ 2014-09-24 16:34 Darren Hart
  2014-09-24 17:58 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Darren Hart @ 2014-09-24 16:34 UTC (permalink / raw)
  To: openembedded-core

Hi all,

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:




Using the daisy branch of the following layers (poky, meta-intel, and
meta-oe layers):

BBLAYERS ?= " \
  /build/yocto/daisy/intel-corei7-64_20140718205500/poky/meta \
  /build/yocto/daisy/intel-corei7-64_20140718205500/poky/meta-yocto \
  /build/yocto/daisy/intel-corei7-64_20140718205500/poky/meta-yocto-bsp \
  "
BBLAYERS_NON_REMOVABLE ?= " \
  /build/yocto/daisy/intel-corei7-64_20140718205500/poky/meta \
  /build/yocto/daisy/intel-corei7-64_20140718205500/poky/meta-yocto \
  "

# Automatically generated by bitbake-shell (bs)
BBLAYERS += 
"/build/yocto/daisy/intel-corei7-64_20140718205500/poky/meta-yocto"
BBLAYERS += 
"/build/yocto/daisy/intel-corei7-64_20140718205500/meta-openembedded/meta-n
etworking"
BBLAYERS += "/build/yocto/daisy/intel-corei7-64_20140718205500/meta-intel"
BBLAYERS += 
"/build/yocto/daisy/intel-corei7-64_20140718205500/meta-openembedded/meta-x
fce"
BBLAYERS += 
"/build/yocto/daisy/intel-corei7-64_20140718205500/meta-openembedded/meta-o
e"
BBLAYERS += 
"/build/yocto/daisy/intel-corei7-64_20140718205500/meta-openembedded/meta-m
ultimedia"
BBLAYERS += 
"/build/yocto/daisy/intel-corei7-64_20140718205500/meta-openembedded/meta-g
nome"
BBLAYERS += "/build/yocto/daisy/intel-corei7-64_20140718205500/eywa/meta"
BBLAYERS += 
"/build/yocto/daisy/intel-corei7-64_20140718205500/eywa/meta-intel-internal
"
BBLAYERS += "/build/yocto/daisy/intel-corei7-64_20140718205500/poky/meta"


Is this a known issue? Have others hit this or have a workaround?


-- 
Darren Hart					Open Source Technology Center
darren.hart@intel.com				            Intel Corporation





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: daisy: runtime-reverse/udev-hwdb missing during do_rootfs
  2014-09-24 16:34 daisy: runtime-reverse/udev-hwdb missing during do_rootfs Darren Hart
@ 2014-09-24 17:58 ` Richard Purdie
  2014-09-24 21:18   ` Darren Hart
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2014-09-24 17:58 UTC (permalink / raw)
  To: Darren Hart; +Cc: openembedded-core

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: daisy: runtime-reverse/udev-hwdb missing during do_rootfs
  2014-09-24 17:58 ` Richard Purdie
@ 2014-09-24 21:18   ` Darren Hart
  0 siblings, 0 replies; 3+ messages in thread
From: Darren Hart @ 2014-09-24 21:18 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On 9/24/14, 10:58, "Richard Purdie" <richard.purdie@linuxfoundation.org>
wrote:

>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/inte
>>l-
>> 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_in
>>te
>> 
>>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.

This was due to switching between systemd in DISTRO_FEATURES and not.
Cleaning systemd and udev and rebuilding resolved the issue.

Lesson: use different tmp when changing DISTRO_FEATURES.

-- 
Darren Hart					Open Source Technology Center
darren.hart@intel.com				            Intel Corporation





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-24 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-24 16:34 daisy: runtime-reverse/udev-hwdb missing during do_rootfs Darren Hart
2014-09-24 17:58 ` Richard Purdie
2014-09-24 21:18   ` Darren Hart

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.