Package Details: php74-snmp 7.4.21-1

Git Clone URL: https://aur.archlinux.org/php74.git (read-only, click to copy)
Package Base: php74
Description: snmp module for PHP
Upstream URL: https://www.php.net/
Licenses: PHP
Submitter: tompear
Maintainer: tompear
Last Packager: tompear
Votes: 4
Popularity: 0.151242
First Submitted: 2021-01-31 11:48
Last Updated: 2021-07-02 19:57

Required by (0)

Sources (9)

Latest Comments

1 2 Next › Last »

tompear commented on 2021-06-21 13:38

There is syntax error in my comment about running tests manually. It should be:

export REPORT_EXIT_STATUS=1;export NO_INTERACTION=1;export SKIP_ONLINE_TESTS=1;export SKIP_SLOW_TESTS=1;export TEST_PHP_ARGS="-j$(nproc)";export TESTS='tests Zend'; ../build/sapi/cli/php -n run-tests.php -n -P {tests,Zend}

-P option is not part of PHP command and this one produces an error. This option is related with 'run-tests.php' script. I didnt paste command properly, there is no script to run.

miguelmsoler commented on 2021-06-16 14:07

I'm on Arch and I see the same error about no P option

kdvr commented on 2021-05-10 15:21

Sure I understand. I see that it fails on Error in argument 2, char 2: option not found P. I'll fix this manually no worries. It does seem strange that this option isn't available, but software is software :-)

tompear commented on 2021-05-10 13:45

You are using Manjaro right? If so, AUR is for Arch Linux Users and support for other OS types is not a must.

But ... you can try to turn off apparmor. Dont know if it is a reason why check() doesnt work but give it a chance.

Other thing you can try first is to run checks manually after build process to see any errors. To do it go to build directory (according to your log file it was /var/tmp/pamac-build-rik/php74/src/php-7.4.19) and try to execute:

export REPORT_EXIT_STATUS=1;export NO_INTERACTION=1;export SKIP_ONLINE_TESTS=1;export SKIP_SLOW_TESTS=1;export TEST_PHP_ARGS="-j$(nproc)";export TESTS='tests Zend'; ../build/sapi/cli/php -n -P {tests,Zend}

kdvr commented on 2021-05-10 10:02

@tompear thanks for checking.

Here is the full build log: https://gist.githubusercontent.com/rikvanderkemp/97c3d2e3045b6e64c3879a58e1892031/raw/5a2440bc163779409430119920e4b2c4dbaf94bc/build.log

tompear commented on 2021-05-10 09:39

Bad news is: it works for me (up to date version of Arch and Manjaro too).

I get this message about PHP_Archive too so this is not the reason why check() doesnt work.

Please paste more data about fail, right now its hard to write anything else.

kdvr commented on 2021-05-10 08:23

@tompear it looks like the package won't compile anymore.

The build ends with

==> Starting check()...
==> ERROR: A failure occurred in check().
    Aborting...

Another clue might be

Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
directorytreeiterator.inc
invertedregexiterator.inc
clicommand.inc
directorygraphiterator.inc
pharcommand.inc
phar.inc

I have tried removing and clearing the cache to no avail.

tompear commented on 2021-03-04 21:29

@AlexySirov php74-memcached is in. I will add php74-memcache soon.

AlexySirov commented on 2021-03-01 09:26

Please think about adding php74-memcached and php74-memcache

sausix commented on 2021-02-22 13:34

@tompear You may acquire php74-mcrypt into your package collection if you like.