Wind River Support Network

HomeDefectsLIN6-9270
Fixed

LIN6-9270 : intel-quark: Failed to build due to efitools with scp

Created: Jan 19, 2015    Updated: Dec 3, 2018
Resolved Date: Jan 20, 2015
Found In Version: 6.0
Fix Version: 6.0.0.17
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

Build:
configure --enable-board=intel-quark --enable-reconfig=yes --enable-addons=wr-secure --enable-kernel=secure --enable-rootfs=secure-platform --with-template=feature/secure-boot,feature/bts --with-layer=/wrlinux/wr-testing/bts-dev/ --enable-parallel-pkgbuilds=10 --enable-jobs=10 && make fs

Failed logs:
Please verify which package should provide the above files.
ERROR: Function failed: do_compile (log file is located at /secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/temp/do_compile/log.do_compile.47017)
ERROR: Logfile of failure stored in: /secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/temp/do_compile/log.do_compile.47017
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 10 ARCH=i586 EXTRA_LDFLAGS=-D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib INCDIR_PREFIX=/secure-boot/bitbake_build/tmp/sysroots/intel-quark EXTRA_INCS=-I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include CRTPATH_PREFIX=/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux EXTERNAL_DB=/secure-boot/layers/wr-common/wr-security/templates/feature/secure-boot/keys/vendor EXTERNAL_PK_KEK=/secure-boot/layers/wr-common/wr-security/templates/feature/secure-boot/keys/owner libenroll.a efi-readvar efi-keytool efi-updatevar
| i586-wrs-linux-gcc  -m32 -march=i586 -tpentium  --sysroot=/secure-boot/bitbake_build/tmp/sysroots/intel-quark -I/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/ -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/i586 -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/protocol -I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DCONFIG_i586 -c lib-lockdown.c -o lib-lockdown.o
| i586-wrs-linux-gcc  -m32 -march=i586 -tpentium  --sysroot=/secure-boot/bitbake_build/tmp/sysroots/intel-quark -I/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/ -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/i586 -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/protocol -I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DCONFIG_i586 -fno-toplevel-reorder -DBUILD_EFI -c lib/guid.c -o lib/guid.efi.o
| i586-wrs-linux-gcc  -m32 -march=i586 -tpentium  --sysroot=/secure-boot/bitbake_build/tmp/sysroots/intel-quark -I/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/ -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/i586 -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/protocol -I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DCONFIG_i586 -c efi-readvar.c -o efi-readvar.o
| make -C lib lib.a
| In file included from lib-lockdown.c:8:0:
| /secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/efi.h:35:21: fatal error: efibind.h: No such file or directory
|  #include "efibind.h"
|                      ^
| compilation terminated.
| make[1]: Entering directory `/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/lib'
| i586-wrs-linux-gcc  -m32 -march=i586 -tpentium  --sysroot=/secure-boot/bitbake_build/tmp/sysroots/intel-quark -I/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/ -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/i586 -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/protocol -I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DCONFIG_i586 -c simple_file.c -o simple_file.o
| make: *** [lib-lockdown.o] Error 1
| make: *** Waiting for unfinished jobs....
| In file included from /secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/guid.h:1:0,
|                  from lib/guid.c:7:
| /secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/efi.h:35:21: fatal error: efibind.h: No such file or directory
|  #include "efibind.h"
|                      ^
| compilation terminated.
| make: *** [lib/guid.efi.o] Error 1
| i586-wrs-linux-gcc  -m32 -march=i586 -tpentium  --sysroot=/secure-boot/bitbake_build/tmp/sysroots/intel-quark -I/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/ -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/i586 -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/protocol -I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DCONFIG_i586 -c pecoff.c -o pecoff.o
| i586-wrs-linux-gcc  -m32 -march=i586 -tpentium  --sysroot=/secure-boot/bitbake_build/tmp/sysroots/intel-quark -I/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/ -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/i586 -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/protocol -I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DCONFIG_i586 -c guid.c -o guid.o
| i586-wrs-linux-gcc  -m32 -march=i586 -tpentium  --sysroot=/secure-boot/bitbake_build/tmp/sysroots/intel-quark -I/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/ -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/i586 -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/protocol -I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DCONFIG_i586 -c sha256.c -o sha256.o
| i586-wrs-linux-gcc  -m32 -march=i586 -tpentium  --sysroot=/secure-boot/bitbake_build/tmp/sysroots/intel-quark -I/secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/ -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/i586 -I/secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/protocol -I/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -L/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib     -Wl,-rpath -Wl,/secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/../../lib -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DCONFIG_i586 -c console.c -o console.o
| In file included from simple_file.c:7:0:
| /secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/efi.h:35:21: fatal error: efibind.h: No such file or directory
|  #include "efibind.h"
|                      ^
| compilation terminated.
| make[1]: *** [simple_file.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| In file included from pecoff.c:51:0:
| /secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/efi.h:35:21: fatal error: efibind.h: No such file or directory
|  #include "efibind.h"
|                      ^
| compilation terminated.
| make[1]: *** [pecoff.o] Error 1
| In file included from /secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/git/include/guid.h:1:0,
|                  from guid.c:7:
| /secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/efi.h:35:21: fatal error: efibind.h: No such file or directory
|  #include "efibind.h"
|                      ^
| compilation terminated.
| In file included from sha256.c:21:0:
| /secure-boot/bitbake_build/tmp/sysroots/x86_64-linux/usr/include/efi/efi.h:35:21: fatal error: efibind.h: No such file or directory
|  #include "efibind.h"
|                      ^
| compilation terminated.
| make[1]: *** [guid.o] Error 1
| make[1]: *** [sha256.o] Error 1
| make[1]: *** wait: No child processes.  Stop.
| make: *** [lib/lib.a] Error 2
| In file included from efi-readvar.c:21:0:
| /secure-boot/bitbake_build/tmp/sysroots/intel-quark/usr/include/efi/efi.h:35:21: fatal error: efibind.h: No such file or directory
|  #include "efibind.h"
|                      ^
| compilation terminated.
| make: *** [efi-readvar.o] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /secure-boot/bitbake_build/tmp/work/i586-wrs-linux/efitools/git-r12/temp/do_compile/log.do_compile.47017)
ERROR: Task 767 (/secure-boot/layers/wr-common/wr-security/recipes-uefi/efitools/efitools_git.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4237 tasks of which 305 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /secure-boot/layers/wr-common/wr-security/recipes-uefi/efitools/efitools_git.bb, do_compile
Summary: There were 8 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [export/intel-quark-secure-platform-secure-dist.tar.bz2] Error 1
$

Other Downloads


Live chat
Online