Package Details: php82-bcmath 8.2.21-1

Git Clone URL: https://aur.archlinux.org/php82.git (read-only, click to copy)
Package Base: php82
Description: bcmath module for php82
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 4
Popularity: 0.85
First Submitted: 2022-07-26 18:36 (UTC)
Last Updated: 2024-07-07 09:00 (UTC)

Dependencies (56)

Required by (0)

Sources (8)

Pinned Comments

el_aur commented on 2023-03-01 21:08 (UTC)

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):

[home_el_archphp_Arch]
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/$arch

Then run the following as root

key=$(curl -fsSL https://download.opensuse.org/repositories/home:el:archphp/Arch/$(uname -m)/home_el_archphp_Arch.key)
fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')
pacman-key --init
pacman-key --add - <<< "${key}"
pacman-key --lsign-key "${fingerprint}"

Refresh packages database

pacman -Syy

Now search for php packages you need:

pacman -Ss php82

Install with pacman -S packages you need or all PHP 8.2 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php82')

Latest Comments

1 2 3 Next › Last »

el_aur commented on 2024-07-07 09:02 (UTC)

Killed PEAR+PECL

el_aur commented on 2024-07-05 09:24 (UTC) (edited on 2024-07-05 09:36 (UTC) by el_aur)

I'll drop PEAR + PECL probably at all. PECL depends on PEAR unfortunately

df8oe commented on 2024-06-30 09:47 (UTC) (edited on 2024-06-30 10:20 (UTC) by df8oe)

Same build failure as @Flammkuchen.

kescherAUR commented on 2024-06-29 19:20 (UTC)

Same build failure as @Flammkuchen.

Flammkuchen commented on 2024-06-27 17:33 (UTC)

This fails build in a clean CHROOT:

==> Starting package_php82-pear()...
~/php82/src/build-cli ~/php82/src

Warning: Private methods cannot be final as they are never overridden by other classes in /build/php82/src/build-cli/pear/install-pear-nozlib.phar on line 339
[PEAR] Archive_Tar    - installed: 1.4.14
[PEAR] Console_Getopt - installed: 1.4.3
[PEAR] Structures_Graph- installed: 1.1.1
[PEAR] XML_Util       - installed: 1.4.5
[PEAR] PEAR: Invalid tag order in <dependencies>, found <_content> expected one of "group"
[PEAR] PEAR: Parsing of package.xml from file "/tmp/pear/temp/pearh3slbT/package.xml" failed

Warning: fopen(/build/php82/pkg/php82-pear/etc/php82/pear.conf): Failed to open stream: No such file or directory in /startdir/pear-config-patcher.php on line 14
File was not found /build/php82/pkg/php82-pear/etc/php82/pear.conf
==> ERROR: A failure occurred in package_php82-pear().
    Aborting...

mathemaat commented on 2024-06-03 08:55 (UTC) (edited on 2024-06-03 08:56 (UTC) by mathemaat)

After being shown some error messages related to intl.so, I decided to reinstall php82-intl. That was the first step towards a deep package rabbit hole.

Shortly after, I decided to try a completely fresh install of php82, after completely removing all traces of php82. I added the following php82-[...] modules: apcu, cli, ctype, curl, dom, fileinfo, gd, gettext, iconv, intl, mbstring, mysql, openssl, pdo, phar, simplexml, sodium, sqlite, tokenizer, xml, xmlreader, xmlwriter, xsl, zip

Failed to generate php82-gd information

Then I tried without php82-gd

Failed to generate php82-sqlite information

Then I tried without php82-sqlite, etc, etc, until I was getting something different.

Failed to prepare transaction

Then, when I try to edit the build files:

could not satisfy dependencies:
- unable to satisfy dependency 'php82=8.2.18' required by php82-mysql
- unable to satisfy dependency 'php82-pdo=8.2.18' required by php82-mysql
- unable to satisfy dependency 'php82-openssl=8.2.18' required by php82-mysql
- unable to satisfy dependency 'php82-pdo=8.2.19' required by php82-mysql
- unable to satisfy dependency 'php82-openssl=8.2.19' required by php82-mysql
- unable to satisfy dependency 'php82-xml=8.2.18' required by php82-xsl
- unable to satisfy dependency 'php82-xml=8.2.19' required by php82-dom
- unable to satisfy dependency 'php82-dom=8.2.18' required by php82-xsl
- unable to satisfy dependency 'php82-dom=8.2.19' required by php82-xsl

It seems my set of packages requires both 8.2.18 and 8.2.19. Anyone who knows what going on here?

Help very much appreciated!

anabriated commented on 2024-05-18 20:39 (UTC)

Package installation commands through pacman as given in the top comment will lead to partial upgrading - https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported.

Please change the recommendation for refresh package database to a full package upgrade instead.

pacman -Syu

chovy commented on 2024-05-18 20:08 (UTC)

fails to install:

1 2 3 4 5 6 7 8 9 make[3]: *** [Makefile:932: osdep.o] Error 1 make[3]: Leaving directory '/home/ettinger/.cache/yay/c-client/src/imap-src/c-client' make[2]: *** [Makefile:499: lnp] Error 2 make[2]: Leaving directory '/home/ettinger/.cache/yay/c-client/src/imap-src/c-client' make[1]: *** [Makefile:688: OSTYPE] Error 2 make[1]: Leaving directory '/home/ettinger/.cache/yay/c-client/src/imap-src' make: *** [Makefile:311: lnp] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

el_aur commented on 2023-11-23 15:13 (UTC)

@jacklem thanks for fix. Updated PKGBUILD with this patch

jacklem commented on 2023-11-22 20:23 (UTC) (edited on 2023-11-22 21:57 (UTC) by jacklem)

I FIXED THE ERRORS BY CHANGING THE FILES SHOWN HERE IN THE PHP SOURCE AT GITHUB https://github.com/php/php-src/commit/8a95e616b91ac0eeedba90a61e36e652919763f2

Package php-8.2.12 FAILS to build due to several similar errors in the file php_libxml.h from lines 148 to 154. These EXACT coding errors are also present for php81 as well.

In file included from main/internal_functions.c:27:
/.cache/yay/php82/src/php-8.2.12/ext/libxml/php_libxml.h: In function ‘php_libxml_sanitize_parse_ctxt_options’:
/.cache/yay/php82/src/php-8.2.12/ext/libxml/php_libxml.h:148:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
  148 |         ctxt->loadsubset = 0;
      |             ^~
/.cache/yay/php82/src/php-8.2.12/ext/libxml/php_libxml.h:149:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
  149 |         ctxt->validate = 0;
      |             ^~
/.cache/yay/php82/src/php-8.2.12/ext/libxml/php_libxml.h:150:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
  150 |         ctxt->pedantic = 0;
      |             ^~
/.cache/yay/php82/src/php-8.2.12/ext/libxml/php_libxml.h:151:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
  151 |         ctxt->replaceEntities = 0;
      |             ^~
/.cache/yay/php82/src/php-8.2.12/ext/libxml/php_libxml.h:152:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
  152 |         ctxt->linenumbers = 0;
      |             ^~
/.cache/yay/php82/src/php-8.2.12/ext/libxml/php_libxml.h:153:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
  153 |         ctxt->keepBlanks = 1;
      |             ^~
/.cache/yay/php82/src/php-8.2.12/ext/libxml/php_libxml.h:154:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
  154 |         ctxt->options = 0;
      |             ^~
make: *** [Makefile:2871: main/internal_functions.lo] Error 1