Hi, applied openssl 3 fix doesn't work. When reading pkcs12 certificates, it just return false. I guess only correct solution is to build against openssl-1.1 (which is still in repositories)
Search Criteria
Package Details: php80 8.0.30-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/php80.git (read-only, click to copy) |
---|---|
Package Base: | php80 |
Description: | PHP. A general-purpose scripting language that is especially suited to web development |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | muhviehstarr |
Maintainer: | muhviehstarr (el_aur) |
Last Packager: | el_aur |
Votes: | 15 |
Popularity: | 0.000304 |
First Submitted: | 2020-12-07 11:10 (UTC) |
Last Updated: | 2023-11-23 15:15 (UTC) |
Dependencies (58)
- libedit
- pcre
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR)
- 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-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR) (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)
- Show 38 more dependencies...
Required by (62)
- php80-apache
- php80-apcu
- php80-apcu (make)
- php80-bcmath
- php80-bz2
- php80-calendar
- php80-cgi
- php80-cli
- php80-ctype
- php80-curl
- php80-dba
- php80-dblib
- php80-embed
- php80-enchant
- php80-exif
- php80-ffi
- php80-fileinfo
- php80-firebird
- php80-fpm
- php80-ftp
- php80-gd
- php80-gettext
- php80-gmp
- php80-iconv
- php80-imagick (make)
- php80-imap
- php80-intl
- php80-ldap
- php80-litespeed
- php80-mbstring
- php80-memcached
- php80-mysql
- php80-odbc
- php80-opcache
- php80-openssl
- php80-openswoole
- php80-openswoole (make)
- php80-pcntl
- php80-pdo
- php80-pdo_sqlsrv
- php80-pear
- php80-pgsql
- php80-phar
- php80-phpdbg
- php80-posix
- php80-pspell
- php80-rar
- php80-redis
- php80-shmop
- php80-snmp
- php80-soap
- php80-sockets
- php80-sodium
- php80-sqlite
- php80-sysvmsg
- php80-sysvsem
- php80-sysvshm
- php80-tidy
- php80-tokenizer
- php80-xdebug
- php80-xml
- php80-zip
Sources (10)
vladimir commented on 2022-11-07 10:59 (UTC)
el_aur commented on 2022-11-05 21:05 (UTC)
Applied fix. Now it builds fine with fresh openssl ;)
df8oe commented on 2022-11-05 10:32 (UTC)
does no longer build since update today
kescherAUR commented on 2022-11-05 10:30 (UTC) (edited on 2022-11-05 10:30 (UTC) by kescherAUR)
Does not build with openssl being version 3 now in the repos:
/tmp/php80/src/php-8.0.25/ext/openssl/openssl.c:1316:58: error: ‘RSA_SSLV23_PADDING’ undeclared (first use in this function); did you mean ‘RSA_PKCS1_PADDING’?
1316 | REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT);
omerida commented on 2022-10-18 17:53 (UTC)
Running it in a chroot environment seemed to do the trick. Not sure what's different in my makepkg.conf, afaik its the stock one...
omerida commented on 2022-10-18 17:40 (UTC)
@el_aur Thanks. I'll try the clean chroot. You think it's a conflict with the stock php package?
muhviehstarr commented on 2022-10-14 16:53 (UTC) (edited on 2022-10-14 16:56 (UTC) by muhviehstarr)
@omerida or try via docker build using something like
#!/bin/bash
docker rm makepkg
docker run --privileged -e SYNC_DATABASE=1 -e EXPORT_PKG=1 -v /etc/pacman.d/mirrorlist:/etc/pacman.d/mirrorlist:ro -v /etc/makepkg2.conf:/etc/makepkg.conf:ro -v $PWD:/pkg --name makepkg whynothugo/makepkg
this will build the packages and copy it to your build dir after completion
Notes: i'm mapping makepkg2.conf because im using ccache what is not a good option in a container and the container default makepkg.conf is missing MAKEFLAGS per default.
you can map this adding "-v /etc/makepkg2.conf:/etc/makepkg.conf:ro" to the docker run
diff -u /etc/makepkg.conf /etc/makepkg2.conf
--- /etc/makepkg.conf 2022-08-08 14:48:24.805273359 +0200
+++ /etc/makepkg2.conf 2022-08-09 22:39:35.841588296 +0200
@@ -65,7 +65,7 @@
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
-BUILDENV=(!distcc color ccache check !sign)
+BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
el_aur commented on 2022-10-14 16:46 (UTC) (edited on 2022-10-14 16:47 (UTC) by el_aur)
@omerida try to build in clean chroot https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
This packages was tested in clean chroot and builds well there
muhviehstarr commented on 2022-10-13 15:32 (UTC)
@omerida
checks running fine here
===================================================================== Number of tests : 4055 3975 Tests skipped : 80 ( 2.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 3 ( 0.1%) ( 0.1%) Tests passed : 3972 ( 98.0%) ( 99.9%)
do you have some custom makepkg.conf settings?
omerida commented on 2022-10-13 15:23 (UTC)
I can't install the package, it builds but trying to run the tests in parallel fails with:
Spawning 16 workers... PHP Warning: stream_socket_accept(): Accept failed: Connection timed out in /home/omerida/.cache/yay/php80/src/php-8.0.24/run-tests.php on line 1491
ERROR: Failed to accept connection from worker.
make: *** [Makefile:310: test] Error 1
==> ERROR: A failure occurred in check().
Aborting...
-> error making: php80 (php80
trying to set run_tests.sh
to use one worker -j1
also didn't work for me
Pinned Comments
muhviehstarr commented on 2022-08-08 07:32 (UTC) (edited on 2022-10-18 12:04 (UTC) by muhviehstarr)
binaries can be found here, currently the packages are not signed , i will add this when i got some time
https://files.it-kraut.net/php80/
pacman.conf:
el_aur commented on 2022-02-03 18:50 (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.0 packages with:el_aur commented on 2022-02-03 18:50 (UTC)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php80
is installed withphp80-cli
subpackage,php80
doesn't include it anymore!!!PEAR and PECL are available as
php80-pear
andphp80-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php80
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php80/conf.d
They are loaded in correct order according to priority