Package: git-annex Version: 6.20180626-1 Severity: serious For some reasons git-annex is attempting network access during build, this is obvious if you look at the ubuntu log where network is really disabled. https://launchpad.net/ubuntu/+source/git-annex/6.20180626-1
I had this issue with haskell-src-exts-util and haskell-iso8601-time, and I fixed with the following commits: https://salsa.debian.org/haskell-team/DHG_packages/commit/ccf233ff83823136e2c4123364cb5e44fa5a5f3a and https://salsa.debian.org/haskell-team/DHG_packages/commit/5274d07ad4588fbba875872d408c0d6a22cbd262 this is debian/rules file did the trick -DEB_SETUP_BIN_NAME = cabal +DEB_SETUP_BIN_NAME = debian/hlibrary.setup but git-annex is not using cdbs, so I don't know how to best fix this issue... snip of the build log below make -j1 make[1]: Entering directory '/<<PKGBUILDDIR>>' if [ "debian/cabal-wrapper" = ./Setup ]; then ghc --make Setup; fi if [ "debian/cabal-wrapper" != stack ]; then \ debian/cabal-wrapper configure --ghc-options="-optl-Wl,-Bsymbolic-functions -optl-Wl,-z,relro -optc-g -optc-O2 -optc-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -optc-fstack-protector-strong -optc-Wformat -optc-Werror=format-security -optc-Wp,-Wdate-time -optc-Wp,-D_FORTIFY_SOURCE=2"; \ else \ debian/cabal-wrapper setup; \ fi Config file path source is default config file. Config file /tmp/tmp.UZlSj03KsY/.cabal/config not found. Writing default configuration to /tmp/tmp.UZlSj03KsY/.cabal/config Warning: 'nslookup' tool missing - can't locate mirrors dieVerbatim: user error (cabal: '/usr/bin/curl' exited with an error: curl: (6) Could not resolve host: hackage.haskell.org )Makefile:22: recipe for target 'tmp/configure-stamp' failed make[1]: *** [tmp/configure-stamp] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' thanks Gianfranco

