Bug#1084839: haskell-http-client: FTBFS: Temporary failure in name resolution (tries Internet access during build)

Santiago Vila sanvila at debian.org
Wed Oct 9 16:51:09 BST 2024


Package: src:haskell-http-client
Version: 0.7.17-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  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-http-client-doc.substvars
dh_installdirs -plibghc-http-client-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/P734X24Vh1 -exec touch -d 1998-01-01 UTC {} ;
Running dh_listpackages
libghc-http-client-dev
libghc-http-client-prof
libghc-http-client-doc
Running dh_listpackages
libghc-http-client-dev
libghc-http-client-prof
libghc-http-client-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/http-client-0.7.17/ --datasubdir=http-client --htmldir=/usr/share/doc/libghc-http-client-doc/html/ --enable-library-profiling --enable-tests
Using Parsec parser
Configuring http-client-0.7.17...
Flags chosen: network-uri=True
Dependency array: using array-0.5.6.0
Dependency async >=2.0: using async-2.2.5
Dependency base >=4.10 && <5: using base-4.18.2.1
Dependency base64-bytestring >=1.0: using base64-bytestring-1.2.1.0
Dependency blaze-builder >=0.3: using blaze-builder-0.4.2.3
Dependency bytestring >=0.10: using bytestring-0.11.5.3
Dependency case-insensitive >=1.0: using case-insensitive-1.2.1.0
Dependency containers >=0.5: using containers-0.6.7
Dependency cookie: using cookie-0.4.6
Dependency deepseq >=1.3 && <1.6: using deepseq-1.4.8.1
Dependency exceptions >=0.4: using exceptions-0.10.7
Dependency filepath: using filepath-1.4.300.1
Dependency ghc-prim: using ghc-prim-0.10.0
Dependency http-types >=0.8: using http-types-0.12.4
Dependency iproute >=1.7.5: using iproute-1.7.14
Dependency mime-types: using mime-types-0.1.2.0
Dependency network >=2.6: using network-3.1.4.0
Dependency network-uri >=2.6: using network-uri-2.6.4.2
Dependency random: using random-1.2.1.2
Dependency stm >=2.3: using stm-2.5.1.0
Dependency streaming-commons >=0.1.0.2 && <0.3: using
streaming-commons-0.2.2.6
Dependency text >=0.11: using text-2.0.2
Dependency time >=1.2: using time-1.12.2
Dependency transformers: using transformers-0.6.1.0
Dependency async: using async-2.2.5
Dependency base: using base-4.18.2.1
Dependency blaze-builder: using blaze-builder-0.4.2.3
Dependency bytestring: using bytestring-0.11.5.3
Dependency case-insensitive: using case-insensitive-1.2.1.0
Dependency containers: using containers-0.6.7
Dependency deepseq: using deepseq-1.4.8.1
Dependency hspec: using hspec-2.11.9
Dependency http-client: using http-client-0.7.17
Dependency http-types: using http-types-0.12.4
Dependency monad-control: using monad-control-1.0.3.1
Dependency network: using network-3.1.4.0
Dependency streaming-commons >=0.1.1: using streaming-commons-0.2.2.6
Dependency text: using text-2.0.2
Dependency time: using time-1.12.2
Dependency transformers: using transformers-0.6.1.0
Dependency zlib: using zlib-0.6.3.0
Dependency async: using async-2.2.5
Dependency base: using base-4.18.2.1
Dependency blaze-builder: using blaze-builder-0.4.2.3
Dependency bytestring: using bytestring-0.11.5.3
Dependency case-insensitive: using case-insensitive-1.2.1.0
Dependency containers: using containers-0.6.7
Dependency cookie: using cookie-0.4.6
Dependency deepseq: using deepseq-1.4.8.1
Dependency directory: using directory-1.3.8.5
Dependency hspec: using hspec-2.11.9
Dependency http-client: using http-client-0.7.17
Dependency http-types: using http-types-0.12.4
Dependency monad-control: using monad-control-1.0.3.1
Dependency network: using network-3.1.4.0
Dependency network-uri: using network-uri-2.6.4.2
Dependency streaming-commons >=0.1.1: using streaming-commons-0.2.2.6
Dependency text: using text-2.0.2
Dependency time: using time-1.12.2
Dependency transformers: using transformers-0.6.1.0
Dependency zlib: using zlib-0.6.3.0
Source component graph:
     component lib
     component test:spec dependency lib
     component test:spec-nonet dependency lib
Configured component graph:
     component http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         include array-0.5.6.0
         include async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         include base-4.18.2.1
         include base64-bytestring-1.2.1.0-FPYgDX1C1TU4Ubq8stF7K9
         include blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         include bytestring-0.11.5.3
         include case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         include containers-0.6.7
         include cookie-0.4.6-5ixJbRkPrVtCXUGZAF4lSN
         include deepseq-1.4.8.1
         include exceptions-0.10.7
         include filepath-1.4.300.1
         include ghc-prim-0.10.0
         include http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         include iproute-1.7.14-3DBt1k9G9RfJV5v0korwaq
         include mime-types-0.1.2.0-FXxLUN1bSg0RE8MJQSnKp
         include network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         include network-uri-2.6.4.2-DW3z1BDlSYq3bliUtP4HrU
         include random-1.2.1.2-9nSipNyPzIK3OtGny4BWjI
         include stm-2.5.1.0
         include streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         include text-2.0.2
         include time-1.12.2
         include transformers-0.6.1.0
     component http-client-0.7.17-BFWrVEGdr2m9c8KiqYNpgR-spec
         include async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         include base-4.18.2.1
         include blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         include bytestring-0.11.5.3
         include case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         include containers-0.6.7
         include deepseq-1.4.8.1
         include hspec-2.11.9-JZYRIeOslOOD2F7LvyAy3I
         include http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         include http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         include monad-control-1.0.3.1-JcminvqZ1R9e3K2KRODyK
         include network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         include streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         include text-2.0.2
         include time-1.12.2
         include transformers-0.6.1.0
         include zlib-0.6.3.0-AjDEIuMGCuL4y6SO0Mcxjk
     component http-client-0.7.17-JV1vlssjaYf8bmGL9FrTZC-spec-nonet
         include async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         include base-4.18.2.1
         include blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         include bytestring-0.11.5.3
         include case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         include containers-0.6.7
         include cookie-0.4.6-5ixJbRkPrVtCXUGZAF4lSN
         include deepseq-1.4.8.1
         include directory-1.3.8.5
         include hspec-2.11.9-JZYRIeOslOOD2F7LvyAy3I
         include http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         include http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         include monad-control-1.0.3.1-JcminvqZ1R9e3K2KRODyK
         include network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         include network-uri-2.6.4.2-DW3z1BDlSYq3bliUtP4HrU
         include streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         include text-2.0.2
         include time-1.12.2
         include transformers-0.6.1.0
         include zlib-0.6.3.0-AjDEIuMGCuL4y6SO0Mcxjk
Linked component graph:
     unit http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         include array-0.5.6.0
         include async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         include base-4.18.2.1
         include base64-bytestring-1.2.1.0-FPYgDX1C1TU4Ubq8stF7K9
         include blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         include bytestring-0.11.5.3
         include case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         include containers-0.6.7
         include cookie-0.4.6-5ixJbRkPrVtCXUGZAF4lSN
         include deepseq-1.4.8.1
         include exceptions-0.10.7
         include filepath-1.4.300.1
         include ghc-prim-0.10.0
         include http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         include iproute-1.7.14-3DBt1k9G9RfJV5v0korwaq
         include mime-types-0.1.2.0-FXxLUN1bSg0RE8MJQSnKp
         include network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         include network-uri-2.6.4.2-DW3z1BDlSYq3bliUtP4HrU
         include random-1.2.1.2-9nSipNyPzIK3OtGny4BWjI
         include stm-2.5.1.0
         include streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         include text-2.0.2
         include time-1.12.2
         include transformers-0.6.1.0
         Network.HTTP.Client=http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs:Network.HTTP.Client,Network.HTTP.Client.Internal=http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs:Network.HTTP.Client.Internal,Network.HTTP.Client.MultipartFormData=http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs:Network.HTTP.Client.MultipartFormData
     unit http-client-0.7.17-BFWrVEGdr2m9c8KiqYNpgR-spec
         include async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         include base-4.18.2.1
         include blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         include bytestring-0.11.5.3
         include case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         include containers-0.6.7
         include deepseq-1.4.8.1
         include hspec-2.11.9-JZYRIeOslOOD2F7LvyAy3I
         include http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         include http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         include monad-control-1.0.3.1-JcminvqZ1R9e3K2KRODyK
         include network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         include streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         include text-2.0.2
         include time-1.12.2
         include transformers-0.6.1.0
         include zlib-0.6.3.0-AjDEIuMGCuL4y6SO0Mcxjk
     unit http-client-0.7.17-JV1vlssjaYf8bmGL9FrTZC-spec-nonet
         include async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         include base-4.18.2.1
         include blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         include bytestring-0.11.5.3
         include case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         include containers-0.6.7
         include cookie-0.4.6-5ixJbRkPrVtCXUGZAF4lSN
         include deepseq-1.4.8.1
         include directory-1.3.8.5
         include hspec-2.11.9-JZYRIeOslOOD2F7LvyAy3I
         include http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         include http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         include monad-control-1.0.3.1-JcminvqZ1R9e3K2KRODyK
         include network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         include network-uri-2.6.4.2-DW3z1BDlSYq3bliUtP4HrU
         include streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         include text-2.0.2
         include time-1.12.2
         include transformers-0.6.1.0
         include zlib-0.6.3.0-AjDEIuMGCuL4y6SO0Mcxjk
Ready component graph:
     definite http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         depends array-0.5.6.0
         depends async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         depends base-4.18.2.1
         depends base64-bytestring-1.2.1.0-FPYgDX1C1TU4Ubq8stF7K9
         depends blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         depends bytestring-0.11.5.3
         depends case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         depends containers-0.6.7
         depends cookie-0.4.6-5ixJbRkPrVtCXUGZAF4lSN
         depends deepseq-1.4.8.1
         depends exceptions-0.10.7
         depends filepath-1.4.300.1
         depends ghc-prim-0.10.0
         depends http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         depends iproute-1.7.14-3DBt1k9G9RfJV5v0korwaq
         depends mime-types-0.1.2.0-FXxLUN1bSg0RE8MJQSnKp
         depends network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         depends network-uri-2.6.4.2-DW3z1BDlSYq3bliUtP4HrU
         depends random-1.2.1.2-9nSipNyPzIK3OtGny4BWjI
         depends stm-2.5.1.0
         depends streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         depends text-2.0.2
         depends time-1.12.2
         depends transformers-0.6.1.0
     definite http-client-0.7.17-BFWrVEGdr2m9c8KiqYNpgR-spec
         depends async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         depends base-4.18.2.1
         depends blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         depends bytestring-0.11.5.3
         depends case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         depends containers-0.6.7
         depends deepseq-1.4.8.1
         depends hspec-2.11.9-JZYRIeOslOOD2F7LvyAy3I
         depends http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         depends http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         depends monad-control-1.0.3.1-JcminvqZ1R9e3K2KRODyK
         depends network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         depends streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         depends text-2.0.2
         depends time-1.12.2
         depends transformers-0.6.1.0
         depends zlib-0.6.3.0-AjDEIuMGCuL4y6SO0Mcxjk
     definite http-client-0.7.17-JV1vlssjaYf8bmGL9FrTZC-spec-nonet
         depends async-2.2.5-GwkBUQRsnGI18fyHYiVZaH
         depends base-4.18.2.1
         depends blaze-builder-0.4.2.3-DQBnLFBE1VT45U7k73NJUF
         depends bytestring-0.11.5.3
         depends case-insensitive-1.2.1.0-9ovbZKmv0xj6AdCHQPUsQD
         depends containers-0.6.7
         depends cookie-0.4.6-5ixJbRkPrVtCXUGZAF4lSN
         depends deepseq-1.4.8.1
         depends directory-1.3.8.5
         depends hspec-2.11.9-JZYRIeOslOOD2F7LvyAy3I
         depends http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
         depends http-types-0.12.4-2TJqM0U0wPY5w6ALloe2SY
         depends monad-control-1.0.3.1-JcminvqZ1R9e3K2KRODyK
         depends network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
         depends network-uri-2.6.4.2-DW3z1BDlSYq3bliUtP4HrU
         depends streaming-commons-0.2.2.6-5NCi7ptiAjT7g30Q71P1sL
         depends text-2.0.2
         depends time-1.12.2
         depends transformers-0.6.1.0
         depends zlib-0.6.3.0-AjDEIuMGCuL4y6SO0Mcxjk
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/http-client-0.7.17-5NuhUnE4VOe7ZQc52gfGDs
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/http-client-0.7.17
Data files installed in: /usr/share/http-client
Documentation installed in:
/usr/share/doc/x86_64-linux-ghc-9.6.6/http-client-0.7.17
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
No pkg-config found
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-http-client-dev
libghc-http-client-prof
libghc-http-client-doc
Preprocessing library for http-client-0.7.17..
Building library for http-client-0.7.17..
[ 1 of 19] Compiling Data.KeyedPool   ( Data/KeyedPool.hs, dist-ghc/build/Data/KeyedPool.o, dist-ghc/build/Data/KeyedPool.dyn_o )
[ 2 of 19] Compiling Network.HTTP.Client.Types ( Network/HTTP/Client/Types.hs, dist-ghc/build/Network/HTTP/Client/Types.o, dist-ghc/build/Network/HTTP/Client/Types.dyn_o )
[ 3 of 19] Compiling Network.HTTP.Client.Connection ( Network/HTTP/Client/Connection.hs, dist-ghc/build/Network/HTTP/Client/Connection.o, dist-ghc/build/Network/HTTP/Client/Connection.dyn_o )
[ 4 of 19] Compiling Network.HTTP.Client.Headers ( Network/HTTP/Client/Headers.hs, dist-ghc/build/Network/HTTP/Client/Headers.o, dist-ghc/build/Network/HTTP/Client/Headers.dyn_o )
[ 5 of 19] Compiling Network.HTTP.Client.Body ( Network/HTTP/Client/Body.hs, dist-ghc/build/Network/HTTP/Client/Body.o, dist-ghc/build/Network/HTTP/Client/Body.dyn_o )
[ 6 of 19] Compiling Network.HTTP.Client.Util ( Network/HTTP/Client/Util.hs, dist-ghc/build/Network/HTTP/Client/Util.o, dist-ghc/build/Network/HTTP/Client/Util.dyn_o )
[ 7 of 19] Compiling Network.HTTP.Client.Request ( Network/HTTP/Client/Request.hs, dist-ghc/build/Network/HTTP/Client/Request.o, dist-ghc/build/Network/HTTP/Client/Request.dyn_o )
[ 8 of 19] Compiling Network.HTTP.Client.Response ( Network/HTTP/Client/Response.hs, dist-ghc/build/Network/HTTP/Client/Response.o, dist-ghc/build/Network/HTTP/Client/Response.dyn_o )
[ 9 of 19] Compiling Network.HTTP.Proxy ( Network/HTTP/Proxy.hs, dist-ghc/build/Network/HTTP/Proxy.o, dist-ghc/build/Network/HTTP/Proxy.dyn_o )
[10 of 19] Compiling Network.HTTP.Client.Manager ( Network/HTTP/Client/Manager.hs, dist-ghc/build/Network/HTTP/Client/Manager.o, dist-ghc/build/Network/HTTP/Client/Manager.dyn_o )
[11 of 19] Compiling Network.PublicSuffixList.Types ( publicsuffixlist/Network/PublicSuffixList/Types.hs, dist-ghc/build/Network/PublicSuffixList/Types.o, dist-ghc/build/Network/PublicSuffixList/Types.dyn_o )
[12 of 19] Compiling Network.PublicSuffixList.Serialize ( publicsuffixlist/Network/PublicSuffixList/Serialize.hs, dist-ghc/build/Network/PublicSuffixList/Serialize.o, dist-ghc/build/Network/PublicSuffixList/Serialize.dyn_o )
[13 of 19] Compiling Network.PublicSuffixList.DataStructure ( publicsuffixlist/Network/PublicSuffixList/DataStructure.hs, dist-ghc/build/Network/PublicSuffixList/DataStructure.o, dist-ghc/build/Network/PublicSuffixList/DataStructure.dyn_o )
[14 of 19] Compiling Network.PublicSuffixList.Lookup ( publicsuffixlist/Network/PublicSuffixList/Lookup.hs, dist-ghc/build/Network/PublicSuffixList/Lookup.o, dist-ghc/build/Network/PublicSuffixList/Lookup.dyn_o )
[15 of 19] Compiling Network.HTTP.Client.Cookies ( Network/HTTP/Client/Cookies.hs, dist-ghc/build/Network/HTTP/Client/Cookies.o, dist-ghc/build/Network/HTTP/Client/Cookies.dyn_o )
[16 of 19] Compiling Network.HTTP.Client.Core ( Network/HTTP/Client/Core.hs, dist-ghc/build/Network/HTTP/Client/Core.o, dist-ghc/build/Network/HTTP/Client/Core.dyn_o )
[17 of 19] Compiling Network.HTTP.Client.Internal ( Network/HTTP/Client/Internal.hs, dist-ghc/build/Network/HTTP/Client/Internal.o, dist-ghc/build/Network/HTTP/Client/Internal.dyn_o )
[18 of 19] Compiling Network.HTTP.Client ( Network/HTTP/Client.hs, dist-ghc/build/Network/HTTP/Client.o, dist-ghc/build/Network/HTTP/Client.dyn_o )
[19 of 19] Compiling Network.HTTP.Client.MultipartFormData ( Network/HTTP/Client/MultipartFormData.hs, dist-ghc/build/Network/HTTP/Client/MultipartFormData.o, dist-ghc/build/Network/HTTP/Client/MultipartFormData.dyn_o )
[ 1 of 19] Compiling Data.KeyedPool   ( Data/KeyedPool.hs, dist-ghc/build/Data/KeyedPool.p_o )
[ 2 of 19] Compiling Network.HTTP.Client.Types ( Network/HTTP/Client/Types.hs, dist-ghc/build/Network/HTTP/Client/Types.p_o )
[ 3 of 19] Compiling Network.HTTP.Client.Connection ( Network/HTTP/Client/Connection.hs, dist-ghc/build/Network/HTTP/Client/Connection.p_o )
[ 4 of 19] Compiling Network.HTTP.Client.Headers ( Network/HTTP/Client/Headers.hs, dist-ghc/build/Network/HTTP/Client/Headers.p_o )
[ 5 of 19] Compiling Network.HTTP.Client.Body ( Network/HTTP/Client/Body.hs, dist-ghc/build/Network/HTTP/Client/Body.p_o )
[ 6 of 19] Compiling Network.HTTP.Client.Util ( Network/HTTP/Client/Util.hs, dist-ghc/build/Network/HTTP/Client/Util.p_o )
[ 7 of 19] Compiling Network.HTTP.Client.Request ( Network/HTTP/Client/Request.hs, dist-ghc/build/Network/HTTP/Client/Request.p_o )
[ 8 of 19] Compiling Network.HTTP.Client.Response ( Network/HTTP/Client/Response.hs, dist-ghc/build/Network/HTTP/Client/Response.p_o )
[ 9 of 19] Compiling Network.HTTP.Proxy ( Network/HTTP/Proxy.hs, dist-ghc/build/Network/HTTP/Proxy.p_o )
[10 of 19] Compiling Network.HTTP.Client.Manager ( Network/HTTP/Client/Manager.hs, dist-ghc/build/Network/HTTP/Client/Manager.p_o )
[11 of 19] Compiling Network.PublicSuffixList.Types ( publicsuffixlist/Network/PublicSuffixList/Types.hs, dist-ghc/build/Network/PublicSuffixList/Types.p_o )
[12 of 19] Compiling Network.PublicSuffixList.Serialize ( publicsuffixlist/Network/PublicSuffixList/Serialize.hs, dist-ghc/build/Network/PublicSuffixList/Serialize.p_o )
[13 of 19] Compiling Network.PublicSuffixList.DataStructure ( publicsuffixlist/Network/PublicSuffixList/DataStructure.hs, dist-ghc/build/Network/PublicSuffixList/DataStructure.p_o )
[14 of 19] Compiling Network.PublicSuffixList.Lookup ( publicsuffixlist/Network/PublicSuffixList/Lookup.hs, dist-ghc/build/Network/PublicSuffixList/Lookup.p_o )
[15 of 19] Compiling Network.HTTP.Client.Cookies ( Network/HTTP/Client/Cookies.hs, dist-ghc/build/Network/HTTP/Client/Cookies.p_o )
[16 of 19] Compiling Network.HTTP.Client.Core ( Network/HTTP/Client/Core.hs, dist-ghc/build/Network/HTTP/Client/Core.p_o )
[17 of 19] Compiling Network.HTTP.Client.Internal ( Network/HTTP/Client/Internal.hs, dist-ghc/build/Network/HTTP/Client/Internal.p_o )
[18 of 19] Compiling Network.HTTP.Client ( Network/HTTP/Client.hs, dist-ghc/build/Network/HTTP/Client.p_o )
[19 of 19] Compiling Network.HTTP.Client.MultipartFormData ( Network/HTTP/Client/MultipartFormData.hs, dist-ghc/build/Network/HTTP/Client/MultipartFormData.p_o )
Preprocessing test suite 'spec' for http-client-0.7.17..
Building test suite 'spec' for http-client-0.7.17..
[1 of 2] Compiling Network.HTTP.ClientSpec ( test/Network/HTTP/ClientSpec.hs, dist-ghc/build/spec/spec-tmp/Network/HTTP/ClientSpec.o )
[2 of 2] Compiling Main             ( test/Spec.hs, dist-ghc/build/spec/spec-tmp/Main.o )
[3 of 3] Linking dist-ghc/build/spec/spec
Preprocessing test suite 'spec-nonet' for http-client-0.7.17..
Building test suite 'spec-nonet' for http-client-0.7.17..
[1 of 9] Compiling Network.HTTP.Client.BodySpec ( test-nonet/Network/HTTP/Client/BodySpec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Network/HTTP/Client/BodySpec.o )
[2 of 9] Compiling Network.HTTP.Client.ConnectionSpec ( test-nonet/Network/HTTP/Client/ConnectionSpec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Network/HTTP/Client/ConnectionSpec.o )
[3 of 9] Compiling Network.HTTP.Client.CookieSpec ( test-nonet/Network/HTTP/Client/CookieSpec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Network/HTTP/Client/CookieSpec.o )
[4 of 9] Compiling Network.HTTP.Client.HeadersSpec ( test-nonet/Network/HTTP/Client/HeadersSpec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Network/HTTP/Client/HeadersSpec.o )
[5 of 9] Compiling Network.HTTP.Client.RequestBodySpec ( test-nonet/Network/HTTP/Client/RequestBodySpec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Network/HTTP/Client/RequestBodySpec.o )
[6 of 9] Compiling Network.HTTP.Client.RequestSpec ( test-nonet/Network/HTTP/Client/RequestSpec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Network/HTTP/Client/RequestSpec.o )
[7 of 9] Compiling Network.HTTP.Client.ResponseSpec ( test-nonet/Network/HTTP/Client/ResponseSpec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Network/HTTP/Client/ResponseSpec.o )
[8 of 9] Compiling Network.HTTP.ClientSpec ( test-nonet/Network/HTTP/ClientSpec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Network/HTTP/ClientSpec.o )
[9 of 9] Compiling Main             ( test-nonet/Spec.hs, dist-ghc/build/spec-nonet/spec-nonet-tmp/Main.o )
[10 of 10] Linking dist-ghc/build/spec-nonet/spec-nonet
touch build-ghc-stamp
perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
	-E 'check_recipe'
Running dh_listpackages
libghc-http-client-dev
libghc-http-client-prof
libghc-http-client-doc
Running 2 test suites...
Test suite spec: RUNNING...


Finished in 0.0001 seconds
0 examples, 0 failures
Test suite spec: PASS
Test suite logged to: dist-ghc/test/http-client-0.7.17-spec.log
Test suite spec-nonet: RUNNING...

Network.HTTP.Client
   Client
     fails on empty hostnames #40
       http:// [✔]
       https:// [✔]
       http://:8000 [✔]
       https://:8001 [✔]
[[("Authorization","abguvatgbfrrurer")],[],[],[],[]]
     headers can be stripped on redirect [✔]
     does strips header on redirect, if hosts are different and set to strip them if host differ [✘]
     does NOT strips header on redirect, if hosts are same and set to strip them if host differ [✘]
     redirecting #41 [✔]
     redirectCount=0 [✔]
     connecting to missing server gives nice error message [✔]
     extra headers after 100 #49
       False [✔]
       True [✔]
     early close on a 413 [✔]
     length zero and chunking zero #108 [✔]
     length zero and chunking [✔]
     length and chunking [✔]
     withResponseHistory and redirect [✔]
     should not write to closed connection [✔]
     does not allow port overflow #383 [✔]
Network.HTTP.Client.Body
   BodySpec
     chunked, single [✔]
     chunked, single, with trailers [✔]
     chunked, pieces [✔]
     chunked, pieces, with trailers [✔]
     chunked, raw [✔]
     chunked, raw, with trailers [✔]
     chunked, pieces, raw [✔]
     chunked, pieces, raw, with trailers [✔]
     length, single [✔]
     length, pieces [✔]
     gzip [✔]
Network.HTTP.Client.Connection
   strippedHostName
     passes along a normal domain name [✔]
     passes along an IPv4 address [✔]
     strips brackets of an IPv4 address [✔]
     pathological cases
       doesn't touch future ip address formats [✔]
       doesn't strip trailing stuff [✔]
Network.HTTP.Client.Cookie
   CookieSpec
     cookie equality - case insensitive Eq [✔]
     domainMatches - case insensitive [✔]
     domainMatches - case insensitive, partial [✔]
     equalCookie vs. equivCookie
       cookie_name [✔]
       cookie_value [✔]
       cookie_expiry_time [✔]
       cookie_domain [✔]
       cookie_path [✔]
       cookie_creation_time [✔]
       cookie_last_access_time [✔]
       cookie_persistent [✔]
       cookie_host_only [✔]
       cookie_secure_only [✔]
       cookie_http_only [✔]
     isPotentiallyTrustworthyOrigin [✔]
Network.HTTP.Client.Headers
   HeadersSpec
     simple response [✔]
     Expect: 100-continue (success) [✔]
     Expect: 100-continue (failure) [✔]
     100 Continue without expectation is OK [✔]
     103 early hints [✔]
     103 early hints (multiple sections) [✔]
Network.HTTP.Client.Request
   case insensitive scheme
     http://example.com [✔]
     URI http://example.com [✔]
     httP://example.com [✔]
     URI httP://example.com [✔]
     HttP://example.com [✔]
     URI HttP://example.com [✔]
     HttPs://example.com [✔]
     URI HttPs://example.com [✔]
     ftp://example.com [✔]
     URI ftp://example.com [✔]
   authentication in url
     passes validation [✔]
     add username/password to headers section [✔]
   getUri
     when protocol is http and port is 80
       omits port [✔]
     when protocol is https and port is 443
       omits port [✔]
     when protocol is https and port is 80
       does not omit port [✔]
   Show Request
     redacts authorization header content [✔]
   applyBasicProxyAuth
     Should add a proxy-authorization header [✔]
     Should add a proxy-authorization header with the specified username and password. [✔]
   extract credentials from a URI
     fetches non-empty username before the first ':' [✔]
     after ':' is considered password [✔]
     decodes username special characters per RFC3986 [✔]
     decodes password special characters per RFC3986 [✔]
     no auth is empty [✔]
   requestBuilder
     sends the full request, combining headers and body in the non-streaming case [✔]
     sends only headers and returns an action for the body on 'Expect: 100-continue' [✔]
Network.HTTP.Client.RequestBody
   streamFile
     works [✔]
Network.HTTP.Client.Response
   ResponseSpec
     basic [✔]
     no length [✔]
     chunked [✔]
     gzip [✔]

Failures:

   test-nonet/Network/HTTP/ClientSpec.hs:201:5:
   1) Network.HTTP.Client.Client does strips header on redirect, if hosts are different and set to strip them if host differ
        uncaught exception: HttpException
        HttpExceptionRequest Request {
          host                 = "127.0.0.1"
          port                 = 40513
          secure               = False
          requestHeaders       = [("Authorization","<REDACTED>")]
          path                 = "/"
          queryString          = ""
          method               = "GET"
          proxy                = Nothing
          rawBody              = False
          redirectCount        = 10
          responseTimeout      = ResponseTimeoutDefault
          requestVersion       = HTTP/1.1
          proxySecureMode      = ProxySecureWithConnect
        }
         (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just "example.com", service name: Just "80"): does not exist (Temporary failure in name resolution))

   To rerun use: --match "/Network.HTTP.Client/Client/does strips header on redirect, if hosts are different and set to strip them if host differ/" --seed 1347418944

   test-nonet/Network/HTTP/ClientSpec.hs:213:5:
   2) Network.HTTP.Client.Client does NOT strips header on redirect, if hosts are same and set to strip them if host differ
        uncaught exception: HttpException
        HttpExceptionRequest Request {
          host                 = "127.0.0.1"
          port                 = 34641
          secure               = False
          requestHeaders       = [("Authorization","<REDACTED>")]
          path                 = "/"
          queryString          = ""
          method               = "GET"
          proxy                = Nothing
          rawBody              = False
          redirectCount        = 10
          responseTimeout      = ResponseTimeoutDefault
          requestVersion       = HTTP/1.1
          proxySecureMode      = ProxySecureWithConnect
        }
         (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just "example.com", service name: Just "80"): does not exist (Temporary failure in name resolution))

   To rerun use: --match "/Network.HTTP.Client/Client/does NOT strips header on redirect, if hosts are same and set to strip them if host differ/" --seed 1347418944

Randomized with seed 1347418944

Finished in 1.9944 seconds
86 examples, 2 failures
Test suite spec-nonet: FAIL
Test suite logged to: dist-ghc/test/http-client-0.7.17-spec-nonet.log
1 of 2 test suites (1 of 2 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
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

The unshare backend of sbuild was used for the build. A failure usually
indicates the package is trying to access Internet.

In this case, the test apparently tries to connect to example.com
which triggers "Temporary failure in name resolution".

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Pkg-haskell-maintainers mailing list