Bug#1042643: libtext-markup-perl: FTBFS with Sphinx 7.1, docutils 0.20: dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 1

gregor herrmann gregoa at debian.org
Sun Jul 30 20:34:05 BST 2023


Control: tag -1 + confirmed

On Sun, 30 Jul 2023 20:32:22 +0200, Lucas Nussbaum wrote:

> Source: libtext-markup-perl
> Version: 0.24-1
> Severity: important
> Tags: ftbfs
> User: python-modules-team at lists.alioth.debian.org
> Usertags: sphinx7.1
> 
> libtext-markup-perl fails to build with Sphinx 7.1 and docutils 0.20, both of which
> are currently available in experimental.

> >     #   Failed test 'Parse rest file'
> >     #   at t/formats.t line 52.
> >     #          got: '<?xml version="1.0" encoding="utf-8"?>
> >     # <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> >     # <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> >     # <head>
> >     # <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> >     # <title>I am a reST document</title>
> >     # 
> >     # </head>
> >     # <body>
> >     # <div class="document" id="i-am-a-rest-document">
> >     # <h1 class="title">I am a reST document</h1>
> >     # <h2 class="subtitle" id="and-i-am-its-subtitle">And I am its subtitle</h2>
> >     # 
> >     # <p><a class="reference external" href="http://docutils.sourceforge.net/">Rest</a> allows <em>inline</em> <strong>style</strong> and other stuff,
> >     # but I guess this <tt class="docutils literal">code</tt> is enough.</p>
> >     # <div class="directive-unknown">
> >     # <strong>unknown: </strong><em>arg1 </em><em>arg2 </em><pre class="literal-block">
> >     # We also support unknown directive, so that no content is lost if reST
> >     # specialization is parsed.
> >     # </pre>
> >     # 
> >     # </div>
> >     # <p>Of course we may also find <span class="role-unknown">new roles</span>.</p>
> >     # <div class="directive-module">
> >     # <strong>module: </strong><em>mymodule </em><p>This is a module that doesn't <em>exist</em></p>
> >     # <div class="directive-function">
> >     # <strong>function: </strong><em>foo() </em><p>In Sphinx documentation you could find this stuff.</p>
> >     # 
> >     # </div>
> >     # 
> >     # </div>
> >     # <pre class="code python literal-block">
> >     # print "I have no title"
> >     # </pre>
> >     # </div>
> >     # </body>
> >     # </html>
> >     # '
> >     #     expected: '<?xml version="1.0" encoding="utf-8" ?>
> >     # <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> >     # <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> >     # <head>
> >     # <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> >     # <title>I am a reST document</title>
> >     # 
> >     # </head>
> >     # <body>
> >     # <div class="document" id="i-am-a-rest-document">
> >     # <h1 class="title">I am a reST document</h1>
> >     # <h2 class="subtitle" id="and-i-am-its-subtitle">And I am its subtitle</h2>
> >     # 
> >     # <p><a class="reference external" href="http://docutils.sourceforge.net/">Rest</a> allows <em>inline</em> <strong>style</strong> and other stuff,
> >     # but I guess this <tt class="docutils literal">code</tt> is enough.</p>
> >     # <div class="directive-unknown">
> >     # <strong>unknown: </strong><em>arg1 </em><em>arg2 </em><pre class="literal-block">
> >     # We also support unknown directive, so that no content is lost if reST
> >     # specialization is parsed.
> >     # </pre>
> >     # 
> >     # </div>
> >     # <p>Of course we may also find <span class="role-unknown">new roles</span>.</p>
> >     # <div class="directive-module">
> >     # <strong>module: </strong><em>mymodule </em><p>This is a module that doesn't <em>exist</em></p>
> >     # <div class="directive-function">
> >     # <strong>function: </strong><em>foo() </em><p>In Sphinx documentation you could find this stuff.</p>
> >     # 
> >     # </div>
> >     # 
> >     # </div>
> >     # <pre class="code python literal-block">
> >     # print "I have no title"
> >     # </pre>
> >     # </div>
> >     # </body>
> >     # </html>
> >     # '
> >     # Looks like you failed 1 test of 7.
> > 
> > #   Failed test 'Testing rest format'
> > #   at t/formats.t line 63.
> > # Looks like you failed 1 test of 12.

> > # Subtest: Testing rest format
> >     1..7
> >     ok 1 - use Text::Markup::Rest;
> >     ok 2 - rest should be loaded
> >     ok 3 - An object of class 'Text::Markup' isa 'Text::Markup'
> >     ok 4 - Should guess that .rest extension is rest
> >     ok 5 - Should guess that .rst extension is rest
> >     not ok 6 - Parse rest file
> >     ok 7 - Parse empty rest file
> > not ok 9 - Testing rest format

> Please see [1] for Sphinx changelog and [2] for Docutils changelog.

> [2]: https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.20.1:/RELEASE-NOTES.txt


And the only actual diff between the 'expected' and the 'got' strings is:

->     #     expected: '<?xml version="1.0" encoding="utf-8" ?>
+>     #          got: '<?xml version="1.0" encoding="utf-8"?>


Cheers,
gregor


-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20230730/acc63ca3/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list