Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #53782
| From | "Thierry Herbelot" <herbelot@6wind.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#822666: linux-headers-3.16.0-4-amd64: deprecated syntax in linux-headers Makefile |
| Date | 2016-04-26 10:50 +0200 |
| Message-ID | <rs6QV-4m3-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Package: linux-headers-3.16.0-4-amd64
Version: 3.16.7-ckt20-1+deb8u4
Severity: normal
Dear Maintainer,
When installing a linux-headers package, a Makefile is installed for compiling
external modules (e.g. /usr/src/linux-headers-3.16.0-4-amd64/Makefile)
the syntax in this Makefile is not compatible with the version of make in
jessie (4.0-8.1)
the symptom is the following message when compling an external module:
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
the problem is fixed with the following patch:
herbelot@ascain:tmp$ diff -Nau Makefile.ori Makefile.new
--- Makefile.ori 2016-04-25 16:32:15.340304128 +0200
+++ Makefile.new 2016-04-25 16:32:21.332318703 +0200
@@ -7,5 +7,7 @@
all:
@$(MAKE) $(MAKEARGS) $(cmd)
Makefile:;
-$(cmd) %/: all
+$(cmd): all
+ @:
+%/: all
@:
The patch is also applicable to more recent versions of the package (for
example
the patch is valid for linux-headers-4.6.0-rc3-amd64_4.6~rc3-1~exp1_amd64.deb)
-- System Information:
Debian Release: 8.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages linux-headers-3.16.0-4-amd64 depends on:
ii linux-compiler-gcc-4.8-x86 3.16.7-ckt20-1+deb8u4
ii linux-headers-3.16.0-4-common 3.16.7-ckt20-1+deb8u4
ii linux-kbuild-3.16 3.16-3
linux-headers-3.16.0-4-amd64 recommends no packages.
linux-headers-3.16.0-4-amd64 suggests no packages.
-- no debconf information
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#822666: linux-headers-3.16.0-4-amd64: deprecated syntax in linux-headers Makefile "Thierry Herbelot" <herbelot@6wind.com> - 2016-04-26 10:50 +0200
Bug#822666: closed by Ben Hutchings <ben@decadent.org.uk> (Bug#822666: fixed in linux 4.5.2-1) Thierry Herbelot <thierry.herbelot@6wind.com> - 2016-04-29 13:10 +0200
Bug#822666: closed by Ben Hutchings <ben@decadent.org.uk> (Bug#822666: fixed in linux 4.5.2-1) Ben Hutchings <ben@decadent.org.uk> - 2016-04-29 13:40 +0200
csiph-web