** Summary changed:

- linux-oracle ftbfs in disco
+ linux v4.15 ftbfs on a newer host kernel (e.g. hwe)

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

+ [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:
+ 
+ 
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
+   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.
-   ^~~~~
+  #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>>'

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux-oracle (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Description changed:

  [Impact]
  
-  * linux v4.15.x fails to build on newer host machine kernels (i.e. hwe / 
-    v4.18+ )
+  * 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
+  * Instead of relying on a potentially incompatible host system/kernel
  definitions of PF_MAX, use the one from the source tree.
  
-  * Upstream commit:
+  * 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.
+  * 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
+  * 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:
+ 
+  * 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>>'

-- 
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:
  New
Status in linux-oracle package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  New
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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to