Bug#771339: linux: linux-headers 3.16 Makefile contains VERSION=2 PATCHLEVEL=6
- To: Ben Hutchings <ben@decadent.org.uk>, 771339@bugs.debian.org
- Cc: Fab Stz <fabstz-it@yahoo.fr>
- Subject: Bug#771339: linux: linux-headers 3.16 Makefile contains VERSION=2 PATCHLEVEL=6
- From: Salvatore Bonaccorso <carnil@debian.org>
- Date: Sun, 25 Apr 2021 21:27:09 +0200
- Message-id: <YIXCjcvWPSaJ/pyU@eldamar.lan>
- Reply-to: Salvatore Bonaccorso <carnil@debian.org>, 771339@bugs.debian.org
- In-reply-to: <739b2f4a2ec95e5bb6525581bf6ba150cfc27aae.camel@decadent.org.uk>
- References: <20141128164158.GA22454@csclub.uwaterloo.ca> <156026526598.24573.744951956547114974.reportbug@debian> <20141128164158.GA22454@csclub.uwaterloo.ca> <739b2f4a2ec95e5bb6525581bf6ba150cfc27aae.camel@decadent.org.uk> <20141128164158.GA22454@csclub.uwaterloo.ca>
Hi,
On Tue, Jun 11, 2019 at 09:41:25PM +0100, Ben Hutchings wrote:
> On Tue, 2019-06-11 at 17:01 +0200, Fab Stz wrote:
> > Source: linux
> > Version: 4.9.0 or 4.19... probably any
> > Followup-For: Bug #771339
> >
> > Dear Maintainer,
> >
> > This bug still exists in linux 4.9 and 4.19 (stretch, stretch-backports and
> > also buster)
> >
> > Like the first reporter, I tried compiling the amdgpu driver provided by AMD
> > (through DKMS) and it is searching for the kernel version in that file.
> >
> > As a workaroung in the meantime, I manually set VERSION to 4 and PATCHLEVEL to
> > 19 in /usr/src/linux-headers-4.9.0-9-amd64/Makefile
> > or the equivalent for 4.19
>
> They should be using "make kernelversion" instead of looking for
> variable assignments the Makefile.
>
> This is not even a Debian-specific problem any more. Looking for
> variable assignments in the Makefile will break whenever the kernel is
> built out-of-tree (since Linux 4.20).
So should we close this bugreport?
Regards,
Salvatore
Reply to: