Bug#900943: haskell-src-exts-util: build downloads from the internet

Mathieu Trudel-Lapierre cyphermox at ubuntu.com
Thu Jun 7 04:14:34 BST 2018


Package: haskell-src-exts-util
Version: 0.2.2-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu cosmic ubuntu-patch

Dear Maintainer,

haskell-src-exts-utils appears to attempt to connect to the internet to check
repository for new versions. This potentially breaks reproducibility, and
fails to build on Ubuntu (where there is no internet access for builds).

I've attached a tiny fix.

*** /tmp/tmp4Bmmil/bug_body

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules: set DEB_SETUP_BIN_NAME appropriately to avoid trying to grab
    data from the internet at build time.


Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers cosmic-proposed
  APT policy: (500, 'cosmic-proposed'), (500, 'cosmic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-22-generic (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru haskell-src-exts-util-0.2.2/debian/rules haskell-src-exts-util-0.2.2/debian/rules
--- haskell-src-exts-util-0.2.2/debian/rules	2018-04-09 14:07:38.000000000 -0700
+++ haskell-src-exts-util-0.2.2/debian/rules	2018-06-06 15:44:04.000000000 -0700
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-DEB_SETUP_BIN_NAME = cabal
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
 DEB_CABAL_PACKAGE = src-exts-util
 DEB_DEFAULT_COMPILER = ghc
 DEB_BUILD_DEPENDENCIES = build-arch


More information about the Pkg-haskell-maintainers mailing list