Run of lintian-fixes for gcc-defaults-mipsen

Try this locally (using the lintian-brush package):

debcheckout gcc-defaults-mipsen
cd gcc-defaults-mipsen
lintian-brush

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 9625a6e..1636c41 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,18 @@
 gcc-defaults (1.193) UNRELEASED; urgency=medium
 
+  [ Matthias Klose ]
   * Also don't build the gccgo-doc package when not building gccgo.
     LP: #1562598.
   * d/rules: Factor-out mips* architectures into macros (Yunqiang Su).
 
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Use ?= for assignments to architecture variables.
+  * Fix day-of-week for changelog entry 1.84.
+  * Remove empty maintainer scripts: g77-doc (prerm)
+
  -- Matthias Klose <doko@debian.org>  Wed, 07 Apr 2021 11:31:50 +0200
 
 gcc-defaults (1.192) experimental; urgency=medium
@@ -375,7 +384,7 @@ gcc-defaults (1.135) unstable; urgency=medium
 gcc-defaults (1.134) unstable; urgency=medium
 
   [ Aurelien Jarno ]
-  * Don't build libphobos-dev on kfreebsd-amd64 and kfreebsd-i386 as 
+  * Don't build libphobos-dev on kfreebsd-amd64 and kfreebsd-i386 as
     libphobos-4.9-dev is not built on these architectures. Closes: #761277.
 
   [ Matthias Klose ]
@@ -635,7 +644,7 @@ gcc-defaults (1.108) unstable; urgency=low
   * debian/rules: Remove duplicate code.
   * Fix libgcj.pc symlink for multiarch builds.
   * Fix upgrade path (/usr/include/asm must be a symlink). Closes: #638418.
-  
+
   [ Aurelien Jarno ]
   * Add support for s390x.
 
@@ -855,7 +864,7 @@ gcc-defaults (1.84) unstable; urgency=low
     gcj-4.1. Closes: #396583.
   * Update Debian README. Closes: #498950.
 
- -- Matthias Klose <doko@debian.org>  Sun, 18 May 2009 22:12:18 +0200
+ -- Matthias Klose <doko@debian.org>  Mon, 18 May 2009 22:12:18 +0200
 
 gcc-defaults (1.83) unstable; urgency=low
 
@@ -952,7 +961,7 @@ gcc-defaults (1.71) unstable; urgency=high
   * Remove jv-scan symlink. Closes: #477548.
   * Make ObjC, Obj-C++ 4.3 the default on armel.
   * Use /emul/... for amd64 biarch only.
- 
+
  -- Matthias Klose <doko@debian.org>  Fri, 09 May 2008 00:39:11 +0200
 
 gcc-defaults (1.70) unstable; urgency=low
@@ -1275,7 +1284,7 @@ gcc-defaults (1.37) unstable; urgency=medium
   * gcj: Add a /usr/share/java/libgcj.jar symlink.
 
  -- Matthias Klose <doko@debian.org>  Tue,  4 Jul 2006 23:52:43 +0200
-	
+
 gcc-defaults (1.36) unstable; urgency=medium
 
   * Make gcc-4.1 the default C compiler, g++-4.1 the default C++ compiler,
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index a73bf2a..0f3ffaa 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Priority: standard
 Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
 Uploaders: Matthias Klose <doko@debian.org>
 Standards-Version: 4.5.1
-Build-Depends: m4, debhelper (>= 11),
+Build-Depends: m4,
+  debhelper-compat (= 12),
   dpkg-dev (>= 1.17.11),
   gcc-10-base (>= 10.2.1-3~),
   lsb-release
diff --git a/debian/g77-doc.prerm b/debian/g77-doc.prerm
deleted file mode 100644
index 953c783..0000000
--- a/debian/g77-doc.prerm
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /bin/sh -e
-
-# this is an empty script needed for the upgrade from earlier
-# versions calling install-info
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/rules b/debian/rules
index b6c0583..0707840 100755
--- a/debian/rules
+++ b/debian/rules
@@ -178,7 +178,7 @@ REL_NO_1101	:= $(shell expr $(VMINOR) - 191)$(REL_EXT)
 
 # minimum required gcc-X.Y versions
 REQV_295	:= (>= 1:2.95.4-16)
-REQV_296	:= 
+REQV_296	:=
 REQV_30		:= (>= 1:3.0.4-12)
 REQV_32		:= (>= 1:3.2.3-1)
 REQV_33		:= (>= 1:3.3.6-1)
@@ -203,13 +203,13 @@ REQV_10		:= (>= 10.2.1-3~)
 REQV_11		:= (>= 11-20210116-0~)
 
 # architecture dependent variables
-DEB_HOST_ARCH		:= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE	:= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_ARCH		?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 ifneq (,$(filter $(DEB_HOST_ARCH), i386 kfreebsd-i386 hurd-i386))
   DEB_HOST_GNU_TYPE := $(subst i586,i686,$(DEB_HOST_GNU_TYPE))
   i586_symlinks = yes
 endif
-DEB_HOST_MULTIARCH	:= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_MULTIARCH	?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 all_archs_mips = mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el
 all_archs  = alpha amd64 armel armhf arm64 hppa i386 ia64 m68k or1k powerpc powerpcspe ppc64 ppc64el riscv64 s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386 \
@@ -857,7 +857,7 @@ ifeq ($(with_native),yes)
 	  /usr/share/doc/gcc-$(PV_GCC)-base/libgomp.html /usr/share/doc/gcc-doc/libgomp.html \
 	  /usr/share/info/gcc-$(PV_GCC).info.gz /usr/share/info/gcc.info.gz \
 	  /usr/share/info/gccint-$(PV_GCC).info.gz /usr/share/info/gccint.info.gz \
-	  /usr/share/info/libgomp-$(PV_GCC).info.gz /usr/share/info/libgomp.info.gz 
+	  /usr/share/info/libgomp-$(PV_GCC).info.gz /usr/share/info/libgomp.info.gz
   endif
 
 ifeq ($(with_multiarch_lib),yes)

Publish History

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t lintian-fixes cpp-aarch64-linux-gnu
apt install -t lintian-fixes cpp-arm-linux-gnueabi
apt install -t lintian-fixes cpp-arm-linux-gnueabihf
apt install -t lintian-fixes cpp-i686-linux-gnu
apt install -t lintian-fixes cpp-powerpc64le-linux-gnu
apt install -t lintian-fixes cpp-s390x-linux-gnu
apt install -t lintian-fixes cpp
apt install -t lintian-fixes g++-aarch64-linux-gnu
apt install -t lintian-fixes g++-arm-linux-gnueabi
apt install -t lintian-fixes g++-arm-linux-gnueabihf
apt install -t lintian-fixes g++-i686-linux-gnu
apt install -t lintian-fixes g++-multilib-i686-linux-gnu
apt install -t lintian-fixes g++-multilib-s390x-linux-gnu
apt install -t lintian-fixes g++-multilib
apt install -t lintian-fixes g++-powerpc64le-linux-gnu
apt install -t lintian-fixes g++-s390x-linux-gnu
apt install -t lintian-fixes g++
apt install -t lintian-fixes gcc-aarch64-linux-gnu
apt install -t lintian-fixes gcc-arm-linux-gnueabi
apt install -t lintian-fixes gcc-arm-linux-gnueabihf
apt install -t lintian-fixes gcc-hppa64-linux-gnu
apt install -t lintian-fixes gcc-i686-linux-gnu
apt install -t lintian-fixes gcc-multilib-i686-linux-gnu
apt install -t lintian-fixes gcc-multilib-s390x-linux-gnu
apt install -t lintian-fixes gcc-multilib
apt install -t lintian-fixes gcc-offload-amdgcn
apt install -t lintian-fixes gcc-offload-nvptx
apt install -t lintian-fixes gcc-powerpc64le-linux-gnu
apt install -t lintian-fixes gcc-s390x-linux-gnu
apt install -t lintian-fixes gcc
apt install -t lintian-fixes gccbrig
apt install -t lintian-fixes gccgo-aarch64-linux-gnu
apt install -t lintian-fixes gccgo-arm-linux-gnueabi
apt install -t lintian-fixes gccgo-arm-linux-gnueabihf
apt install -t lintian-fixes gccgo-i686-linux-gnu
apt install -t lintian-fixes gccgo-multilib-i686-linux-gnu
apt install -t lintian-fixes gccgo-multilib-s390x-linux-gnu
apt install -t lintian-fixes gccgo-multilib
apt install -t lintian-fixes gccgo-powerpc64le-linux-gnu
apt install -t lintian-fixes gccgo-s390x-linux-gnu
apt install -t lintian-fixes gccgo
apt install -t lintian-fixes gdc-aarch64-linux-gnu
apt install -t lintian-fixes gdc-arm-linux-gnueabi
apt install -t lintian-fixes gdc-arm-linux-gnueabihf
apt install -t lintian-fixes gdc-i686-linux-gnu
apt install -t lintian-fixes gdc-multilib-i686-linux-gnu
apt install -t lintian-fixes gdc-multilib-s390x-linux-gnu
apt install -t lintian-fixes gdc-multilib
apt install -t lintian-fixes gdc-powerpc64le-linux-gnu
apt install -t lintian-fixes gdc-s390x-linux-gnu
apt install -t lintian-fixes gdc
apt install -t lintian-fixes gfortran-aarch64-linux-gnu
apt install -t lintian-fixes gfortran-arm-linux-gnueabi
apt install -t lintian-fixes gfortran-arm-linux-gnueabihf
apt install -t lintian-fixes gfortran-i686-linux-gnu
apt install -t lintian-fixes gfortran-multilib-i686-linux-gnu
apt install -t lintian-fixes gfortran-multilib-s390x-linux-gnu
apt install -t lintian-fixes gfortran-multilib
apt install -t lintian-fixes gfortran-powerpc64le-linux-gnu
apt install -t lintian-fixes gfortran-s390x-linux-gnu
apt install -t lintian-fixes gfortran
apt install -t lintian-fixes gm2-aarch64-linux-gnu
apt install -t lintian-fixes gm2-arm-linux-gnueabi
apt install -t lintian-fixes gm2-arm-linux-gnueabihf
apt install -t lintian-fixes gm2-i686-linux-gnu
apt install -t lintian-fixes gm2-powerpc64le-linux-gnu
apt install -t lintian-fixes gm2-s390x-linux-gnu
apt install -t lintian-fixes gm2
apt install -t lintian-fixes gobjc++-aarch64-linux-gnu
apt install -t lintian-fixes gobjc++-arm-linux-gnueabi
apt install -t lintian-fixes gobjc++-arm-linux-gnueabihf
apt install -t lintian-fixes gobjc++-i686-linux-gnu
apt install -t lintian-fixes gobjc++-multilib-i686-linux-gnu
apt install -t lintian-fixes gobjc++-multilib-s390x-linux-gnu
apt install -t lintian-fixes gobjc++-multilib
apt install -t lintian-fixes gobjc++-powerpc64le-linux-gnu
apt install -t lintian-fixes gobjc++-s390x-linux-gnu
apt install -t lintian-fixes gobjc++
apt install -t lintian-fixes gobjc-aarch64-linux-gnu
apt install -t lintian-fixes gobjc-arm-linux-gnueabi
apt install -t lintian-fixes gobjc-arm-linux-gnueabihf
apt install -t lintian-fixes gobjc-i686-linux-gnu
apt install -t lintian-fixes gobjc-multilib-i686-linux-gnu
apt install -t lintian-fixes gobjc-multilib-s390x-linux-gnu
apt install -t lintian-fixes gobjc-multilib
apt install -t lintian-fixes gobjc-powerpc64le-linux-gnu
apt install -t lintian-fixes gobjc-s390x-linux-gnu
apt install -t lintian-fixes gobjc
apt install -t lintian-fixes libgphobos-dev

Lintian Result

Full worker log Full build log