Source: linux Version: 3.16.7-2 Severity: normal Dear Maintainer,
I was trying to build the loop-aes-source modules and kept having odd errors about loop.h-3.x not existing, while for some reason the loop.h-2.6 was there. Of course the build was for a 3.16 kernel and hence wanted the 3.x file. Turns out the loop-aes code looks at the linux-headers Makefile for the VERSION, PATCHLEVEL and SUBVERSION, and use that to determine the kernel version it is compiling for. I finally noticed that we have: /usr/src/linux-headers-3.16.0-4-amd64/Makefile:VERSION = 2 /usr/src/linux-headers-3.16.0-4-amd64/Makefile:PATCHLEVEL = 6 /usr/src/linux-headers-3.16.0-4-common/Makefile:VERSION = 3 /usr/src/linux-headers-3.16.0-4-common/Makefile:PATCHLEVEL = 16 /usr/src/linux-headers-3.16.0-4-common/Makefile:SUBLEVEL = 7 There is no SUBLEVEL in /usr/src/linux-headers-3.16.0-4-amd64/Makefile which perhaps there should be if it is trying to provide the version info that the kernel Makefile is known to contain. The Makefile in the linux package for some reason has debian/rules.real do this: @echo 'VERSION = 2' > $(DIR)/Makefile @echo 'PATCHLEVEL = 6' >> $(DIR)/Makefile That would seem to be incorrect. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 3.16.0-4-amd64 Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org