Bug#897514: haskell-trifecta: FTBFS: Could not find module `Build_doctests'

Lucas Nussbaum lucas at debian.org
Wed May 2 21:47:36 BST 2018


Source: haskell-trifecta
Version: 1.7.1.1-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build 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.lhs -o debian/hlibrary.setup
> [1 of 2] Compiling Warning          ( Warning.hs, Warning.o )
> [2 of 2] Compiling Main             ( Setup.lhs, Setup.o )
> 
> Setup.lhs:24:1: warning: [-Wdeprecations]
>     Module `Warning':
>       You are configuring this package without cabal-doctest installed.
>       The doctests test-suite will not work as a result.
>       To fix this, install cabal-doctest before configuring.
>    |
> 24 | import Warning ()
>    | ^^^^^^^^^^^^^^^^^
> 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/trifecta-1.7.1.1/ --datasubdir=trifecta --htmldir=/usr/share/doc/libghc-trifecta-doc/html/ --enable-library-profiling --enable-tests
> Configuring trifecta-1.7.1.1...
> Dependency QuickCheck -any: using QuickCheck-2.10.1
> Dependency ansi-terminal >=0.6 && <0.9: using ansi-terminal-0.8.0.2
> Dependency ansi-wl-pprint >=0.6.6 && <0.7: using ansi-wl-pprint-0.6.8.2
> Dependency array >=0.3.0.2 && <0.6: using array-0.5.2.0
> Dependency base >=4.4 && <5: using base-4.10.1.0
> Dependency blaze-builder >=0.3.0.1 && <0.5: using blaze-builder-0.4.1.0
> Dependency blaze-html >=0.5 && <0.10: using blaze-html-0.9.0.1
> Dependency blaze-markup >=0.5 && <0.9: using blaze-markup-0.8.2.0
> Dependency bytestring >=0.9.1 && <0.11: using bytestring-0.10.8.2
> Dependency charset >=0.3.5.1 && <1: using charset-0.3.7.1
> Dependency comonad >=4 && <6: using comonad-5.0.3
> Dependency containers >=0.3 && <0.6: using containers-0.5.10.2
> Dependency deepseq >=1.2.0.1 && <1.5: using deepseq-1.4.3.0
> Dependency doctest >=0.11.1 && <0.16: using doctest-0.13.0
> Dependency fingertree ==0.1.*: using fingertree-0.1.4.1
> Dependency ghc-prim -any: using ghc-prim-0.5.1.1
> Dependency hashable >=1.2.1 && <1.3: using hashable-1.2.7.0
> Dependency lens >=4.0 && <5: using lens-4.16.1
> Dependency mtl >=2.0.1 && <2.3: using mtl-2.2.2
> Dependency parsers >=0.12.1 && <1: using parsers-0.12.8
> Dependency profunctors >=4.0 && <6: using profunctors-5.2.2
> Dependency reducers >=3.10 && <4: using reducers-3.12.2
> Dependency semigroups >=0.8.3.1 && <1: using semigroups-0.18.4
> Dependency transformers >=0.2 && <0.6: using transformers-0.5.2.0
> Dependency trifecta -any: using trifecta-1.7.1.1
> Dependency unordered-containers >=0.2.1 && <0.3: using
> unordered-containers-0.2.9.0
> Dependency utf8-string >=0.3.6 && <1.1: using utf8-string-1.0.1.1
> Source component graph:
>     component lib
>     component test:doctests dependency lib
>     component test:quickcheck dependency lib
> Configured component graph:
>     component trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
>         include ansi-wl-pprint-0.6.8.2-AFBJQxTmzbt6P0JlYhXs8j
>         include ansi-terminal-0.8.0.2-IpPwz0rbeQT9XeWFhl38AU
>         include array-0.5.2.0
>         include base-4.10.1.0
>         include blaze-builder-0.4.1.0-BFOenXCaiVr8U0JVhwUfLi
>         include blaze-html-0.9.0.1-5AcOQZrDS7ZICcVO2Mlh1o
>         include blaze-markup-0.8.2.0-3Og4KhhzYQh3DwyYmgPVQT
>         include bytestring-0.10.8.2
>         include charset-0.3.7.1-C5WjCuLqRrrD2ImtyaO4kO
>         include comonad-5.0.3-GF0GkkV4YUZ7zwnyot6FWY
>         include containers-0.5.10.2
>         include deepseq-1.4.3.0
>         include fingertree-0.1.4.1-GNuCBfIfWR5LF1bN45m0JD
>         include ghc-prim-0.5.1.1
>         include hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         include lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         include mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
>         include parsers-0.12.8-2URok6WN6zWGDufycNUNTD
>         include profunctors-5.2.2-3hxFUGjT7tT2wTQrcPtWgM
>         include reducers-3.12.2-EvIs2TKd6KALwXjgaxf4sh
>         include semigroups-0.18.4-mxkGq2xNPcBC0dj8uuk3q
>         include transformers-0.5.2.0
>         include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         include utf8-string-1.0.1.1-7sQ7eR5H5ED7poickls5aO
>     component trifecta-1.7.1.1-J9fVsGqMZf2I4B2837kEcw-doctests
>         include base-4.10.1.0
>         include doctest-0.13.0-JdyJ2TFxOdp6RgRBB9GvM4
>         include trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
>     component trifecta-1.7.1.1-5KNATFkdZCpEpRhFDJi3VN-quickcheck
>         include base-4.10.1.0
>         include parsers-0.12.8-2URok6WN6zWGDufycNUNTD
>         include QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
>         include trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
> Linked component graph:
>     unit trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
>         include ansi-wl-pprint-0.6.8.2-AFBJQxTmzbt6P0JlYhXs8j
>         include ansi-terminal-0.8.0.2-IpPwz0rbeQT9XeWFhl38AU
>         include array-0.5.2.0
>         include base-4.10.1.0
>         include blaze-builder-0.4.1.0-BFOenXCaiVr8U0JVhwUfLi
>         include blaze-html-0.9.0.1-5AcOQZrDS7ZICcVO2Mlh1o
>         include blaze-markup-0.8.2.0-3Og4KhhzYQh3DwyYmgPVQT
>         include bytestring-0.10.8.2
>         include charset-0.3.7.1-C5WjCuLqRrrD2ImtyaO4kO
>         include comonad-5.0.3-GF0GkkV4YUZ7zwnyot6FWY
>         include containers-0.5.10.2
>         include deepseq-1.4.3.0
>         include fingertree-0.1.4.1-GNuCBfIfWR5LF1bN45m0JD
>         include ghc-prim-0.5.1.1
>         include hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         include lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         include mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
>         include parsers-0.12.8-2URok6WN6zWGDufycNUNTD
>         include profunctors-5.2.2-3hxFUGjT7tT2wTQrcPtWgM
>         include reducers-3.12.2-EvIs2TKd6KALwXjgaxf4sh
>         include semigroups-0.18.4-mxkGq2xNPcBC0dj8uuk3q
>         include transformers-0.5.2.0
>         include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         include utf8-string-1.0.1.1-7sQ7eR5H5ED7poickls5aO
>         Text.Trifecta=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta,Text.Trifecta.Combinators=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Combinators,Text.Trifecta.Delta=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Delta,Text.Trifecta.Highlight=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Highlight,Text.Trifecta.Parser=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Parser,Text.Trifecta.Rendering=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Rendering,Text.Trifecta.Result=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Result,Text.Trifecta.Rope=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Rope,Text.Trifecta.Util.Array=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Util.Array,Text.Trifecta.Util.IntervalMap=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Util.IntervalMap,Text.Trifecta.Util.It=trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf:Text.Trifecta.Util.It
>     unit trifecta-1.7.1.1-J9fVsGqMZf2I4B2837kEcw-doctests
>         include base-4.10.1.0
>         include doctest-0.13.0-JdyJ2TFxOdp6RgRBB9GvM4
>         include trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
>     unit trifecta-1.7.1.1-5KNATFkdZCpEpRhFDJi3VN-quickcheck
>         include base-4.10.1.0
>         include parsers-0.12.8-2URok6WN6zWGDufycNUNTD
>         include QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
>         include trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
> Ready component graph:
>     definite trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
>         depends ansi-wl-pprint-0.6.8.2-AFBJQxTmzbt6P0JlYhXs8j
>         depends ansi-terminal-0.8.0.2-IpPwz0rbeQT9XeWFhl38AU
>         depends array-0.5.2.0
>         depends base-4.10.1.0
>         depends blaze-builder-0.4.1.0-BFOenXCaiVr8U0JVhwUfLi
>         depends blaze-html-0.9.0.1-5AcOQZrDS7ZICcVO2Mlh1o
>         depends blaze-markup-0.8.2.0-3Og4KhhzYQh3DwyYmgPVQT
>         depends bytestring-0.10.8.2
>         depends charset-0.3.7.1-C5WjCuLqRrrD2ImtyaO4kO
>         depends comonad-5.0.3-GF0GkkV4YUZ7zwnyot6FWY
>         depends containers-0.5.10.2
>         depends deepseq-1.4.3.0
>         depends fingertree-0.1.4.1-GNuCBfIfWR5LF1bN45m0JD
>         depends ghc-prim-0.5.1.1
>         depends hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         depends lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         depends mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
>         depends parsers-0.12.8-2URok6WN6zWGDufycNUNTD
>         depends profunctors-5.2.2-3hxFUGjT7tT2wTQrcPtWgM
>         depends reducers-3.12.2-EvIs2TKd6KALwXjgaxf4sh
>         depends semigroups-0.18.4-mxkGq2xNPcBC0dj8uuk3q
>         depends transformers-0.5.2.0
>         depends unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         depends utf8-string-1.0.1.1-7sQ7eR5H5ED7poickls5aO
>     definite trifecta-1.7.1.1-J9fVsGqMZf2I4B2837kEcw-doctests
>         depends base-4.10.1.0
>         depends doctest-0.13.0-JdyJ2TFxOdp6RgRBB9GvM4
>         depends trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
>     definite trifecta-1.7.1.1-5KNATFkdZCpEpRhFDJi3VN-quickcheck
>         depends base-4.10.1.0
>         depends parsers-0.12.8-2URok6WN6zWGDufycNUNTD
>         depends QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
>         depends trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
> Using Cabal-2.0.1.0 compiled by ghc-8.2
> Using compiler: ghc-8.2.2
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.2.2/trifecta-1.7.1.1-9W2PVQWQQoY1f9vh62VSuf
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.2.2
> Private executables installed in:
> /usr/lib/x86_64-linux-ghc-8.2.2/trifecta-1.7.1.1
> Data files installed in: /usr/share/trifecta
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-8.2.2/trifecta-1.7.1.1
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 7 found on system at: /usr/bin/gcc
> Using ghc version 8.2.2 found on system at: /usr/bin/ghc
> Using ghc-pkg version 8.2.2 found on system at: /usr/bin/ghc-pkg
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.18.1 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.2 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.24 found on system at: /usr/bin/HsColour
> No jhc found
> Using ld found on system at: /usr/bin/ld.gold
> No lhc found
> No lhc-pkg found
> No pkg-config found
> Using runghc version 8.2.2 found on system at: /usr/bin/runghc
> Using strip version 2.30 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 library for trifecta-1.7.1.1..
> Building library for trifecta-1.7.1.1..
> [ 1 of 13] Compiling Text.Trifecta.Instances ( src/Text/Trifecta/Instances.hs, dist-ghc/build/Text/Trifecta/Instances.o )
> [ 2 of 13] Compiling Text.Trifecta.Delta ( src/Text/Trifecta/Delta.hs, dist-ghc/build/Text/Trifecta/Delta.o )
> [ 3 of 13] Compiling Text.Trifecta.Util.Array ( src/Text/Trifecta/Util/Array.hs, dist-ghc/build/Text/Trifecta/Util/Array.o )
> [ 4 of 13] Compiling Text.Trifecta.Util.Combinators ( src/Text/Trifecta/Util/Combinators.hs, dist-ghc/build/Text/Trifecta/Util/Combinators.o )
> [ 5 of 13] Compiling Text.Trifecta.Rope ( src/Text/Trifecta/Rope.hs, dist-ghc/build/Text/Trifecta/Rope.o )
> [ 6 of 13] Compiling Text.Trifecta.Rendering ( src/Text/Trifecta/Rendering.hs, dist-ghc/build/Text/Trifecta/Rendering.o )
> [ 7 of 13] Compiling Text.Trifecta.Result ( src/Text/Trifecta/Result.hs, dist-ghc/build/Text/Trifecta/Result.o )
> [ 8 of 13] Compiling Text.Trifecta.Combinators ( src/Text/Trifecta/Combinators.hs, dist-ghc/build/Text/Trifecta/Combinators.o )
> [ 9 of 13] Compiling Text.Trifecta.Util.IntervalMap ( src/Text/Trifecta/Util/IntervalMap.hs, dist-ghc/build/Text/Trifecta/Util/IntervalMap.o )
> [10 of 13] Compiling Text.Trifecta.Highlight ( src/Text/Trifecta/Highlight.hs, dist-ghc/build/Text/Trifecta/Highlight.o )
> [11 of 13] Compiling Text.Trifecta.Util.It ( src/Text/Trifecta/Util/It.hs, dist-ghc/build/Text/Trifecta/Util/It.o )
> [12 of 13] Compiling Text.Trifecta.Parser ( src/Text/Trifecta/Parser.hs, dist-ghc/build/Text/Trifecta/Parser.o )
> [13 of 13] Compiling Text.Trifecta    ( src/Text/Trifecta.hs, dist-ghc/build/Text/Trifecta.o )
> [ 1 of 13] Compiling Text.Trifecta.Instances ( src/Text/Trifecta/Instances.hs, dist-ghc/build/Text/Trifecta/Instances.p_o )
> [ 2 of 13] Compiling Text.Trifecta.Delta ( src/Text/Trifecta/Delta.hs, dist-ghc/build/Text/Trifecta/Delta.p_o )
> [ 3 of 13] Compiling Text.Trifecta.Util.Array ( src/Text/Trifecta/Util/Array.hs, dist-ghc/build/Text/Trifecta/Util/Array.p_o )
> [ 4 of 13] Compiling Text.Trifecta.Util.Combinators ( src/Text/Trifecta/Util/Combinators.hs, dist-ghc/build/Text/Trifecta/Util/Combinators.p_o )
> [ 5 of 13] Compiling Text.Trifecta.Rope ( src/Text/Trifecta/Rope.hs, dist-ghc/build/Text/Trifecta/Rope.p_o )
> [ 6 of 13] Compiling Text.Trifecta.Rendering ( src/Text/Trifecta/Rendering.hs, dist-ghc/build/Text/Trifecta/Rendering.p_o )
> [ 7 of 13] Compiling Text.Trifecta.Result ( src/Text/Trifecta/Result.hs, dist-ghc/build/Text/Trifecta/Result.p_o )
> [ 8 of 13] Compiling Text.Trifecta.Combinators ( src/Text/Trifecta/Combinators.hs, dist-ghc/build/Text/Trifecta/Combinators.p_o )
> [ 9 of 13] Compiling Text.Trifecta.Util.IntervalMap ( src/Text/Trifecta/Util/IntervalMap.hs, dist-ghc/build/Text/Trifecta/Util/IntervalMap.p_o )
> [10 of 13] Compiling Text.Trifecta.Highlight ( src/Text/Trifecta/Highlight.hs, dist-ghc/build/Text/Trifecta/Highlight.p_o )
> [11 of 13] Compiling Text.Trifecta.Util.It ( src/Text/Trifecta/Util/It.hs, dist-ghc/build/Text/Trifecta/Util/It.p_o )
> [12 of 13] Compiling Text.Trifecta.Parser ( src/Text/Trifecta/Parser.hs, dist-ghc/build/Text/Trifecta/Parser.p_o )
> [13 of 13] Compiling Text.Trifecta    ( src/Text/Trifecta.hs, dist-ghc/build/Text/Trifecta.p_o )
> Preprocessing test suite 'doctests' for trifecta-1.7.1.1..
> Building test suite 'doctests' for trifecta-1.7.1.1..
> [1 of 1] Compiling Main             ( tests/doctests.hs, dist-ghc/build/doctests/doctests-tmp/Main.o )
> 
> tests/doctests.hs:16:1: error:
>     Could not find module `Build_doctests'
>     Use -v to see a list of the files searched for.
>    |
> 16 | import Build_doctests (flags, pkgs, module_sources)
>    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:147: build-ghc-stamp] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2018/05/02/haskell-trifecta_1.7.1.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!

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