Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #53782 > unrolled thread
| Started by | "Thierry Herbelot" <herbelot@6wind.com> |
|---|---|
| First post | 2016-04-26 10:50 +0200 |
| Last post | 2016-04-29 13:40 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.kernel
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
| From | "Thierry Herbelot" <herbelot@6wind.com> |
|---|---|
| Date | 2016-04-26 10:50 +0200 |
| Subject | Bug#822666: linux-headers-3.16.0-4-amd64: deprecated syntax in linux-headers Makefile |
| Message-ID | <rs6QV-4m3-11@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Thierry Herbelot <thierry.herbelot@6wind.com> |
|---|---|
| Date | 2016-04-29 13:10 +0200 |
| Subject | Bug#822666: closed by Ben Hutchings <ben@decadent.org.uk> (Bug#822666: fixed in linux 4.5.2-1) |
| Message-ID | <rtet4-4St-19@gated-at.bofh.it> |
| In reply to | #53782 |
On 04/29/2016 12:09 PM, Debian Bug Tracking System wrote: > This is an automatic notification regarding your Bug report > which was filed against the src:linux package: > > #822666: linux-headers-3.16.0-4-amd64: deprecated syntax in linux-headers Makefile > > It has been closed by Ben Hutchings <ben@decadent.org.uk>. > > Their explanation is attached below along with your original report. > If this explanation is unsatisfactory and you have not received a > better one in a separate message then please contact Ben Hutchings <ben@decadent.org.uk> by > replying to this email. > > Dear Maintainer, The problem cannot be solved by importing a more recent version of the Linux kernel: the problem comes from a specific Makefile, which is only present in Debian For example, the linux-headers-4.6.0-rc3-amd64_4.6~rc3-1~exp1_amd64.deb package, which is quite recent contains a Makefile with the same error: /usr/src/linux-headers-4.6.0-rc3-amd64/Makefile: ----%---- 1 VERSION = 2 2 PATCHLEVEL = 6 3 MAKEARGS := -C /usr/src/linux-headers-4.6.0-rc3-common O=/usr/src/linux-headers-4.6.0-rc3-amd64 4 MAKEFLAGS += --no-print-directory 5 .PHONY: all $(MAKECMDGOALS) 6 cmd := $(filter-out all Makefile,$(MAKECMDGOALS)) 7 all: 8 @$(MAKE) $(MAKEARGS) $(cmd) 9 Makefile:; 10 $(cmd) %/: all <======================= 11 @: ----%---- The problem comes from line 10 which contains two types of targets. Then I do not think the initial problem is solved by switching to a more recent version of the kernel (indeed the problem is also present in an even more recent of the kernel). Best regards Thierry -- Thierry Herbelot 6WIND Software Engineer
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2016-04-29 13:40 +0200 |
| Subject | Bug#822666: closed by Ben Hutchings <ben@decadent.org.uk> (Bug#822666: fixed in linux 4.5.2-1) |
| Message-ID | <rteW5-58U-7@gated-at.bofh.it> |
| In reply to | #53835 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, 2016-04-29 at 13:07 +0200, Thierry Herbelot wrote: > On 04/29/2016 12:09 PM, Debian Bug Tracking System wrote: > > > > This is an automatic notification regarding your Bug report > > which was filed against the src:linux package: > > > > #822666: linux-headers-3.16.0-4-amd64: deprecated syntax in linux-headers Makefile > > > > It has been closed by Ben Hutchings <ben@decadent.org.uk>. > > > > Their explanation is attached below along with your original report. > > If this explanation is unsatisfactory and you have not received a > > better one in a separate message then please contact Ben Hutchings <ben@decadent.org.uk> by > > replying to this email. > > > > > Dear Maintainer, > > The problem cannot be solved by importing a more recent version of the > Linux kernel: the problem comes from a specific Makefile, which is only > present in Debian [...] > Then I do not think the initial problem is solved by switching to a more > recent version of the kernel (indeed the problem is also present in an > even more recent of the kernel). Please read the changelog that was included in the previous message. Ben. -- Ben Hutchings Tomorrow will be cancelled due to lack of interest.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web