==> Verifying source file signatures with gpg...
php-7.4.25.tar.xz ... FAILED (unknown public key 910DEB46F53EA312)
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Search Criteria
Package Details: php74-bcmath 7.4.33-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/php74.git (read-only, click to copy) |
---|---|
Package Base: | php74 |
Description: | bcmath module for php74 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | tompear |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 10 |
Popularity: | 0.007481 |
First Submitted: | 2021-01-31 11:48 (UTC) |
Last Updated: | 2024-03-27 14:57 (UTC) |
Dependencies (56)
- php74AUR
- 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-hybridAUR, coreutils-selinuxAUR) (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)
- Show 36 more dependencies...
Required by (0)
Sources (12)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
malacology commented on 2021-10-23 21:21 (UTC)
tompear commented on 2021-09-23 09:03 (UTC)
Thanks for the tip, i am working on it right now and will add fixed release of package asap.
Raniz commented on 2021-09-23 08:21 (UTC) (edited on 2021-09-23 08:34 (UTC) by Raniz)
Apply the following patch and it builds with gd-2.3.3:
diff --git a/PKGBUILD b/PKGBUILD
index dd2d621..03c7e95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -66,6 +66,7 @@ source=(
'php.ini.patch'
'phpize.m4.patch'
'enchant-2.patch'
+ 'gd-2.3.3.patch'
)
sha256sums=(
'cea52313fcffe56343bcd3c66dbb23cd5507dc559cc2e3547cf8f5452e88a05d'
@@ -77,6 +78,8 @@ sha256sums=(
'3a6d101962db9d311d9bba3b561b9dfd417701d9d2b607b70b9df218f6e029d7'
'354b1d5fd83e9902c6a4f7ca5d2101631bd67404f3c55a7194d9a6862656b479'
'd94d22ad8bcd13829addda84e9de6b73fa04be9bc6da8622086c7e19c97ab724'
+ 'baa45823805da7f908a3d9cf800b0ddb1cd8c8fb1a605542fbdc7bc7596f0a96'
+
)
validpgpkeys=(
@@ -92,6 +95,7 @@ prepare() {
patch -p0 -i ${srcdir}/php.ini.patch
patch -p0 -i ${srcdir}/phpize.m4.patch
patch -p0 -i ${srcdir}/enchant-2.patch
+ patch -p0 -i ${srcdir}/gd-2.3.3.patch
autoconf
rm tests/output/stream_isatty_*.phpt
diff --git a/gd-2.3.3.patch b/gd-2.3.3.patch
new file mode 100644
index 0000000..f265f6e
--- /dev/null
+++ b/gd-2.3.3.patch
@@ -0,0 +1,47 @@
+diff --git a/ext/gd/gd.c b/ext/gd/gd.c
+index 336a739692..a32dfaa64b 100644
+--- ext/gd/gd.c
++++ ext/gd/gd.c
+@@ -91,6 +91,10 @@ static int le_gd, le_gd_font;
+ #define M_PI 3.14159265358979323846
+ #endif
+
++/* don't used libgd constants, not used, so going to be removed */
++#define PHP_GD_FLIP_HORIZONTAL 1
++#define PHP_GD_FLIP_VERTICAL 2
++#define PHP_GD_FLIP_BOTH 3
+ #ifdef HAVE_GD_FREETYPE
+ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int, int);
+ #endif
+@@ -1137,9 +1141,9 @@ PHP_MINIT_FUNCTION(gd)
+ /* GD2 image format types */
+ REGISTER_LONG_CONSTANT("IMG_GD2_RAW", GD2_FMT_RAW, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("IMG_GD2_COMPRESSED", GD2_FMT_COMPRESSED, CONST_CS | CONST_PERSISTENT);
+- REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORINZONTAL, CONST_CS | CONST_PERSISTENT);
+- REGISTER_LONG_CONSTANT("IMG_FLIP_VERTICAL", GD_FLIP_VERTICAL, CONST_CS | CONST_PERSISTENT);
+- REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS | CONST_PERSISTENT);
++ REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", PHP_GD_FLIP_HORIZONTAL, CONST_CS | CONST_PERSISTENT);
++ REGISTER_LONG_CONSTANT("IMG_FLIP_VERTICAL", PHP_GD_FLIP_VERTICAL, CONST_CS | CONST_PERSISTENT);
++ REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", PHP_GD_FLIP_BOTH, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("IMG_EFFECT_REPLACE", gdEffectReplace, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("IMG_EFFECT_ALPHABLEND", gdEffectAlphaBlend, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("IMG_EFFECT_NORMAL", gdEffectNormal, CONST_CS | CONST_PERSISTENT);
+@@ -4696,15 +4700,15 @@ PHP_FUNCTION(imageflip)
+ }
+
+ switch (mode) {
+- case GD_FLIP_VERTICAL:
++ case PHP_GD_FLIP_VERTICAL:
+ gdImageFlipVertical(im);
+ break;
+
+- case GD_FLIP_HORINZONTAL:
++ case PHP_GD_FLIP_HORIZONTAL:
+ gdImageFlipHorizontal(im);
+ break;
+
+- case GD_FLIP_BOTH:
++ case PHP_GD_FLIP_BOTH:
+ gdImageFlipBoth(im);
+ break;
+
It's a backport of the patch applied to 8.1+
tompear commented on 2021-09-22 12:15 (UTC)
https://wiki.archlinux.org/title/Downgrading_packages
Github link is only informationally, there is description of the reason why you cant build PHP with newer gd version.
hamedsbt commented on 2021-09-22 11:48 (UTC) (edited on 2021-09-22 12:15 (UTC) by hamedsbt)
@tompear, How I can downgrade 'gd' to 2.3.2? the gd-git.v2.3.2.r420.g826e5462-1 installed but I can't build php74-intl :( also I can't use your provided github link to downgrade the gd.
tompear commented on 2021-09-17 06:48 (UTC) (edited on 2021-09-17 06:53 (UTC) by tompear)
Downgrade 'gd' to 2.3.2. In 2.3.3 some macros have been removed and older versions of PHP will not build anymore.
There are details https://github.com/libgd/libgd/commit/bdc281eadb1d58d5c0c7bbc1125ee4674256df08
zack6849 commented on 2021-09-16 16:27 (UTC)
https://github.com/libgd/libgd/issues/318 https://github.com/php/php-src/pull/7490
Tried using gd-git, no dice.
zack6849 commented on 2021-09-16 16:12 (UTC)
I'm getting errors when compiling with GD right now -- anyone have any ideas?
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c: In function ‘zm_startup_gd’:
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:1140:55: error: ‘GD_FLIP_HORINZONTAL’ undeclared (first use in this function)
1140 | REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORINZONTAL, CONST_CS | CONST_PERSISTENT);
| ^~~~~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
| ^~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:1140:55: note: each undeclared identifier is reported only once for each function it appears in
1140 | REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORINZONTAL, CONST_CS | CONST_PERSISTENT);
| ^~~~~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
| ^~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:1141:53: error: ‘GD_FLIP_VERTICAL’ undeclared (first use in this function)
1141 | REGISTER_LONG_CONSTANT("IMG_FLIP_VERTICAL", GD_FLIP_VERTICAL, CONST_CS | CONST_PERSISTENT);
| ^~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
| ^~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:1142:49: error: ‘GD_FLIP_BOTH’ undeclared (first use in this function)
1142 | REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS | CONST_PERSISTENT);
| ^~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
| ^~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c: In function ‘zif_imageflip’:
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:4699:22: error: ‘GD_FLIP_VERTICAL’ undeclared (first use in this function)
4699 | case GD_FLIP_VERTICAL:
| ^~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:4703:22: error: ‘GD_FLIP_HORINZONTAL’ undeclared (first use in this function)
4703 | case GD_FLIP_HORINZONTAL:
| ^~~~~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:4707:22: error: ‘GD_FLIP_BOTH’ undeclared (first use in this function)
4707 | case GD_FLIP_BOTH:
| ^~~~~~~~~~~~
make: *** [Makefile:1087: ext/gd/gd.lo] Error 1
ihipop commented on 2021-08-02 06:11 (UTC) (edited on 2021-08-02 06:47 (UTC) by ihipop)
@tompear
-
you are right,this package doesn't conflicts with default
php
package -
php-pear
http://aur.archlinux.org/packages/php-pear works with multi version php,it's has a internal switch to set which php version suffix to use -
I will install default
php
package to havephp-pear
installed and usephp74
to run it instead
PHP_PEAR_PHP_BIN=php74 pear config-set php_suffix '74' system
PHP_PEAR_PHP_BIN=php74 pecl -d php_suffix=74 install swoole
tompear commented on 2021-07-30 07:45 (UTC)
Why should i do that? In my opinion it doesnt provide php as is, its php 7.4. Adding this is not good or even right solution but i can be wrong.
Pinned Comments
el_aur commented on 2022-02-02 08:43 (UTC) (edited on 2022-02-02 18:11 (UTC) by el_aur)
Created binary repository on build.opensuse.org
https://build.opensuse.org/project/show/home:el:archphp
Import PGP key first:
Append to /etc/pacman.conf:
Refresh packages database
Now search for php packages you need:
Install with
pacman -S
packages you need or all PHP 8.1 packages with:el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php74
is installed withphp74-cli
subpackage,php74
doesn't include it anymore!!!PEAR and PECL are available as
php74-pear
andphp74-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php74
package anymore.No more extensions in php.ini itself! Separate INI files for each extension are placed in
/etc/php74/conf.d
They are loaded in correct order according to priorityModules: mysqlnd, mysqli and pdo_mysql are moved to single package
php74-mysql
php74-xsl
requiresphp74-xml
andphp74-dom
to be installedphp74-enchant
build with dependencies:libvoikko
,hspell
,hunspell
,nuspell
,aspell