This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:
apport-collect 1823429
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.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
** Changed in: linux (Ubuntu Bionic)
Status: New => Incomplete
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oracle in Ubuntu.
https://bugs.launchpad.net/bugs/1823429
Title:
linux v4.15 ftbfs on a newer host kernel (e.g. hwe)
Status in linux package in Ubuntu:
Incomplete
Status in linux-oracle package in Ubuntu:
Confirmed
Status in linux source package in Bionic:
Incomplete
Status in linux-oracle source package in Bionic:
New
Bug description:
[Impact]
* linux v4.15.x fails to build on newer host machine kernels (i.e. hwe /
v4.18+ )
[Fix]
* Instead of relying on a potentially incompatible host system/kernel
definitions of PF_MAX, use the one from the source tree.
* Upstream commit in v5.1-rc1-2-gdfbd199a7cfe:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=master&id=dfbd199a7cfe3e3cd8531e1353cdbd7175bfbc5e
which was cherrypicked to stable as:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.19.y&id=145f6a70bb9b422a6df5fb8b9408046151f3e4f9
[Test Case]
* Install linux-hwe kernel, reboot, try to rebuild linux GA kernel.
[Regression Potential]
* This is a FTBFS fix only, to use matching definitions from the
target kernel at build time.
[Other Info]
* Original bug report, autopkgtest regression rebuild test case of
the bionic's linux-oracle kernel on newer host kernels:
https://launchpadlibrarian.net/417924791/buildlog_ubuntu-disco-amd64
.linux-oracle_4.15.0-1010.12_BUILDING.txt.gz
HOSTLD scripts/mod/modpost
HOSTCC scripts/selinux/genheaders/genheaders
In file included from
/<<PKGBUILDDIR>>/scripts/selinux/genheaders/genheaders.c:19:
/<<PKGBUILDDIR>>/security/selinux/include/classmap.h:247:2: error: #error New
address family defined, please update secclass_map.
#error New address family defined, please update secclass_map.
^~~~~
make[6]: *** [scripts/Makefile.host:90:
scripts/selinux/genheaders/genheaders] Error 1
make[5]: *** [/<<PKGBUILDDIR>>/scripts/Makefile.build:606:
scripts/selinux/genheaders] Error 2
make[4]: *** [/<<PKGBUILDDIR>>/scripts/Makefile.build:606: scripts/selinux]
Error 2
make[3]: *** [/<<PKGBUILDDIR>>/Makefile:589: scripts] Error 2
make[2]: *** [/<<PKGBUILDDIR>>/Makefile:278: __build_one_by_one] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build-oracle'
make[1]: *** [Makefile:146: sub-make] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1823429/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp