[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#815593: /usr/src/linux-headers-4.5.0-rc4-common/Makefile:791: scripts/Makefile.ubsan: No such file or directory



Package: linux-kbuild-4.5
Version: 4.5~rc5-1~exp3
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Thanks for providing linux-kbuild-4.5 together with linux-image-* and
linux-headers-*

Unfortunately there's a small issue. All DKMS modules fail to build:

Setting up linux-headers-4.5.0-rc4-amd64 (4.5~rc4-1~exp1) ...
/etc/kernel/header_postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.5.0-rc4-amd64 (x86_64)
Consult /var/lib/dkms/tp-smapi/0.41/build/make.log for more information.

Setting up linux-image-4.5.0-rc4-amd64 (4.5~rc4-1~exp1) ...
/etc/kernel/postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.5.0-rc4-amd64 (x86_64)
Consult /var/lib/dkms/tp-smapi/0.41/build/make.log for more information.

And /var/lib/dkms/tp-smapi/0.41/build/make.log :
#v+
DKMS make.log for tp-smapi-0.41 for kernel 4.5.0-rc4-amd64 (x86_64)
Mon Feb 22 19:27:55 CET 2016
make: Entering directory '/usr/src/linux-headers-4.5.0-rc4-amd64'
/usr/src/linux-headers-4.5.0-rc4-common/Makefile:791: scripts/Makefile.ubsan: No such file or directory
make[2]: *** No rule to make target 'scripts/Makefile.ubsan'.  Stop.
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.5.0-rc4-amd64'
#v-

It seems that this is easy to fix:

#v+
diff -Nru linux-tools-4.5~rc5/debian/rules.d/scripts/Makefile linux-tools-4.5~rc5/debian/rules.d/scripts/Makefile
- --- linux-tools-4.5~rc5/debian/rules.d/scripts/Makefile 2016-02-21 17:26:52.000000000 +0100
+++ linux-tools-4.5~rc5/debian/rules.d/scripts/Makefile 2016-02-22 19:37:28.000000000 +0100
@@ -14,6 +14,7 @@
    Makefile.lib \
    Makefile.modinst \
    Makefile.modpost \
+   Makefile.ubsan \
    mkversion \
    module-common.lds
 
#v-

After this change and rebuilding linux-tools, the dkms autoinstall
worked without any comment.


Cheers,
gregor

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages linux-kbuild-4.5 depends on:
ii  libc6  2.21-9

linux-kbuild-4.5 recommends no packages.

linux-kbuild-4.5 suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJWy1p/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoG0FYP/ifMqnVkSXXTUPykgj1anUiF
0Ezs6GzCUwsMS5qj00PxJlceEM0HHFBwo/MFeUKMwGlI5AZxomJTemJ1BVorxJ/G
5pg6OpZfn6beH+5/a+iNomykDqdAGBAqDvI6lDBExboFDwAKZ8II86MJuzJibIkt
BwbptbuXOZYbNf7H6cY1IfA9WK+LVbdER2B/6ptTZeD+iAkIFdPmlER4MwjC8eH2
qVmjMwTltjGIvCJia4ypv5nZOh0Vg4V/WLkyO9GIP5qn/xMyjOAzJN4yx4LDjjh5
7vYOY7KOF0OQrEYt1eKlzXPE3ZJIqZPx3Hy2vKCfcQ+ckvQjusq2dp7LO5VfUdbp
Ls3w6v5spbo++RncHm9XI5g6Iaq5CP1I+gmtGrujE+8rXEyFnDIQMh686+H32CDV
a86eWu8BPTWD0xuDpu+2JXSoZ9cXTB63T57ggPpr0k3Sr9ESRB/5AGQDatHX/oh8
8BtF4YROswOUUwaEu1/uiANAjCIoAhLkuRi3AJHxxzBX/ljXnxsSKTvUNNlMbivQ
mBo7ZjZ3pAYL8zPi8TU/22J9YS67+fqNyRpC/6qXDQhSLslJWkg7xSC7YtXyS2oc
COXQnFHgd0tZpXTxdK1EK4RSpvbE/Ln2YrQKR6nUhKYFS/FOEAC/ksKARHuGRt45
ensWdQrBFTfc1r3ocDa8
=P7wW
-----END PGP SIGNATURE-----


Reply to: