[Git][haskell-team/haskell-devscripts][master] 2 commits: Assume ghc is the default compiler when dh_haskell_provides is called in ghc builds.

Felix Lechner (@lechner) gitlab at salsa.debian.org
Tue Apr 12 06:41:02 BST 2022



Felix Lechner pushed to branch master at Debian Haskell Group / haskell-devscripts


Commits:
0d4266b1 by Felix Lechner at 2022-04-11T21:51:25-07:00
Assume ghc is the default compiler when dh_haskell_provides is called in ghc builds.

Avoids that error:

make[1]: Entering directory '/lcl/lechner/haskell/ghc/ghc-8.8.4'
dh_haskell_provides
Running dh_listpackages
ghc
ghc-prof
ghc-doc
Use of uninitialized value $compiler in string eq at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 249.
Use of uninitialized value $compiler in string eq at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 252.
Use of uninitialized value $compiler in concatenation (.) or string at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 264.
Don't know pkgdir for  at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 264.
make[1]: *** [debian/rules:301: override_dh_installdeb] Error 25
make[1]: Leaving directory '/lcl/lechner/haskell/ghc/ghc-8.8.4'
make: *** [debian/rules:64: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -rfakeroot -us -uc -ui failed

- - - - -
67ecc90c by Felix Lechner at 2022-04-11T22:40:41-07:00
Release version 0.16.9 into unstable.

- - - - -


2 changed files:

- debian/changelog
- dh_haskell_provides


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-devscripts (0.16.9) unstable; urgency=medium
+
+  * Assume ghc is the default compiler when dh_haskell_provides is called
+    in ghc builds.
+
+ -- Felix Lechner <felix.lechner at lease-up.com>  Mon, 11 Apr 2022 22:40:21 -0700
+
 haskell-devscripts (0.16.8) unstable; urgency=medium
 
   * Fix install locations for generalized temporary destination forders.


=====================================
dh_haskell_provides
=====================================
@@ -45,6 +45,8 @@ const my $NEWLINE => qq{\n};
 
 my $program_name = basename($0);
 
+$ENV{DEB_DEFAULT_COMPILER} ||= 'ghc';
+
 my @excludes;
 
 my %options = (



View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/compare/f5be885dcba6c4c96bc03bb83bddd4cb4313d4d5...67ecc90cda560f332de10d03488d78113cf3d129

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/compare/f5be885dcba6c4c96bc03bb83bddd4cb4313d4d5...67ecc90cda560f332de10d03488d78113cf3d129
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/20220412/40f9601c/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list