Package Details: php80-ctype 8.0.30-1

Git Clone URL: https://aur.archlinux.org/php80.git (read-only, click to copy)
Package Base: php80
Description: ctype 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.000310
First Submitted: 2020-12-07 11:10 (UTC)
Last Updated: 2023-11-23 15:15 (UTC)

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:

[php80]
SigLevel = Optional TrustAll
Server = https://files.it-kraut.net/php80

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):

[home_el_archphp_Arch]
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/$arch

Then run the following as root

key=$(curl -fsSL https://download.opensuse.org/repositories/home:el:archphp/Arch/$(uname -m)/home_el_archphp_Arch.key)
fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')
pacman-key --init
pacman-key --add - <<< "${key}"
pacman-key --lsign-key "${fingerprint}"

Refresh packages database

pacman -Syy

Now search for php packages you need:

pacman -Ss php80

Install with pacman -S packages you need or all PHP 8.0 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php80')

el_aur commented on 2022-02-03 18:50 (UTC)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php80 is installed with php80-cli subpackage, php80 doesn't include it anymore!!!

  2. PEAR and PECL are available as php80-pear and php80-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php80 package anymore.

  4. 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

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

vladimir commented on 2022-11-07 10:59 (UTC)

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)

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