[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997826: marked as done (gcc-11: Current/future gcc-N-base packages should not declare Priority: required)



Your message dated Thu, 18 Nov 2021 13:48:58 +0000
with message-id <E1mnhmc-000279-Gz@fasolo.debian.org>
and subject line Bug#997826: fixed in gcc-11 11.2.0-11
has caused the Debian Bug report #997826,
regarding gcc-11: Current/future gcc-N-base packages should not declare Priority: required
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
997826: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997826
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-11
Version: 11.2.0-10
Severity: normal
Tags: patch
X-Debbugs-Cc: debian-boot@lists.debian.org, 993563@bugs.debian.org

The requirement for high-Priority packages to depend on only packages of
equal or higher Priority was dropped in Policy 4.0.1 (2017), and gcc-7-base
and gcc-8-base in buster were reduced to Priority: optional, but the last
few gcc-N-base packages have gone back up to Priority: required.

I know that it's the ftp team that controls the actual Priority of packages
in the archive, and there are already requests open to reduce the Priority
of gcc-11-base, gcc-10-base and gcc-9-base (#993563, #992477, #992476).

However, I think the reason the Priority went back up is probably that
when those new versions of gcc were accepted from NEW, the ftp team
copied the Priority specified by the maintainer, which is still
Priority: required in some cases.

Please reduce the Priority specified in the VCS and the source/binary
packages to optional, so that when gcc-12 goes through NEW, it already
has Priority: optional for all binary packages. I think it would be useful
to do this ahead of time in gcc-11.

I believe the attached patch is suitable (obviously d/control will
need to be regenerated afterwards), but there might be subtleties that
I'm missing.

Thanks,
    smcv
>From f485b1e8e618ef12056d1eea54aa4b617ec10117 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Mon, 25 Oct 2021 14:20:16 +0100
Subject: [PATCH] d/control.m4: Make all packages Priority: optional

gcc-N-base is transitively Essential because libgccN depends on it,
but since Policy 4.0.1 (2017) it is no longer necessary to raise the
Priority of packages just because a high-Priority (or Essential) package
depends on them.

Similarly, since the deprecation of Priority: extra in 2017, it no
longer seems necessary to have a way to set priorities lower than
optional.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 debian/control.m4 | 27 +--------------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

diff --git a/debian/control.m4 b/debian/control.m4
index 9e8a8b8..69c23ec 100644
--- a/debian/control.m4
+++ b/debian/control.m4
@@ -13,9 +13,6 @@ dnl ifdef(`ARCH',		, errexit(`ARCH'))
 dnl The architecture will also be defined (-D__i386__, -D__powerpc__, etc.)
 
 define(`PN', `$1')
-ifdef(`PRI', `', `
-    define(`PRI', `$1')
-')
 define(`MAINTAINER', `Debian GCC Maintainers <debian-gcc@lists.debian.org>')
 
 define(`depifenabled', `ifelse(index(enabled_languages, `$1'), -1, `', `$2')')
@@ -44,7 +41,7 @@ divert`'dnl
 dnl --------------------------------------------------------------------------
 Source: SRCNAME
 Section: devel
-Priority: PRI(optional)
+Priority: optional
 ifelse(DIST,`Ubuntu',`dnl
 ifelse(regexp(SRCNAME, `gnat\|gdc-'),0,`dnl
 Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
@@ -150,7 +147,6 @@ Package: gcc`'PV`'TS-base
 Architecture: any
 Multi-Arch: same
 Section: ifdef(`TARGET',`devel',`libs')
-Priority: ifdef(`TARGET',`optional',`PRI(required)')
 Depends: ${misc:Depends}
 Replaces: ${base:Replaces}
 Breaks: ${base:Breaks}
@@ -169,7 +165,6 @@ ifenabled(`gcclbase',`
 Package: gcc`'PV-cross-base`'GCC_PORTS_BUILD
 Architecture: all
 Section: ifdef(`TARGET',`devel',`libs')
-Priority: ifdef(`TARGET',`optional',`PRI(required)')
 Depends: ${misc:Depends}
 BUILT_USING`'dnl
 Description: GCC, the GNU Compiler Collection (library base package)
@@ -187,7 +182,6 @@ Package: gnat`'PV-base`'TS
 Architecture: any
 # "all" causes build instabilities for "any" dependencies (see #748388).
 Section: libs
-Priority: PRI(optional)
 Depends: ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU Ada compiler (common files)
@@ -1097,7 +1091,6 @@ Architecture: ifdef(`TARGET',`any',hppa amd64 i386 x32)
 ifdef(`TARGET',`Multi-Arch: foreign
 ')dnl
 Section: devel
-Priority: PRI(optional)
 Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}),
   binutils-hppa64-linux-gnu | binutils-hppa64,
   ${shlibs:Depends}, ${misc:Depends}
@@ -1133,7 +1126,6 @@ ifenabled(`gfdldoc',`
 Package: cpp`'PV-doc
 Architecture: all
 Section: doc
-Priority: PRI(optional)
 Depends: gcc`'PV-base (>= ${gcc:SoftVersion}), ${misc:Depends}
 Description: Documentation for the GNU C preprocessor (cpp)
  Documentation for the GNU C preprocessor in info `format'.
@@ -1144,7 +1136,6 @@ ifdef(`TARGET', `', `
 Package: gcc`'PV-locales
 Architecture: all
 Section: devel
-Priority: PRI(optional)
 Depends: SOFTBASEDEP, cpp`'PV (>= ${gcc:SoftVersion}), ${misc:Depends}
 Recommends: gcc`'PV (>= ${gcc:SoftVersion})
 Description: GCC, the GNU compiler collection (native language support files)
@@ -1203,7 +1194,6 @@ ifdef(`MULTIARCH', `Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 ')`'dnl
 Section: libs
-Priority: PRI(optional)
 Depends: BASELDEP, ${shlibs:Depends}, ${misc:Depends}
 BUILT_USING`'dnl
 Description: GCC stack smashing protection library
@@ -1215,7 +1205,6 @@ Package: lib32ssp`'SSP_SO`'LS
 TARGET_PACKAGE`'dnl
 Architecture: biarch32_archs
 Section: libs
-Priority: PRI(optional)
 Depends: BASELDEP, ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
 Replaces: libssp0 (<< 4.1)
 Conflicts: ${confl:lib32}
@@ -1229,7 +1218,6 @@ Package: lib64ssp`'SSP_SO`'LS
 TARGET_PACKAGE`'dnl
 Architecture: biarch64_archs
 Section: libs
-Priority: PRI(optional)
 Depends: BASELDEP, ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
 Replaces: libssp0 (<< 4.1)
 BUILT_USING`'dnl
@@ -1242,7 +1230,6 @@ Package: libn32ssp`'SSP_SO`'LS
 TARGET_PACKAGE`'dnl
 Architecture: biarchn32_archs
 Section: libs
-Priority: PRI(optional)
 Depends: BASELDEP, ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
 Replaces: libssp0 (<< 4.1)
 BUILT_USING`'dnl
@@ -1255,7 +1242,6 @@ Package: libx32ssp`'SSP_SO`'LS
 TARGET_PACKAGE`'dnl
 Architecture: biarchx32_archs
 Section: libs
-Priority: PRI(optional)
 Depends: BASELDEP, ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
 Replaces: libssp0 (<< 4.1)
 BUILT_USING`'dnl
@@ -1268,7 +1254,6 @@ Package: libhfssp`'SSP_SO`'LS
 TARGET_PACKAGE`'dnl
 Architecture: biarchhf_archs
 Section: libs
-Priority: PRI(optional)
 Depends: BASELDEP, ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
 BUILT_USING`'dnl
 Description: GCC stack smashing protection library (hard float ABI)
@@ -1280,7 +1265,6 @@ Package: libsfssp`'SSP_SO`'LS
 TARGET_PACKAGE`'dnl
 Architecture: biarchsf_archs
 Section: libs
-Priority: PRI(optional)
 Depends: BASELDEP, ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
 BUILT_USING`'dnl
 Description: GCC stack smashing protection library (soft float ABI)
@@ -3708,7 +3692,6 @@ ifenabled(`gfdldoc',`
 Package: gfortran`'PV-doc
 Architecture: all
 Section: doc
-Priority: PRI(optional)
 Depends: gcc`'PV-base (>= ${gcc:SoftVersion}), ${misc:Depends}
 Description: Documentation for the GNU Fortran compiler (gfortran)
  Documentation for the GNU Fortran compiler in info `format'.
@@ -4037,7 +4020,6 @@ ifenabled(`gfdldoc',`
 Package: gccgo`'PV-doc
 Architecture: all
 Section: doc
-Priority: PRI(optional)
 Depends: gcc`'PV-base (>= ${gcc:SoftVersion}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: Documentation for the GNU Go compiler (gccgo)
@@ -4852,7 +4834,6 @@ ifdef(`TARGET', `', `
 Package: libstdc++`'PV-doc
 Architecture: all
 Section: doc
-Priority: PRI(optional)
 Depends: gcc`'PV-base (>= ${gcc:SoftVersion}), ${misc:Depends}
 Conflicts: libstdc++5-doc, libstdc++5-3.3-doc, libstdc++6-doc,
  libstdc++6-4.0-doc, libstdc++6-4.1-doc, libstdc++6-4.2-doc, libstdc++6-4.3-doc,
@@ -4958,7 +4939,6 @@ ifenabled(`lib64gnat',`
 Package: lib64gnat`'-GNAT_V
 Section: libs
 Architecture: biarch64_archs
-Priority: PRI(optional)
 Depends: BASELDEP, ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
 BUILT_USING`'dnl
 Description: runtime for applications compiled with GNAT (64 bits shared library)
@@ -4975,7 +4955,6 @@ ifenabled(`gfdldoc',`
 Package: gnat`'PV-doc
 Architecture: all
 Section: doc
-Priority: PRI(optional)
 Depends: ${misc:Depends}
 Suggests: gnat`'PV
 Conflicts: gnat-4.9-doc,
@@ -6034,7 +6013,6 @@ ifdef(`TARGET',`',`dnl
 ifenabled(`libs',`
 #Package: gcc`'PV-soft-float
 #Architecture: arm armel armhf
-#Priority: PRI(optional)
 #Depends: BASEDEP, depifenabled(`cdev',`gcc`'PV (= ${gcc:Version}),') ${shlibs:Depends}, ${misc:Depends}
 #Conflicts: gcc-4.4-soft-float, gcc-4.5-soft-float, gcc-4.6-soft-float
 #BUILT_USING`'dnl
@@ -6050,7 +6028,6 @@ ifenabled(`gfdldoc',`
 Package: gcc`'PV-doc
 Architecture: all
 Section: doc
-Priority: PRI(optional)
 Depends: gcc`'PV-base (>= ${gcc:SoftVersion}), ${misc:Depends}
 Conflicts: gcc-docs (<< 2.95.2)
 Replaces: gcc (<=2.7.2.3-4.3), gcc-docs (<< 2.95.2)
@@ -6134,7 +6111,6 @@ ifdef(`TARGET',`',`dnl
 ifenabled(`libnof',`
 #Package: gcc`'PV-nof
 #Architecture: powerpc
-#Priority: PRI(optional)
 #Depends: BASEDEP, ${shlibs:Depends}ifenabled(`cdev',`, gcc`'PV (= ${gcc:Version})'), ${misc:Depends}
 #Conflicts: gcc-3.2-nof
 #BUILT_USING`'dnl
@@ -6148,7 +6124,6 @@ ifenabled(`source',`
 Package: gcc`'PV-source
 Multi-Arch: foreign
 Architecture: all
-Priority: PRI(optional)
 Depends: make, quilt, patchutils, sharutils, gawk, lsb-release, time, AUTO_BUILD_DEP
   ${misc:Depends}
 Description: Source of the GNU Compiler Collection
-- 
2.33.0


--- End Message ---
--- Begin Message ---
Source: gcc-11
Source-Version: 11.2.0-11
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
gcc-11, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 997826@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-11 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 18 Nov 2021 13:45:31 +0100
Source: gcc-11
Architecture: source
Version: 11.2.0-11
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 997826 998841
Changes:
 gcc-11 (11.2.0-11) unstable; urgency=medium
 .
   * Update to git 20211118 from the gcc-11 branch.
     - Fix PR target/102991 (PPC), PR tree-optimization/102798,
       PR middle-end/102518, PR tree-optimization/102788, PR ipa/102762,
       PR tree-optimization/102572, PR tree-optimization/102139,
       PR middle-end/101480, PR gcov-profile/100520, PR libgomp/96661,
       PR tree-optimization/102789, PR tree-optimization/100393,
       PR rtl-optimization/102842, PR ipa/102714, PR tree-optimization/102505,
       PR target/98667 (x86), PR fortran/97896, PR fortran/103137,
       PR fortran/103138, PR fortran/102816, PR fortran/102685,
       PR fortran/102715, PR fortran/102817, PR fortran/99348,
       PR fortran/102521, PR fortran/102917, PR libstdc++/103022.
   * Update VCS attributes.
   * Move libtsan_preinit.o into libgcc-11-dev. Addresses: #999752.
   * Bump standards version.
   * Lower severity of the gcc-N-base packages. Closes: #997826.
   * Strip again compiler executables. Closes: #998841.
   * Run tests again during the build.
Checksums-Sha1:
 6ad999fb2b11bda444a9301498d07f1e7effbd52 27493 gcc-11_11.2.0-11.dsc
 9b4ca858cf8f334d8b81ea0817669c3d7480748f 1926592 gcc-11_11.2.0-11.debian.tar.xz
 32d1c7d45c52b4e7ca3c88c039f1c5fe49bf1732 8983 gcc-11_11.2.0-11_source.buildinfo
Checksums-Sha256:
 caa160a236be0e05d419a1771e5b9591246189aa12a460b04764fed9e6bcbb9d 27493 gcc-11_11.2.0-11.dsc
 2d90f6515ce6890aad418bc5cee884febf5c85964e8ded93eb206a9d723ded44 1926592 gcc-11_11.2.0-11.debian.tar.xz
 a58bec99311f1373ab25237b1220c901227444c9c394782718fdb18cd2c3c13a 8983 gcc-11_11.2.0-11_source.buildinfo
Files:
 aea805e37374304d1b006ecb20b3d48a 27493 devel optional gcc-11_11.2.0-11.dsc
 92a2eb1796a39b699759c50503f0ce1e 1926592 devel optional gcc-11_11.2.0-11.debian.tar.xz
 158c8d8447a39e5294c7a728118f06d5 8983 devel optional gcc-11_11.2.0-11_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmGWU7EQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9T9rD/9jKyH79FUYq/g/5PzVaitWakEzca+wOGAR
TBGCtJ2Lk1BX098MfUqWcLRaVqx5poNbXk5X8FTlneGl58SM4jVVzszen19zz7ao
oAaIHCDuOb7WSaYYmPQOIEsC4Y2ny/XogXcHfxXfROFWWVBwvyi+zUMOxj+oQqf3
puJ9jdmBwAcc/tKBfbbCiGf9X6xl7LJo7btIKtJbG+MUaBtny2XygrVApC973SJv
P6AIaG9j2g+bXF7nHPASfCiNuJAh3qcQZUsZag6Rpi0ejPelnwn/RS+B7dtq+HH+
o1iv8SY7Wkf69+5dSdL/DiwJWiEikKepVrogAiq5DhT0jf9WLXftQyglxtmlKZea
XIWMBYpn96x54E9KgfUbraY5XpHJIYFOOPvg9VDXiwwRBllwrTVrcrH3bJ4AjjD9
M3cBIPXHz3TNVAdLrYQL7EqgC1wygVfDLs0+q2um5FJ5JtzXykCCdX364Lo+WjFk
0qXkev6WJQDI0ayb6ZuCr9g+pMvPeUMkBzMc7uUrKDw22SgVSjzTldsafPUPxTzq
jBa9hySzD83WiJcTwYLOHRNHm2pz4oQAmWS5+3u/TZ9xkjm63bNmewVV7BcQq2RK
NHG4pPNXL2758LDyVrgAPhLF1dQgPvm86sb8/ZJ/lG+lbCLPod2J9NkpHsehMuc4
IhbhGUOkqg==
=V7RF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: