[php-src] Issue #9327: make test Error
| From: | MTM828 | Date: | Sat, 13 Aug 2022 12:31:59 +0000 |
| Subject: | [php-src] Issue #9327: make test Error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242211@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9327
Author: MTM828
### Description
Running
make test returns:
```
=====================================================================
TIME END 2022-08-13 11:55:45
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 48
Exts tested : 26
---------------------------------------------------------------------
Number of tests : 17541 12053
Tests skipped : 5488 ( 31.3%) --------
Tests warned : 1 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 24 ( 0.1%) ( 0.2%)
Tests passed : 12028 ( 68.6%) ( 99.8%)
---------------------------------------------------------------------
Time taken : 367 seconds
=====================================================================
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt] XFAIL REASON: BUG:
open_basedir cannot delete symlink to prohibited file. See also
bugs 48111 and 52176.
DateTime::add() -- fall type2 type3 [ext/date/tests/DateTime_add-fall-type2-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::add() -- fall type3 type2 [ext/date/tests/DateTime_add-fall-type3-type2.phpt] XFAIL
REASON: Various bugs exist
DateTime::add() -- fall type3 type3 [ext/date/tests/DateTime_add-fall-type3-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::add() -- spring type2 type3 [ext/date/tests/DateTime_add-spring-type2-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::add() -- spring type3 type2 [ext/date/tests/DateTime_add-spring-type3-type2.phpt] XFAIL
REASON: Various bugs exist
DateTime::add() -- spring type3 type3 [ext/date/tests/DateTime_add-spring-type3-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::diff() -- fall type2 type3 [ext/date/tests/DateTime_diff-fall-type2-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::diff() -- fall type3 type2 [ext/date/tests/DateTime_diff-fall-type3-type2.phpt] XFAIL
REASON: Various bugs exist
DateTime::diff() -- fall type3 type3 [ext/date/tests/DateTime_diff-fall-type3-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::diff() -- spring type2 type3 [ext/date/tests/DateTime_diff-spring-type2-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::diff() -- spring type3 type2 [ext/date/tests/DateTime_diff-spring-type3-type2.phpt] XFAIL
REASON: Various bugs exist
DateTime::diff() -- spring type3 type3 [ext/date/tests/DateTime_diff-spring-type3-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::sub() -- fall type2 type3 [ext/date/tests/DateTime_sub-fall-type2-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::sub() -- fall type3 type2 [ext/date/tests/DateTime_sub-fall-type3-type2.phpt] XFAIL
REASON: Various bugs exist
DateTime::sub() -- fall type3 type3 [ext/date/tests/DateTime_sub-fall-type3-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::sub() -- spring type2 type3 [ext/date/tests/DateTime_sub-spring-type2-type3.phpt] XFAIL
REASON: Various bugs exist
DateTime::sub() -- spring type3 type2 [ext/date/tests/DateTime_sub-spring-type3-type2.phpt] XFAIL
REASON: Various bugs exist
DateTime::sub() -- spring type3 type3 [ext/date/tests/DateTime_sub-spring-type3-type3.phpt] XFAIL
REASON: Various bugs exist
Bug #42718 (unsafe_raw filter not applied when configured as default filter)
[ext/filter/tests/bug42718.phpt] XFAIL REASON: FILTER_UNSAFE_RAW not applied when configured as
default filter, even with flags
Bug #67296 (filter_input doesn't validate variables) [ext/filter/tests/bug49184.phpt] XFAIL
REASON: See Bug #49184
Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null
[ext/filter/tests/bug67167.02.phpt] XFAIL REASON: Requires php_zval_filter to not use
convert_to_string for all filters.
Return type check elision [ext/opcache/tests/opt/verify_return_type.phpt] XFAIL REASON: Return
types cannot be inferred through prototypes
updateTimestamp never called when session data is empty [ext/session/tests/bug71162.phpt] XFAIL
REASON: Current session module is designed to write empty session always. In addition, current
session module only supports SessionHandlerInterface only from PHP 7.0.
=====================================================================
=====================================================================
WARNED TEST SUMMARY
---------------------------------------------------------------------
Phar: bug #69958: Segfault in Phar::convertToData on invalid file [ext/phar/tests/bug69958.phpt]
(warn: XFAIL section but test passes)
=====================================================================
You may have found a problem in PHP.
This report can be saved and used to open an issue on the bug tracker at
https://github.com/php/php-src/issues
This gives us a better understanding of PHP's behavior.
Do you want to save this report in a file? [Yn]: y
Report saved to: /home/mtm/php-src/php_test_results_20220813_1149.txt
```
[php_test_results_20220813_1149.txt](https://github.com/php/php-src/files/9331382/php_test_results_20220813_1149.txt)
Here's the series of commands I ran before encountering ths error:
``` bash
git clone https://github.com/php/php-src.git
cd php-src
./buildconf
./configure --enable-embed --disable-cgi --without-splite --without-pdo-sqlite
make -j $(nproc)
make test
```
It builds fine though...
``` bash
$ sudo make install
...
$ php --version
PHP 8.2.0-dev (cli) (built: Aug 13 2022 14:48:20) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.0-dev, Copyright (c) Zend Technologies
```
Perhaps the tutorial I'm following is wrong/outdated?
https://php.watch/articles/compile-php-ubuntu
I had to install libxml2-dev and libsqlite3-dev for it to work (then I
decided to install without SQLite).
It's odd how PHP 8.2 isn't even in the supported versions list...
### PHP Version
8.2.0-dev (cli)
### Operating System
Ubuntu (Xubuntu) 20.04