Hi, I don't have many clues about why this is failing on Ubuntu, but not in Debian, and only with some specific configurations (e.g. pbuilder with qemu armhf environment is fine, official builders aren't).
Dumping the testsuite failures doesn't help, because the content of the file seems a pointer to the file itself:
code:
**** DUMPING LOG ****
Test suite test: RUNNING...
Test suite test: FAIL
Test suite logged to: dist-ghc/test/http-conduit-2.1.11-test.log
**** END LOG ****
[snip]
Dependency utf8-string -any: using utf8-string-1.0.1.1
Dependency wai >=3.0 && <3.3: using wai-3.2.1.1
Dependency wai-conduit -any: using wai-conduit-3.0.0.3
Dependency warp >=3.0.0.2 && <3.3: using warp-3.2.7
Dependency warp-tls -any: using warp-tls-3.2.2
Using Cabal-1.22.5.0 compiled by ghc-7.10
Using compiler: ghc-7.10.3
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in:
/usr/lib/haskell-packages/ghc/lib/arm-linux-ghc-7.10.3/http-conduit-2.1.11-D10qfUuGpPv9XQNegsMjuL
Private binaries installed in: /usr/lib
Data files installed in: /usr/share/http-conduit
Documentation installed in:
/usr/share/doc/arm-linux-ghc-7.10.3/http-conduit-2.1.11
Configuration files installed in: /usr/etc
No alex found
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
Using gcc version 6.1.1 found on system at: /usr/bin/gcc
Using ghc version 7.10.3 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.10.3 found on system at: /usr/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.16.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.67 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
No lhc found
No lhc-pkg found
No pkg-config found
Using strip version 2.27 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
Building http-conduit-2.1.11...
Preprocessing library http-conduit-2.1.11...
[1 of 3] Compiling Network.HTTP.Client.Conduit ( Network/HTTP/Client/Conduit.hs, dist-ghc/build/Network/HTTP/Client/Conduit.o )
Network/HTTP/Client/Conduit.hs:52:1: Warning:
The import of ‘Network.HTTP.Client’ is redundant
except perhaps to import instances from ‘Network.HTTP.Client’
To import instances alone, use: import Network.HTTP.Client()
[2 of 3] Compiling Network.HTTP.Simple ( Network/HTTP/Simple.hs, dist-ghc/build/Network/HTTP/Simple.o )
Network/HTTP/Simple.hs:89:1: Warning:
The import of ‘Data.Default.Class’ is redundant
except perhaps to import instances from ‘Data.Default.Class’
To import instances alone, use: import Data.Default.Class()
[3 of 3] Compiling Network.HTTP.Conduit ( Network/HTTP/Conduit.hs, dist-ghc/build/Network/HTTP/Conduit.o )
Network/HTTP/Conduit.hs:237:1: Warning:
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
Network/HTTP/Conduit.hs:238:1: Warning:
The import of ‘Control.Exception.Lifted’ is redundant
except perhaps to import instances from ‘Control.Exception.Lifted’
To import instances alone, use: import Control.Exception.Lifted()
[1 of 3] Compiling Network.HTTP.Client.Conduit ( Network/HTTP/Client/Conduit.hs, dist-ghc/build/Network/HTTP/Client/Conduit.p_o )
Network/HTTP/Client/Conduit.hs:52:1: Warning:
The import of ‘Network.HTTP.Client’ is redundant
except perhaps to import instances from ‘Network.HTTP.Client’
To import instances alone, use: import Network.HTTP.Client()
[2 of 3] Compiling Network.HTTP.Simple ( Network/HTTP/Simple.hs, dist-ghc/build/Network/HTTP/Simple.p_o )
Network/HTTP/Simple.hs:89:1: Warning:
The import of ‘Data.Default.Class’ is redundant
except perhaps to import instances from ‘Data.Default.Class’
To import instances alone, use: import Data.Default.Class()
[3 of 3] Compiling Network.HTTP.Conduit ( Network/HTTP/Conduit.hs, dist-ghc/build/Network/HTTP/Conduit.p_o )
Network/HTTP/Conduit.hs:237:1: Warning:
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
Network/HTTP/Conduit.hs:238:1: Warning:
The import of ‘Control.Exception.Lifted’ is redundant
except perhaps to import instances from ‘Control.Exception.Lifted’
To import instances alone, use: import Control.Exception.Lifted()
In-place registering http-conduit-2.1.11...
Preprocessing test suite 'test' for http-conduit-2.1.11...
[1 of 2] Compiling CookieTest ( test/CookieTest.hs, dist-ghc/build/test/test-tmp/CookieTest.o )
test/CookieTest.hs:10:1: Warning:
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
test/CookieTest.hs:18:30: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
[2 of 2] Compiling Main ( test/main.hs, dist-ghc/build/test/test-tmp/Main.o )
test/main.hs:28:1: Warning:
The import item ‘HostPreference(..)’ suggests that
‘HostPreference’ has (in-scope) constructors or class methods,
but it has none
test/main.hs:28:1: Warning:
The import of ‘HostPreference’
from module ‘Data.Conduit.Network’ is redundant
test/main.hs:181:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:182:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:188:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:189:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:193:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:194:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:198:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:199:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:203:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:204:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:208:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:209:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:214:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:215:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:219:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:225:25: Warning:
In the use of ‘withManagerSettings’
(imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager"
test/main.hs:230:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:231:33: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:232:33: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:240:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:241:33: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:248:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:249:33: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:255:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:256:33: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:261:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:263:41: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:275:28: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:277:22: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:285:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:287:41: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:302:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:303:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:311:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:312:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:319:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:320:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:325:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:326:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:331:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:332:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:340:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:341:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:349:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:350:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:361:38: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:362:33: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:394:42: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:395:33: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:403:21: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:405:20: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:410:21: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:412:13: Warning:
In the use of ‘withManagerSettings’
(imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager"
test/main.hs:412:33: Warning:
In the use of ‘conduitManagerSettings’
(imported from Network.HTTP.Conduit):
Deprecated: "Use tlsManagerSettings"
test/main.hs:422:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:423:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:429:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:430:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:452:13: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:453:24: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:461:20: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
test/main.hs:466:9: Warning:
In the use of ‘withManager’ (imported from Network.HTTP.Conduit):
Deprecated: "Please use newManager tlsManagerSettings"
test/main.hs:472:37: Warning:
In the use of ‘parseUrl’
(imported from Network.HTTP.Conduit, but defined in http-client-0.4.31:Network.HTTP.Client.Request):
Deprecated: "Please use parseUrlThrow, parseRequest, or parseRequest_ instead"
Linking dist-ghc/build/test/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 1 test suites...
Test suite test: RUNNING...
ipParseTests
Valid IP
Digit Too High
Too Many Segments
Chars in IP
domainMatchingTests
Should Match
Same Domain
Sibling Domain
Parent Domain
Checking for Naive suffix-check
defaultPathTests
Basic default path test
Basic populated default path
Default path from request with GET params works
Getting a default path that ends in a slash
Getting a short default path
pathMatchingTests
Same paths match
Putting slash at end
Not putting slash at end
Diverging paths don't match
equalityTests
The same cookie should be equal to itself
Changing extra options shouldn't change equality
Changing a cookie's domain should change its equality
removeTests
Removing a cookie works
Removing a nonexistant cookie doesn't work
Removing the correct cookie
evictionTests
Testing eviction
Evicting from empty cookie jar
sendingTests
Updates last access time upon using cookies
Host-only flag matches exact host
Host-only flag doesn't match subdomain
Domain matching works properly
Path matching works
Path matching fails when it should
Path matching succeeds when request has GET params
Secure flag filters correctly
Http-only flag filters correctly
Sorting works correctly
Inserting cookie header works
receivingTests
Can receive set-cookie
Receiving a Set-Cookie with a trailing dot on the domain
Receiving a Set-Cookie with a leading dot on the domain
Set-Cookie with no domain
Set-Cookie with empty domain
Set-Cookie with non-matching domain
Host-only flag gets set
Host-only flag doesn't get set
Http-only flag gets set
Http-only flag doesn't get set
Checking non http request gets dropped
Name gets set correctly
Value gets set correctly
Expiry gets set correctly
Expiry gets set based on max age if no expiry is given
Expiry gets set based on given value if no max age is given
Expiry gets set to a future date if no expiry and no max age are given
Path gets set correctly when nonexistant
Path gets set correctly
Creation time gets set correctly
Last access time gets set correctly
Persistent flag gets set correctly
Existing cookie gets updated
Creation time gets updated in existing cookie
Existing http-only cookie gets dropped
Secure flag gets set correctly
Max-Age flag gets set correctly
Max-Age is preferred over Expires
monoidTest
Monoid prefers more recent cookies
simpleHttp
gets homepage
throws exception on 404
httpLbs
preserves 'set-cookie' headers
redirects set cookies
user-defined cookie jar works
user-defined cookie jar is not ignored when redirection is disabled
cookie jar is available in response
Cookie header isn't touched when no cookie jar supplied
Response cookie jar is nothing when request cookie jar is nothing
Test suite test: FAIL
Test suite logged to: dist-ghc/test/http-conduit-2.1.11-test.log
0 of 1 test suites (0 of 1 test cases) passed.
make: *** [check-ghc-stamp] Error 1
/usr/share/cdbs/1/class/hlibrary.mk:154: recipe for target 'check-ghc-stamp' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
Hi, I don't have many clues about why this is failing on Ubuntu, but not in Debian, and only with some specific configurations (e.g. pbuilder with qemu armhf environment is fine, official builders aren't).
Dumping the testsuite failures doesn't help, because the content of the file seems a pointer to the file itself: code:
Do you have any clue? this is a complete failure log: https://launchpad.net/ubuntu/+source/haskell-http-conduit/2.1.11-1build2/+build/10594992 https://launchpadlibrarian.net/278366738/buildlog_ubuntu-yakkety-armhf.haskell-http-conduit_2.1.11-1build2_BUILDING.txt.gz