Bug#759972: php-xml-serializer: FTBFS: tests failed
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-pear1: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?
Bug#759972: php-xml-serializer: FTBFS: tests failed
Hi, I rebuilt php-xml-serializer on sid (2015-11-16). >chmod +x ./debian/tests_run >./debian/tests_run >PHPUnit 5.0.9 by Sebastian Bergmann and contributors. > >. 65 / 73 ( >89%) >..FF 73 / 73 >(100%) > >Time: 487 ms, Memory: 7.00Mb > >There were 6 failures: The full build log is attached. Regards Prach I: using fakeroot in build. I: pbuilder: network access will be disabled during build I: Current time: Mon Nov 16 21:15:38 ICT 2015 I: pbuilder-time-stamp: 1447683338 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/base-sid.tgz] I: creating local configuration I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /run/shm filesystem I: mounting /dev/pts filesystem I: Mounting /var/cache/pbuilder/result I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Installing the build-deps I: user script /var/cache/pbuilder/build//22327/tmp/hooks/D05deps starting Ign file: ./ InRelease Ign file: ./ Release.gpg Ign file: ./ Release Ign file: ./ Translation-en Get:1 http://ftp.th.debian.org sid InRelease [256 kB] Get:2 http://ftp.th.debian.org sid/main amd64 Packages/DiffIndex [7876 B] Get:3 http://ftp.th.debian.org sid/main Translation-en/DiffIndex [7876 B] Get:4 http://ftp.th.debian.org sid/main amd64 2015-11-14-0844.46.pdiff [2054 B] Get:5 http://ftp.th.debian.org sid/main amd64 2015-11-14-1445.49.pdiff [5608 B] Get:6 http://ftp.th.debian.org sid/main amd64 2015-11-14-2042.49.pdiff [8512 B] Get:7 http://ftp.th.debian.org sid/main amd64 2015-11-15-0243.28.pdiff [6682 B] Get:8 http://ftp.th.debian.org sid/main amd64 2015-11-15-0843.03.pdiff [8676 B] Get:9 http://ftp.th.debian.org sid/main amd64 2015-11-15-1442.46.pdiff [9979 B] Get:10 http://ftp.th.debian.org sid/main amd64 2015-11-15-2042.38.pdiff [16.9 kB] Get:11 http://ftp.th.debian.org sid/main amd64 2015-11-16-0243.26.pdiff [17.5 kB] Get:12 http://ftp.th.debian.org sid/main amd64 2015-11-16-0846.12.pdiff [2281 B] Get:13 http://ftp.th.debian.org sid/main amd64 2015-11-16-0846.12.pdiff [2281 B] Get:14 http://ftp.th.debian.org sid/main 2015-11-14-1445.49.pdiff [1115 B] Get:15 http://ftp.th.debian.org sid/main 2015-11-14-2042.49.pdiff [845 B] Get:16 http://ftp.th.debian.org sid/main 2015-11-15-0243.28.pdiff [260 B] Get:17 http://ftp.th.debian.org sid/main 2015-11-15-0843.03.pdiff [876 B] Get:18 http://ftp.th.debian.org sid/main 2015-11-15-1442.46.pdiff [546 B] Get:19 http://ftp.th.debian.org sid/main 2015-11-15-2042.38.pdiff [603 B] Get:20 http://ftp.th.debian.org sid/main 2015-11-16-0243.26.pdiff [617 B] Get:21 http://ftp.th.debian.org sid/main 2015-11-16-0243.26.pdiff [617 B] Fetched 355 kB in 8s (43.6 kB/s) Reading package lists... I: user script /var/cache/pbuilder/build//22327/tmp/hooks/D05deps finished I: user script /var/cache/pbuilder/build//22327/tmp/hooks/D10dpkg-speedup starting I: user script /var/cache/pbuilder/build//22327/tmp/hooks/D10dpkg-speedup finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder TeamDescription: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 8), pkg-php-tools, phpunit (>= 3.6), php-xml-parser dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 12534 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 8); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on pkg-php-tools; however: Package pkg-php-tools is not installed. pbuilder-satisfydepends-dummy depends on phpunit (>= 3.6); however: Package phpunit is not installed. pbuilder-satisfydepends-dummy depends on php-xml-parser; however: Package php-xml-parser is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the
Bug#759972: php-xml-serializer: FTBFS: tests failed
Source: php-xml-serializer Version: 0.20.2-3 Severity: serious Tags: jessie sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20140830 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): make[1]: Entering directory '/«PKGBUILDDIR»' dh_link -O--buildsystem=phppear chmod +x ./debian/tests_run ./debian/tests_run PHPUnit 3.7.28 by Sebastian Bergmann. . 65 / 73 ( 89%) F... Time: 297 ms, Memory: 7.50Mb There was 1 failure: 1) /«PKGBUILDDIR»/XML_Serializer-0.20.2/tests/bug-15602.phpt --- Expected +++ Actual @@ @@ ?xml version=1.0 encoding=UTF-8? -FooTag attr1=I say: quot;Aquot;, B amp; C, apos;dapos;! - tag1 attr1=I say: quot;Aquot;, B amp; C, apos;dapos;! +FooTag attr1=I say: amp;quot;Aamp;quot;, B amp;amp; C, amp;apos;damp;apos;! + tag1 attr1=I say: amp;quot;Aamp;quot;, B amp;amp; C, amp;apos;damp;apos;! tag2I say: quot;Aquot;, B amp; C, apos;dapos;!/tag2 /tag1 tag3 attr1=I say: quot;Aquot;, B amp; C, apos;dapos;!I say: quot;Aquot;, B amp; C, apos;dapos;!/tag3 /FooTag FAILURES! Tests: 73, Assertions: 81, Failures: 1. make[1]: *** [override_dh_link] Error 1 The full build log is available from: http://aws-logs.debian.net/ftbfs-logs/2014/08/30/php-xml-serializer_0.20.2-3_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures. The build was done with DEB_BUILD_OPTIONS=parallel=4, so if your packaging tries to support this, it might be a good idea to explore whether this might be the cause of the failure. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org