Bug#897512: haskell-wreq: FTBFS: Could not find module `Build_doctests'

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


Source: haskell-wreq
Version: 0.5.2.1-1
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.hs -o debian/hlibrary.setup
> 
> Setup.hs:23:2: error:
>      warning: #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. [-Wcpp]
>      #warning You are configuring this package without cabal-doctest installed. \
>       ^~~~~~~
>    |
> 23 | #warning You are configuring this package without cabal-doctest installed. \
>    |  ^
> [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/wreq-0.5.2.1/ --datasubdir=wreq --htmldir=/usr/share/doc/libghc-wreq-doc/html/ --enable-library-profiling --enable-tests
> Configuring wreq-0.5.2.1...
> Flags chosen: developer=False, httpbin=False, aws=False, doctest=True
> Dependency HUnit -any: using HUnit-1.6.0.0
> Dependency QuickCheck >=2.7: using QuickCheck-2.10.1
> Dependency aeson >=0.7.0.3: using aeson-1.2.4.0
> Dependency aeson-pretty >=0.8.0: using aeson-pretty-0.8.5
> Dependency attoparsec >=0.11.1.0: using attoparsec-0.13.2.2
> Dependency authenticate-oauth >=1.5: using authenticate-oauth-1.6
> Dependency base >=4.5 && <5: using base-4.10.1.0
> Dependency base16-bytestring -any: using base16-bytestring-0.1.1.6
> Dependency base64-bytestring -any: using base64-bytestring-1.0.0.1
> Dependency bytestring >=0.9: using bytestring-0.10.8.2
> Dependency case-insensitive -any: using case-insensitive-1.2.0.11
> Dependency containers -any: using containers-0.5.10.2
> Dependency cryptonite -any: using cryptonite-0.25
> Dependency directory -any: using directory-1.3.0.2
> Dependency doctest -any: using doctest-0.13.0
> Dependency exceptions >=0.5: using exceptions-0.8.3
> Dependency filepath -any: using filepath-1.4.1.2
> Dependency ghc-prim -any: using ghc-prim-0.5.1.1
> Dependency hashable -any: using hashable-1.2.7.0
> Dependency http-client >=0.5.3.2: using http-client-0.5.12
> Dependency http-client-tls >=0.3.3: using http-client-tls-0.3.5.3
> Dependency http-types >=0.8: using http-types-0.12.1
> Dependency lens >=4.5: using lens-4.16.1
> Dependency lens-aeson -any: using lens-aeson-1.0.2
> Dependency memory -any: using memory-0.14.16
> Dependency mime-types -any: using mime-types-0.1.0.7
> Dependency network-info -any: using network-info-0.2.0.10
> Dependency psqueues >=0.2: using psqueues-0.2.6.0
> Dependency snap-core >=1.0.0.0: using snap-core-1.0.3.2
> Dependency snap-server >=0.9.4.4: using snap-server-1.1.0.0
> Dependency template-haskell -any: using template-haskell-2.12.0.0
> Dependency temporary -any: using temporary-1.2.1.1
> Dependency test-framework -any: using test-framework-0.8.2.0
> Dependency test-framework-hunit -any: using test-framework-hunit-0.3.0.2
> Dependency test-framework-quickcheck2 -any: using
> test-framework-quickcheck2-0.3.0.4
> Dependency text -any: using text-1.2.3.0
> Dependency time >=1.5: using time-1.8.0.2
> Dependency time-locale-compat -any: using time-locale-compat-0.1.1.4
> Dependency transformers -any: using transformers-0.5.2.0
> Dependency unix-compat -any: using unix-compat-0.5.0.1
> Dependency unordered-containers -any: using unordered-containers-0.2.9.0
> Dependency uuid -any: using uuid-1.3.13
> Dependency vector -any: using vector-0.12.0.1
> Dependency wreq -any: using wreq-0.5.2.1
> Source component graph:
>     component test:doctests
>     component lib
>     component test:tests dependency lib
> Configured component graph:
>     component wreq-0.5.2.1-L086E5pZM8jHt7dkSmP14w-doctests
>         include base-4.10.1.0
>         include directory-1.3.0.2
>         include doctest-0.13.0-JdyJ2TFxOdp6RgRBB9GvM4
>         include filepath-1.4.1.2
>     component wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP
>         include psqueues-0.2.6.0-G4eRfrJDDoxGIUDsS0YMVD
>         include aeson-1.2.4.0-1dE3wQLMg9l5I0dDXD3rhM
>         include attoparsec-0.13.2.2-gucVF1Il7mBBv4CMYs1hW
>         include authenticate-oauth-1.6-8IE4fhzltov7nzfrBJs1Xx
>         include base-4.10.1.0
>         include base16-bytestring-0.1.1.6-Bd4rUARbKHBrsqzcqGjb8
>         include bytestring-0.10.8.2
>         include case-insensitive-1.2.0.11-DwwjbzMLRc88uvJuJIggtg
>         include containers-0.5.10.2
>         include cryptonite-0.25-630GyDm9uum3VKsVPwWhhV
>         include exceptions-0.8.3-AA4ua2DZ32SL2ccqv3kHrx
>         include ghc-prim-0.5.1.1
>         include hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         include http-client-0.5.12-AxG0Eq0CCdT7UxmHtht8lM
>         include http-client-tls-0.3.5.3-7UrGBlwLpE8Ki6nLNXfvx5
>         include http-types-0.12.1-4tGNC0It3YbHnVMgc2EUHy
>         include lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         include lens-aeson-1.0.2-4HUS5z1YydfFv6ktXGdFeh
>         include memory-0.14.16-90ZvZkwyKaT183ULDNL3KX
>         include mime-types-0.1.0.7-GTWaalA8h3lKGJVZRtpBT1
>         include time-locale-compat-0.1.1.4-FqzYYa9EZnWKlCa8Hk2yZO
>         include template-haskell-2.12.0.0
>         include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         include time-1.8.0.2
>         include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>     component wreq-0.5.2.1-5tlv33e5SjkJTlO04n8E6p-tests
>         include HUnit-1.6.0.0-Co0VFs8PjIYJtvd3iwPPg
>         include QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
>         include aeson-1.2.4.0-1dE3wQLMg9l5I0dDXD3rhM
>         include aeson-pretty-0.8.5-KC9ruC0vy2o1Bss9CfLTcv
>         include base-4.10.1.0
>         include base64-bytestring-1.0.0.1-FITSjmWZoVnBLfP4uDJzHr
>         include bytestring-0.10.8.2
>         include case-insensitive-1.2.0.11-DwwjbzMLRc88uvJuJIggtg
>         include containers-0.5.10.2
>         include hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         include http-client-0.5.12-AxG0Eq0CCdT7UxmHtht8lM
>         include http-types-0.12.1-4tGNC0It3YbHnVMgc2EUHy
>         include lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         include lens-aeson-1.0.2-4HUS5z1YydfFv6ktXGdFeh
>         include network-info-0.2.0.10-Kl9td9GNhz21gDfWIWi7fN
>         include snap-core-1.0.3.2-3N6Ua3FsQ15298plNFchIX
>         include snap-server-1.1.0.0-DNphlounYua1p7Fc3KU2le
>         include temporary-1.2.1.1-1bFlmQnuF73IEnMyxM7XdQ
>         include test-framework-0.8.2.0-JbGMLhL272K15ggng1HzEI
>         include test-framework-hunit-0.3.0.2-GbvtLrHPhy3D15mi4Dud15
>         include test-framework-quickcheck2-0.3.0.4-B5bvQAwR6SpFYZUm0R7e1H
>         include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         include time-1.8.0.2
>         include transformers-0.5.2.0
>         include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         include unix-compat-0.5.0.1-AtNnJ204ySI1W22dRbQG6f
>         include uuid-1.3.13-GPsRaQJdVtWGphNyKXFpex
>         include vector-0.12.0.1-Hx7cT3oQ06TCTOEEzfZWv6
>         include wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP
> Linked component graph:
>     unit wreq-0.5.2.1-L086E5pZM8jHt7dkSmP14w-doctests
>         include base-4.10.1.0
>         include directory-1.3.0.2
>         include doctest-0.13.0-JdyJ2TFxOdp6RgRBB9GvM4
>         include filepath-1.4.1.2
>     unit wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP
>         include psqueues-0.2.6.0-G4eRfrJDDoxGIUDsS0YMVD
>         include aeson-1.2.4.0-1dE3wQLMg9l5I0dDXD3rhM
>         include attoparsec-0.13.2.2-gucVF1Il7mBBv4CMYs1hW
>         include authenticate-oauth-1.6-8IE4fhzltov7nzfrBJs1Xx
>         include base-4.10.1.0
>         include base16-bytestring-0.1.1.6-Bd4rUARbKHBrsqzcqGjb8
>         include bytestring-0.10.8.2
>         include case-insensitive-1.2.0.11-DwwjbzMLRc88uvJuJIggtg
>         include containers-0.5.10.2
>         include cryptonite-0.25-630GyDm9uum3VKsVPwWhhV
>         include exceptions-0.8.3-AA4ua2DZ32SL2ccqv3kHrx
>         include ghc-prim-0.5.1.1
>         include hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         include http-client-0.5.12-AxG0Eq0CCdT7UxmHtht8lM
>         include http-client-tls-0.3.5.3-7UrGBlwLpE8Ki6nLNXfvx5
>         include http-types-0.12.1-4tGNC0It3YbHnVMgc2EUHy
>         include lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         include lens-aeson-1.0.2-4HUS5z1YydfFv6ktXGdFeh
>         include memory-0.14.16-90ZvZkwyKaT183ULDNL3KX
>         include mime-types-0.1.0.7-GTWaalA8h3lKGJVZRtpBT1
>         include time-locale-compat-0.1.1.4-FqzYYa9EZnWKlCa8Hk2yZO
>         include template-haskell-2.12.0.0
>         include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         include time-1.8.0.2
>         include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         Network.Wreq=wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP:Network.Wreq,Network.Wreq.Cache=wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP:Network.Wreq.Cache,Network.Wreq.Cache.Store=wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP:Network.Wreq.Cache.Store,Network.Wreq.Lens=wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP:Network.Wreq.Lens,Network.Wreq.Session=wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP:Network.Wreq.Session,Network.Wreq.Types=wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP:Network.Wreq.Types
>     unit wreq-0.5.2.1-5tlv33e5SjkJTlO04n8E6p-tests
>         include HUnit-1.6.0.0-Co0VFs8PjIYJtvd3iwPPg
>         include QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
>         include aeson-1.2.4.0-1dE3wQLMg9l5I0dDXD3rhM
>         include aeson-pretty-0.8.5-KC9ruC0vy2o1Bss9CfLTcv
>         include base-4.10.1.0
>         include base64-bytestring-1.0.0.1-FITSjmWZoVnBLfP4uDJzHr
>         include bytestring-0.10.8.2
>         include case-insensitive-1.2.0.11-DwwjbzMLRc88uvJuJIggtg
>         include containers-0.5.10.2
>         include hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         include http-client-0.5.12-AxG0Eq0CCdT7UxmHtht8lM
>         include http-types-0.12.1-4tGNC0It3YbHnVMgc2EUHy
>         include lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         include lens-aeson-1.0.2-4HUS5z1YydfFv6ktXGdFeh
>         include network-info-0.2.0.10-Kl9td9GNhz21gDfWIWi7fN
>         include snap-core-1.0.3.2-3N6Ua3FsQ15298plNFchIX
>         include snap-server-1.1.0.0-DNphlounYua1p7Fc3KU2le
>         include temporary-1.2.1.1-1bFlmQnuF73IEnMyxM7XdQ
>         include test-framework-0.8.2.0-JbGMLhL272K15ggng1HzEI
>         include test-framework-hunit-0.3.0.2-GbvtLrHPhy3D15mi4Dud15
>         include test-framework-quickcheck2-0.3.0.4-B5bvQAwR6SpFYZUm0R7e1H
>         include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         include time-1.8.0.2
>         include transformers-0.5.2.0
>         include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         include unix-compat-0.5.0.1-AtNnJ204ySI1W22dRbQG6f
>         include uuid-1.3.13-GPsRaQJdVtWGphNyKXFpex
>         include vector-0.12.0.1-Hx7cT3oQ06TCTOEEzfZWv6
>         include wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP
> Ready component graph:
>     definite wreq-0.5.2.1-L086E5pZM8jHt7dkSmP14w-doctests
>         depends base-4.10.1.0
>         depends directory-1.3.0.2
>         depends doctest-0.13.0-JdyJ2TFxOdp6RgRBB9GvM4
>         depends filepath-1.4.1.2
>     definite wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP
>         depends psqueues-0.2.6.0-G4eRfrJDDoxGIUDsS0YMVD
>         depends aeson-1.2.4.0-1dE3wQLMg9l5I0dDXD3rhM
>         depends attoparsec-0.13.2.2-gucVF1Il7mBBv4CMYs1hW
>         depends authenticate-oauth-1.6-8IE4fhzltov7nzfrBJs1Xx
>         depends base-4.10.1.0
>         depends base16-bytestring-0.1.1.6-Bd4rUARbKHBrsqzcqGjb8
>         depends bytestring-0.10.8.2
>         depends case-insensitive-1.2.0.11-DwwjbzMLRc88uvJuJIggtg
>         depends containers-0.5.10.2
>         depends cryptonite-0.25-630GyDm9uum3VKsVPwWhhV
>         depends exceptions-0.8.3-AA4ua2DZ32SL2ccqv3kHrx
>         depends ghc-prim-0.5.1.1
>         depends hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         depends http-client-0.5.12-AxG0Eq0CCdT7UxmHtht8lM
>         depends http-client-tls-0.3.5.3-7UrGBlwLpE8Ki6nLNXfvx5
>         depends http-types-0.12.1-4tGNC0It3YbHnVMgc2EUHy
>         depends lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         depends lens-aeson-1.0.2-4HUS5z1YydfFv6ktXGdFeh
>         depends memory-0.14.16-90ZvZkwyKaT183ULDNL3KX
>         depends mime-types-0.1.0.7-GTWaalA8h3lKGJVZRtpBT1
>         depends time-locale-compat-0.1.1.4-FqzYYa9EZnWKlCa8Hk2yZO
>         depends template-haskell-2.12.0.0
>         depends text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         depends time-1.8.0.2
>         depends unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>     definite wreq-0.5.2.1-5tlv33e5SjkJTlO04n8E6p-tests
>         depends HUnit-1.6.0.0-Co0VFs8PjIYJtvd3iwPPg
>         depends QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
>         depends aeson-1.2.4.0-1dE3wQLMg9l5I0dDXD3rhM
>         depends aeson-pretty-0.8.5-KC9ruC0vy2o1Bss9CfLTcv
>         depends base-4.10.1.0
>         depends base64-bytestring-1.0.0.1-FITSjmWZoVnBLfP4uDJzHr
>         depends bytestring-0.10.8.2
>         depends case-insensitive-1.2.0.11-DwwjbzMLRc88uvJuJIggtg
>         depends containers-0.5.10.2
>         depends hashable-1.2.7.0-H6fB5YX9UE6E9RGuGD0nnF
>         depends http-client-0.5.12-AxG0Eq0CCdT7UxmHtht8lM
>         depends http-types-0.12.1-4tGNC0It3YbHnVMgc2EUHy
>         depends lens-4.16.1-Zw5TY6KDzyDmcZjcTzFrC
>         depends lens-aeson-1.0.2-4HUS5z1YydfFv6ktXGdFeh
>         depends network-info-0.2.0.10-Kl9td9GNhz21gDfWIWi7fN
>         depends snap-core-1.0.3.2-3N6Ua3FsQ15298plNFchIX
>         depends snap-server-1.1.0.0-DNphlounYua1p7Fc3KU2le
>         depends temporary-1.2.1.1-1bFlmQnuF73IEnMyxM7XdQ
>         depends test-framework-0.8.2.0-JbGMLhL272K15ggng1HzEI
>         depends test-framework-hunit-0.3.0.2-GbvtLrHPhy3D15mi4Dud15
>         depends test-framework-quickcheck2-0.3.0.4-B5bvQAwR6SpFYZUm0R7e1H
>         depends text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
>         depends time-1.8.0.2
>         depends transformers-0.5.2.0
>         depends unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
>         depends unix-compat-0.5.0.1-AtNnJ204ySI1W22dRbQG6f
>         depends uuid-1.3.13-GPsRaQJdVtWGphNyKXFpex
>         depends vector-0.12.0.1-Hx7cT3oQ06TCTOEEzfZWv6
>         depends wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP
> 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/wreq-0.5.2.1-19K0ltG3ije2HMT5A5MYQP
> 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/wreq-0.5.2.1
> Data files installed in: /usr/share/wreq
> Documentation installed in: /usr/share/doc/x86_64-linux-ghc-8.2.2/wreq-0.5.2.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 test suite 'doctests' for wreq-0.5.2.1..
> Building test suite 'doctests' for wreq-0.5.2.1..
> [1 of 1] Compiling Main             ( tests/doctests.hs, dist-ghc/build/doctests/doctests-tmp/Main.o )
> 
> tests/doctests.hs:3:1: error:
>     Could not find module `Build_doctests'
>     Use -v to see a list of the files searched for.
>   |
> 3 | 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-wreq_0.5.2.1-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.



More information about the Pkg-haskell-maintainers mailing list