#31841 [Opn->Ver]: Sablotron test fails: [ext/xslt/tests/xslt_set_object.phpt]
| From: | sniper@php.net | Date: | Fri, 04 Feb 2005 10:51:59 +0000 |
| Subject: | #31841 [Opn->Ver]: Sablotron test fails: [ext/xslt/tests/xslt_set_object.phpt] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73445@lists.php.net to get a copy of this message | ||
ID: 31841
Updated by: sniper@php.net
-Summary: Error compiling PHP with Sablotron
Reported By: afrosit at afros dot it
-Status: Open
+Status: Verified
-Bug Type: Compile Failure
+Bug Type: XSLT related
-Operating System: Fedora Core 3
+Operating System: *
-PHP Version: 4.3.10
+PHP Version: 4CVS-2005-02-04
New Comment:
This test has failed for as long as I can remember..
Previous Comments:
------------------------------------------------------------------------
[2005-02-04 09:36:41] afrosit at afros dot it
Description:
------------
We tried to rebuild the PHP 3.4.10 with Sablotron 1.0.2 from the
sources on a Fedora Core 3 machine adding the following options in the
php configure:
--enable-xslt --with-xlst-sablot --with-sablot-js
but we get always an error is the test section (see below).
We have also installed "sablotron" 1.0.2, "js" 1.5 and "expat" 1.95.7
and the related headers files and libraries.
If we disable the xslt component tests during the compilation time, the
PHP is compiled correctly and it works fine!
So there is a problem in the following test code:
../ext/xslt/tests/xslt_set_object.php
Actual result:
--------------
... (skip) ...
SKIP PEAR_Installer test #2 [pear/tests/pear_installer2.phpt]
SKIP PEAR_Installer test #3 File Transactions
[pear/tests/pear_installer3.phpt]
SKIP PEAR_Installer test #4: PEAR_Installer::install()
[pear/tests/pear_installer4.phpt]
SKIP PEAR_Installer test #5: test directory tracking/deletion of
installation [pear/tests/pear_installer5.phpt]
SKIP PEAR_Packager test [pear/tests/pear_packager.phpt]
SKIP PEAR_Registry [pear/tests/pear_registry.phpt]
SKIP System commands tests [pear/tests/pear_system.phpt]
=====================================================================
TIME END 2005-01-31 12:28:59
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 56
Exts tested : 31
---------------------------------------------------------------------
Number of tests : 608
Tests skipped : 204 (33.6%)
Tests warned : 0 (0.0%)
Tests failed : 1 (0.2%)
Tests passed : 403 (66.3%)
---------------------------------------------------------------------
Time taken : 43 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
xslt_set_object function [ext/xslt/tests/xslt_set_object.phpt]
=====================================================================
make: *** [test] Error 1
+ set +x
TEST FAILURE: ../ext/xslt/tests/xslt_set_object.diff --
001- OK
001+ Warning: Sablotron error on line 1: XML parser error 3: no element
found in
/usr/src/redhat/BUILD/php-4.3.10/ext/xslt/tests/xslt_set_object.php on
line 19
002- OK
002+
003+ Warning: Sablotron error on line 1: XML parser error 3: no element
found in
/usr/src/redhat/BUILD/php-4.3.10/ext/xslt/tests/xslt_set_object.php on
line 30
004+ OK
005+ OK-- ../ext/xslt/tests/xslt_set_object.diff result ends.
error: Bad exit status from /var/tmp/rpm-tmp.48369 (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.48369 (%check)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31841&edit=1