@jacklem thanks for fix, included to PKGBUILD
Search Criteria
Package Details: php81-posix 8.1.26-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/php81.git (read-only, click to copy) |
---|---|
Package Base: | php81 |
Description: | posix module for php81 |
Upstream URL: | http://www.php.net |
Keywords: | 8.1 php php8 |
Licenses: | PHP |
Submitter: | el_aur |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 10 |
Popularity: | 0.093851 |
First Submitted: | 2021-12-01 12:54 (UTC) |
Last Updated: | 2023-11-24 15:35 (UTC) |
Dependencies (56)
- php81AUR
- acl (acl-gitAUR) (make)
- apache (apache-gitAUR) (make)
- argon2 (argon2-gitAUR) (make)
- aspell (aspell-gitAUR) (make)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-1.7AUR, automake-1.11AUR, automake-1.15AUR, automake-gitAUR) (make)
- bash (bash-devel-static-gitAUR, bash-gitAUR, bash-xdgAUR, bash-devel-gitAUR, busybox-coreutilsAUR) (make)
- c-clientAUR (make)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-selinuxAUR, coreutils-hybridAUR, coreutils-hybrid-gitAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR) (make)
- db5.3 (make)
- e2fsprogs (busybox-coreutilsAUR, e2fsprogs-gitAUR) (make)
- enchant (enchant-pureAUR) (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 (10)
el_aur commented on 2023-11-23 15:17 (UTC)
jacklem commented on 2023-11-22 19:33 (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 FAILS to build due to several similar errors in the file php.libxml.h from lines 148 to 154.
[...]php-8.1.25/ext/libxml/php_libxml.h: In function ‘php_libxml_sanitize_parse_ctxt_options’:
/php-8.1.25/ext/libxml/php_libxml.h:148:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
148 | ctxt->loadsubset = 0;
| ^~
/php-8.1.25/ext/libxml/php_libxml.h:149:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
149 | ctxt->validate = 0;
| ^~
/php-8.1.25/ext/libxml/php_libxml.h:150:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
150 | ctxt->pedantic = 0;
| ^~
/php-8.1.25/ext/libxml/php_libxml.h:151:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
151 | ctxt->replaceEntities = 0;
| ^~
/php-8.1.25/ext/libxml/php_libxml.h:152:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
152 | ctxt->linenumbers = 0;
| ^~
/php-8.1.25/ext/libxml/php_libxml.h:153:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
153 | ctxt->keepBlanks = 1;
| ^~
/php-8.1.25/ext/libxml/php_libxml.h:154:13: error: invalid use of incomplete typedef ‘xmlParserCtxt’ {aka ‘struct _xmlParserCtxt’}
154 | ctxt->options = 0;
| ^~
DmitrySkibitsky commented on 2023-10-17 09:47 (UTC) (edited on 2023-10-17 09:48 (UTC) by DmitrySkibitsky)
Upgraded to 8.1.24. Everything's fine. The only thing is that I still need to set values for CFLAGS and CXXFLAGS variables.
php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom enchant exif FFI fileinfo filter ftp gd gettext gmp hash iconv imagick imap intl json ldap libxml mbstring mysqli mysqlnd odbc openssl pcntl pcre PDO pdo_dblib PDO_Firebird pdo_mysql PDO_ODBC pdo_pgsql pdo_sqlite pgsql Phar posix pspell readline redis Reflection session shmop SimpleXML snmp soap sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Zend OPcache
PHP 8.1.24 (cli) (built: Oct 17 2023 09:19:37) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.24, Copyright (c) Zend Technologies with Zend OPcache v8.1.24, Copyright (c), by Zend Technologies
gebeer commented on 2023-07-31 14:49 (UTC)
@el_aur key for repo at build.opensuse.org seems to have changed. Following your instructions, pacman -Syy results in:
error: home_el_archphp_Arch: signature from "home:el OBS Project <home:el@build.opensuse.org>" is invalid
DmitrySkibitsky commented on 2023-07-12 12:44 (UTC) (edited on 2023-07-12 12:46 (UTC) by DmitrySkibitsky)
@el_aur I have upgraded to version 8.1.21. Thank you.
PHP 8.1.21 (cli) (built: Jul 12 2023 07:01:12) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.21, Copyright (c) Zend Technologies with Zend OPcache v8.1.21, Copyright (c), by Zend Technologies
php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom enchant exif FFI fileinfo filter ftp gd gettext gmp hash iconv imagick imap intl json ldap libxml mbstring mysqli mysqlnd odbc openssl pcntl pcre PDO pdo_dblib PDO_Firebird pdo_mysql PDO_ODBC pdo_pgsql pdo_sqlite pgsql Phar posix pspell readline redis Reflection session shmop SimpleXML snmp soap sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Zend OPcache
DmitrySkibitsky commented on 2023-07-12 09:53 (UTC) (edited on 2023-07-12 09:54 (UTC) by DmitrySkibitsky)
@el_aur
Yes, I have aur/php81-cli (8.1.17-1)
installed.
Currently trying to upgrade to php81-8.1.21-1
el_aur commented on 2023-07-12 08:23 (UTC)
@DmitrySkibitsky have you insalled php81-cli subpackage?
el_aur commented on 2023-07-11 20:42 (UTC)
Version bump. Added -fPIC
df8oe commented on 2023-06-25 07:03 (UTC)
Can you please add these lines at the top of your PKGBUILD?
export CFLAGS="${CFLAGS} -fPIC"
export CXXFLAGS="${CXXFLAGS} -fPIC"
Without these php-imagick fails with segfault. This is related to a gcc bug in my opinion - but the gcc-devs say it is not a bug :(
Pinned Comments
el_aur commented on 2022-02-02 08:43 (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 8.1 packages with:el_aur commented on 2022-01-27 12:09 (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/php81
is installed withphp81-cli
subpackage,php81
doesn't include it anymore!!!PEAR and PECL are available as
php81-pear
andphp81-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php81
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php81/conf.d
They are loaded in correct order according to priority