I'm on Arch and I see the same error about no P option
Search Criteria
Package Details: php74-opcache 7.4.33-9
Package Actions
Git Clone URL: | https://aur.archlinux.org/php74.git (read-only, click to copy) |
---|---|
Package Base: | php74 |
Description: | opcache zend module for php74 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | tompear |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.013669 |
First Submitted: | 2021-01-31 11:48 (UTC) |
Last Updated: | 2024-07-25 13:43 (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-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-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-1.1 (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 (16)
- debian-php-7.4.patch
- https://php.net/distributions/php-7.4.33.tar.xz
- icu-74-php-7.4.patch
- libxml-21200-php-7.0.patch
- libxml-pear.patch
- litespeed-phpheader.patch
- make-tests.patch
- mysql-socket-php7.1.patch
- pear-config-patcher.php
- php-apache.conf
- php-libxml.patch
- php-makefile-patcher.php
- php-phpinfo.patch
- php74-enchant.patch
- timezonedb-guess.patch
- timezonedb-php7.4.patch
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 Next › Last »
miguelmsoler commented on 2021-06-16 14:07 (UTC)
kdvr commented on 2021-05-10 15:21 (UTC)
Sure I understand. I see that it fails on Error in argument 2, char 2: option not found P
. I'll fix this manually no worries. It does seem strange that this option isn't available, but software is software :-)
tompear commented on 2021-05-10 13:45 (UTC)
You are using Manjaro right? If so, AUR is for Arch Linux Users and support for other OS types is not a must.
But ... you can try to turn off apparmor. Dont know if it is a reason why check() doesnt work but give it a chance.
Other thing you can try first is to run checks manually after build process to see any errors. To do it go to build directory (according to your log file it was /var/tmp/pamac-build-rik/php74/src/php-7.4.19) and try to execute:
export REPORT_EXIT_STATUS=1;export NO_INTERACTION=1;export SKIP_ONLINE_TESTS=1;export SKIP_SLOW_TESTS=1;export TEST_PHP_ARGS="-j$(nproc)";export TESTS='tests Zend'; ../build/sapi/cli/php -n -P {tests,Zend}
kdvr commented on 2021-05-10 10:02 (UTC)
@tompear thanks for checking.
Here is the full build log: https://gist.githubusercontent.com/rikvanderkemp/97c3d2e3045b6e64c3879a58e1892031/raw/5a2440bc163779409430119920e4b2c4dbaf94bc/build.log
tompear commented on 2021-05-10 09:39 (UTC)
Bad news is: it works for me (up to date version of Arch and Manjaro too).
I get this message about PHP_Archive too so this is not the reason why check() doesnt work.
Please paste more data about fail, right now its hard to write anything else.
kdvr commented on 2021-05-10 08:23 (UTC)
@tompear it looks like the package won't compile anymore.
The build ends with
==> Starting check()...
==> ERROR: A failure occurred in check().
Aborting...
Another clue might be
Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
directorytreeiterator.inc
invertedregexiterator.inc
clicommand.inc
directorygraphiterator.inc
pharcommand.inc
phar.inc
I have tried removing and clearing the cache to no avail.
tompear commented on 2021-03-04 21:29 (UTC)
@AlexySirov php74-memcached is in. I will add php74-memcache soon.
AlexySirov commented on 2021-03-01 09:26 (UTC) (edited on 2021-03-01 09:27 (UTC) by AlexySirov)
Please think about adding php74-memcached
and php74-memcache
sausix commented on 2021-02-22 13:34 (UTC)
@tompear You may acquire php74-mcrypt
into your package collection if you like.
berturion commented on 2021-02-21 19:07 (UTC)
@tompear Thank you! That was quick :)
Pinned Comments
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