[Git][haskell-team/DHG_packages][master] 2 commits: haskell-cipher-aes: fix optimization issue on armhf, upload to unstable

Gianfranco Costamagna gitlab at salsa.debian.org
Fri Jun 22 19:34:40 BST 2018


Gianfranco Costamagna pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
2fa55f4b by Gianfranco Costamagna at 2018-06-22T20:06:10+02:00
haskell-cipher-aes: fix optimization issue on armhf, upload to unstable

- - - - -
c4ad90ca by Gianfranco Costamagna at 2018-06-22T20:09:20+02:00
haskell-cryptonite: workaround armhf SIGBUS by lowering optimization levels

- - - - -


4 changed files:

- p/haskell-cipher-aes/debian/changelog
- p/haskell-cipher-aes/debian/rules
- p/haskell-cryptonite/debian/changelog
- p/haskell-cryptonite/debian/rules


Changes:

=====================================
p/haskell-cipher-aes/debian/changelog
=====================================
--- a/p/haskell-cipher-aes/debian/changelog
+++ b/p/haskell-cipher-aes/debian/changelog
@@ -1,8 +1,14 @@
-haskell-cipher-aes (0.2.11-7) UNRELEASED; urgency=medium
+haskell-cipher-aes (0.2.11-7) unstable; urgency=medium
 
+  [ Clint Adams ]
   * Set Rules-Requires-Root to no.
 
- -- Clint Adams <clint at debian.org>  Sun, 06 May 2018 22:09:23 -0400
+  [ Mathieu Trudel-Lapierre ]
+  * Build with optimization disabled on armhf, to workaround SIGBUS in tests.
+    (Closes: #901406)
+    - this is not really a fix, but at least the produced binary is more sane.
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Fri, 22 Jun 2018 20:02:48 +0200
 
 haskell-cipher-aes (0.2.11-6) unstable; urgency=medium
 


=====================================
p/haskell-cipher-aes/debian/rules
=====================================
--- a/p/haskell-cipher-aes/debian/rules
+++ b/p/haskell-cipher-aes/debian/rules
@@ -1,6 +1,11 @@
 #!/usr/bin/make -f
 
 DEB_ENABLE_TESTS = yes
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(DEB_HOST_ARCH),armhf)
+DEB_BUILD_OPTIONS += noopt
+endif
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk


=====================================
p/haskell-cryptonite/debian/changelog
=====================================
--- a/p/haskell-cryptonite/debian/changelog
+++ b/p/haskell-cryptonite/debian/changelog
@@ -1,8 +1,12 @@
-haskell-cryptonite (0.25-4) UNRELEASED; urgency=medium
+haskell-cryptonite (0.25-4) unstable; urgency=medium
 
+  [ Clint Adams ]
   * Set Rules-Requires-Root to no.
 
- -- Clint Adams <clint at debian.org>  Sun, 06 May 2018 22:09:30 -0400
+  [ Steve Langasek ]
+  * Disable compiler optimization on armhf, which works around a SIGBUS.
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Fri, 22 Jun 2018 20:08:21 +0200
 
 haskell-cryptonite (0.25-3) unstable; urgency=medium
 


=====================================
p/haskell-cryptonite/debian/rules
=====================================
--- a/p/haskell-cryptonite/debian/rules
+++ b/p/haskell-cryptonite/debian/rules
@@ -2,6 +2,11 @@
 
 DEB_ENABLE_TESTS = yes
 DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=-support_aesni
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(DEB_HOST_ARCH),armhf)
+DEB_BUILD_OPTIONS += noopt
+endif
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/compare/33e80ccb5f51b5c5644ffdbbf8c9b58a49fd19c8...c4ad90ca829b5452dbefdca076fdbea2e7ef3331

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/compare/33e80ccb5f51b5c5644ffdbbf8c9b58a49fd19c8...c4ad90ca829b5452dbefdca076fdbea2e7ef3331
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20180622/8588bb41/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list