Source: cmark Version: 0.29.0-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200321 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' > Running tests... > /usr/bin/ctest --force-new-ctest-process -j4 > Test project /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu > Start 1: api_test > Start 2: html_normalization > Start 3: spectest_library > Start 4: pathological_tests_library > 1/9 Test #1: api_test ......................... Passed 0.00 sec > Start 5: roundtriptest_library > 2/9 Test #3: spectest_library ................. Passed 0.11 sec > Start 6: entity_library > 3/9 Test #2: html_normalization ...............***Failed 0.13 sec > ********************************************************************** > File "/<<PKGBUILDDIR>>/test/normalize.py", line 169, in > normalize.normalize_html > Failed example: > normalize_html('<a title="bar" HREF="foo">x</a>') > Exception raised: > Traceback (most recent call last): > File "/usr/lib/python3.8/doctest.py", line 1329, in __run > exec(compile(example.source, filename, "single", > File "<doctest normalize.normalize_html[8]>", line 1, in <module> > normalize_html('<a title="bar" HREF="foo">x</a>') > File "/<<PKGBUILDDIR>>/test/normalize.py", line 189, in normalize_html > parser.feed(chunk.group(0)) > File "/usr/lib/python3.8/html/parser.py", line 111, in feed > self.goahead(0) > File "/usr/lib/python3.8/html/parser.py", line 171, in goahead > k = self.parse_starttag(i) > File "/usr/lib/python3.8/html/parser.py", line 345, in parse_starttag > self.handle_starttag(tag, attrs) > File "/<<PKGBUILDDIR>>/test/normalize.py", line 69, in handle_starttag > self.output += ("=" + '"' + cgi.escape(v,quote=True) + '"') > AttributeError: module 'cgi' has no attribute 'escape' > ********************************************************************** > 1 items had failures: > 1 of 10 in normalize.normalize_html > ***Test Failed*** 1 failures. > > Start 7: spectest_executable > 4/9 Test #5: roundtriptest_library ............***Failed 0.14 sec > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/test/roundtrip_tests.py", line 45, in <module> > do_test(converter, test, args.normalize, result_counts) > File "/<<PKGBUILDDIR>>/test/spec_tests.py", line 48, in do_test > passed = normalize_html(actual_html) == normalize_html(expected_html) > File "/<<PKGBUILDDIR>>/test/normalize.py", line 189, in normalize_html > parser.feed(chunk.group(0)) > File "/usr/lib/python3.8/html/parser.py", line 111, in feed > self.goahead(0) > File "/usr/lib/python3.8/html/parser.py", line 171, in goahead > k = self.parse_starttag(i) > File "/usr/lib/python3.8/html/parser.py", line 345, in parse_starttag > self.handle_starttag(tag, attrs) > File "/<<PKGBUILDDIR>>/test/normalize.py", line 69, in handle_starttag > self.output += ("=" + '"' + cgi.escape(v,quote=True) + '"') > AttributeError: module 'cgi' has no attribute 'escape' > > Start 8: smartpuncttest_executable > 5/9 Test #6: entity_library ................... Passed 0.08 sec > Start 9: regressiontest_executable > 6/9 Test #8: smartpuncttest_executable ........ Passed 0.11 sec > 7/9 Test #9: regressiontest_executable ........ Passed 0.09 sec > 8/9 Test #7: spectest_executable .............. Passed 0.80 sec > 9/9 Test #4: pathological_tests_library ....... Passed 1.14 sec > > 78% tests passed, 2 tests failed out of 9 > > Total Test time (real) = 1.14 sec > > The following tests FAILED: > 2 - html_normalization (Failed) > 5 - roundtriptest_library (Failed) > Errors while running CTest > make[1]: *** [Makefile:133: test] Error 8 > make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' > dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j4 test ARGS\+=-j4 > returned exit code 2 The full build log is available from: http://qa-logs.debian.net/2020/03/21/cmark_0.29.0-1_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.