[Kernel-packages] [Bug 1823429] Re: linux-oracle ftbfs in disco
** Tags added: block-proposed rls-ee-incoming -- 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-oracle ftbfs in disco Status in linux-oracle package in Ubuntu: Confirmed Bug description: 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 /<>/scripts/selinux/genheaders/genheaders.c:19: /<>/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]: *** [/<>/scripts/Makefile.build:606: scripts/selinux/genheaders] Error 2 make[4]: *** [/<>/scripts/Makefile.build:606: scripts/selinux] Error 2 make[3]: *** [/<>/Makefile:589: scripts] Error 2 make[2]: *** [/<>/Makefile:278: __build_one_by_one] Error 2 make[2]: Leaving directory '/<>/debian/build/build-oracle' make[1]: *** [Makefile:146: sub-make] Error 2 make[1]: Leaving directory '/<>' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-oracle/+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
[Kernel-packages] [Bug 1823429] Re: linux-oracle ftbfs in disco
> Are you linux-oracle maintainer? I only play one on TV. -- 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-oracle ftbfs in disco Status in linux-oracle package in Ubuntu: Confirmed Bug description: 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 /<>/scripts/selinux/genheaders/genheaders.c:19: /<>/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]: *** [/<>/scripts/Makefile.build:606: scripts/selinux/genheaders] Error 2 make[4]: *** [/<>/scripts/Makefile.build:606: scripts/selinux] Error 2 make[3]: *** [/<>/Makefile:589: scripts] Error 2 make[2]: *** [/<>/Makefile:278: __build_one_by_one] Error 2 make[2]: Leaving directory '/<>/debian/build/build-oracle' make[1]: *** [Makefile:146: sub-make] Error 2 make[1]: Leaving directory '/<>' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-oracle/+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
Re: [Kernel-packages] [Bug 1823429] Re: linux-oracle ftbfs in disco
It's up to the kernel team to manage kernel bugs. Are you linux-oracle maintainer? On Tue, 4 Jun 2019, 21:35 Dan Streetman, wrote: > This is difficult because security/selinux/ doesn't use the *actual* > kernel headers for the kernel being built to get the AF_MAX/PF_MAX defines; > those are not included in the kernel uapi headers. Instead, those defines > come from /usr/include/x86_64-linux-gnu/bits/socket.h which is provided by: > $ dpkg -S bits/socket.h > libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/socket.h > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1831645). > https://bugs.launchpad.net/bugs/1823429 > > Title: > linux-oracle ftbfs in disco > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/linux-oracle/+bug/1823429/+subscriptions > -- 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-oracle ftbfs in disco Status in linux-oracle package in Ubuntu: Confirmed Bug description: 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 /<>/scripts/selinux/genheaders/genheaders.c:19: /<>/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]: *** [/<>/scripts/Makefile.build:606: scripts/selinux/genheaders] Error 2 make[4]: *** [/<>/scripts/Makefile.build:606: scripts/selinux] Error 2 make[3]: *** [/<>/Makefile:589: scripts] Error 2 make[2]: *** [/<>/Makefile:278: __build_one_by_one] Error 2 make[2]: Leaving directory '/<>/debian/build/build-oracle' make[1]: *** [Makefile:146: sub-make] Error 2 make[1]: Leaving directory '/<>' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-oracle/+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
[Kernel-packages] [Bug 1823429] Re: linux-oracle ftbfs in disco
This is difficult because security/selinux/ doesn't use the *actual* kernel headers for the kernel being built to get the AF_MAX/PF_MAX defines; those are not included in the kernel uapi headers. Instead, those defines come from /usr/include/x86_64-linux-gnu/bits/socket.h which is provided by: $ dpkg -S bits/socket.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/socket.h -- 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-oracle ftbfs in disco Status in linux-oracle package in Ubuntu: Confirmed Bug description: 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 /<>/scripts/selinux/genheaders/genheaders.c:19: /<>/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]: *** [/<>/scripts/Makefile.build:606: scripts/selinux/genheaders] Error 2 make[4]: *** [/<>/scripts/Makefile.build:606: scripts/selinux] Error 2 make[3]: *** [/<>/Makefile:589: scripts] Error 2 make[2]: *** [/<>/Makefile:278: __build_one_by_one] Error 2 make[2]: Leaving directory '/<>/debian/build/build-oracle' make[1]: *** [Makefile:146: sub-make] Error 2 make[1]: Leaving directory '/<>' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-oracle/+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
[Kernel-packages] [Bug 1823429] Re: linux-oracle ftbfs in disco
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-oracle (Ubuntu) Status: New => 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-oracle ftbfs in disco Status in linux-oracle package in Ubuntu: Confirmed Bug description: 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 /<>/scripts/selinux/genheaders/genheaders.c:19: /<>/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]: *** [/<>/scripts/Makefile.build:606: scripts/selinux/genheaders] Error 2 make[4]: *** [/<>/scripts/Makefile.build:606: scripts/selinux] Error 2 make[3]: *** [/<>/Makefile:589: scripts] Error 2 make[2]: *** [/<>/Makefile:278: __build_one_by_one] Error 2 make[2]: Leaving directory '/<>/debian/build/build-oracle' make[1]: *** [Makefile:146: sub-make] Error 2 make[1]: Leaving directory '/<>' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-oracle/+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
[Kernel-packages] [Bug 1823429] Re: linux-oracle ftbfs in disco
the same 4.15 kernel is getting built on b/c/d/e, and scripts/selinux/genheaders/genheaders.c includes the local header files, specifically : #include which define PF_MAX (via AF_MAX) as 45 for cosmic and later. however genheaders.c also: #include "classmap.h" which is security/selinux/include/classmap.h and that does: #if PF_MAX > 44 #error New address family defined, please update secclass_map. #endif $ git grep AF_MAX ubuntu/bionic/master-next socket.h ubuntu/bionic/master-next:socket.h:#define AF_MAX 44 /* For now.. */ ubuntu/bionic/master-next:socket.h:#define PF_MAX AF_MAX $ git grep AF_MAX ubuntu/cosmic/master-next socket.h ubuntu/cosmic/master-next:socket.h:#define AF_MAX 45 /* For now.. */ ubuntu/cosmic/master-next:socket.h:#define PF_MAX AF_MAX $ git grep AF_MAX ubuntu/disco/master-next socket.h ubuntu/disco/master-next:socket.h:#define AF_MAX45 /* For now.. */ ubuntu/disco/master-next:socket.h:#define PF_MAXAF_MAX $ git grep AF_MAX ubuntu/eoan/master-next socket.h ubuntu/eoan/master-next:socket.h:#define AF_MAX 45 /* For now.. */ ubuntu/eoan/master-next:socket.h:#define PF_MAX AF_MAX This is probably a bug that should be fixed in genheaders.c upstream, although I don't quite understand why the 4.15 linux-oracle kernel is getting built on cosmic, disco, or eoan. -- 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-oracle ftbfs in disco Status in linux-oracle package in Ubuntu: Confirmed Bug description: 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 /<>/scripts/selinux/genheaders/genheaders.c:19: /<>/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]: *** [/<>/scripts/Makefile.build:606: scripts/selinux/genheaders] Error 2 make[4]: *** [/<>/scripts/Makefile.build:606: scripts/selinux] Error 2 make[3]: *** [/<>/Makefile:589: scripts] Error 2 make[2]: *** [/<>/Makefile:278: __build_one_by_one] Error 2 make[2]: Leaving directory '/<>/debian/build/build-oracle' make[1]: *** [Makefile:146: sub-make] Error 2 make[1]: Leaving directory '/<>' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-oracle/+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
[Kernel-packages] [Bug 1823429] Re: linux-oracle ftbfs in disco
also in cosmic: https://launchpadlibrarian.net/418308401/buildlog_ubuntu-cosmic-amd64.linux-oracle_4.15.0-1009.11_BUILDING.txt.gz ** Tags added: rls-cc-incoming -- 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-oracle ftbfs in disco Status in linux-oracle package in Ubuntu: New Bug description: 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 /<>/scripts/selinux/genheaders/genheaders.c:19: /<>/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]: *** [/<>/scripts/Makefile.build:606: scripts/selinux/genheaders] Error 2 make[4]: *** [/<>/scripts/Makefile.build:606: scripts/selinux] Error 2 make[3]: *** [/<>/Makefile:589: scripts] Error 2 make[2]: *** [/<>/Makefile:278: __build_one_by_one] Error 2 make[2]: Leaving directory '/<>/debian/build/build-oracle' make[1]: *** [Makefile:146: sub-make] Error 2 make[1]: Leaving directory '/<>' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-oracle/+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