diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-08-05 11:00:08 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-08-07 12:21:24 +0200 |
commit | 515935fb50754436a625a4ab9ff1b0b64af77128 (patch) | |
tree | ab2b5be3348a71527b6b946a31cceb47e0e2991c | |
parent | 8f1f90934d413c32f2a95642dba56b856d480b08 (diff) | |
download | meta-openembedded-515935fb50754436a625a4ab9ff1b0b64af77128.tar.gz |
php: add build-defs.h to SSTATE_SCAN_FILES it defines path to sysroot where pear.conf is later created
* without this fails in do_install (shr-core-branches is workspace where
we got SSTATE_MIRROR):
| [PEAR] PEAR - installed: 1.9.2
| Wrote PEAR system config file at:
/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image//var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/etc/pear.conf
| You may want to add: /usr/lib/php to your php.ini include_path
| Installing header files:
/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image/usr/include/php/
| sed: can't read
/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image//etc/pear.conf:
No such file or directory
| ERROR: Function failed: do_install (see
/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/temp/log.do_install.3783
for further information)
NOTE: package php-5.3.6-r0.0: task do_install: Failed
* it also has couple of unpackaged dirs in ${D} (all used in STAGING_DIR_NATIVE)
WARNING: QA Issue: php: Files/directories were installed but not shipped
/var
/var/lib
/var/lib/jenkins
/var/lib/jenkins/jobs
/var/lib/jenkins/jobs/shr-core
/var/lib/jenkins/jobs/shr-core/workspace
/var/lib/jenkins/jobs/shr-core/workspace/shr-core
/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc
/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/php/php.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index 7c0379864..320696c18 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc | |||
@@ -7,7 +7,7 @@ DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql5 \ | |||
7 | libc-client openssl" | 7 | libc-client openssl" |
8 | DEPENDS_virtclass-native = "zlib-native libxml2-native" | 8 | DEPENDS_virtclass-native = "zlib-native libxml2-native" |
9 | 9 | ||
10 | INC_PR = "r0" | 10 | INC_PR = "r1" |
11 | 11 | ||
12 | SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" | 12 | SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" |
13 | 13 | ||
@@ -15,6 +15,8 @@ S = "${WORKDIR}/php-${PV}" | |||
15 | 15 | ||
16 | inherit autotools pkgconfig pythonnative | 16 | inherit autotools pkgconfig pythonnative |
17 | 17 | ||
18 | SSTATE_SCAN_FILES += "build-defs.h" | ||
19 | |||
18 | # Common EXTRA_OECONF | 20 | # Common EXTRA_OECONF |
19 | COMMON_EXTRA_OECONF = "--enable-sockets --enable-pcntl --enable-shared" | 21 | COMMON_EXTRA_OECONF = "--enable-sockets --enable-pcntl --enable-shared" |
20 | EXTRA_OECONF = "--enable-mbstring --enable-discard-path --enable-wddx \ | 22 | EXTRA_OECONF = "--enable-mbstring --enable-discard-path --enable-wddx \ |