Wind River Support Network

HomeDefectsLIN7-3206
Fixed

LIN7-3206 : hostapd fails QA check due to obvious host contamination.

Created: Mar 20, 2015    Updated: Sep 8, 2018
Resolved Date: Mar 29, 2015
Found In Version: 7.0
Fix Version: 7.0.0.4
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

Generic WR7 -rt build fails on OP3.  Config is:

dell-9020:~/7.x/builds/rt$ head config.log 
# Generated by wrlinux configure at Fri Mar 20 10:20:08 EDT 2015
/7.x/wrlinux-x/wrlinux/configure --enable-board=intel-x86_64 --enable-rootfs=glibc_std --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-kernel=preempt_rt --enable-reconfig --with-rcpl-version=0
dell-9020:~/7.x/builds/rt$ 

compile log for hostapd is full of these lines:

cc1: warning: include location "/usr/include/libnl3" is unsafe for cross-compilation [-Wpoison-system-directories]
  CC  main.c
cc1: warning: include location "/usr/include/libnl3" is unsafe for cross-compilation [-Wpoison-system-directories]
  CC  config_file.c
cc1: warning: include location "/usr/include/libnl3" is unsafe for cross-compilation [-Wpoison-system-directories]
  CC  ../src/ap/hostapd.c
cc1: warning: include location "/usr/include/libnl3" is unsafe for cross-compilation [-Wpoison-system-directories]
  CC  ../src/ap/wpa_auth_glue.c
cc1: warning: include location "/usr/include/libnl3" is unsafe for cross-compilation [-Wpoison-system-directories]
  CC  ../src/ap/drv_callbacks.c
cc1: warning: include location "/usr/include/libnl3" is unsafe for cross-compilation [-Wpoison-system-directories]
  CC  ../src/ap/ap_drv_ops.c
cc1: warning: include location "/usr/include/libnl3" is unsafe for cross-compilation [-Wpoison-system-directories]
  CC  ../src/ap/utils.c


This causes an overall build failure as follows:


Creating export directory
Creating project properties
ERROR: QA Issue: hostapd: The compile log indicates that host include and/or library paths were used.
         Please check the log '/7.x/builds/rt/bitbake_build/tmp/work/core2-64-wrs-linux/hostapd/2.2-r0/temp/log.do_compile' for more information. [compile-host-path]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /7.x/builds/rt/bitbake_build/tmp/work/core2-64-wrs-linux/hostapd/2.2-r0/temp/do_package_qa/log.do_package_qa.24655
ERROR: Task 423 (/7.x/builds/rt/layers/meta-oe-subset/recipes-connectivity/hostapd/hostapd_2.2.bb, do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4340 tasks of which 1256 didn't need to be rerun and 1 failed.

 

Other Downloads


Live chat
Online