Control: tags -1 + patch -- On Tue, Jan 07, 2025 at 08:50:53PM +0100, Lucas Nussbaum wrote: > Source: haskell-cmark-gfm > Version: 0.2.5+ds1-3 > Severity: serious > Justification: FTBFS > Tags: trixie sid ftbfs > User: lu...@debian.org > Usertags: ftbfs-20250106 ftbfs-trixie > > Hi, > > During a rebuild of all packages in sid, your package failed to build > on amd64.
The attached diff will fix the FTBFS. -- Regards Sudip
diff -Nru haskell-cmark-gfm-0.2.5+ds1/debian/changelog haskell-cmark-gfm-0.2.5+ds1/debian/changelog --- haskell-cmark-gfm-0.2.5+ds1/debian/changelog 2024-09-18 13:32:38.000000000 +0100 +++ haskell-cmark-gfm-0.2.5+ds1/debian/changelog 2025-01-09 20:39:19.000000000 +0000 @@ -1,3 +1,10 @@ +haskell-cmark-gfm (0.2.5+ds1-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Apply upstream fix to adjust tests. (Closes: #1092404) + + -- Sudip Mukherjee <sudipm.mukher...@gmail.com> Thu, 09 Jan 2025 20:39:19 +0000 + haskell-cmark-gfm (0.2.5+ds1-3) unstable; urgency=medium * Declare compliance with Debian policy 4.7.0 diff -Nru haskell-cmark-gfm-0.2.5+ds1/debian/patches/adjust-test.patch haskell-cmark-gfm-0.2.5+ds1/debian/patches/adjust-test.patch --- haskell-cmark-gfm-0.2.5+ds1/debian/patches/adjust-test.patch 1970-01-01 01:00:00.000000000 +0100 +++ haskell-cmark-gfm-0.2.5+ds1/debian/patches/adjust-test.patch 2025-01-09 20:38:49.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Adjust test + +Origin: upstream, https://github.com/kivikakk/cmark-gfm-hs/commit/c0f02ad2189d4b2c17bc806e5371d0998037d292 +Bug-Debian: https://bugs.debian.org/1092404 +Last-Update: 2025-01-09 +--- + +diff --git a/test/test-cmark.hs b/test/test-cmark.hs +index 6f53c3a..adef1e9 100644 +--- a/test/test-cmark.hs ++++ b/test/test-cmark.hs +@@ -33,6 +33,6 @@ tests = TestList [ + , "<xmp>\n" ~=? commonmarkToHtml [optUnsafe] [] "<xmp>" + , "<xmp>\n" ~=? commonmarkToHtml [optUnsafe] [extTagfilter] "<xmp>" + , "<ul>\n<li><input type=\"checkbox\" disabled=\"\" /> foo</li>\n<li><input type=\"checkbox\" checked=\"\" disabled=\"\" /> bar</li>\n</ul>\n" ~=? commonmarkToHtml [] [extTaskList] "- [ ] foo\n- [x] bar" +- , "<p>Here is footnote<sup class=\"footnote-ref\"><a href=\"#fn-1\" id=\"fnref-1\" data-footnote-ref>1</a></sup></p>\n<section class=\"footnotes\" data-footnotes>\n<ol>\n<li id=\"fn-1\">\n<p>abc <a href=\"#fnref-1\" class=\"footnote-backref\" data-footnote-backref aria-label=\"Back to content\">↩</a></p>\n</li>\n</ol>\n</section>\n" ~=? commonmarkToHtml [optFootnotes] [] "Here is footnote[^1]\n\n[^1]: abc" ++ , "<p>Here is footnote<sup class=\"footnote-ref\"><a href=\"#fn-1\" id=\"fnref-1\" data-footnote-ref>1</a></sup></p>\n<section class=\"footnotes\" data-footnotes>\n<ol>\n<li id=\"fn-1\">\n<p>abc <a href=\"#fnref-1\" class=\"footnote-backref\" data-footnote-backref data-footnote-backref-idx=\"1\" aria-label=\"Back to reference 1\">↩</a></p>\n</li>\n</ol>\n</section>\n" ~=? commonmarkToHtml [optFootnotes] [] "Here is footnote[^1]\n\n[^1]: abc" + ] + diff -Nru haskell-cmark-gfm-0.2.5+ds1/debian/patches/series haskell-cmark-gfm-0.2.5+ds1/debian/patches/series --- haskell-cmark-gfm-0.2.5+ds1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ haskell-cmark-gfm-0.2.5+ds1/debian/patches/series 2025-01-09 20:38:49.000000000 +0000 @@ -0,0 +1 @@ +adjust-test.patch