Wind River Support Network

HomeDefectsOPS-176
Not to be fixed

OPS-176 : mod-wsgi build fails (suspect shared sstate issue)

Created: Sep 24, 2014    Updated: Nov 4, 2016
Resolved Date: Mar 17, 2016
Found In Version: Havana 2013.2 RCPL 5.0.1.19
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Support Packages

Description

mod_wsgi fails in do_configure:
---
| checking Apache version... cannot open /data/fast_build/23221/bitbake_build/tmp/sysroots/intel-xeon-core//usr/share/apache2/build/config_vars.mk: No such file or directory at /data/fast_build/24079/bitbake_build/tmp/sysroots/intel-xeon-core/usr/bin/crossscripts/apxs line 201.
| cannot open /data/fast_build/23221/bitbake_build/tmp/sysroots/intel-xeon-core//usr/share/apache2/build/config_vars.mk: No such file or directory at /data/fast_build/24079/bitbake_build/tmp/sysroots/intel-xeon-core/usr/bin/crossscripts/apxs line 201.
| cannot open /data/fast_build/23221/bitbake_build/tmp/sysroots/intel-xeon-core//usr/share/apache2/build/config_vars.mk: No such file or directory at /data/fast_build/24079/bitbake_build/tmp/sysroots/intel-xeon-core/usr/bin/crossscripts/apxs line 201.
| /data/fast_build/24079/bitbake_build/tmp/work/x86_64-wrs-linux/mod-wsgi-3.4-r0/mod_wsgi-3.4/configure: line 1744: /: is a directory
| 

Workaround

The following should force the apache2 files to be available in the sysroot

make bbs
bitbake apache2 -c cleanall
bitbake mod-wsgi -c cleanall
bitbake mod-wsgi

Steps to Reproduce

wrlinux-5/wrlinux/configure \
--enable-rootfs=ovp-openstack-controller \
--enable-ccache=yes \
--with-layer=meta-cloud-services/meta-openstack-qemu, \
--enable-addons=wr-ovp-openstack,wr-ovp \
--with-ccache-dir=/buildarea/fast_prod/ccache_dir_501 \
--with-sstate-dir=/buildarea/fast_prod/sstate_dir_501 \
-enable-internet-download=yes \
--enable-board=intel_xeon_core

make
Live chat
Online