php 8.0.15 is out since january. It compiled well with this package:
pkgver=8.0.15
the current version failed to compile.
I use this one because I use nextcloud, and nextcloud doesn't support php 8.1 yet.
Git Clone URL: | https://aur.archlinux.org/php80.git (read-only, click to copy) |
---|---|
Package Base: | php80 |
Description: | OpenSSL module for php80 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | muhviehstarr |
Maintainer: | muhviehstarr (el_aur) |
Last Packager: | el_aur |
Votes: | 15 |
Popularity: | 0.000074 |
First Submitted: | 2020-12-07 11:10 (UTC) |
Last Updated: | 2024-06-27 12:15 (UTC) |
php 8.0.15 is out since january. It compiled well with this package:
pkgver=8.0.15
the current version failed to compile.
I use this one because I use nextcloud, and nextcloud doesn't support php 8.1 yet.
How do we pull the upstream into this build
My builds are failing with
In file included from /home/[user]/.cache/yay/php80/src/php-8.0.1/ext/intl/breakiterator/breakiterator_class.cpp:21:
/home/lance/.cache/yay/php80/src/php-8.0.1/ext/intl/breakiterator/codepointiterator_internal.h:40:31: error: conflicting return type specified for ‘virtual UBool PHP::CodePointBreakIterator::operator==(const icu_70::BreakIterator&) const’
40 | virtual UBool operator==(const BreakIterator& that) const;
| ^~~~~~~~
In file included from /home/[user]/.cache/yay/php80/src/php-8.0.1/ext/intl/breakiterator/breakiterator_class.cpp:19:
/usr/include/unicode/brkiter.h:127:18: note: overridden function is ‘virtual bool icu_70::BreakIterator::operator==(const icu_70::BreakIterator&) const’
127 | virtual bool operator==(const BreakIterator&) const = 0;
| ^~~~~~~~
make: *** [Makefile:1318: ext/intl/breakiterator/breakiterator_class.lo] Error 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: php80
It seems to be fixed upstream
Hi guys. Wanna adopt this package. Have made universal builds for all PHP versions 5.3-8.1. Maintaining already php55, php72, php73, php74, php81 in AUR
@chindit thanks , i have added the deps
works great now ;). Thank you!
@Gonzo2028 @muhviehstarr
Some dependencies are missing, that's why build fails.
You need to add «hspell, nuspell, libvoikko» to required dependencies in order for the package to build.
@Gonzo2028 @jvzr Check test log files at .../php80/src/php-8.0.0/Zend/tests for failing tests. In my case I found this output:
---- EXPECTED OUTPUT
===DONE===
---- ACTUAL OUTPUT
** (process:768017): WARNING **: 13:44:10.858: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
** (process:768017): WARNING **: 13:44:10.858: Error loading plugin: libnuspell.so.4: cannot open shared object file: No such file or directory
** (process:768017): WARNING **: 13:44:10.858: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
** (process:768017): WARNING **: 13:44:10.925: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
** (process:768017): WARNING **: 13:44:10.926: Error loading plugin: libnuspell.so.4: cannot open shared object file: No such file or directory
** (process:768017): WARNING **: 13:44:10.926: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
===DONE===
---- FAILED
After installing hspell nuspell libvoikko
from repo the build and tests were successful
I get the same error as @Gonzo2028 on my Linode server
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