Bug#976469: haskell-xml-html-qq: FTBFS: tests failed

Lucas Nussbaum lucas at debian.org
Sat Dec 5 13:24:29 GMT 2020


Source: haskell-xml-html-qq
Version: 0.1.0.1-2
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> 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
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> make_setup_recipe
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> configure_recipe
> 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/xml-html-qq-0.1.0.1/ --datasubdir=xml-html-qq --htmldir=/usr/share/doc/libghc-xml-html-qq-doc/html/ --enable-library-profiling --enable-tests
> Using Parsec parser
> Configuring xml-html-qq-0.1.0.1...
> Dependency base >=4.8 && <5: using base-4.13.0.0
> Dependency blaze-markup -any: using blaze-markup-0.8.2.7
> Dependency conduit -any: using conduit-1.3.2
> Dependency data-default -any: using data-default-0.7.1.1
> Dependency from-sum -any: using from-sum-0.2.3.0
> Dependency heterocephalus >=1.0.4.0: using heterocephalus-1.0.5.3
> Dependency html-conduit -any: using html-conduit-1.3.2.1
> Dependency resourcet -any: using resourcet-1.2.4.2
> Dependency template-haskell -any: using template-haskell-2.15.0.0
> Dependency text -any: using text-1.2.4.0
> Dependency th-lift -any: using th-lift-0.8.1
> Dependency th-lift-instances -any: using th-lift-instances-0.1.17
> Dependency xml-conduit -any: using xml-conduit-1.9.0.0
> Dependency Glob -any: using Glob-0.10.1
> Dependency base -any: using base-4.13.0.0
> Dependency doctest -any: using doctest-0.16.3
> Dependency base -any: using base-4.13.0.0
> Dependency tasty -any: using tasty-1.2.3
> Dependency tasty-hunit -any: using tasty-hunit-0.10.0.2
> Dependency text -any: using text-1.2.4.0
> Dependency xml-conduit -any: using xml-conduit-1.9.0.0
> Dependency xml-html-qq -any: using xml-html-qq-0.1.0.1
> Source component graph:
>     component test:xml-html-qq-doctest
>     component lib
>     component test:xml-html-qq-test dependency lib
> Configured component graph:
>     component xml-html-qq-0.1.0.1-LkEUfDPHJr5LnAO3lVjZaa-xml-html-qq-doctest
>         include Glob-0.10.1-A2Y12DfVsnF9nCcowtn2E4
>         include base-4.13.0.0
>         include doctest-0.16.3-5Rdunu33bocFtnt3QIeq3L
>     component xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx
>         include base-4.13.0.0
>         include blaze-markup-0.8.2.7-EPmGwMHUc0X1tl7gyRaSjI
>         include conduit-1.3.2-1qL8PxLVRW6Kc4iBQ3Y40r
>         include data-default-0.7.1.1-5cjrhz8y8DG881Qqkxq9GB
>         include from-sum-0.2.3.0-XtLGEojSer5LLfyISoBvD
>         include heterocephalus-1.0.5.3-39xrapDBcA06entTwJ6f5f
>         include html-conduit-1.3.2.1-BNFXzvDa0MT4XPHsA8hHwB
>         include resourcet-1.2.4.2-4edulhHiDNlK1oiyLEpcKw
>         include template-haskell-2.15.0.0
>         include text-1.2.4.0
>         include th-lift-0.8.1-74cWWM7vHiK4eAWsk4olLV
>         include th-lift-instances-0.1.17-2PctHGD4Szk8S9lTiJEaaT
>         include xml-conduit-1.9.0.0-JXrHMr4lEBmHUKipkpfB8x
>     component xml-html-qq-0.1.0.1-I7GW04MQDSoFJe3SitpffL-xml-html-qq-test
>         include base-4.13.0.0
>         include tasty-1.2.3-AZt8xI2xlno8v5hDADqrNN
>         include tasty-hunit-0.10.0.2-BqZUGn5O6hLEnVSlkj273H
>         include text-1.2.4.0
>         include xml-conduit-1.9.0.0-JXrHMr4lEBmHUKipkpfB8x
>         include xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx
> Linked component graph:
>     unit xml-html-qq-0.1.0.1-LkEUfDPHJr5LnAO3lVjZaa-xml-html-qq-doctest
>         include Glob-0.10.1-A2Y12DfVsnF9nCcowtn2E4
>         include base-4.13.0.0
>         include doctest-0.16.3-5Rdunu33bocFtnt3QIeq3L
>     unit xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx
>         include base-4.13.0.0
>         include blaze-markup-0.8.2.7-EPmGwMHUc0X1tl7gyRaSjI
>         include conduit-1.3.2-1qL8PxLVRW6Kc4iBQ3Y40r
>         include data-default-0.7.1.1-5cjrhz8y8DG881Qqkxq9GB
>         include from-sum-0.2.3.0-XtLGEojSer5LLfyISoBvD
>         include heterocephalus-1.0.5.3-39xrapDBcA06entTwJ6f5f
>         include html-conduit-1.3.2.1-BNFXzvDa0MT4XPHsA8hHwB
>         include resourcet-1.2.4.2-4edulhHiDNlK1oiyLEpcKw
>         include template-haskell-2.15.0.0
>         include text-1.2.4.0
>         include th-lift-0.8.1-74cWWM7vHiK4eAWsk4olLV
>         include th-lift-instances-0.1.17-2PctHGD4Szk8S9lTiJEaaT
>         include xml-conduit-1.9.0.0-JXrHMr4lEBmHUKipkpfB8x
>         Text.HTML.QQ=xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx:Text.HTML.QQ,Text.XML.QQ=xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx:Text.XML.QQ,Text.XMLHTML.Internal=xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx:Text.XMLHTML.Internal
>     unit xml-html-qq-0.1.0.1-I7GW04MQDSoFJe3SitpffL-xml-html-qq-test
>         include base-4.13.0.0
>         include tasty-1.2.3-AZt8xI2xlno8v5hDADqrNN
>         include tasty-hunit-0.10.0.2-BqZUGn5O6hLEnVSlkj273H
>         include text-1.2.4.0
>         include xml-conduit-1.9.0.0-JXrHMr4lEBmHUKipkpfB8x
>         include xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx
> Ready component graph:
>     definite xml-html-qq-0.1.0.1-LkEUfDPHJr5LnAO3lVjZaa-xml-html-qq-doctest
>         depends Glob-0.10.1-A2Y12DfVsnF9nCcowtn2E4
>         depends base-4.13.0.0
>         depends doctest-0.16.3-5Rdunu33bocFtnt3QIeq3L
>     definite xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx
>         depends base-4.13.0.0
>         depends blaze-markup-0.8.2.7-EPmGwMHUc0X1tl7gyRaSjI
>         depends conduit-1.3.2-1qL8PxLVRW6Kc4iBQ3Y40r
>         depends data-default-0.7.1.1-5cjrhz8y8DG881Qqkxq9GB
>         depends from-sum-0.2.3.0-XtLGEojSer5LLfyISoBvD
>         depends heterocephalus-1.0.5.3-39xrapDBcA06entTwJ6f5f
>         depends html-conduit-1.3.2.1-BNFXzvDa0MT4XPHsA8hHwB
>         depends resourcet-1.2.4.2-4edulhHiDNlK1oiyLEpcKw
>         depends template-haskell-2.15.0.0
>         depends text-1.2.4.0
>         depends th-lift-0.8.1-74cWWM7vHiK4eAWsk4olLV
>         depends th-lift-instances-0.1.17-2PctHGD4Szk8S9lTiJEaaT
>         depends xml-conduit-1.9.0.0-JXrHMr4lEBmHUKipkpfB8x
>     definite xml-html-qq-0.1.0.1-I7GW04MQDSoFJe3SitpffL-xml-html-qq-test
>         depends base-4.13.0.0
>         depends tasty-1.2.3-AZt8xI2xlno8v5hDADqrNN
>         depends tasty-hunit-0.10.0.2-BqZUGn5O6hLEnVSlkj273H
>         depends text-1.2.4.0
>         depends xml-conduit-1.9.0.0-JXrHMr4lEBmHUKipkpfB8x
>         depends xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx
> Using Cabal-3.0.1.0 compiled by ghc-8.8
> Using compiler: ghc-8.8.4
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/aarch64-linux-ghc-8.8.4/xml-html-qq-0.1.0.1-Eb9AfvMnejCHFtlD4LlfPx
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/aarch64-linux-ghc-8.8.4
> Private executables installed in:
> /usr/lib/aarch64-linux-ghc-8.8.4/xml-html-qq-0.1.0.1
> Data files installed in: /usr/share/xml-html-qq
> Documentation installed in:
> /usr/share/doc/aarch64-linux-ghc-8.8.4/xml-html-qq-0.1.0.1
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/aarch64-linux-gnu-ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 10 found on system at: /usr/bin/aarch64-linux-gnu-gcc
> Using ghc version 8.8.4 found on system at: /usr/bin/ghc
> Using ghc-pkg version 8.8.4 found on system at: /usr/bin/ghc-pkg
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.23.0 found on system at: /usr/bin/haddock
> 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.67 found on system at: /usr/bin/hpc
> Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs
> No hscolour found
> No jhc found
> Using ld found on system at: /usr/bin/aarch64-linux-gnu-ld.gold
> No pkg-config found
> Using runghc version 8.8.4 found on system at: /usr/bin/runghc
> Using strip version 2.35 found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> touch configure-ghc-stamp
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> build_recipe
> Running debian/hlibrary.setup build --builddir=dist-ghc
> Preprocessing test suite 'xml-html-qq-doctest' for xml-html-qq-0.1.0.1..
> Building test suite 'xml-html-qq-doctest' for xml-html-qq-0.1.0.1..
> [1 of 1] Compiling Main             ( test/DocTest.hs, dist-ghc/build/xml-html-qq-doctest/xml-html-qq-doctest-tmp/Main.o )
> 
> test/DocTest.hs:6:1: warning: [-Wunused-imports]
>     The import of ‘Data.Monoid’ is redundant
>       except perhaps to import instances from ‘Data.Monoid’
>     To import instances alone, use: import Data.Monoid()
>   |
> 6 | import Data.Monoid ((<>))
>   | ^^^^^^^^^^^^^^^^^^^^^^^^^
> Linking dist-ghc/build/xml-html-qq-doctest/xml-html-qq-doctest ...
> Preprocessing library for xml-html-qq-0.1.0.1..
> Building library for xml-html-qq-0.1.0.1..
> [1 of 3] Compiling Text.XMLHTML.Internal ( src/Text/XMLHTML/Internal.hs, dist-ghc/build/Text/XMLHTML/Internal.o )
> [2 of 3] Compiling Text.XML.QQ      ( src/Text/XML/QQ.hs, dist-ghc/build/Text/XML/QQ.o )
> [3 of 3] Compiling Text.HTML.QQ     ( src/Text/HTML/QQ.hs, dist-ghc/build/Text/HTML/QQ.o )
> [1 of 3] Compiling Text.XMLHTML.Internal ( src/Text/XMLHTML/Internal.hs, dist-ghc/build/Text/XMLHTML/Internal.p_o )
> [2 of 3] Compiling Text.XML.QQ      ( src/Text/XML/QQ.hs, dist-ghc/build/Text/XML/QQ.p_o )
> [3 of 3] Compiling Text.HTML.QQ     ( src/Text/HTML/QQ.hs, dist-ghc/build/Text/HTML/QQ.p_o )
> Preprocessing test suite 'xml-html-qq-test' for xml-html-qq-0.1.0.1..
> Building test suite 'xml-html-qq-test' for xml-html-qq-0.1.0.1..
> [1 of 1] Compiling Main             ( test/Spec.hs, dist-ghc/build/xml-html-qq-test/xml-html-qq-test-tmp/Main.o )
> Linking dist-ghc/build/xml-html-qq-test/xml-html-qq-test ...
> touch build-ghc-stamp
> . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
> check_recipe
> Running debian/hlibrary.setup test --builddir=dist-ghc --show-details=direct
> Running 2 test suites...
> Test suite xml-html-qq-doctest: RUNNING...
> xml-html-qq-doctest: Failed to lookup symbol: __aarch64_ldset4_acq_rel
> 
> xml-html-qq-doctest: xml-html-qq-doctest: unable to load package `ghc-prim-0.5.3'
> Test suite xml-html-qq-doctest: FAIL
> Test suite logged to:
> dist-ghc/test/xml-html-qq-0.1.0.1-xml-html-qq-doctest.log
> Test suite xml-html-qq-test: RUNNING...
> tests
>   xml
>     xmlUnsafe
>       works correctly: OK
>     xmlRaw
>       works correctly: OK
> 
> All 2 tests passed (0.00s)
> Test suite xml-html-qq-test: PASS
> Test suite logged to: dist-ghc/test/xml-html-qq-0.1.0.1-xml-html-qq-test.log
> 1 of 2 test suites (1 of 2 test cases) passed.
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:154: check-ghc-stamp] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/haskell-xml-html-qq_0.1.0.1-2_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!

If you reassign this bug to another package, please marking 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 me
so that we can identify if something relevant changed in the meantime.

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.



More information about the Pkg-haskell-maintainers mailing list