can not build kernel image from source package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hello,
on Ubuntu 15.04 I am trying to build a kernel from its sourcepackage like this:
export DEBIAN_
apt-get update && apt-get -y install kernel-package build-essential
latest=
apt-get -y build-dep $latest && apt-get source $latest
yes "" | make-kpkg --initrd --append-
After a while, the compilation process reports a missing header file:
CC [M] ubuntu/
In file included from <command-line>:0:0:
././include/
#endif /* __LINUX_KCONFIG_H */
^
compilation terminated.
scripts/
make[4]: *** [ubuntu/
scripts/
make[3]: *** [ubuntu/
scripts/
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
Changed in linux (Ubuntu): | |
status: | Incomplete → New |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1481723
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.