[Git][haskell-team/haskell-devscripts][master] Silence GHC 8.4's "ignoring (possibly broken) abi-depends..." warning
Ilias Tsitsimpis
gitlab at salsa.debian.org
Fri Oct 5 13:14:03 BST 2018
Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / haskell-devscripts
Commits:
3d7d2df4 by Ilias Tsitsimpis at 2018-10-05T12:06:41Z
Silence GHC 8.4's "ignoring (possibly broken) abi-depends..." warning
The current version of this package does not work properly with GHC 8.4.
The reason is that the `ghc-pkg --package-db debian/tmp-db/ recache`
command outputs a warning about possibly broken abi-depends:
ignoring (possibly broken) abi-depends field for packages
See also https://ghc.haskell.org/trac/ghc/ticket/14381.
This causes the output of the tmp_package_db() function to contain the
above string, and function package_id_to_virtual_package() fails with:
/usr/share/haskell-devscripts/Dh_Haskell.sh: line 368: ignoring: command not found
Unfortunately, the above does not crash the build, it only leads to
empty values for the corresponding variables, hence all haskell packages
end up with a `Provides: libghc--dev--'.
Fix the above bug by ignoring the output of the `ghc-pkg recache`
command.
- - - - -
4 changed files:
- Dh_Haskell.sh
- debian/changelog
- debian/compat
- debian/control
Changes:
=====================================
Dh_Haskell.sh
=====================================
@@ -322,7 +322,9 @@ tmp_package_db() {
then
mkdir debian/tmp-db
cp $@ debian/tmp-db/
- $ghcpkg --package-db debian/tmp-db/ recache
+ # Silence GHC 8.4's "ignoring (possibly broken) abi-depends field
+ # for packages" warning. See also, https://ghc.haskell.org/trac/ghc/ticket/14381
+ $ghcpkg --package-db debian/tmp-db/ recache >/dev/null
fi
echo "${ghcpkg} --package-db debian/tmp-db"
fi
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-devscripts (0.14.0) unstable; urgency=medium
+
+ * Bump compat level
+ * Silence GHC 8.4's "ignoring (possibly broken) abi-depends..." warning
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org> Fri, 05 Oct 2018 14:32:06 +0300
+
haskell-devscripts (0.13.8) unstable; urgency=medium
* Disable wordwrap on setup register output to cope with
=====================================
debian/compat
=====================================
@@ -1 +1 @@
-9
+10
=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.or
Uploaders: Joachim Breitner <nomeata at debian.org>
, Louis Bettens <louis at bettens.info>
, Dmitry Bogatov <KAction at gnu.org>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 10)
Build-Depends-Indep: perl
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/haskell-team/haskell-devscripts
@@ -14,7 +14,7 @@ Vcs-Git: https://salsa.debian.org/haskell-team/haskell-devscripts.git/
Package: haskell-devscripts-minimal
Architecture: all
Depends: dctrl-tools
- , debhelper (>= 9.20151219)
+ , debhelper (>= 10)
, dh-buildinfo
, ghc
, cdbs
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/commit/3d7d2df42af61f5b7d7f9cf9ddcd561ac26240ff
--
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/commit/3d7d2df42af61f5b7d7f9cf9ddcd561ac26240ff
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/20181005/68c3cfa3/attachment-0001.html>
More information about the Pkg-haskell-commits
mailing list