Bug#883363: linux-compiler-gcc-7-x86: incorrect GCC version number in package description
On Sun, 2017-12-03 at 19:49 +, Ben Hutchings wrote: > On Sun, 2017-12-03 at 09:34 +0800, Paul Wise wrote: > > Package: linux-compiler-gcc-7-x86 > > Version: 4.14.2-1 > > Severity: minor > > > > The linux-compiler-gcc-7-x86 package depends on GCC 7 but > > declares in the description that it depends on GCC 6: > > > > Package: linux-compiler-gcc-7-x86 > > Depends: gcc-7 > > Description: Compiler for Linux on x86 (meta-package) > > This package depends on gcc 6 of the appropriate architecture for Linux on > > amd64, i386 and x32. > > > > I suggest changing the information to something like this: > > > > Package: linux-compiler-gcc-x86 > > Depends: gcc-7 > > Description: Compiler for Linux on x86 (meta-package) > > This package depends on GCC of the appropriate version and architecture > > for Linux on amd64, i386 and x32. > > [...] > > Thanks, this seems like a good idea. Ah, but not the name change. The purpose of linux-compiler-* packages is allow linux-headers-* packages to indirectly depend on a suitable compiler, which can belong to one of several Debian architectures. The major version of gcc needs to match that used to build the kernel. If we took take compiler version out of the package names, the dependencies on them will need to be versioned. But we shouldn't use exact version dependencies for that because they're cross-architecture. Ben. -- Ben Hutchings The generation of random numbers is too important to be left to chance. - Robert Coveyou signature.asc Description: This is a digitally signed message part
Bug#883363: linux-compiler-gcc-7-x86: incorrect GCC version number in package description
On Sun, 2017-12-03 at 09:34 +0800, Paul Wise wrote: > Package: linux-compiler-gcc-7-x86 > Version: 4.14.2-1 > Severity: minor > > The linux-compiler-gcc-7-x86 package depends on GCC 7 but > declares in the description that it depends on GCC 6: > > Package: linux-compiler-gcc-7-x86 > Depends: gcc-7 > Description: Compiler for Linux on x86 (meta-package) > This package depends on gcc 6 of the appropriate architecture for Linux on > amd64, i386 and x32. > > I suggest changing the information to something like this: > > Package: linux-compiler-gcc-x86 > Depends: gcc-7 > Description: Compiler for Linux on x86 (meta-package) > This package depends on GCC of the appropriate version and architecture > for Linux on amd64, i386 and x32. [...] Thanks, this seems like a good idea. Ben. -- Ben Hutchings The generation of random numbers is too important to be left to chance. - Robert Coveyou signature.asc Description: This is a digitally signed message part
Bug#883363: linux-compiler-gcc-7-x86: incorrect GCC version number in package description
Package: linux-compiler-gcc-7-x86 Version: 4.14.2-1 Severity: minor The linux-compiler-gcc-7-x86 package depends on GCC 7 but declares in the description that it depends on GCC 6: Package: linux-compiler-gcc-7-x86 Depends: gcc-7 Description: Compiler for Linux on x86 (meta-package) This package depends on gcc 6 of the appropriate architecture for Linux on amd64, i386 and x32. I suggest changing the information to something like this: Package: linux-compiler-gcc-x86 Depends: gcc-7 Description: Compiler for Linux on x86 (meta-package) This package depends on GCC of the appropriate version and architecture for Linux on amd64, i386 and x32. I changed the package name and description thus: /Package/s/gcc-7/gcc/ The version number is in depends already, not needed in package name? This probably doesn't need to happen until the package name is next changed. /Description/{n;s/gcc/GCC/} GCC is an acronym for GNU Compiler Collection so it should be capitalised. /Description/{n;s/ 6 / /;s/appropriate/& version and/} Don't hard-code the version number so it never needs updating. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part