Something changed in haskell land, but I don't know the language that
well. I suspect some dependencies have changed, and perhaps we were
using some deprecated things that are now gone. This is causing all
the tests to fail in our CI environment, and we cannot merge any
changes into the project safely until this is resolved.
Failed to install thrift-0.13.0
Build log ( /root/.cabal/logs/thrift-0.13.0.log ):
cabal: Entering directory '.'
Configuring thrift-0.13.0...
Building thrift-0.13.0...
Preprocessing library thrift-0.13.0...
[ 1 of 17] Compiling Thrift.Types ( src/Thrift/Types.hs,
dist/build/Thrift/Types.o )
[ 2 of 17] Compiling Thrift.Transport.IOBuffer (
src/Thrift/Transport/IOBuffer.hs,
dist/build/Thrift/Transport/IOBuffer.o )
[ 3 of 17] Compiling Thrift.Transport ( src/Thrift/Transport.hs,
dist/build/Thrift/Transport.o )
[ 4 of 17] Compiling Thrift.Transport.Empty (
src/Thrift/Transport/Empty.hs, dist/build/Thrift/Transport/Empty.o )
[ 5 of 17] Compiling Thrift.Transport.Framed (
src/Thrift/Transport/Framed.hs, dist/build/Thrift/Transport/Framed.o )
[ 6 of 17] Compiling Thrift.Transport.Handle (
src/Thrift/Transport/Handle.hs, dist/build/Thrift/Transport/Handle.o )
src/Thrift/Transport/Handle.hs:34:1: error:
Failed to load interface for `Network'
Use -v to see a list of the files searched for.
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
thrift-0.13.0 failed during the building phase. The exception was:
ExitFailure 1
Makefile:643: recipe for target 'all-local' failed
make: *** [all-local] Error 1
If anyone is able to look at it, it would be appreciated.
It is easily reproduced in the docker build container:
$ docker pull thrift/thrift-build:ubuntu-bionic (warning, 8GB)
$ docker run --rm --security-opt seccomp=unconfined \
-v $(pwd):/thrift/src -it thrift/thrift-build:${IMAGE} /bin/bash
root@145acdde631c:/thrift/src# ./bootstrap.sh && ./configure && cd
compiler/cpp && make -j3 && cd ../../lib/hs && make check
Thanks,
Jim (PMC Member)