I was trying a Gitian build for master at 9cdb19fe6717b1003e01d997c096fb4ab534aa03? I used LXC (not Docker), but then crashes during depends make with bdb:
0libtool: compile: arm-linux-gnueabihf-g++ -c -I. -I../dist/./.. -I/home/ubuntu/build/bitcoin/depends/arm-linux-gnueabihf/include -D_GNU_SOURCE -D_REENTRANT -std=c++11 ../dist/./../cxx/cxx_multi.cpp -fPIC -DPIC -o cxx_multi.o
1libtool: compile: arm-linux-gnueabihf-g++ -c -I. -I../dist/./.. -I/home/ubuntu/build/bitcoin/depends/arm-linux-gnueabihf/include -D_GNU_SOURCE -D_REENTRANT -std=c++11 ../dist/./../cxx/cxx_mpool.cpp -fPIC -DPIC -o cxx_mpool.o
2In file included from ../dist/./../cxx/cxx_mpool.cpp:1:0:
3
4
5Internal compiler error: Error reporting routines re-entered.
6./libtool --mode=compile arm-linux-gnueabihf-g++ -c -I. -I../dist/./.. -I/home/ubuntu/build/bitcoin/depends/arm-linux-gnueabihf/include -D_GNU_SOURCE -D_REENTRANT -std=c++11 ../dist/./../cxx/cxx_seq.cpp
7Please submit a full bug report,
8with preprocessed source if appropriate.
9See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
10Makefile:2032: recipe for target 'cxx_mpool.o' failed
11make[1]: *** [cxx_mpool.o] Error 1
12make[1]: *** Waiting for unfinished jobs....
13libtool: compile: arm-linux-gnueabihf-g++ -c -I. -I../dist/./.. -I/home/ubuntu/build/bitcoin/depends/arm-linux-gnueabihf/include -D_GNU_SOURCE -D_REENTRANT -std=c++11 ../dist/./../cxx/cxx_seq.cpp -fPIC -DPIC -o cxx_seq.o
14make[1]: Leaving directory '/home/ubuntu/build/bitcoin/depends/work/build/arm-linux-gnueabihf/bdb/4.8.30-8f2a4f0c933/build_unix'
15funcs.mk:242: recipe for target '/home/ubuntu/build/bitcoin/depends/work/build/arm-linux-gnueabihf/bdb/4.8.30-8f2a4f0c933/build_unix/.stamp_built' failed
16make: *** [/home/ubuntu/build/bitcoin/depends/work/build/arm-linux-gnueabihf/bdb/4.8.30-8f2a4f0c933/build_unix/.stamp_built] Error 2
Gitian worked when I tested an earlier version of #13604, on a Debian 9 host and before Bionic descriptors were merged. Perhaps the changes added before merge cause a problem, or perhaps there’s something about the Bionic descriptors (or host).