** 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 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
+ 
+ Submitted to the kernel team mailing list (whilst spamming too many people in 
CC) at
+ https://lists.ubuntu.com/archives/kernel-team/2019-June/101190.html
  
  [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>>'

** Tags removed: block-proposed rls-cc-incoming rls-dd-incoming rls-ee-incoming
** Tags added: bot-stop-naging

** Changed in: linux (Ubuntu Bionic)
       Status: Incomplete => Confirmed

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
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:
  Confirmed
Status in linux-oracle package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  Confirmed
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

  Submitted to the kernel team mailing list (whilst spamming too many people in 
CC) at
  https://lists.ubuntu.com/archives/kernel-team/2019-June/101190.html

  [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