Fixed
Created: Dec 4, 2013
Updated: Dec 3, 2018
Resolved Date: Dec 18, 2013
Found In Version: 6.0
Fix Version: 6.0.0.2
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace
Problem Description
======================
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/bitbake_build/tmp/work/mips64-xlp-n32-wrsmllibn32-linux-gnun32/libn32-strongswan/5.0.0-r5/strongswan-5.0.0'
DEBUG: Python function do_qa_configure finished
ERROR: Function failed: do_qa_configure
nxadm@ala-blade38> grep -B 2 unsafe config.log |tail -n 3
configure:17561: checking for main in -lcrypto
configure:17580: mips64-wrsmllibn32-linux-gnun32-gcc -meb -mabi=n32 -mhard-float -march=xlp --sysroot=/home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/bitbake_build/tmp/sysroots/libn32-bcm-xlp -o conftest -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -Wl,-O1 -L/usr/lib32 conftest.c -lcrypto >&5
/home/nxadm/nx/ala-blade38.1/wrlinux-x/layers/binary-toolchain-4.8-27/bin/../lib/gcc/mips-wrs-linux-gnu/4.8.1/../../../../mips-wrs-linux-gnu/bin/ld: warning: library search path "/usr/lib32" is unsafe for cross-compilation
Expected Behaviour
======================
Observed Behaviour
======================
Build is on ala-blade38 (147.11.105.58) NIS=enabled
ala-blade38 is x86_64, is running Ubuntu 12.04
The build is in /home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd
Branch being built is master
Logfiles are 00-wrconfig.log and 00-wrbuild.log
Relevant bits of the config were:
bcm-xlp_world_bd --enable-board=bcm-xlp --enable-rootfs=glibc-std --enable-kernel=standard --with-layer=meta-selinux --enable-bootimage=noimage --enable-build=debug
Failed step: do_configure in file: /home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/bitbake_build/tmp/work/mips64-xlp-n32-wrsmllibn32-linux-gnun32/libn32-strongswan/5.0.0-r5/temp/do_configure/log.do_configure.48851
Here is some context from around the error:
--------------------------------------------------
[2013-12-04 22:07:41.839547321-08:00] NOTE: recipe gstreamer1.0-plugins-bad-1.0.9-r0: task do_compile: Started
[2013-12-04 22:07:42.301867156-08:00] NOTE: recipe tnftp-20100108-r0: task do_install: Succeeded
[2013-12-04 22:07:42.325887862-08:00] NOTE: recipe libo32-hwlatdetect-0.85-r2.0: task do_package: Succeeded
[2013-12-04 22:07:42.362895603-08:00] ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
[2013-12-04 22:07:42.364604792-08:00] Rerun configure task after fixing this. The path was '/home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/bitbake_build/tmp/work/mips64-xlp-n32-wrsmllibn32-linux-gnun32/libn32-strongswan/5.0.0-r5/strongswan-5.0.0'
[2013-12-04 22:07:42.367677998-08:00] ERROR: Function failed: do_qa_configure
[2013-12-04 22:07:42.532692121-08:00] ERROR: Logfile of failure stored in: /home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/bitbake_build/tmp/work/mips64-xlp-n32-wrsmllibn32-linux-gnun32/libn32-strongswan/5.0.0-r5/temp/do_configure/log.do_configure.48851
[2013-12-04 22:07:42.534411086-08:00] NOTE: recipe libn32-strongswan-5.0.0-r5: task do_configure: Failed
[2013-12-04 22:07:42.537322710-08:00] NOTE: Running task 31580 of 38680 (ID: 18761, virtual:multilib:libo32:/home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/layers/oe-core/meta/recipes-rt/rt-tests/hwlatdetect_0.85.bb, do_packagedata)
[2013-12-04 22:07:42.544658212-08:00] NOTE: Running task 31581 of 38680 (ID: 19017, /home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/layers/wr-base/recipes-networking/tnftp/tnftp_20100108.bb, do_package)
[2013-12-04 22:07:42.548721392-08:00] ERROR: Task 19117 (virtual:multilib:libn32:/home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/layers/meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb, do_configure) failed with exit code '1'
[2013-12-04 22:07:42.565061985-08:00] NOTE: recipe memcached-1.4.15-r0: task do_populate_lic: Succeeded
[2013-12-04 22:07:43.448280733-08:00] NOTE: recipe libo32-pptp-linux-1.7.2-r1: task do_package_write_rpm: Started
[2013-12-04 22:07:43.465786458-08:00] NOTE: recipe libo32-mtr-0.82-r0: task do_packagedata: Succeeded
--------------------------------------------------
Here is the tail of log.do_configure.48851:
--------------------------------------------------
config.status: creating src/libcharon/plugins/eap_simaka_pseudonym/Makefile
config.status: creating src/libcharon/plugins/eap_simaka_reauth/Makefile
config.status: creating src/libcharon/plugins/eap_mschapv2/Makefile
config.status: creating src/libcharon/plugins/eap_tls/Makefile
config.status: creating src/libcharon/plugins/eap_ttls/Makefile
config.status: creating src/libcharon/plugins/eap_peap/Makefile
config.status: creating src/libcharon/plugins/eap_tnc/Makefile
config.status: creating src/libcharon/plugins/eap_radius/Makefile
config.status: creating src/libcharon/plugins/xauth_generic/Makefile
config.status: creating src/libcharon/plugins/xauth_eap/Makefile
config.status: creating src/libcharon/plugins/tnc_ifmap/Makefile
config.status: creating src/libcharon/plugins/tnc_pdp/Makefile
config.status: creating src/libcharon/plugins/tnc_imc/Makefile
config.status: creating src/libcharon/plugins/tnc_imv/Makefile
config.status: creating src/libcharon/plugins/tnc_tnccs/Makefile
config.status: creating src/libcharon/plugins/tnccs_11/Makefile
config.status: creating src/libcharon/plugins/tnccs_20/Makefile
config.status: creating src/libcharon/plugins/tnccs_dynamic/Makefile
config.status: creating src/libcharon/plugins/socket_default/Makefile
config.status: creating src/libcharon/plugins/socket_raw/Makefile
config.status: creating src/libcharon/plugins/socket_dynamic/Makefile
config.status: creating src/libcharon/plugins/farp/Makefile
config.status: creating src/libcharon/plugins/smp/Makefile
config.status: creating src/libcharon/plugins/sql/Makefile
config.status: creating src/libcharon/plugins/medsrv/Makefile
config.status: creating src/libcharon/plugins/medcli/Makefile
config.status: creating src/libcharon/plugins/addrblock/Makefile
config.status: creating src/libcharon/plugins/uci/Makefile
config.status: creating src/libcharon/plugins/ha/Makefile
config.status: creating src/libcharon/plugins/whitelist/Makefile
config.status: creating src/libcharon/plugins/certexpire/Makefile
config.status: creating src/libcharon/plugins/led/Makefile
config.status: creating src/libcharon/plugins/duplicheck/Makefile
config.status: creating src/libcharon/plugins/coupling/Makefile
config.status: creating src/libcharon/plugins/radattr/Makefile
config.status: creating src/libcharon/plugins/android/Makefile
config.status: creating src/libcharon/plugins/maemo/Makefile
config.status: creating src/libcharon/plugins/stroke/Makefile
config.status: creating src/libcharon/plugins/updown/Makefile
config.status: creating src/libcharon/plugins/dhcp/Makefile
config.status: creating src/libcharon/plugins/unit_tester/Makefile
config.status: creating src/libcharon/plugins/load_tester/Makefile
config.status: creating src/stroke/Makefile
config.status: creating src/ipsec/Makefile
config.status: creating src/starter/Makefile
config.status: creating src/_updown/Makefile
config.status: creating src/_updown_espmark/Makefile
config.status: creating src/_copyright/Makefile
config.status: creating src/openac/Makefile
config.status: creating src/scepclient/Makefile
config.status: creating src/pki/Makefile
config.status: creating src/dumm/Makefile
config.status: creating src/dumm/ext/extconf.rb
config.status: creating src/libfast/Makefile
config.status: creating src/manager/Makefile
config.status: creating src/medsrv/Makefile
config.status: creating src/checksum/Makefile
config.status: creating src/conftest/Makefile
config.status: creating scripts/Makefile
config.status: creating testing/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-silent-rules
DEBUG: Shell function do_configure finished
DEBUG: Executing python function do_qa_configure
NOTE: Checking autotools environment for common misconfiguration
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/bitbake_build/tmp/work/mips64-xlp-n32-wrsmllibn32-linux-gnun32/libn32-strongswan/5.0.0-r5/strongswan-5.0.0'
DEBUG: Python function do_qa_configure finished
ERROR: Function failed: do_qa_configure
--------------------------------------------------
Tree (master) pulled at: Wed Dec 4 15:20:52 PST 2013
Repo in: ./.git
a0c6a70 Revert "LB28_6.0"
Repo in: layers/oe-core-dl/.git
Repo in: layers/wr-base/.git
36301c8 samba: run populate-volatile.sh in post script
Repo in: layers/wr-fixes/.git
6236da2 ptest-runner: move ptest-summary back to wr-base
Repo in: layers/wr-kernel/.git
238d764 remove definition of unused #define __unused
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 = "Ubuntu-12.04"
DISTRO = "wrlinux"
DISTRO_VERSION = "6.0.0.0"
MACHINE = "bcm-xlp"
DEFAULTTUNE = "mips64-xlp-n64"
TARGET_SYS = "mips64-wrs-linux"
TUNE_FEATURES = "n64 bigendian fpu-hard xlp"
TARGET_FPU = ""
CSL_VER_MAIN = "4.8-25"
EXTERNAL_TOOLCHAIN = "/home/nxadm/nx/ala-blade38.1/builds-2013-12-04-151922/bcm-xlp_world_bd/layers/wr-toolchain-shim/../binary-toolchain-4.8-27"
libn32: DEFAULTTUNE = "mips64-xlp-n32"
libn32: TARGET_SYS = "mips64-wrs-linux-gnun32"
libn32: TUNE_FEATURES = "n32 bigendian fpu-hard xlp"
libo32: DEFAULTTUNE = "mips32-xlp"
libo32: TARGET_SYS = "mips-wrs-linux"
libo32: TUNE_FEATURES = "o32 bigendian fpu-hard xlp"
wrlinux = "master:34c84478077a1be4945d43f76bf032cb30e578f0"
wrlcompat = "master:23b219c7d05668a024ca9ccd9900a446c82b21a8"
wr-toolchain-shim = "master:28d717d27bbe8c69e966a315675ee11905148d31"
wr-pro-toolchain
meta-sourcery = "master:36d846e5dc12e31924049584668748e30e77bf07"
wr-tcwrappers = "master:04532e9f170edc566435efc12fcf3e099a4eb27d"
meta = "wr-20131122:8e61cc07ff1df6abf03da12eaaee9d0547e680f9"
oe-core-dl-1.5 = "master:27f31ed8b44ebeb33f1621aa5cc97f3856667cf6"
meta-downloads = "master:a0c6a701b2f12dc37fd19ccb9805ce0f0ddbfcea"
wr-kernel = "master:238d76461ea7a71b7c36c1313be668bef7adf256"
bcm-xlp = "master:0ab0ad9b59a13c4734a871dd43a7ce9066f52b9a"
wr-base = "master:36301c82ff2f0a38684468601e28fc754429569d"
wr-fixes = "master:6236da28c6bd5907648daa0c7d1e6355a14cf5ce"
wr-tools-profile = "master:2c626423b336cb942e626b589cbfee8af80f63d7"
wr-tools-debug = "master:04785cd2e8c7be81d8ee7461cdd0a150389e0086"
meta-networking = "wr-20131122:c6062fbf1d90c4574856811fdcb422b7793de1b2"
meta-webserver = "wr-20131122:6ce9b721128dcdfd282c7b872cc95912030c1bd3"
wr-prebuilts = "master:d307c00267216c44fc490fef363562f48ca31af5"
meta-selinux = "wr-20131122:49f62e50caef4652be5b3e075382417e4b90a5ea"
local = "<unknown>:<unknown>"
--------------------------------------
configure with:
--enable-board=bcm-xlp --enable-rootfs=glibc-std --enable-kernel=standard --with-layer=meta-selinux --enable-bootimage=noimage --enable-build=debug