From: gmane@reliableembeddedsystems.com
To: openembedded-devel@lists.openembedded.org
Cc: robert.berger@reliableembeddedsystems.com
Subject: Re: [meta-oe] [PATCH v4] add php 7.1.0
Date: Wed, 24 May 2017 14:38:26 -0500 [thread overview]
Message-ID: <699dad9dcbac38153aa5fbdc1cff0176@reliableembeddedsystems.com> (raw)
Hi,
On 2016-12-26 16:39, Huang Qiyu wrote:
> 1)Add php_7.1.0.bb
> 2)Delete php_5.5.38.bb,since it is Replaced by php_5.6.26.bb.
> 3)Move pthread-check-threads-m4.patch out of 7.1.0, since it is
> integrated upstream.
>
> Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
I took the latest and greatest php 7.1.0 from master
http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/php
And added php (among other things) to a poky/pyro core-image-sato-sdk
and built an extensible SDK
bitbake core-image-sato-sdk -c populate_sdk_ext
When I try to install the SDK
./poky-glibc-x86_64-core-image-sato-sdk-armv7a-neon-toolchain-ext-2.3.sh
I get:
Extracting
SDK................................................................................................................................done
Setting it up...
Extracting buildtools...
Preparing build system...
Parsing recipes: 100%
|#########################################################################################################################|
Time: 0:00:41
Initialising tasks: 100%
|######################################################################################################################|
Time: 0:00:15
Checking sstate mirror object availability: 100%
|##############################################################################################|
Time: 0:00:00
WARNING: Logfile for failed setscene task is
/opt/ext-sdk/poky/2.3/tmp/work/x86_64-linux/php-native/7.1.0-r0/temp/log.do_populate_sysroot_setscene.24207
WARNING: Setscene task
(virtual:native:/opt/ext-sdk/poky/2.3/layers/multi-v7-ml/recipes-devtools/php.ori/php_7.1.0.bb:do_populate_sysroot_setscene)
failed with exit code '1' - real task will be run instead
ERROR: Task php-native.do_populate_sysroot_setscene failed
ERROR: SDK preparation failed: error log written to
/opt/ext-sdk/poky/2.3/preparing_build_system.log
I believe the problem is in:
php_sstate_postinst
In cooker mode I am able to see related warnings like this:
bitbake php-native -c clean && bitbake php-native
you might need to run it twize
NOTE: Executing SetScene Tasks
WARNING: Logfile for failed setscene task is
/tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal-sato-sdk-ext/build/build/tmp/work/x86_64-linux/php-native/7.1.0-r1/temp/log.do_populate_sysroot_setscene.6285
WARNING: Setscene task
(virtual:native:/tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal-sato-sdk-ext/build/meta-mainline/multi-v7-ml/recipes-devtools/php/php_7.1.0.bb:do_populate_sysroot_setscene)
failed with exit code '1' - real task will be run instead
NOTE: Executing RunQueue Tasks
Note that with -c cleansstate or -c cleanall you won't see the warning
I hacked this to make it compile without a warning - not sure it is
correct:
php_sstate_postinst() {
if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
then
head -n1 ${SYSROOT_DESTDIR}${sysconfdir}/pear.conf >
${SYSROOT_DESTDIR}${sysconfdir}/pear.tmp.conf
for p in `tail -n1 ${SYSROOT_DESTDIR}${sysconfdir}/pear.conf |
sed -s 's/;/ /g'`; do
echo $p | awk -F: 'BEGIN {OFS = ":"; ORS =
";"}{if(NF==3){print $1, length($3)-2*match($3, /^"/), $3} else {print
$0}}';
done >> ${SYSROOT_DESTDIR}${sysconfdir}/pear.tmp.conf
mv -f ${SYSROOT_DESTDIR}${sysconfdir}/pear.tmp.conf
${SYSROOT_DESTDIR}/${sysconfdir}/pear.conf
fi
}
Can you please have a look?
Regards,
Robert
next reply other threads:[~2017-05-24 21:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-24 19:38 gmane [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-12-26 14:39 [meta-oe] [PATCH v4] add php 7.1.0 Huang Qiyu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=699dad9dcbac38153aa5fbdc1cff0176@reliableembeddedsystems.com \
--to=gmane@reliableembeddedsystems.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=robert.berger@reliableembeddedsystems.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox