Bug#962913: haskell-http-conduit: FTBFS on IPv6-only host

Sebastian Ramacher sramacher at debian.org
Mon Jun 15 22:57:13 BST 2020


Source: haskell-http-conduit
Version: 2.3.7.3-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

haskell-http-conduit failed to build on amd64:
|   27) RequestBodyIO
|        uncaught exception: HttpException
|        HttpExceptionRequest Request {
|          host                 = "127.0.0.1"
|          port                 = 15487
|          secure               = False
|          requestHeaders       = []
|          path                 = "/"
|          queryString          = ""
|          method               = "POST"
|          proxy                = Nothing
|          rawBody              = False
|          redirectCount        = 10
|          responseTimeout      = ResponseTimeoutDefault
|          requestVersion       = HTTP/1.1
|        }
|         (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = <assumed to be undefined>, addrCanonName = <assumed to be undefined>}, host name: Just "127.0.0.1", service name: Just "15487"): does not exist (Address family for hostname not supported))
|
|   To rerun use: --match "/RequestBodyIO/"
|
| Randomized with seed 542653933
|
| Finished in 3.5043 seconds

See
https://buildd.debian.org/status/fetch.php?pkg=haskell-http-conduit&arch=amd64&ver=2.3.7.3-1&stamp=1591626982&raw=0

This bug looks a lot like #962019. Setting addrFlags to 0 or adding
AI_NUMERICHOST should fix it.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20200615/1ff971f3/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list