Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64248

Bug#771339: linux: linux-headers 3.16 Makefile contains VERSION=2 PATCHLEVEL=6

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#771339: linux: linux-headers 3.16 Makefile contains VERSION=2 PATCHLEVEL=6
Date 2019-06-11 22:50 +0200
Message-ID <y7VSp-6NE-1@gated-at.bofh.it> (permalink)
References <orwU2-7Fn-7@gated-at.bofh.it> <y7Qzn-3Ko-3@gated-at.bofh.it> <orwU2-7Fn-7@gated-at.bofh.it> <y7Qzn-3Ko-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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).

Ben.

-- 
Ben Hutchings
For every complex problem
there is a solution that is simple, neat, and wrong.


Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#771339: linux: linux-headers 3.16 Makefile contains VERSION=2 PATCHLEVEL=6 Fab Stz <fabstz-it@yahoo.fr> - 2019-06-11 17:10 +0200
  Bug#771339: linux: linux-headers 3.16 Makefile contains VERSION=2 PATCHLEVEL=6 Ben Hutchings <ben@decadent.org.uk> - 2019-06-11 22:50 +0200
    Bug#771339: linux: linux-headers 3.16 Makefile contains VERSION=2 PATCHLEVEL=6 Fab Stz <fabstz-it@yahoo.fr> - 2019-06-11 23:40 +0200

csiph-web