* [meta-oe][PATCH] php: Fix libzip extension
@ 2019-04-15 1:37 aaron.chun.yew.chan
2019-04-17 4:06 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: aaron.chun.yew.chan @ 2019-04-15 1:37 UTC (permalink / raw)
To: openembedded-devel
From: Aaron Chun Yew Chan <aaron.chun.yew.chan@intel.com>
Phoronix Test Suite 8.x requires zlib and zip extension in PHP 7.x
Signed-off-by: Aaron Chun Yew Chan <aaron.chun.yew.chan@intel.com>
---
meta-oe/recipes-devtools/php/php.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index 6f893ad85..d2cd05f8e 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -47,7 +47,6 @@ EXTRA_OECONF = "--enable-mbstring \
--enable-fpm \
--with-libdir=${baselib} \
--with-gettext=${STAGING_LIBDIR}/.. \
- --with-libzip=${STAGING_LIBDIR}/.. \
--with-iconv=${STAGING_LIBDIR}/.. \
--with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \
--with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} \
@@ -64,7 +63,7 @@ EXTRA_OECONF_class-native = " \
${COMMON_EXTRA_OECONF} \
"
-PACKAGECONFIG ??= "mysql sqlite3 imap opcache openssl \
+PACKAGECONFIG ??= "zip mysql sqlite3 imap opcache openssl \
${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \
"
PACKAGECONFIG_class-native = ""
@@ -90,6 +89,7 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
+PACKAGECONFIG[zip] = "--enable-zip --with-libzip=${STAGING_LIBDIR}/..,--disable-zip, libzip"
export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php"
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-oe][PATCH] php: Fix libzip extension
2019-04-15 1:37 [meta-oe][PATCH] php: Fix libzip extension aaron.chun.yew.chan
@ 2019-04-17 4:06 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2019-04-17 4:06 UTC (permalink / raw)
To: Chan, Aaron Chun Yew; +Cc: openembeded-devel
I think this breaks php itself
https://errors.yoctoproject.org/Errors/Details/237658/
On Sun, Apr 14, 2019 at 6:38 PM <aaron.chun.yew.chan@intel.com> wrote:
>
> From: Aaron Chun Yew Chan <aaron.chun.yew.chan@intel.com>
>
> Phoronix Test Suite 8.x requires zlib and zip extension in PHP 7.x
>
> Signed-off-by: Aaron Chun Yew Chan <aaron.chun.yew.chan@intel.com>
> ---
> meta-oe/recipes-devtools/php/php.inc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
> index 6f893ad85..d2cd05f8e 100644
> --- a/meta-oe/recipes-devtools/php/php.inc
> +++ b/meta-oe/recipes-devtools/php/php.inc
> @@ -47,7 +47,6 @@ EXTRA_OECONF = "--enable-mbstring \
> --enable-fpm \
> --with-libdir=${baselib} \
> --with-gettext=${STAGING_LIBDIR}/.. \
> - --with-libzip=${STAGING_LIBDIR}/.. \
> --with-iconv=${STAGING_LIBDIR}/.. \
> --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \
> --with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} \
> @@ -64,7 +63,7 @@ EXTRA_OECONF_class-native = " \
> ${COMMON_EXTRA_OECONF} \
> "
>
> -PACKAGECONFIG ??= "mysql sqlite3 imap opcache openssl \
> +PACKAGECONFIG ??= "zip mysql sqlite3 imap opcache openssl \
> ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \
> "
> PACKAGECONFIG_class-native = ""
> @@ -90,6 +89,7 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \
> PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
> PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
> PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
> +PACKAGECONFIG[zip] = "--enable-zip --with-libzip=${STAGING_LIBDIR}/..,--disable-zip, libzip"
>
> export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
> export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-17 4:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-15 1:37 [meta-oe][PATCH] php: Fix libzip extension aaron.chun.yew.chan
2019-04-17 4:06 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.