On 3/11/21 1:40 AM, Diego Santa Cruz wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]
-----Original Message-----
From: [email protected] <openembedded-
[email protected]> On Behalf Of Changqing Li via
lists.openembedded.org
Sent: 10 March 2021 01:54
To: [email protected]
Subject: [oe] [meta-oe][PATCH] php: update RDEPENDS
From: Changqing Li <[email protected]>
Since commit c4ffcaa2[php: split out phpdbg into a separate package], package
php is empty, remove it from RDEPENDS to avoid error:
nothing provides php needed by php-cli-7.4.9-r0.corei7_64
Signed-off-by: Changqing Li <[email protected]>
---
meta-oe/recipes-devtools/php/php_7.4.9.bb | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/meta-oe/recipes-devtools/php/php_7.4.9.bb b/meta-oe/recipes-
devtools/php/php_7.4.9.bb
index f8a8755b9..d6df998f3 100644
--- a/meta-oe/recipes-devtools/php/php_7.4.9.bb
+++ b/meta-oe/recipes-devtools/php/php_7.4.9.bb
@@ -208,11 +208,8 @@ MODPHP_PACKAGE =
"${@bb.utils.contains('PACKAGECONFIG', 'apache2', '${PN}-modphp PACKAGES
= "${PN}-dbg ${PN}-cli ${PN}-phpdbg ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2
${PN}-pear ${PN}-phar ${MODPHP_PACKAGE} ${PN}-dev ${PN}-staticdev ${PN}-
doc ${PN}-opcache ${PN}"
RDEPENDS_${PN} += "libgcc"
-RDEPENDS_${PN}-pear = "${PN}"
RDEPENDS_${PN}-phar = "${PN}-cli"
-RDEPENDS_${PN}-cli = "${PN}"
-RDEPENDS_${PN}-modphp = "${PN} apache2"
-RDEPENDS_${PN}-opcache = "${PN}"
+RDEPENDS_${PN}-modphp = "apache2"
I do not think this is the correct fix. In many situations php.ini files from a
bbappend will be part of the php package (that is my case and why I did not
notice the above problem when I split phpdbg), are common to various SAPIs. I
do not know why the current recipe does not install a php.ini file though, I
thought it did. Probably the best solution is to just allow php to be an empty
package with the following (it will make life easier for bbappends that need to
ship a php.ini).
ALLOW_EMPTY_${PN} = "1"
Thanks. I will resend the patch.
INITSCRIPT_PACKAGES = "${PN}-fpm"
inherit update-rc.d
--
2.17.1
--
Diego Santa Cruz, PhD
Technology Architect
spinetix.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90024):
https://lists.openembedded.org/g/openembedded-devel/message/90024
Mute This Topic: https://lists.openembedded.org/mt/81216806/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-