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: kescherAUR
Last Packager: kescherAUR
Votes: 1
Popularity: 0.000400
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

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