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

Bug#883363: linux-compiler-gcc-7-x86: incorrect GCC version number in package description



On Sun, 2017-12-03 at 19:49 +0000, 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

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: