Bug#1036641: gcc-12-base: please bump the Breaks: gnat (<< 12) for smoother upgrades from bullseye
Followup-For: Bug #1036641
Control: tag -1 patch
I've been running bullseye->bookworm upgrade tests with the following
change applied to src:gcc-12, this had the best results w.r.t. upgrading
gnat related packages:
--- gcc-12-12.2.0/debian/rules.conf 2023-01-02 14:06:37.000000000 +0100
+++ gcc-12-12.2.0/debian/rules.conf 2023-05-24 09:42:40.000000000 +0200
@@ -615,7 +615,7 @@
arch_gnutype_map = $(DEB_TARGET_ARCH)=$(TARGET_ALIAS)
endif # cross compiler
-BASE_BREAKS := gnat (<< 7)
+BASE_BREAKS := gnat (<< 12), gnat-10 (<< 10.3)
# these would need proper updates, and are only needed for upgrades
ifneq (,$(filter $(distrelease),stretch jessie trusty xenial bionic))
BASE_BREAKS :=
The Breaks against gnat-10 is versioned in a way that gnat-10/sid stays
installable in sid.
Andreas
Reply to: