Wind River Support Network

HomeDefectsLIN5-18446
Fixed

LIN5-18446 : apache's apxs has libtool issues

Created: Apr 1, 2014    Updated: Dec 19, 2017
Resolved Date: May 7, 2014
Found In Version: 5.0.1.11
Fix Version: 5.0.1.15
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Issue: There's a problem with the apache package:

<sysroots>/.../usr/bin/crosscripts/apxs hardcodes the following, which
doesn't exist:

my $libtool = "/5.0/build-controller-March28/bitbake_build/tmp/sysroots/
intel-xeon-core/usr/bin/crossscripts/x86-64-wrswrap-linux-gnu-libtool";

So if I call:
/5.0/build-controller-March31/bitbake_build/tmp/sysroots/intel-xeon-core
/usr/bin/crossscripts/apxs -c  -Wc,-O2 -Wc,-pipe -Wc,-g -Wc,-I/5.0/build
-controller-March31/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/apache2
 mod_wsgi.c

I get:
sh: 1: /5.0/build-controller-March28/bitbake_build/tmp/sysroots/intel-xe
on-core/usr/bin/crossscripts/x86-64-wrswrap-linux-gnu-libtool: not found
apxs:Error: Command failed with rc=8323072

Workaround

(meta-webserver)

apache2_2.4.2.bb:

comment out the following line:
apache_sysroot_preprocess () {
   ...
   # sed -i 's!my $libtool = .*!my $libtool = "${STAGING_BINDIR_CROSS}/${TARGET_PREFIX}libtool";!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
   ...
}

Other Downloads


Live chat
Online