Wind River Support Network

HomeDefectsLIN9-6733
Fixed

LIN9-6733 : do_package treats plain text file as ELF file

Created: Apr 16, 2018    Updated: Dec 3, 2018
Resolved Date: May 27, 2018
Found In Version: 9.0.0.15
Fix Version: 9.0.0.16
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Build & Config

Description

create a WLinux9 project,  and run this command:

bitbake kernel-devsrc

we got the following error:


Initialising tasks: 100% |#######################################| Time:
0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: kernel-devsrc-1.0-r0 do_package: QA Issue: File
'/usr/src/kernel/Documentation/features/vm/ELF-ASLR/arch-support.txt'
from kernel-devsrc was already stripped, this will prevent future
debugging! [already-stripped] 
ERROR: kernel-devsrc-1.0-r0 do_package: QA Issue: File
'/usr/src/kernel/.kernel-meta/patches/standard/preempt-rt/intel-x86-64/bsp/intel-x86/drm-i915-Always-use-cpp-4-for-FW_BLC_SELF-on-915GM-9.patch' from kernel-devsrc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: kernel-devsrc-1.0-r0 do_package: QA Issue: File
'/usr/src/kernel/.kernel-meta/patches/standard/preempt-rt/intel-x86-64/bsp/intel-x86/drm-i915-Program-FW_BLC_SELF-on-915G-as-well.patch' from kernel-devsrc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: kernel-devsrc-1.0-r0 do_package: Fatal QA errors found, failing
task.
ERROR: kernel-devsrc-1.0-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored
in: /home/L9LOCAL0415TOOCHAINBLD/build/tmp/work/intel_skylake_avx512_64-wrs-linux/kernel-devsrc/1.0-r0/temp/log.do_package.1433                                                                                                                                                             55
ERROR: Task
(/home/L9LOCAL0415TOOCHAINBLD/layers/oe-core/meta/recipes-kernel/linux/kernel-devsrc.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 664 tasks of which 656 didn't need to be
rerun and 1 failed.
 
Summary: 1 task failed:
  /home/L9LOCAL0415TOOCHAINBLD/layers/oe-core/meta/recipes-kernel/linux/kernel-devsrc.bb:do_package
Summary: There were 5 ERROR messages shown, returning a non-zero exit
code.

It seems do_package thinks 
'/usr/src/kernel/Documentation/features/vm/ELF-ASLR/arch-support.txt' is an ELF file,  which is obviously not.

Open source community has patch for this:


http://lists.openembedded.org/pipermail/openembedded-core/2018-April/149979.html

Other Downloads


Live chat
Online