Wind River Support Network

HomeDefectsLIN5-3651
Fixed

LIN5-3651 : modphp do_configure() failed with sstate enabled

Created: Jul 28, 2013    Updated: Dec 19, 2017
Resolved Date: Aug 12, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.7
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

 modphp do_configure() failed with sstate enabled
This defect was introduced by WIND00427439:apr-native do_compile() failed with sstate enabled.

It try to found a invalid file path. /buildarea1/build/xxxx/test was already removed

Please see modphp-5.3.14-r3/temp/log.do_configure
Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /buildarea1/build/xxxx/apr-sstate/bitbake_build/tmp/sysroots/intel-xeon-core/usr/bin/crossscripts/apxs follows:
cannot open /buildarea1/build/xxxx/test/bitbake_build/tmp/sysroots/intel-xeon-core//usr/share/apache2/build/config_vars.mk: No such file or directory at /buildarea1/build/xxxx/apr-sstate/bitbake_build/tmp/sysroots/intel-xeon-core/usr/bin/crossscripts/apxs line 201.
configure: error: Aborting
Configure failed. The contents of all config.log files follows to aid debugging
/buildarea1/build/xxxx/apr-sstate/bitbake_build/tmp/work/x86_64-wrs-linux/modphp-5.3.14-r3/php-5.3.14/config.log 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.68.  Invocation command line was 

Workaround

Workaround: make -C build apache2.distclean && make -C build apache2 

Steps to Reproduce

 1. /lpg-build/cdc/fast_prod/wrlinuxovp/dvd_install/lv02_13sp/wrlinux-5/wrlinux/configure --enable-rootfs=ovp-kvm --enable-addons=wr-ovp --enable-board=intel-xeon-core --with-package=wrs-kvm-helper --with-template=feature/debug,feature/openvswitch,feature/ovp-benchmark,feature/vxlan,feature/virtio,feature/target-toolchain,feature/benchmark --enable-parallel-pkgbuilds=8 --enable-jobs=8 --with-sstate-dir=/buildarea1/build/PUBLIC_SSTATES/intel-xeon-core --with-rcpl-version=0006
2. make all   

Other Downloads


Live chat
Online