Bug#811554: haskell-hslua: Please don't build-depend on libluajit-5.1-dev for unsupported architectures

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <145323343285.3707.3291537390569942315.reportbug__33758.3007094965$1453233642$gmane$org@z6.physik.fu-berlin.de>
Source: haskell-hslua
Version: 0.4.1-4
Severity: important

Hello!

Currently, haskell-hslua is BD-Uninstallable for multiple architectures were it would
actually build if it wasn't for the build dependency on libluajit-5.1-dev which is
only supported on a limited number of architectures.

I would therefore suggest to change the build dependency on libluajit-5.1-dev to use
a whitelist instead of a blacklist, i.e. change debian/control as below:

--- control.old	    2016-01-19 20:48:43.000000000 +0100
+++ control.new	    2016-01-19 20:50:18.661062876 +0100
@@ -10,7 +10,7 @@
  ghc-prof,
  pkg-config,
  liblua5.1-0-dev,
- libluajit-5.1-dev [!arm64 !ppc64el !s390x],
+ libluajit-5.1-dev [amd64 armel armhf i386 mips mipsel powerpc hurd-i386 kfreebsd-i386],
  libghc-hspec-dev,
  libghc-hspec-contrib-dev,
  libghc-hunit-dev,

This would fix haskell-hslua being BD-Uninstallable on most ports architectures.

Thanks,
Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.