Bug#900762: haskell-cabal-install: causes network access during build
Gianfranco Costamagna
locutusofborg at debian.org
Mon Jun 4 14:13:03 BST 2018
Source: haskell-cabal-install
Version: 2.0.0.1-1
Severity: serious
Justification: Policy ยง 4.9
Affects: haskell-iso8601-time
Affects: haskell-src-exts-util
Since the new haskell-cabal-install 2.0.0.1, haskell-iso8601-time and
haskell-src-exts-util started doing network calls during build,
and this caused FTBFS in Ubuntu where network is explicitly disabled.
Quoting irc conversation:
why sbuild on buildd is not blocking it?
isn't this rc buggy?
anyhow, yes, tweaking resolv.conf makes the build fail also with login
so, in Ubuntu builders the "proxy" is not correctly evaluated
and debian builders aren't strict enough
the RC is in haskell-cabal-install :/
--- haskell-cabal-install-1.24.0.2/Distribution/Client/Security/DNS.hs 1970-01-01 00:00:00.000000000 +0000
+++ haskell-cabal-install-2.0.0.1/Distribution/Client/Security/DNS.hs 2017-12-02 02:23:33.000000000 +0000
why is it calling the bootstrap?
cabal configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl,-z,relro --haddockdir=/usr/lib/ghc-doc/haddock/iso8601-time-0.1.4/ --datasubdir=iso8601-time --htmldir=/usr/share/doc/libghc-iso8601-time-doc/html/ --enable-library-profiling --enable-tests
This seems to be an RC bug in Debian.
thanks,
Gianfranco
More information about the Pkg-haskell-maintainers
mailing list