Package Details: php82-redis 6.0.2-1

Git Clone URL: https://aur.archlinux.org/php82-redis.git (read-only, click to copy)
Package Base: php82-redis
Description: An API for communicating with the Redis key-value store - no igbinary dependency
Upstream URL: https://github.com/phpredis/phpredis/
Licenses: PHP-3.01
Submitter: kescherAUR
Maintainer: None
Last Packager: kescherAUR
Votes: 1
Popularity: 0.000014
First Submitted: 2023-04-21 14:51 (UTC)
Last Updated: 2024-01-14 14:59 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

jchatard commented on 2024-10-31 15:11 (UTC)

I could compile the package by removing the check() function from the PKGBUILD file, and running the normal makepkg -si

jchatard commented on 2024-10-28 16:49 (UTC)

Hello, same issue here, tests are failing, and can install redis:

Skipped test: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:5213 (testCompressionZSTD)
Skipped test: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:5231 (testCompressionLZ4)
Skipped test: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7254 (testUnixSocket)
Skipped test: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7295 (testHighPorts)
Skipped test: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7535 (testTlsConnect)

Assertion failed: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7320 (testSession_savedToRedis)
Assertion failed: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7352 (testSession_lockingDisabledByDefault)
Assertion failed: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7378 (testSession_lock_ttlMaxExecutionTime)
Assertion failed: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7394 (testSession_lock_ttlLockExpire)
Assertion failed: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7406 (testSession_lockHoldCheckBeforeWrite_otherProcessHasLock)
Assertion failed (secondProcess !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7407 (testSession_lockHoldCheckBeforeWrite_otherProcessHasLock)
Assertion failed: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7485 (testSession_noUnlockOfOtherProcess)
Assertion failed: /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7503 (testSession_lockWaitTime)
Assertion failed (bar !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7632 (testSession_regenerateSessionId_noLock_noDestroy)
Assertion failed (bar !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7643 (testSession_regenerateSessionId_noLock_withDestroy)
Assertion failed (bar !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7654 (testSession_regenerateSessionId_withLock_noDestroy)
Assertion failed (bar !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7665 (testSession_regenerateSessionId_withLock_withDestroy)
Assertion failed (bar !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7680 (testSession_regenerateSessionId_noLock_noDestroy_withProxy)
Assertion failed (bar !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7695 (testSession_regenerateSessionId_noLock_withDestroy_withProxy)
Assertion failed (bar !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7710 (testSession_regenerateSessionId_withLock_noDestroy_withProxy)
Assertion failed (bar !== ): /home/jchatard/.cache/paru/clone/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:7725 (testSession_regenerateSessionId_withLock_withDestroy_withProxy)
==> ERREUR : Une erreur s’est produite dans check().
    Abandon…
erreur : échec de la compilation de 'php82-redis-6.0.2-1':
erreur : la compilation des paquets suivants a échouée : php82-redis-6.0.2-1

wesli commented on 2024-04-08 19:08 (UTC) (edited on 2024-04-08 19:13 (UTC) by wesli)

I have the same issue and can not install php82-redis as tests are failing. Here the logs:


...
Build complete.
Don't forget to run 'make test'.

==> Starting check()...
starting node on port 6379
starting node on port 6380
starting node on port 6381
starting node on port 6382
PHP Warning:  Module "redis" is already loaded in Unknown on line 0
Note: these tests might take up to a minute. Don't worry :-)
Using PHP version 8.2.17 (64 bits)
Testing class Redis
testMinimumVersion                                             PHP Fatal error:  Uncaught ArgumentCountError: Redis::__construct() expects exactly 0 arguments, 1 given in /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:107
Stack trace:
#0 /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php(107): Redis->__construct()
#1 /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php(37): Redis_Test->newInstance()
#2 /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/TestSuite.php(273): Redis_Test->setUp()
#3 /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/TestRedis.php(59): TestSuite::run()
#4 {main}
  thrown in /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php on line 107

Fatal error: Uncaught ArgumentCountError: Redis::__construct() expects exactly 0 arguments, 1 given in /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:107
Stack trace:
#0 /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php(107): Redis->__construct()
#1 /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php(37): Redis_Test->newInstance()
#2 /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/TestSuite.php(273): Redis_Test->setUp()
#3 /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/TestRedis.php(59): TestSuite::run()
#4 {main}
  thrown in /home/vese/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php on line 107
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: php82-redis-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
php82-redis - exit status 4

florianorineveu commented on 2024-04-02 23:20 (UTC)

@kescherAUR sorry for that. I finally commented the extension in my PHP ini file. I also shutdown redis to make sure I didn't have any "parasites". The error occurs when I try to upgrade my package (5.3.7-1 -> 6.0.2-1) via yay. Here are the complete logs: https://pastebin.com/CpDWUpnC Thx for your help

kescherAUR commented on 2024-04-02 16:04 (UTC)

@florianorineveu "PHP warning: Module redis is already loaded" indicates you are running a PHP install with this module already loaded. Try again in a clean chroot. Also, you may want to build this package on another machine entirely, or you may want to skip check() (since you may already have redis running on the ports it's starting those on).

florianorineveu commented on 2024-04-01 20:47 (UTC)

Can´t install the version 6.0.2-1:

...

Build complete.
Don't forget to run 'make test'.

==> Starting check()...
starting node on port 6379
starting node on port 6380
starting node on port 6381
starting node on port 6382
PHP Warning:  Module "redis" is already loaded in Unknown on line 0
Note: these tests might take up to a minute. Don't worry :-)
Using PHP version 8.2.17 (64 bits)
Testing class Redis
testMinimumVersion                                             PHP Fatal error:  Uncaught ArgumentCountError: Redis::__construct() expects exactly 0 arguments, 1 given in /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:107
Stack trace:
#0 /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php(107): Redis->__construct()
#1 /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php(37): Redis_Test->newInstance()
#2 /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/TestSuite.php(273): Redis_Test->setUp()
#3 /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/TestRedis.php(59): TestSuite::run()
#4 {main}
  thrown in /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php on line 107

Fatal error: Uncaught ArgumentCountError: Redis::__construct() expects exactly 0 arguments, 1 given in /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php:107
Stack trace:
#0 /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php(107): Redis->__construct()
#1 /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php(37): Redis_Test->newInstance()
#2 /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/TestSuite.php(273): Redis_Test->setUp()
#3 /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/TestRedis.php(59): TestSuite::run()
#4 {main}
  thrown in /home/ori/.cache/yay/php82-redis/src/php82-redis-6.0.2/tests/RedisTest.php on line 107
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: php82-redis-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
php82-redis - exit status 4