#31841 [NEW]: Error compiling PHP with Sablotron
| From: | afrosit at afros dot it | Date: | Fri, 04 Feb 2005 08:36:42 +0000 |
| Subject: | #31841 [NEW]: Error compiling PHP with Sablotron | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73437@lists.php.net to get a copy of this message | ||
From: afrosit at afros dot it
Operating system: Fedora Core 3
PHP version: 4.3.10
PHP Bug Type: Compile Failure
Bug description: Error compiling PHP with Sablotron
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 bug report at http://bugs.php.net/?id=31841&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31841&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31841&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31841&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31841&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31841&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31841&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31841&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31841&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31841&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31841&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31841&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31841&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31841&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31841&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31841&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31841&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31841&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31841&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31841&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31841&r=mysqlcfg