[oe] [php]backport request pyro branch

idealsim idealsim at laposte.net
Thu Aug 17 17:21:16 UTC 2017


Hi, in pyro to build php we need this backport (pointed by Khem Ra, see 
under) :

http://git.openembedded.org/meta-openembedded/commit/?id=6cd249225ecdd0a4592afe1844541378acae6cea

regards,

Mickaël

-------- Message transféré --------
Sujet : 	Re: [yocto] [php7] packageconfig apache2 error
Date : 	Thu, 17 Aug 2017 08:32:01 -0700
De : 	Khem Raj <raj.khem at gmail.com>
Organisation : 	HIMVIS LLC
Pour : 	idealsim <idealsim at laposte.net>, Yocto list discussion 
<yocto at yoctoproject.org>



On 8/17/17 1:55 AM, idealsim wrote:
> Hi i would like to add modphp to my image (pyro branch). For this i add
> this to my local.conf :
>
> PACKAGECONFIG_append_pn-php = "apache2 pam"
> IMAGE_INSTALL_append = "\
> apache2 \
> php \
> php-cli \
> "
>
> But during the build of php (7.1.0 by default in pyro) i have this error
> during install :
>
> /|
> /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/php-7.1.0/build/shtool
> install -c ext/phar/phar.phar
> /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/image/usr/bin//
> //|   page: php-config.1//
> //| ln -s -f phar.phar
> /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/image/usr/bin/phar//
> //| Installing PDO headers:
> /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/image/usr/include/php/ext/pdo///
> //| //
> //| Notice: unserialize(): Error at offset 394 of 2427 bytes in
> phar:///media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/build/pear/install-pear-nozlib.phar/PEAR/Config.php
> on line 1080//
> //| ERROR: One of /home/modjo/.pearrc or
> /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/recipe-sysroot-native/usr/bin/../../etc//pear.conf
> is corrupt, please remove them and try againInstalling header
> files:
> /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/image/usr/include/php///
> //| install: cannot stat 'libs/libphp5.so': No such file or directory//
> //| WARNING: exit code 1 from a shell command.//
> //| ERROR: Function failed: do_install (log file is located at
> /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/temp/log.do_install.31439)//
> //ERROR: Task
> (/media/modjo/data1TO/yocto/pyro/sources/meta-openembedded/meta-oe/recipes-devtools/php/php_7.1.0.bb:do_install)
> failed with exit code '1'//
> //NOTE: Tasks Summary: Attempted 1283 tasks of which 1276 didn't need to
> be rerun and 1 failed./
>
> To resolve this i change this line (in php.inc) :
>
> /Line 179 install -m 755  libs/libphp5.so ${D}${libdir}/apache2/modules/
>
> by this one :
>
> /Line 179 install -m 755  libs/libphp7.so ${D}${libdir}/apache2/modules
>
> /Perhaps this recipe need a patch ?

yes. Backport
http://git.openembedded.org/meta-openembedded/commit/?id=6cd249225ecdd0a4592afe1844541378acae6cea

to pyro meta-openembedded repo.

Also send a backport request to openembedded-devel mailing list so that
the pyro maintainer for meta-openembedded notices it.
>
> Modjo
>




More information about the Openembedded-devel mailing list