Thanks. Updated PKGBUILD
Search Criteria
Package Details: php72-bz2 7.2.34-15
Package Actions
Git Clone URL: | https://aur.archlinux.org/php72.git (read-only, click to copy) |
---|---|
Package Base: | php72 |
Description: | bz2 module for php72 |
Upstream URL: | http://www.php.net |
Keywords: | 7.2 php php7 |
Licenses: | PHP |
Submitter: | el_aur |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.000011 |
First Submitted: | 2019-01-31 20:58 (UTC) |
Last Updated: | 2024-03-27 14:58 (UTC) |
Dependencies (56)
- bzip2 (bzip2-gitAUR)
- php72AUR
- acl (acl-gitAUR) (make)
- apache (apache-gitAUR) (make)
- argon2 (argon2-gitAUR) (make)
- aspell (aspell-gitAUR) (make)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-gitAUR) (make)
- bash (bash-devel-static-gitAUR, bash-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR) (make)
- c-clientAUR (make)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-hybridAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR, curl-gitAUR) (make)
- db5.3 (make)
- e2fsprogs (busybox-coreutilsAUR, e2fsprogs-gitAUR) (make)
- enchant (make)
- findutils (findutils-selinuxAUR, findutils-gitAUR, busybox-coreutilsAUR) (make)
- freetds (make)
- gawk (gawk-gitAUR, busybox-coreutilsAUR) (make)
- gd (gd-gitAUR) (make)
- gmp (gmp-hgAUR) (make)
- hspell (make)
- hunspell (hunspell-gitAUR) (make)
- icu (icu-gitAUR) (make)
- krb5 (krb5-gitAUR) (make)
- libedit (make)
- libfbclient (firebirdAUR) (make)
- libldap (make)
- libsasl (make)
- libsodium (libsodium-gitAUR, libsodium-1.0.18AUR) (make)
- libtool (libtool-gitAUR) (make)
- libvoikko (make)
- libxcrypt (libxcrypt-gitAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- libxslt (libxslt-gitAUR) (make)
- libzip (libzip-gitAUR) (make)
- lmdb (lumosqlAUR, lmdb-gitAUR) (make)
- ncurses (ncurses-gitAUR) (make)
- net-snmp (make)
- nuspell (nuspell-gitAUR) (make)
- openssl-1.1 (make)
- pam (pam-selinuxAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- pcre (make)
- postgresql-libs (postgresql13-libsAUR, postgresql-libs-gitAUR, postgresql-libs-12AUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- recode (recode-pybliographerAUR) (make)
- sed (busybox-coreutilsAUR, sed-gitAUR) (make)
- smtp-forwarder (femtomail-gitAUR, ssmtp-plainAUR, esmtpAUR, py-mailqueued-mtaAUR, ssmtpAUR, exim-heavyAUR, courier-mtaAUR, sendmailAUR, dma, exim, msmtp-mta, nullmailer, opensmtpd, postfix) (make)
- sqlite (sqlite-fossilAUR) (make)
- systemd (systemd-gitAUR, systemd-fmlAUR, systemd-selinuxAUR, systemd-chromiumosAUR) (make)
- systemd-libs (systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-libs-selinuxAUR, systemd-chromiumos-libsAUR) (make)
- tidy (tidy-html5-gitAUR) (make)
- unixodbc (unixodbc-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR) (make)
- procps-ng (procps-ng-gitAUR, busybox-coreutilsAUR) (check)
- smtp-forwarder (femtomail-gitAUR, ssmtp-plainAUR, esmtpAUR, py-mailqueued-mtaAUR, ssmtpAUR, exim-heavyAUR, courier-mtaAUR, sendmailAUR, dma, exim, msmtp-mta, nullmailer, opensmtpd, postfix) (check)
Required by (0)
Sources (20)
- debian-php-7.2.34.patch
- fpm-numeric-uid-gid.patch
- fpm-reload-sighup.patch
- https://php.net/distributions/php-7.2.34.tar.xz
- make-tests.patch
- mysql-socket-php7.1.patch
- openssl-sslv3-consts.patch
- pear-config-patcher.php
- php-apache.conf
- php-enchant-depr.patch
- php-enchant-php5.3.patch
- php-freetype-2.9.1.patch
- php-icu-php5.5.patch
- php-libxml.patch
- php-makefile-patcher.php
- php-phpinfo.patch
- php71-phar-names.patch
- recode-php5.3.patch
- timezonedb-guess.patch
- timezonedb-php7.2.patch
el_aur commented on 2021-11-30 18:31 (UTC)
NAlien commented on 2021-11-25 15:54 (UTC) (edited on 2021-11-25 16:29 (UTC) by NAlien)
Error with new libicu70
: error: conflicting return type specified for ‘virtual UBool PHP::CodePointBreakIterator::operator==(const icu_70::BreakIterator&) const’
39 | virtual UBool operator==(const BreakIterator& that) const;
| ^~~~~~~~
Patch should be here -> https://github.com/mhei/packages/blob/6eecc3bd4c8e34e3986fde3f95ed88c784cd99eb/lang/php7/patches/1011-Accommodate-changes-to-canonicalized-forms-in-ICU-70_1.patch
Just applied this patch placed it in the directory with other patches like int.patch ->
From cd1447a6962496fca60a2f5e5d9cf4448575cc24 Mon Sep 17 00:00:00 2001
From: Ben Ramsey <ramsey@php.net>
Date: Tue, 19 Oct 2021 23:59:11 -0500
Subject: [PATCH 1/4] Change UBool to bool for equality operators in ICU >=
70.1
Refer to:
- https://github.com/unicode-org/icu/commit/633438f8da99fee815e2c61626ea779a84567a3d
- https://github.com/unicode-org/icu/commit/f6325d49ba57ec26f320b2865ce09ca47db458d9
---
ext/intl/breakiterator/codepointiterator_internal.cpp | 4 ++++
ext/intl/breakiterator/codepointiterator_internal.h | 4 ++++
2 files changed, 8 insertions(+)
--- a/ext/intl/breakiterator/codepointiterator_internal.cpp
+++ b/ext/intl/breakiterator/codepointiterator_internal.cpp
@@ -75,7 +75,11 @@ CodePointBreakIterator::~CodePointBreakI
clearCurrentCharIter();
}
+#if U_ICU_VERSION_MAJOR_NUM >= 70
+bool CodePointBreakIterator::operator==(const BreakIterator& that) const
+#else
UBool CodePointBreakIterator::operator==(const BreakIterator& that) const
+#endif
{
if (typeid(*this) != typeid(that)) {
return FALSE;
--- a/ext/intl/breakiterator/codepointiterator_internal.h
+++ b/ext/intl/breakiterator/codepointiterator_internal.h
@@ -39,7 +39,11 @@ namespace PHP {
virtual ~CodePointBreakIterator();
+#if U_ICU_VERSION_MAJOR_NUM >= 70
+ virtual bool operator==(const BreakIterator& that) const;
+#else
virtual UBool operator==(const BreakIterator& that) const;
+#endif
virtual CodePointBreakIterator* clone(void) const;
And modified the PKGBUILD to this
--- #<buffer PKGBUILD>
+++ #<buffer newPKGBUILD>
@@ -13,7 +13,7 @@
'postgresql-libs' 'sqlite' 'systemd' 'tidy' 'unixodbc' 'curl' 'libtool' 'freetds' 'pcre' 'libsodium')
#checkdepends=('procps-ng')
source=("https://php.net/distributions/${_pkgbase}-${pkgver}.tar.xz" 'intl.patch'
- 'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch' 'enchant-2.patch' 'php-freetype-2.9.1.patch' )
+ 'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch' 'enchant-2.patch' 'php-freetype-2.9.1.patch' 'icu.patch' )
prepare() {
cd ${srcdir}/${_pkgbase}-${pkgver}
@@ -23,6 +23,7 @@
patch -p1 -i ${srcdir}/enchant-2.patch
patch -p1 -i ${srcdir}/php-freetype-2.9.1.patch
patch -p1 -i ${srcdir}/intl.patch
+ patch -p1 -i ${srcdir}/icu.patch
}
build() {
@@ -358,4 +359,5 @@
'406f7a3ef7f476e4a5c26e462e47b7c7'
'4bf0b1296fc95947a11bef36fe76102a'
'e3883dce91ed21e23a3d7ae9fa80216d'
- 'b40b82f55208eaead22dbfb64720b064')
+ 'b40b82f55208eaead22dbfb64720b064'
+ '841b47a68763bd2d9b2ba94bc9df9576')
malacology commented on 2021-07-06 00:22 (UTC) (edited on 2021-07-06 00:35 (UTC) by malacology)
mkdir: cannot create directory 'ext/mbstring/libmbfl/filters/.libs': No such file or directory
make: *** [Makefile:1484: ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.lo] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Try again, then works
dev31 commented on 2021-04-29 10:17 (UTC)
how to install pdo_mysql ext for php7.2?
el_aur commented on 2021-01-15 10:18 (UTC) (edited on 2021-01-15 10:20 (UTC) by el_aur)
@Anagastes: Build is fine, check your icu library version
[el@archbox php72]$ ldd /usr/lib/php72/modules/intl.so | grep icu
libicuio.so.68 => /usr/lib/libicuio.so.68 (0x00007fa850fc3000)
libicui18n.so.68 => /usr/lib/libicui18n.so.68 (0x00007fa850ca4000)
libicuuc.so.68 => /usr/lib/libicuuc.so.68 (0x00007fa850ab5000)
libicudata.so.68 => /usr/lib/libicudata.so.68 (0x00007fa84ef74000)
[el@archbox php72]$ pacman -Qo /usr/lib/libicudata.so.68
/usr/lib/libicudata.so.68 is owned by icu 68.2-1
Latest php72 version is to be built with icu 68.2, but not with earlier version!
So just upgrade system before building php72 ;)
Anagastes commented on 2021-01-14 13:53 (UTC)
Cant compile latest version
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c: In Funktion »zif_collator_sort«:
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: Fehler: »true« nicht deklariert (erste Verwendung in dieser Funktion)
349 | collator_sort_internal( true, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c: In Funktion »zif_collator_asort«:
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:543:26: Fehler: »false« nicht deklariert (erste Verwendung in dieser Funktion)
543 | collator_sort_internal( false, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~~
make: *** [Makefile:1146: ext/intl/collator/collator_sort.lo] Fehler 1
make: *** Es wird auf noch nicht beendete Prozesse gewartet....
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
error making: php72
el_aur commented on 2020-12-28 21:16 (UTC) (edited on 2020-12-28 21:17 (UTC) by el_aur)
Updated with new version. Took solution from
https://759352.bugs.gentoo.org/attachment.cgi?id=677674
Related to icu library update
el_aur commented on 2020-12-28 21:11 (UTC) (edited on 2020-12-28 21:11 (UTC) by el_aur)
@messju getting error while building intl:
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’:
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: error: ‘TRUE’ undeclared (first use in this function)
349 | collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: note: each undeclared identifier is reported only once for each function it appears in
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’:
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:543:26: error: ‘FALSE’ undeclared (first use in this function)
543 | collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~~
make: *** [Makefile:1146: ext/intl/collator/collator_sort.lo] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
el_aur commented on 2022-02-03 18:56 (UTC) (edited on 2022-02-04 11:28 (UTC) by el_aur)
Created binary repository on build.opensuse.org
https://build.opensuse.org/project/show/home:el:archphp
For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):
Then run the following as root
Refresh packages database
Now search for php packages you need:
Install with
pacman -S
packages you need or all PHP 7.2 packages with:el_aur commented on 2022-01-27 12:11 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php72
is installed withphp72-cli
subpackage,php72
doesn't include it anymore!!!PEAR and PECL are available as
php72-pear
andphp72-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php72
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php72/conf.d
They are loaded in correct order according to priority