kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #129829
[Bug 1481723] Re: can not build kernel image from source package
Hi,
apport-collect is not present on this system and I could not install the "apport" package to which it belongs due to
errors with systemd:
Processing triggers for systemd (219-7ubuntu6) ...
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
dpkg: error processing package systemd (--unpack):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for dbus (1.8.12-1ubuntu5) ...
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Anyway, that is a different issue I bet.
I am attaching the script I used to compile the kernel. In the next post I will also include the output of the compilation process, including the error.
** Attachment added: "compilekernels.sh"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1481723/+attachment/4439835/+files/compilekernels.sh
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1481723
Title:
can not build kernel image from source package
Status in linux package in Ubuntu:
Incomplete
Bug description:
Hello,
on Ubuntu 15.04 I am trying to build a kernel from its sourcepackage
like this:
export DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get -y install kernel-package build-essential
latest=linux-image-3.19.0-25-generic
apt-get -y build-dep $latest && apt-get source $latest
yes "" | make-kpkg --initrd --append-to-version=test kernel_image kernel_headers kernel_source
After a while, the compilation process reports a missing header file:
CC [M] ubuntu/vbox/vboxguest/VBoxGuest-linux.o
In file included from <command-line>:0:0:
././include/linux/kconfig.h:46:1: fatal error: ./ubuntu/vbox/vboxguest/include/VBox/VBoxGuestMangling.h: No such file or directory
#endif /* __LINUX_KCONFIG_H */
^
compilation terminated.
scripts/Makefile.build:257: recipe for target 'ubuntu/vbox/vboxguest/VBoxGuest-linux.o' failed
make[4]: *** [ubuntu/vbox/vboxguest/VBoxGuest-linux.o] Error 1
scripts/Makefile.build:402: recipe for target 'ubuntu/vbox/vboxguest' failed
make[3]: *** [ubuntu/vbox/vboxguest] Error 2
scripts/Makefile.build:402: recipe for target 'ubuntu/vbox' failed
make[2]: *** [ubuntu/vbox] Error 2
Makefile:949: recipe for target 'ubuntu' failed
make[1]: *** [ubuntu] Error 2
There is a VBoxGuestMangling.h somewhere else in the code-tree, and I've tried symlinking it, but then I just run into
another compile-error later on.
I was under the impression that Ubuntu used its own source packages to produce the kernel images, but now I am not so sure.
kr,
-- Steven
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1481723/+subscriptions
References