Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #873358
| From | Luca Boccassi <bluca@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#886366: linux-headers-4.15.0-rc5-amd64: missing tools/objtool in /lib/modules/foo/build breaks DKMS modules builds |
| Date | 2018-01-04 23:50 +0100 |
| Message-ID | <v4muK-3rb-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
Package: src:linux Version: 4.15~rc5-1~exp1 Severity: important Dear Maintainer, The new tools/ directory is currently symlinked from linux-kbuild-4.15 into linux-headers-common-4.15.0-rc5 (directory: /usr/src/linux- headers-4.15.0-rc5-common/tools ) but not into linux-headers-4.15.0- rc5-amd64 like scripts/ is. This means objtool is available under /lib/modules/4.15.0-rc5- amd64/source but not under /lib/modules/4.15.0-rc5-amd64/build which means kernel modules builds via DKMS fail with: /bin/sh: 1: ./tools/objtool/objtool: not found Manually adding the symlink fixes the problem. If this is indeed the right thing to do, I guess the dh_link that was added for the -common stanza in debian/rules.real in commit 392435021b7fbec should also be added for the _$(ARCH one): --- a/debian/rules.real +++ b/debian/rules.real @@ -348,6 +348,7 @@ install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$( @echo ' @:' >> $(DIR)/Makefile dh_link /usr/lib/$(PACKAGE_NAME_KBUILD)/scripts $(BASE_DIR)/scripts + dh_link /usr/lib/$(PACKAGE_NAME_KBUILD)/tools $(BASE_DIR)/tools mkdir -p $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION) ln -s /usr/src/$(PACKAGE_NAME) $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/build Kind regards, Luca Boccassi
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#886366: linux-headers-4.15.0-rc5-amd64: missing tools/objtool in /lib/modules/foo/build breaks DKMS modules builds Luca Boccassi <bluca@debian.org> - 2018-01-04 23:50 +0100 Bug#886366: same issue with 4.14.0-3-amd64 Alexandra Kossovsky <Alexandra.Kossovsky@oktetlabs.ru> - 2018-01-06 08:00 +0100 Bug#886366: [src:linux] Antonio Russo <antonio.e.russo@gmail.com> - 2018-01-06 09:30 +0100
csiph-web