@jacklem thanks for fix. Updated PKGBUILD with this patch
Search Criteria
Package Details: php82-sysvsem 8.2.26-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/php82.git (read-only, click to copy) |
---|---|
Package Base: | php82 |
Description: | sysvsem module for php82 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | el_aur |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 5 |
Popularity: | 0.193336 |
First Submitted: | 2022-07-26 18:36 (UTC) |
Last Updated: | 2024-12-04 12:17 (UTC) |
Dependencies (56)
- php82AUR
- 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-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR) (make)
- c-clientAUR (make)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-hybridAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- db5.3 (make)
- e2fsprogs (busybox-coreutilsAUR, e2fsprogs-gitAUR) (make)
- enchant (make)
- findutils (findutils-gitAUR, busybox-coreutilsAUR, findutils-selinuxAUR) (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)
- libffi (libffi-gitAUR) (make)
- libldap (libldap-gnutlsAUR) (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)
- oniguruma (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- pam (pam-selinuxAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- pcre (make)
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- sed (busybox-coreutilsAUR, sed-gitAUR) (make)
- smtp-forwarder (femtomail-gitAUR, ssmtp-plainAUR, esmtpAUR, py-mailqueued-mtaAUR, sendmailAUR, exim-heavyAUR, ssmtpAUR, courier-mtaAUR, dma, exim, msmtp-mta, nullmailer, opensmtpd, postfix) (make)
- sqlite (sqlite-fossilAUR) (make)
- systemd (systemd-chromiumosAUR, systemd-selinuxAUR, systemd-gitAUR, systemd-fmlAUR) (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR) (make)
- tidy (tidy-html5-gitAUR) (make)
- unixodbc (unixodbc-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- procps-ng (procps-ng-gitAUR, busybox-coreutilsAUR) (check)
- smtp-forwarder (femtomail-gitAUR, ssmtp-plainAUR, esmtpAUR, py-mailqueued-mtaAUR, sendmailAUR, exim-heavyAUR, ssmtpAUR, courier-mtaAUR, dma, exim, msmtp-mta, nullmailer, opensmtpd, postfix) (check)
Required by (0)
Sources (9)
el_aur commented on 2023-11-23 15:13 (UTC)
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
C0rn3j commented on 2023-11-20 15:10 (UTC)
libxml2 2.12.0 breaks this, workaround is downgrading.
el_aur commented on 2023-08-08 07:38 (UTC)
Updated hash sums
Rikj000 commented on 2023-08-05 06:39 (UTC)
@kescherAUR and @el_aur to fix the currently failing checksum for php-8.2.9.tar.xz
,
open your PKGBUILD
, scroll to the bottom, alter the sha256sums
as following:
- '8d086ce5f0b92d4e930c3c6ae204a6b349ab9856fe508026d0053296060e4162'
+ '1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765'
Validate it yourself with:
wget https://php.net/distributions/php-8.2.9.tar.xz
sha256sum php-8.2.9.tar.xz
kescherAUR commented on 2023-08-05 01:09 (UTC)
Checksum check failing for php-8.2.9.tar.xz
el_aur commented on 2023-07-11 20:42 (UTC)
Version bump. Added -fPIC
alisacorporation commented on 2023-06-18 15:26 (UTC)
why do i need apache in dev dependencies for php-imap if im using only nginx??
kescherAUR commented on 2023-05-25 08:51 (UTC)
The PKGBUILD for this package includes options=(!lto)
. This line should instead say options+=(!lto)
, so as not to override the makepkg.conf options array entirely.
kescherAUR commented on 2023-05-24 14:55 (UTC)
@erenatas Yes, -fPIC solves the issue in this case. Curiously, it doesn't for the reporter of the bug you linked.
Pinned Comments