Lintian Fixes - ghc

Ready changes

Summary

Diff

diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index 60aba4fd4d..ccd851a43c 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -1,3 +1,11 @@
+ghc (9.0.2-5) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Bump debhelper from old 12 to 13.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 01 Mar 2023 14:11:35 -0000
+
 ghc (9.0.2-4) unstable; urgency=medium
 
   * Backport patch to fix ABI reproducibility (Closes: #1015733)
@@ -263,7 +271,7 @@ ghc (8.8.1+dfsg1-1~exp1) experimental; urgency=medium
   * Drop upstream patches:
     - bsymbolic-only-for-registerised.patch
     - e175aaf6918bb2b497b83618dc4c270a0d231a1c.patch
-    - add_-latomic_to_ghc-prim 
+    - add_-latomic_to_ghc-prim
     - risc-support.patch
     - PprC-Add-support-for-adjacent-floats
     - powerpc-fix-64-bit-comparision.patch
@@ -1039,7 +1047,7 @@ ghc (7.10.1-3) experimental; urgency=medium
 
 ghc (7.10.1-2) experimental; urgency=medium
 
-  * Build against llvm-3.5 (Closes: 784245) 
+  * Build against llvm-3.5 (Closes: 784245)
 
  -- Joachim Breitner <nomeata@debian.org>  Wed, 13 May 2015 11:18:54 +0200
 
@@ -1084,7 +1092,7 @@ ghc (7.8.4-6) unstable; urgency=medium
 
 ghc (7.8.4-5) unstable; urgency=medium
 
-  * New patch patches/PPC-relocations.patch by Colin Watson, Closes: #785194 
+  * New patch patches/PPC-relocations.patch by Colin Watson, Closes: #785194
 
  -- Joachim Breitner <nomeata@debian.org>  Wed, 13 May 2015 21:06:05 +0200
 
@@ -1113,7 +1121,7 @@ ghc (7.8.4-2) unstable; urgency=medium
 
   * Fix debian/rules syntax (tab instead of spaces) to unbreak build on armel,
     armhf
-  * Apply all hacks for armel and armhf also on arm64 
+  * Apply all hacks for armel and armhf also on arm64
 
  -- Joachim Breitner <nomeata@debian.org>  Thu, 30 Apr 2015 09:08:39 +0200
 
@@ -1143,13 +1151,13 @@ ghc (7.8.20141223-1) experimental; urgency=medium
 ghc (7.8.20141119-8) experimental; urgency=medium
 
   * Now that the package builds on armel and armhf, try to build with GHCi
-    enabled. 
+    enabled.
 
  -- Joachim Breitner <nomeata@debian.org>  Tue, 09 Dec 2014 14:29:13 +0100
 
 ghc (7.8.20141119-7) experimental; urgency=medium
 
-  * Apply patches taken from GHC HEAD that help building on ARM  
+  * Apply patches taken from GHC HEAD that help building on ARM
     - always_build_arm_spinlocks.patch
     - dll-split-fix.patch
     - linker-detection-fix
@@ -1158,13 +1166,13 @@ ghc (7.8.20141119-7) experimental; urgency=medium
   * Pass -fuse-ld=gold to gcc when used as alinker on arm
     (patches/use-gold-on-arm) and make sure this setting does not affect other
     parts (patches/saner-linker-opt-handling).
-  * Try to handle autoreconf saner, by simply calling perl bool 
+  * Try to handle autoreconf saner, by simply calling perl bool
 
  -- Joachim Breitner <nomeata@debian.org>  Mon, 08 Dec 2014 19:08:01 +0100
 
 ghc (7.8.20141119-6) experimental; urgency=medium
 
-  * According to Ben Gamari, the flag is -optl-B..., not -optc-B... 
+  * According to Ben Gamari, the flag is -optl-B..., not -optc-B...
   * Do not pass -mlong-calls to gcc on arm, on the grounds that upstream is
     not doing it.
 
@@ -1172,13 +1180,13 @@ ghc (7.8.20141119-6) experimental; urgency=medium
 
 ghc (7.8.20141119-5) experimental; urgency=medium
 
-  * Try using ld.gold on arm, using -optc-B/usr/bin/ld.gold 
+  * Try using ld.gold on arm, using -optc-B/usr/bin/ld.gold
 
  -- Joachim Breitner <nomeata@debian.org>  Sun, 30 Nov 2014 18:51:45 +0100
 
 ghc (7.8.20141119-4) experimental; urgency=medium
 
-  * Try using ld.gold on arm. 
+  * Try using ld.gold on arm.
 
  -- Joachim Breitner <nomeata@debian.org>  Fri, 28 Nov 2014 22:15:29 +0100
 
@@ -1190,13 +1198,13 @@ ghc (7.8.20141119-3) experimental; urgency=medium
 
 ghc (7.8.20141119-2) experimental; urgency=medium
 
-  * Explicitly depend on llvm-3.4 on arm, maybe that works better. 
+  * Explicitly depend on llvm-3.4 on arm, maybe that works better.
 
  -- Joachim Breitner <nomeata@debian.org>  Wed, 26 Nov 2014 16:14:54 +0100
 
 ghc (7.8.20141119-1) experimental; urgency=medium
 
-  * New upstream release candidate (7.8.4-rc1) 
+  * New upstream release candidate (7.8.4-rc1)
 
  -- Joachim Breitner <nomeata@debian.org>  Wed, 26 Nov 2014 10:12:08 +0100
 
@@ -1212,7 +1220,7 @@ ghc (7.8.20140710-4) experimental; urgency=medium
 ghc (7.8.20140710-3) experimental; urgency=medium
 
   * Depend on libncurses5-dev, since we ship terminfo in ghc now. Thanks to
-    David Fox for noticing. 
+    David Fox for noticing.
 
  -- Joachim Breitner <nomeata@debian.org>  Wed, 16 Jul 2014 19:50:39 +0200
 
@@ -1238,7 +1246,7 @@ ghc (7.8.20140411-5) experimental; urgency=medium
 
 ghc (7.8.20140411-4) experimental; urgency=medium
 
-  * Merge 7.6.3-9 to 7.6.3-12 from unstable 
+  * Merge 7.6.3-9 to 7.6.3-12 from unstable
 
  -- Joachim Breitner <nomeata@debian.org>  Tue, 10 Jun 2014 12:25:10 +0200
 
@@ -1251,7 +1259,7 @@ ghc (7.8.20140411-3) experimental; urgency=medium
 
 ghc (7.8.20140411-2) experimental; urgency=medium
 
-  * Try building without hardening and see what architectures work then. 
+  * Try building without hardening and see what architectures work then.
 
  -- Joachim Breitner <nomeata@debian.org>  Mon, 28 Apr 2014 16:21:08 +0200
 
@@ -1284,7 +1292,7 @@ ghc (7.8.20140228-1) experimental; urgency=medium
 
 ghc (7.8.20140130-3) experimental; urgency=medium
 
-  * transformers now comes with ghc, put it in the Provides line 
+  * transformers now comes with ghc, put it in the Provides line
 
  -- Joachim Breitner <nomeata@debian.org>  Sun, 09 Feb 2014 20:54:01 +0000
 
@@ -1372,7 +1380,7 @@ ghc (7.6.3-12) unstable; urgency=medium
 
 ghc (7.6.3-11) unstable; urgency=medium
 
-  * Do no conflict with libghc-cabal-dev. 
+  * Do no conflict with libghc-cabal-dev.
 
  -- Joachim Breitner <nomeata@debian.org>  Sun, 08 Jun 2014 13:56:51 +0200
 
@@ -1449,14 +1457,14 @@ ghc (7.6.3-3) unstable; urgency=low
     http://hackage.haskell.org/trac/ghc/ticket/7794)
   * Do not create system-wide documentation index if /usr/share/doc is
     missing. (Closes: #709911)
-  * Create a symlink from prof_scc.png to prof_scc (Closes: #664043) 
+  * Create a symlink from prof_scc.png to prof_scc (Closes: #664043)
 
  -- Joachim Breitner <nomeata@debian.org>  Wed, 05 Jun 2013 20:57:49 +0200
 
 ghc (7.6.3-2) unstable; urgency=low
 
   * Enable compat level 9
-  * Remove transitional ghc6-* packages 
+  * Remove transitional ghc6-* packages
 
  -- Joachim Breitner <nomeata@debian.org>  Fri, 24 May 2013 11:12:19 +0200
 
@@ -1474,7 +1482,7 @@ ghc (7.6.2-1) experimental; urgency=low
 
 ghc (7.6.1.20121207-2) experimental; urgency=low
 
-  * Typo in ghc-haddock’s Provides, thanks to David Fox for noticing. 
+  * Typo in ghc-haddock’s Provides, thanks to David Fox for noticing.
 
  -- Joachim Breitner <nomeata@debian.org>  Thu, 13 Dec 2012 18:33:48 +0100
 
@@ -1492,7 +1500,7 @@ ghc (7.6.1.20121207-1) experimental; urgency=low
 ghc (7.6.1-3) experimental; urgency=low
 
   * Bump standards version, no change
-  * Change VCS fields back to regular repo 
+  * Change VCS fields back to regular repo
   * Build the runtime also in the thr_debug_p way, suggestion by Michał J.
     Gajda
 
@@ -1501,13 +1509,13 @@ ghc (7.6.1-3) experimental; urgency=low
 ghc (7.6.1-2) experimental; urgency=low
 
   * Do not Provide transformers, it is only used internally.
-  * Ensure this is not used with unstable’s haskell-devscripts 
+  * Ensure this is not used with unstable’s haskell-devscripts
 
  -- Joachim Breitner <nomeata@debian.org>  Mon, 08 Oct 2012 22:41:46 +0200
 
 ghc (7.6.1-1) experimental; urgency=low
 
-  * New upstream release 
+  * New upstream release
     Dropped patches, applied upstream:
      + Fix-GHCi-segfault-on-linux-powerpc
      + hurd-is-ELF
@@ -1516,7 +1524,7 @@ ghc (7.6.1-1) experimental; urgency=low
      + fix-PPC-right-shift-bug
      + no-useless-time
      + fix-ppc-ghci-segfault
-  * Configure the use of llc-3.0 and opt-3.0 via ./configure 
+  * Configure the use of llc-3.0 and opt-3.0 via ./configure
   * Bump standards version
 
  -- Joachim Breitner <nomeata@debian.org>  Mon, 08 Oct 2012 15:48:21 +0200
@@ -1555,7 +1563,7 @@ ghc (7.4.1-4) unstable; urgency=low
   * debian/patches/no-useless-timer: Backported from GHC 7.4.2, (Closes:
     #677096)
   * Make sure GHC is using ld.bfd, as it passes arguments not understood by
-    the gold linker (Closes: #673081) 
+    the gold linker (Closes: #673081)
   * Use a saner priority for the runhaskell alternative. (Closes: #676970).
     TODO for later: Consider removing the alternatives code altogether.
 
@@ -3384,5 +3392,3 @@ ghc4 (4.03-1) unstable; urgency=low
   * Initial Release.
 
  -- Michael Weber <michael.weber@post.rwth-aachen.de>  Sat, 26 Jun 1999 17:52:29 +0200
-
-
diff --git a/p/ghc/debian/control b/p/ghc/debian/control
index 4da47ea5a2..d48f6b565f 100644
--- a/p/ghc/debian/control
+++ b/p/ghc/debian/control
@@ -5,10 +5,10 @@ Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.or
 Uploaders:
  Clint Adams <clint@debian.org>,
  Ilias Tsitsimpis <iliastsi@debian.org>
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Build-Depends:
-  debhelper-compat (= 12),
+  debhelper-compat (= 13),
   haskell-devscripts-minimal <!cross>,
   devscripts,
   grep-dctrl,

Run locally

More details

Full run details

Historical runs