Fixed
Created: Mar 11, 2014
Updated: Dec 3, 2018
Resolved Date: Apr 2, 2014
Found In Version: 6.0
Fix Version: 6.0.0.6
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace
Build is on ala-blade2 (147.11.105.22) NIS=enabled
ala-blade2 is x86_64, is running CentOS 5.9
The build is in /ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world
Branch being built is WRLINUX_6_0_HEAD
Logfiles are 00-wrconfig.log and 00-wrbuild.log
Relevant bits of the config were:
intel-x86-64_cgl_world --enable-board=intel-x86-64 --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-bootimage=noimage
Failed step: do_compile in file: /ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world/bitbake_build/tmp/work/x86_64-wrs-linux/crypto-tools/20120127-r0/temp/do_compile/log.do_compile.20404
Here is some context from around the error:
--------------------------------------------------
[2014-03-11 18:31:28.764764000-07:00] NOTE: recipe aer-inject-git-r1: task do_populate_sysroot: Started
[2014-03-11 18:31:30.172526000-07:00] NOTE: recipe wrsv-ltt-4.0.11-r0: task do_install: Started
[2014-03-11 18:31:30.302950000-07:00] NOTE: recipe yasm-1.2.0-r0: task do_populate_sysroot: Started
[2014-03-11 18:31:31.267448000-07:00] ERROR: Function failed: do_compile (log file is located at /ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world/bitbake_build/tmp/work/x86_64-wrs-linux/crypto-tools/20120127-r0/temp/do_compile/log.do_compile.20404)
[2014-03-11 18:31:31.268705000-07:00] ERROR: Logfile of failure stored in: /ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world/bitbake_build/tmp/work/x86_64-wrs-linux/crypto-tools/20120127-r0/temp/do_compile/log.do_compile.20404
[2014-03-11 18:31:31.269806000-07:00] Log data follows:
[2014-03-11 18:31:31.392534000-07:00] | DEBUG: Executing shell function do_compile
[2014-03-11 18:31:31.394504000-07:00] | NOTE: make -j 20 -e MAKEFLAGS= CCOPTS= -O2 -pipe -g -feliminate-unused-debug-types
--
[2014-03-11 18:31:34.527171000-07:00] | exit 1
[2014-03-11 18:31:34.528438000-07:00] | ERROR: Function failed: do_compile (log file is located at /ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world/bitbake_build/tmp/work/x86_64-wrs-linux/crypto-tools/20120127-r0/temp/do_compile/log.do_compile.20404)
[2014-03-11 18:31:34.529558000-07:00] NOTE: recipe crypto-tools-20120127-r0: task do_compile: Failed
[2014-03-11 18:31:34.530649000-07:00] ERROR: Task 16248 (/ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world/layers/wr-common/wr-security/recipes-security/crypto-tools/crypto-tools_20120127.bb, do_compile) failed with exit code '1'
[2014-03-11 18:31:34.531689000-07:00] NOTE: recipe packagegroup-wr-core-security-1.0-r2: task do_compile: Started
[2014-03-11 18:31:34.533320000-07:00] NOTE: recipe intel-pcm-2.3a-r0: task do_populate_sysroot: Succeeded
[2014-03-11 18:31:35.138877000-07:00] NOTE: recipe lib32-enscript-1.6.6-r0: task do_configure: Succeeded
--------------------------------------------------
Here is the tail of log.do_compile.20404:
--------------------------------------------------
^
cryptotest.c:249:25: note: each undeclared identifier is reported only once for each function it appears in
cryptotest.c: In function 'crfind':
cryptotest.c:257:30: error: storage size of 'find' isn't known
static struct crypt_find_op find;
^
cryptotest.c:261:25: error: 'CRIOFINDDEV' undeclared (first use in this function)
if (ioctl(devcrypto(), CRIOFINDDEV, &find) == -1)
^
cryptotest.c: In function 'runtest':
cryptotest.c:299:21: error: storage size of 'sop' isn't known
struct session2_op sop;
^
cryptotest.c:329:37: error: 'CIOCGSESSION2' undeclared (first use in this function)
if (cmd == CIOCGSESSION || cmd == CIOCGSESSION2) {
^
cryptotest.c: In function 'main':
cryptotest.c:631:15: error: 'CIOCGSESSION2' undeclared (first use in this function)
u_long cmd = CIOCGSESSION2;
^
cryptotest.c:677:15: error: 'COP_F_BATCH' undeclared (first use in this function)
opflags |= COP_F_BATCH;
^
cryptotest.c:708:30: error: 'CRYPTO_MAX_DATA_LEN' undeclared (first use in this function)
while (sizes[nsizes-1] < (CRYPTO_MAX_DATA_LEN - 256)) {
^
make: *** [cryptotest] Error 1
make: *** Waiting for unfinished jobs....
cmactest.c: In function 'des_md5_hmac':
cmactest.c:52:21: error: storage size of 'sop' isn't known
struct session2_op sop;
^
cmactest.c:55:11: error: 'MD5_HASH_LEN' undeclared (first use in this function)
char mac[MD5_HASH_LEN];
^
cmactest.c:55:11: note: each undeclared identifier is reported only once for each function it appears in
cmactest.c:61:15: error: 'DES_MIN_KEY_LEN' undeclared (first use in this function)
sop.keylen = DES_MIN_KEY_LEN;
^
cmactest.c:73:13: error: 'CRYPTO_FLAG_HARDWARE' undeclared (first use in this function)
sop.crid = CRYPTO_FLAG_HARDWARE | CRYPTO_FLAG_SOFTWARE;
^
cmactest.c:73:36: error: 'CRYPTO_FLAG_SOFTWARE' undeclared (first use in this function)
sop.crid = CRYPTO_FLAG_HARDWARE | CRYPTO_FLAG_SOFTWARE;
^
cmactest.c:75:16: error: 'CIOCGSESSION2' undeclared (first use in this function)
if (ioctl(fd, CIOCGSESSION2, &sop) < 0) {
^
cmactest.c: In function 'md5_hmac':
cmactest.c:151:21: error: storage size of 'sop' isn't known
struct session2_op sop;
^
cmactest.c:153:11: error: 'MD5_HASH_LEN' undeclared (first use in this function)
char mac[MD5_HASH_LEN];
^
cmactest.c:165:13: error: 'CRYPTO_FLAG_HARDWARE' undeclared (first use in this function)
sop.crid = CRYPTO_FLAG_HARDWARE | CRYPTO_FLAG_SOFTWARE;
^
cmactest.c:165:36: error: 'CRYPTO_FLAG_SOFTWARE' undeclared (first use in this function)
sop.crid = CRYPTO_FLAG_HARDWARE | CRYPTO_FLAG_SOFTWARE;
^
cmactest.c:167:16: error: 'CIOCGSESSION2' undeclared (first use in this function)
if (ioctl(fd, CIOCGSESSION2, &sop) < 0) {
^
make: *** [cmactest] Error 1
make: *** [cryptokeytest] Error 1
ERROR: oe_runmake failed
WARNING: /ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world/bitbake_build/tmp/work/x86_64-wrs-linux/crypto-tools/20120127-r0/temp/do_compile/run.do_compile.20404:127 exit 1 from
exit 1
ERROR: Function failed: do_compile (log file is located at /ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world/bitbake_build/tmp/work/x86_64-wrs-linux/crypto-tools/20120127-r0/temp/do_compile/log.do_compile.20404)
--------------------------------------------------
Tree (WRLINUX_6_0_HEAD) pulled at: Tue Mar 11 16:43:18 PDT 2014
Repo in: ./.git
14a3b4b Update freeDiameter unit test doc
Repo in: layers/oe-core-dl/.git
102fbbd README: Update copyright date
Repo in: layers/wr-base/.git
e542696 JIRAID: LIN6-6621
Repo in: layers/wr-fixes/.git
e0af095 net-tools: fix do_patch_v2 breakage
Repo in: layers/wr-kernel/.git
c9ca07e edac: add dependency on dmidecode to powerpc
Repo in: layers/wr-kernel/git/kernel-3.4.x.git
d3decd7 kgit: creating baseline state
Repo in: layers/wr-kernel/git/kernel-3.4.x.git/
860927f ppc4xx: specify "-mcpu=405" as compiler flag for PPC4xx
--------------------------------------
BB_VERSION = "1.20.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "RedHat-5"
DISTRO = "wrlinux"
DISTRO_VERSION = "6.0.0.0"
MACHINE = "intel-x86-64"
DEFAULTTUNE = "x86-64"
TARGET_SYS = "x86_64-wrs-linux"
TUNE_FEATURES = "m64"
TARGET_FPU = ""
CSL_VER_MAIN = "4.8-28"
EXTERNAL_TOOLCHAIN = "/ala-blade2.2/builds-2014-03-11-164107/intel-x86-64_cgl_world/layers/wr-toolchain-shim/../binary-toolchain-4.8-28"
lib32: DEFAULTTUNE = "x86"
lib32: TARGET_SYS = "i586-wrs-linux"
lib32: TUNE_FEATURES = "m32"
wrlinux = "WRLINUX_6_0_HEAD:206c0a2c9ff3c788ac2ef33b44ef1eaaa9946b6c"
wrlcompat = "WRLINUX_6_0_HEAD:61e7c908f9b2dc289f380c0e015ee5af69d90756"
wr-toolchain-shim = "WRLINUX_6_0_HEAD:5887ea8945e8a0ab1f9ece30d4c66e3d5d1a0683"
wr-pro-toolchain
meta-sourcery = "WRLINUX_6_0_HEAD:6aa5f40b6e6e51c089cd01cb418f6079497d27f4"
wr-tcwrappers = "WRLINUX_6_0_HEAD:04532e9f170edc566435efc12fcf3e099a4eb27d"
meta = "wr-20131122:c26292f7b90f02b4ac01f35fc5212cb86393ebe6"
oe-core-dl-1.5 = "WRLINUX_6_0_HEAD:e3d2548fd066c7ea045a4381579230d2263d9b7f"
meta-downloads = "WRLINUX_6_0_HEAD:14a3b4b4bc38c454f0be6359f34c1239df94556b"
wr-kernel = "WRLINUX_6_0_HEAD:c9ca07eff6c0232a2215ccbe6b9d2873258264c2"
intel-x86 = "WRLINUX_6_0_HEAD:37c919ac915911c17d2d7e09e9031262d2d78f4e"
wr-base = "WRLINUX_6_0_HEAD:e5426960cf9636bc5fe4783265f606db8967b6a6"
wr-fixes = "WRLINUX_6_0_HEAD:e0af095522fafd5d9937ce36b124654902bbf5df"
wr-tools-profile = "WRLINUX_6_0_HEAD:879807c19a9950035aeddde7cca02e96c2f15553"
wr-tools-debug = "WRLINUX_6_0_HEAD:196456ba74d004748fa15d5897bc991ba642df06"
meta-networking = "wr-20131122:8f2e0f1fa8edfc6261202290e88196c8c077608a"
meta-webserver = "wr-20131122:6b994bcc76c7586180439e3ce2860fb5c92acc3e"
wr-prebuilts = "WRLINUX_6_0_HEAD:d307c00267216c44fc490fef363562f48ca31af5"
meta-selinux = "wr-20131122:d5f9dc4c511bb1804a7b7235a7609accda4b9a68"
wr-security = "WRLINUX_6_0_HEAD:d5c48f3778f07b23450aaa762b2e30e9073ac610"
cgp = "WRLINUX_6_0_HEAD:b3a66389d32f6573f7dd39351c177bb4c3217b48"
local = "<unknown>:<unknown>"
--------------------------------------
This file, and more detailed log info can be found at:
http://git.wrs.com/cgit/projects/nx-fails-6.0/.git/log/?h=intel-x86-64_cgl_world-crypto-tools_20120127-2014-03-11-164107
If this report appears bogus, please notify konrad.scherer@windriver.com
-----------------------------------------------------------------------------------------------------------------------
For p2020:
This file, and more detailed log info can be found at:
http://git.wrs.com/cgit/projects/nx-fails-6.0/.git/log/?h=fsl-p2020_cgl_world-crypto-tools_20120127-2014-03-11-105958
1 configure --enable-board=intel-x86-64 --enable-kernel=cgl --enable-rootfs=glibc_cgl
2 make -C build crypto-tools