Package: gcc-doc Followup-For: Bug #825320 The error with gnat-doc package version was most probably caused by the missinchronization of gcc-doc-defaults rebuild vs. gnat defaults changes. The attached patch should adds support for new GCC/GNAT/etc packages defaulting to 6.x branch.
-- With best wishes Dmitry -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages gcc-doc depends on: ii gcc-6-doc 6.1.0-1 gcc-doc recommends no packages. gcc-doc suggests no packages. -- no debconf information
diff -Napur gcc-doc-defaults-14/debian/changelog gcc-doc-defaults-15/debian/changelog --- gcc-doc-defaults-14/debian/changelog 2015-05-05 23:43:02.000000000 +0300 +++ gcc-doc-defaults-15/debian/changelog 2016-09-08 00:06:02.187292450 +0300 @@ -1,3 +1,9 @@ +gcc-doc-defaults (5:15) unstable; urgency=medium + + * Updated to 6.1 versions. (Closes: #794778, #833505, #825320) + + -- Dmitry Eremin-Solenikov <dbarysh...@gmail.com> Wed, 07 Sep 2016 23:48:17 +0300 + gcc-doc-defaults (5:14) unstable; urgency=medium * Updated gcc/doc/ with upstream 4.9.1. diff -Napur gcc-doc-defaults-14/debian/control gcc-doc-defaults-15/debian/control --- gcc-doc-defaults-14/debian/control 2015-05-05 23:43:47.000000000 +0300 +++ gcc-doc-defaults-15/debian/control 2016-09-07 23:52:23.662784731 +0300 @@ -16,7 +16,7 @@ Vcs-Git: git://anonscm.debian.org/users/ Package: gcc-doc Architecture: any -Depends: gcc-4.9-doc (>= 4.9.2-1~), ${misc:Depends} +Depends: gcc-6-doc (>= 6.1.0-1~), ${misc:Depends} Replaces: gcc (<< 4:4.1.1-7), g++ (<< 4:4.1.1-7) Breaks: gcc (<< 4:4.1.1-7), g++ (<< 4:4.1.1-7) Description: documentation for the GNU compilers (gcc, gobjc, g++) @@ -27,7 +27,7 @@ Description: documentation for the GNU c Package: cpp-doc Architecture: any -Depends: cpp-4.9-doc (>= 4.9.2-1~), ${misc:Depends} +Depends: cpp-6-doc (>= 6.1.0-1~), ${misc:Depends} Replaces: cpp (<< 4:4.1.1-7) Breaks: cpp (<< 4:4.1.1-7) Description: documentation for the GNU C preprocessor (cpp) @@ -38,7 +38,7 @@ Description: documentation for the GNU C Package: gfortran-doc Architecture: any -Depends: gfortran-4.9-doc (>= 4.9.2-1~), ${misc:Depends} +Depends: gfortran-6-doc (>= 6.1.0-1~), ${misc:Depends} Replaces: gfortran (<< 4:4.1.1-7) Breaks: gfortran (<< 4:4.1.1-7) Description: documentation for the GNU Fortran Compiler (gfortran) @@ -49,7 +49,7 @@ Description: documentation for the GNU F Package: gnat-doc Architecture: any -Depends: gnat-4.9-doc (>= 4.9.2-1~), ${misc:Depends} +Depends: gnat-6-doc (>= 6.1.0-1~), ${misc:Depends} Description: documentation for the GNU Ada Compiler (gnat) This is the dependency package that should install documentation for Debian default version of GNU Ada compiler. @@ -58,7 +58,7 @@ Description: documentation for the GNU A Package: gcj-doc Architecture: any -Depends: gcj-4.9-doc (>= 4.9.2-1~), ${misc:Depends} +Depends: gcj-6-doc (>= 6.1.0-1~), ${misc:Depends} Replaces: gcj (<< 4:4.3.1-2) Breaks: gcj (<< 4:4.3.1-2) Description: documentation for the GNU Java tools (gcj, gij) @@ -69,7 +69,7 @@ Description: documentation for the GNU J Package: gccgo-doc Architecture: amd64 arm64 armel armhf i386 ia64 mips mips64 mips64el mipsel powerpc ppc64 ppc64el s390 s390x x32 -Depends: gccgo-4.9-doc (>= 4.9.2-1~), ${misc:Depends} +Depends: gccgo-6-doc (>= 6.1.0-1~), ${misc:Depends} Description: documentation for the GNU Go compiler (gccgo) This is the dependency package that should install documentation for Debian default version of GNU Go compiler. diff -Napur gcc-doc-defaults-14/debian/rules gcc-doc-defaults-15/debian/rules --- gcc-doc-defaults-14/debian/rules 2015-05-05 23:26:21.000000000 +0300 +++ gcc-doc-defaults-15/debian/rules 2016-09-07 23:52:07.337702255 +0300 @@ -12,6 +12,7 @@ DOC_VER_4.7 := 4.7.4-1~ DOC_VER_4.8 := 4.8.4-1~ DOC_VER_4.9 := 4.9.2-1~ DOC_VER_5 := 5.1.0-1~ +DOC_VER_6 := 6.1.0-1~ # The version for binary packages: gcc-doc-base, gcc-doc, etc. # Automatic set debian revision, adapted from gcc-defaults' rules. @@ -27,15 +28,18 @@ DEBIAN_EPOCH := $(shell echo $(VDEF) | a #PKG_VER_4.8 := 4.8.4-1 #PKG_VER_4.9 := 4.9.2-1 #PKG_VER_5 := 5.1.0-1 +#PKG_VER_6 := 6.1.0-1 -PKG_VER_4.4 := 4.4.7-$(shell expr $(VMAJOR) - 4) -PKG_VER_4.6 := 4.6.4-$(shell expr $(VMAJOR) - 5) -PKG_VER_4.7 := 4.7.4-$(shell expr $(VMAJOR) - 9) -PKG_VER_4.8 := 4.8.4-$(shell expr $(VMAJOR) - 13) -PKG_VER_4.9 := 4.9.2-$(shell expr $(VMAJOR) - 13) -PKG_VER_5 := 5.1.0-$(shell expr $(VMAJOR) - 13) +PKG_VER_4.4 := 4.4.7-$(shell expr $(VMAJOR) - 5) +PKG_VER_4.6 := 4.6.4-$(shell expr $(VMAJOR) - 6) +PKG_VER_4.7 := 4.7.4-$(shell expr $(VMAJOR) - 10) +PKG_VER_4.8 := 4.8.4-$(shell expr $(VMAJOR) - 14) +PKG_VER_4.9 := 4.9.2-$(shell expr $(VMAJOR) - 14) +PKG_VER_5 := 5.1.0-$(shell expr $(VMAJOR) - 14) +PKG_VER_6 := 6.1.0-$(shell expr $(VMAJOR) - 14) -PKG_VER_BASE := $(PKG_VER_4.9) +#PKG_VER_BASE := $(PKG_VER_4.9) +PKG_VER_BASE := $(PKG_VER_6) # Keep in sync with gcc-defaults, gccgo doesn't exist on all archs go_archs = amd64 arm64 armel armhf i386 ia64 mips mips64 mips64el mipsel \ @@ -161,5 +165,6 @@ show-versions: # pkg-ver $(PKG_VER_4.8) # pkg-ver $(PKG_VER_4.9) # pkg-ver $(PKG_VER_5) + # pkg-ver $(PKG_VER_6) .PHONY: show-versions