Bug#1092404: haskell-cmark-gfm: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:163: check-ghc-stamp] Error 25
Lucas Nussbaum
lucas at debian.org
Tue Jan 7 19:50:53 GMT 2025
Source: haskell-cmark-gfm
Version: 0.2.5+ds1-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250106 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_prep
> dh_installdirs -A
> mkdir -p "."
> CDBS WARNING: DEB_DH_STRIP_ARGS is deprecated since 0.4.85
> CDBS WARNING: DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
> Adding cdbs dependencies to debian/libghc-cmark-gfm-doc.substvars
> dh_installdirs -plibghc-cmark-gfm-doc \
>
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'make_setup_recipe'
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 2] Compiling Main ( Setup.hs, Setup.o )
> [2 of 2] Linking debian/hlibrary.setup
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'configure_recipe'
> Running find . ! -newer /tmp/qhtgu4QuCL -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-cmark-gfm-dev
> libghc-cmark-gfm-prof
> libghc-cmark-gfm-doc
> Running dh_listpackages
> libghc-cmark-gfm-dev
> libghc-cmark-gfm-prof
> libghc-cmark-gfm-doc
> Running dpkg-buildflags --get LDFLAGS
> -Wl,-z,relro
> Running debian/hlibrary.setup configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl,-z,relro --haddockdir=/usr/lib/ghc-doc/haddock/cmark-gfm-0.2.5/ --datasubdir=cmark-gfm --htmldir=/usr/share/doc/libghc-cmark-gfm-doc/html/ --enable-library-profiling -fpkgconfig --enable-tests
> Using Parsec parser
> Configuring cmark-gfm-0.2.5...
> Flags chosen: pkgconfig=True
> Dependency base >=4.5 && <5.0: using base-4.18.2.1
> Dependency bytestring: using bytestring-0.11.5.3
> Dependency text >=1.0 && <2.1: using text-2.0.2
> Dependency HUnit >=1.2 && <1.7: using HUnit-1.6.2.0
> Dependency base: using base-4.18.2.1
> Dependency cmark-gfm: using cmark-gfm-0.2.5
> Dependency text: using text-2.0.2
> Source component graph:
> component lib
> component test:test-cmark-gfm dependency lib
> Configured component graph:
> component cmark-gfm-0.2.5-FQHZURkvHjS3nVbAUdk7JZ
> include base-4.18.2.1
> include bytestring-0.11.5.3
> include text-2.0.2
> component cmark-gfm-0.2.5-GVqj17889zkIIvSxGrq3oo-test-cmark-gfm
> include HUnit-1.6.2.0-CZjLnnPcVf0JAQaorPJivX
> include base-4.18.2.1
> include cmark-gfm-0.2.5-FQHZURkvHjS3nVbAUdk7JZ
> include text-2.0.2
> Linked component graph:
> unit cmark-gfm-0.2.5-FQHZURkvHjS3nVbAUdk7JZ
> include base-4.18.2.1
> include bytestring-0.11.5.3
> include text-2.0.2
> CMarkGFM=cmark-gfm-0.2.5-FQHZURkvHjS3nVbAUdk7JZ:CMarkGFM
> unit cmark-gfm-0.2.5-GVqj17889zkIIvSxGrq3oo-test-cmark-gfm
> include HUnit-1.6.2.0-CZjLnnPcVf0JAQaorPJivX
> include base-4.18.2.1
> include cmark-gfm-0.2.5-FQHZURkvHjS3nVbAUdk7JZ
> include text-2.0.2
> Ready component graph:
> definite cmark-gfm-0.2.5-FQHZURkvHjS3nVbAUdk7JZ
> depends base-4.18.2.1
> depends bytestring-0.11.5.3
> depends text-2.0.2
> definite cmark-gfm-0.2.5-GVqj17889zkIIvSxGrq3oo-test-cmark-gfm
> depends HUnit-1.6.2.0-CZjLnnPcVf0JAQaorPJivX
> depends base-4.18.2.1
> depends cmark-gfm-0.2.5-FQHZURkvHjS3nVbAUdk7JZ
> depends text-2.0.2
> Using Cabal-3.10.3.0 compiled by ghc-9.6
> Using compiler: ghc-9.6.6
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.6.6/cmark-gfm-0.2.5-FQHZURkvHjS3nVbAUdk7JZ
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.6.6
> Private executables installed in:
> /usr/lib/x86_64-linux-ghc-9.6.6/cmark-gfm-0.2.5
> Data files installed in: /usr/share/cmark-gfm
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.6.6/cmark-gfm-0.2.5
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/x86_64-linux-gnu-ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 14 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 9.6.6 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.6.6 found on system at: /usr/bin/ghc-pkg-9.6.6
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.29.2 found on system at: /usr/bin/haddock-ghc-9.6.6
> No happy found
> Using haskell-suite found on system at: haskell-suite-dummy-location
> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
> No hmake found
> Using hpc version 0.68 found on system at: /usr/bin/hpc-ghc-9.6.6
> Using hsc2hs version 0.68.9 found on system at: /usr/bin/hsc2hs-ghc-9.6.6
> Using hscolour version 1.25 found on system at: /usr/bin/HsColour
> No jhc found
> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld
> Using pkg-config version 1.8.1 found on system at: /usr/bin/pkg-config
> Using runghc version 9.6.6 found on system at: /usr/bin/runghc-9.6.6
> Using strip version 2.43 found on system at: /usr/bin/strip
> Using tar found on system at: /usr/bin/tar
> No uhc found
> touch configure-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'build_recipe'
> Running dh_listpackages
> libghc-cmark-gfm-dev
> libghc-cmark-gfm-prof
> libghc-cmark-gfm-doc
> Preprocessing library for cmark-gfm-0.2.5..
> Building library for cmark-gfm-0.2.5..
> [1 of 1] Compiling CMarkGFM ( dist-ghc/build/CMarkGFM.hs, dist-ghc/build/CMarkGFM.o, dist-ghc/build/CMarkGFM.dyn_o )
>
> CMarkGFM.hsc:53:1: warning: [-Wunused-imports]
> The import of ‘Control.Applicative’ is redundant
> except perhaps to import instances from ‘Control.Applicative’
> To import instances alone, use: import Control.Applicative()
> |
> 53 | import Control.Applicative ((<$>), (<*>))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [1 of 1] Compiling CMarkGFM ( dist-ghc/build/CMarkGFM.hs, dist-ghc/build/CMarkGFM.p_o )
>
> CMarkGFM.hsc:53:1: warning: [-Wunused-imports]
> The import of ‘Control.Applicative’ is redundant
> except perhaps to import instances from ‘Control.Applicative’
> To import instances alone, use: import Control.Applicative()
> |
> 53 | import Control.Applicative ((<$>), (<*>))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Preprocessing test suite 'test-cmark-gfm' for cmark-gfm-0.2.5..
> Building test suite 'test-cmark-gfm' for cmark-gfm-0.2.5..
> [1 of 1] Compiling Main ( test/test-cmark.hs, dist-ghc/build/test-cmark-gfm/test-cmark-gfm-tmp/Main.o )
> [2 of 2] Linking dist-ghc/build/test-cmark-gfm/test-cmark-gfm
> touch build-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'check_recipe'
> Running dh_listpackages
> libghc-cmark-gfm-dev
> libghc-cmark-gfm-prof
> libghc-cmark-gfm-doc
> Running 1 test suites...
> Test suite test-cmark-gfm: RUNNING...
>
> Cases: 18 Tried: 0 Errors: 0 Failures: 0
> Cases: 18 Tried: 1 Errors: 0 Failures: 0
> Cases: 18 Tried: 2 Errors: 0 Failures: 0
> Cases: 18 Tried: 3 Errors: 0 Failures: 0
> Cases: 18 Tried: 4 Errors: 0 Failures: 0
> Cases: 18 Tried: 5 Errors: 0 Failures: 0
> Cases: 18 Tried: 6 Errors: 0 Failures: 0
> Cases: 18 Tried: 7 Errors: 0 Failures: 0
> Cases: 18 Tried: 8 Errors: 0 Failures: 0
> Cases: 18 Tried: 9 Errors: 0 Failures: 0
> Cases: 18 Tried: 10 Errors: 0 Failures: 0
> Cases: 18 Tried: 11 Errors: 0 Failures: 0
> Cases: 18 Tried: 12 Errors: 0 Failures: 0
> Cases: 18 Tried: 13 Errors: 0 Failures: 0
> Cases: 18 Tried: 14 Errors: 0 Failures: 0
> Cases: 18 Tried: 15 Errors: 0 Failures: 0
> Cases: 18 Tried: 16 Errors: 0 Failures: 0
> Cases: 18 Tried: 17 Errors: 0 Failures: 0
>
> ### Failure in: 17
> test/test-cmark.hs:36
> expected: "<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\">\8617</a></p>\n</li>\n</ol>\n</section>\n"
> but got: "<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\">\8617</a></p>\n</li>\n</ol>\n</section>\n"
> Cases: 18 Tried: 18 Errors: 0 Failures: 1
> Test suite test-cmark-gfm: FAIL
> Test suite logged to: dist-ghc/test/cmark-gfm-0.2.5-test-cmark-gfm.log
> 0 of 1 test suites (0 of 1 test cases) passed.
> -e: error: debian/hlibrary.setup test --builddir=dist-ghc --show-details=direct returned exit code 1
> at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 877.
> Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup test --builddir=dist-ghc --show-details"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 616
> Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup test --builddir=dist-ghc --show-details"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 479
> Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "test", "--builddir=dist-ghc", "--show-details=direct") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 692
> Debian::Debhelper::Buildsystem::Haskell::Recipes::check_recipe() called at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:163: check-ghc-stamp] Error 25
The full build log is available from:
http://qa-logs.debian.net/2025/01/06/haskell-cmark-gfm_0.2.5+ds1-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250106;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250106&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-haskell-maintainers
mailing list