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
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-t...@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: ' > > # > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> > > # http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> > > # > > # > > # I am a reST document > > # > > # > > # > > # > > # I am a reST document > > # And I am its > > subtitle > > # > > # > href="http://docutils.sourceforge.net/;>Rest allows inline > > style and other stuff, > > # but I guess this code is enough. > > # > > # unknown: arg1 arg2 > class="literal-block"> > > # We also support unknown directive, so that no content is lost if reST > > # specialization is parsed. > > # > > # > > # > > # Of course we may also find new > > roles. > > # > > # module: mymodule This is a module that > > doesn't exist > > # > > # function: foo() In Sphinx documentation > > you could find this stuff. > > # > > # > > # > > # > > # > > # print I have no title > > # > > # > > # > > # > > # ' > > # expected: ' > > # > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> > > # http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> > > # > > # > > # I am a reST document > > # > > # > > # > > # > > # I am a reST document > > # And I am its > > subtitle > > # > > # > href="http://docutils.sourceforge.net/;>Rest allows inline > > style and other stuff, > > # but I guess this code is enough. > > # > > # unknown: arg1 arg2 > class="literal-block"> > > # We also support unknown directive, so that no content is lost if reST > > # specialization is parsed. > > # > > # > > # > > # Of course we may also find new > > roles. > > # > > # module: mymodule This is a module that > > doesn't exist > > # > > # function: foo() In Sphinx documentation > > you could find this stuff. > > # > > # > > # > > # > > # > > # print I have no title > > # > > # > > # > > # > > # ' > > # 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: ' +> # got: ' 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 `- signature.asc Description: Digital Signature
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
Source: libtext-markup-perl Version: 0.24-1 Severity: important Tags: ftbfs User: python-modules-t...@lists.alioth.debian.org Usertags: sphinx7.1 Hi, libtext-markup-perl fails to build with Sphinx 7.1 and docutils 0.20, both of which are currently available in experimental. Relevant part (hopefully): > debian/rules build > dh build >dh_update_autotools_config >dh_autoreconf >dh_auto_configure > /usr/bin/perl Build.PL --installdirs vendor --config "optimize=-g -O2 > -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config > "ld=x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" > Checking prerequisites... > recommends: > * Test::Pod is not installed > * Test::Pod::Coverage is not installed > > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions > of the modules indicated above before proceeding with this installation > > Run 'Build installdeps' to install missing prerequisites. > > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'Text-Markup' version '0.24' >dh_auto_build > /usr/bin/perl Build > Building Text-Markup >dh_auto_test > /usr/bin/perl Build test --verbose 1 > t/base.t . > 1..38 > ok 1 - use Text::Markup; > ok 2 - Text::Markup->can(...) > ok 3 - Should have core formats > ok 4 - Get format matchers > ok 5 - Should have core format matchers > ok 6 - '(?^:p(?:od|m|l))' isa 'Regexp' > ok 7 - '(?^:textile)' isa 'Regexp' > ok 8 - '(?^:x?html?)' isa 'Regexp' > ok 9 - '(?^:(?:m(?:edia)?)?wiki)' isa 'Regexp' > ok 10 - '(?^:m(?:d(?:own)?|kdn?|arkdown))' isa 'Regexp' > ok 11 - '(?^:tra?c)' isa 'Regexp' > ok 12 - '(?^:re?st)' isa 'Regexp' > ok 13 - '(?^:a(?:sc(?:iidoc)?|doc)?)' isa 'Regexp' > ok 14 - '(?^:bb(?:code)?)' isa 'Regexp' > ok 15 - '(?^:mm(?:d(?:own)?|kdn?|arkdown))' isa 'Regexp' > ok 16 - '(?^:creole)' isa 'Regexp' > ok 17 - Should be now have the "cool" parser > ok 18 - An object of class 'Text::Markup' isa 'Text::Markup' > ok 19 - Should have no default format > ok 20 - An object of class 'Text::Markup' isa 'Text::Markup' > ok 21 - Should have default format > ok 22 - Should be able to find specific parser > ok 23 - Should be able to find default format parser > ok 24 - Should be find the specified default parser > ok 25 - Should be able to guess the parser file the file name > ok 26 - Should guess "cool" format file "foo.cool" > ok 27 - Should not guess "cool" format file "foocool" > ok 28 - Should not guess "cool" format file "foo.cool.txt" > ok 29 - Should be now have the "cool" and "funky" parsers > ok 30 - Should still guess "cool" format file "foo.cool" > ok 31 - Should guess "funky" format file "foo.funky" > ok 32 - Should guess "funky" format file "foo.funky.txt" > ok 33 - Test the "cool" parser > ok 34 - Test the "funky" parser > ok 35 - Test the "cool" parser with options > ok 36 - Test pod option to suppress HTML header > ok 37 - Test pod options to suppress HTML header and footer > ok 38 - Test the "none" parser > ok > > # Failed test 'Parse rest file' > # at t/formats.t line 52. > # got: ' > # "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> > # http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> > # > # > # I am a reST document > # > # > # > # > # I am a reST document > # And I am its > subtitle > # > # href="http://docutils.sourceforge.net/;>Rest allows inline > style and other stuff, > # but I guess this code is enough. > # > # unknown: arg1 arg2 class="literal-block"> > # We also support unknown directive, so that no content is lost if reST > # specialization is parsed. > # > # > # > # Of course we may also find new > roles. > # > # module: mymodule This is a module that > doesn't exist > # > # function: foo() In Sphinx documentation > you could find this stuff. > # > # > # > # > # > # print I have no title > # > # > # > # > # ' > # expected: ' > # "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> > # http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> > # > # > # I am a reST document > # > # > # > # > # I am a reST document > # And I am its > subtitle > # > # href="http://docutils.sourceforge.net/;>Rest allows inline > style and other stuff, > # but I guess this code is enough. > # > # unknown: arg1 arg2 class="literal-block"> > # We also support unknown directive, so that no content is lost if reST > # specialization is parsed. > # > # > # > # Of course we may also find new > roles. > # > # module: mymodule This is a module that > doesn't exist > # > # function: foo()