[pkg-php-pear] Bug#1107544: php-league-html-to-markdown autopkg tests fail with libxml 2.14.x from experimental

Matthias Klose doko at debian.org
Mon Jun 9 09:04:25 BST 2025


Package: src:php-league-html-to-markdown
Version: 5.1.1-3
Tags: ftbfs sid forky
User: debian-xml-sgml-pkgs at lists.alioth.debian.org
Usertags: libxml2.14

[this bug is NOT targeted to the upcoming trixie release]

  php-league-html-to-markdown autopkg tests fail with libxml 2.14.x from 
experimental, and all it's dependencies built with this libxml version.

[...]

  90s autopkgtest [18:23:27]: test phpunit: [-----------------------
  90s patching file tests/BinTest.php
  90s PHPUnit 11.5.19 by Sebastian Bergmann and contributors.
  90s
  90s Runtime:       PHP 8.4.5
  90s Configuration: /tmp/autopkgtest.dgdhTx/build.RTO/src/phpunit.xml.dist
  90s
  90s ......................F...............FF......... 
49 / 49 (100%)
  90s
  90s Time: 00:00.226, Memory: 8.00 MB
  90s
  90s There were 3 failures:
  90s
  90s 1) League\HTMLToMarkdown\Test\HtmlConverterTest::testScript
  90s Failed asserting that two strings are identical.
  90s --- Expected
  90s +++ Actual
  90s @@ @@
  90s -'<script>alert('test');</script>'
  90s +'<!--?xml 
encoding="UTF-8"--><html><head><script>alert('test');</script>'
  90s
  90s /tmp/autopkgtest.dgdhTx/build.RTO/src/tests/HtmlConverterTest.php:27
  90s /tmp/autopkgtest.dgdhTx/build.RTO/src/tests/HtmlConverterTest.php:131
  90s
  90s 2) League\HTMLToMarkdown\Test\HtmlConverterTest::testPreserveComments
  90s Failed asserting that two strings are identical.
  90s --- Expected
  90s +++ Actual
  90s @@ @@
  90s -'<!-- Test comment -->Test
  90s +'<!--?xml encoding="UTF-8"--><!-- Test comment -->Test
  90s
  90s  <!-- Test comment -->'
  90s
  90s /tmp/autopkgtest.dgdhTx/build.RTO/src/tests/HtmlConverterTest.php:27
  90s /tmp/autopkgtest.dgdhTx/build.RTO/src/tests/HtmlConverterTest.php:341
  90s
  90s 3) 
League\HTMLToMarkdown\Test\HtmlConverterTest::testPreserveCommentOrder
  90s Failed asserting that two strings are identical.
  90s --- Expected
  90s +++ Actual
  90s @@ @@
  90s -'<!-- 1 --><!-- 2 -->Test
  90s +'<!--?xml encoding="UTF-8"--><!-- 1 --><!-- 2 -->Test
  90s
  90s  <!-- 3 -->'
  90s
  90s /tmp/autopkgtest.dgdhTx/build.RTO/src/tests/HtmlConverterTest.php:27
  90s /tmp/autopkgtest.dgdhTx/build.RTO/src/tests/HtmlConverterTest.php:346
  90s
  90s FAILURES!
  90s Tests: 49, Assertions: 228, Failures: 3.
  90s patching file tests/BinTest.php



More information about the pkg-php-pear mailing list