[pkg-php-pear] Bug#759972: php-xml-serializer: FTBFS: tests failed
Antonio Ospite
ao2 at ao2.it
Wed Mar 23 21:48:28 UTC 2016
Package: php-xml-serializer
Version: 0.20.2-3
Followup-For: Bug #759972
Dear Maintainer,
about the original failure reporded by Lucas (sometimes entities in
attributes get escaped twice), I am trying to get in touch with the
upstream author, see the last comment on
http://pear.php.net/bugs/bug.php?id=15602
About the 6 failures observed by Prach, they may be caused by a change
in how PHPUnit passes the include path, as the errors are basically:
Fatal error: require_once(): Failed opening required
'XML/Unserializer.php'
(include_path='.:/usr/share/php:/usr/share/pear') in - on line 2'
By changing the way the test are run, i.e.:
diff --git a/debian/tests_run b/debian/tests_run
index 5c04a0d..ef007fa 100755
--- a/debian/tests_run
+++ b/debian/tests_run
@@ -1,11 +1,9 @@
#!/bin/sh
set -e
pear_pkg=`ls | grep XML_Serializer`
cd ${pear_pkg}
-PKG_ROOT=`pwd`
-cd tests
-
-phpunit -d include_path=".:/usr/share/php:${PKG_ROOT}" AllTests.php
+phpunit tests/AllTests.php
the tests _run_ correctly, however they would still fail because
deprecated syntax warnings pollute the output.
I have fixes for the deprecation warnings but I am waiting for the
upstream to comment on the double escape issue.
I'll report back whan I have more info.
Ciao ciao,
Antonio
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-rc7-ao2 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages php-xml-serializer depends on:
ii php-pear 1:1.10.1+submodules+notgz-6
ii php-xml-parser 1.3.6-1
php-xml-serializer recommends no packages.
Versions of packages php-xml-serializer suggests:
ii php5-cli 5.6.19+dfsg-2
-- no debconf information
--
Antonio Ospite
http://ao2.it
A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
More information about the pkg-php-pear
mailing list