Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626640 - sys-kernel/linux-headers-4.11 keywording
Summary: sys-kernel/linux-headers-4.11 keywording
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2017-07-30 19:11 UTC by Joshua Kinard
Modified: 2017-12-06 22:59 UTC (History)
0 users

See Also:
Package list:
sys-kernel/linux-headers-4.11
Runtime testing required: Yes
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Kinard gentoo-dev 2017-07-30 19:11:14 UTC
I've added sys-kernel/linux-headers-4.11 to the tree.  Since this is the first time I've done so, I am being extra-cautious and have removed all of the unstable keywords found in 4.10.  Thus, I am requesting that each arch test 4.11 and add their keyword as necessary.  I'll take care of ~mips later on.

Following the instructions in CVS here:
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/testing.txt

I've run the "smoke test" and compared that against a smoke test from linux-headers-4.10.  It looks like a number of errors with headers were fixed in 4.11.  Although, errors for SCTP (linux/sctp.h) popped up in 4.11 that were not present in 4.10:

linux/sctp.h
In file included from <stdin>:1:0:
/usr/include/linux/sctp.h:268:14: error: 'MSG_FIN' undeclared here (not in a function)
  SCTP_EOF  = MSG_FIN,  /* Initiate graceful shutdown process. */
              ^~~~~~~
/usr/include/linux/sctp.h:340:26: error: field 'spc_aaddr' has incomplete type
  struct sockaddr_storage spc_aaddr;
                          ^~~~~~~~~
/usr/include/linux/sctp.h:633:26: error: field 'sspp_addr' has incomplete type
  struct sockaddr_storage sspp_addr;
                          ^~~~~~~~~
/usr/include/linux/sctp.h:646:26: error: field 'ssp_addr' has incomplete type
  struct sockaddr_storage ssp_addr;
                          ^~~~~~~~
/usr/include/linux/sctp.h:688:26: error: field 'spp_address' has incomplete type
  struct sockaddr_storage spp_address;
                          ^~~~~~~~~~~
/usr/include/linux/sctp.h:773:2: error: unknown type name 'uint32_t'
  uint32_t sack_delay;
  ^~~~~~~~
/usr/include/linux/sctp.h:774:2: error: unknown type name 'uint32_t'
  uint32_t sack_freq;
  ^~~~~~~~
/usr/include/linux/sctp.h:779:5: error: unknown type name 'uint32_t'
     uint32_t                assoc_value;
     ^~~~~~~~
/usr/include/linux/sctp.h:793:26: error: field 'spinfo_address' has incomplete type
  struct sockaddr_storage spinfo_address;
                          ^~~~~~~~~~~~~~
/usr/include/linux/sctp.h:849:2: error: unknown type name 'uint8_t'
  uint8_t  gauth_chunks[];
  ^~~~~~~
/usr/include/linux/sctp.h:908:26: error: field 'sas_obs_rto_ipaddr' has incomplete type
  struct sockaddr_storage sas_obs_rto_ipaddr;
                          ^~~~~~~~~~~~~~~~~~
/usr/include/linux/sctp.h:948:26: error: field 'spt_address' has incomplete type
  struct sockaddr_storage spt_address;
                          ^~~~~~~~~~~
/usr/include/linux/sctp.h:1007:26: error: field 'sctpi_p_address' has incomplete type
  struct sockaddr_storage sctpi_p_address;
                          ^~~~~~~~~~~~~~~
/usr/include/linux/sctp.h:1036:2: error: unknown type name 'uint16_t'
  uint16_t srs_flags;
  ^~~~~~~~
/usr/include/linux/sctp.h:1037:2: error: unknown type name 'uint16_t'
  uint16_t srs_number_streams; /* 0 == ALL */
  ^~~~~~~~
/usr/include/linux/sctp.h:1038:2: error: unknown type name 'uint16_t'
  uint16_t srs_stream_list[]; /* list if srs_num_streams is not 0 */
  ^~~~~~~~
/usr/include/linux/sctp.h:1043:2: error: unknown type name 'uint16_t'
  uint16_t sas_instrms;
  ^~~~~~~~
/usr/include/linux/sctp.h:1044:2: error: unknown type name 'uint16_t'
  uint16_t sas_outstrms;
  ^~~~~~~~

But lksctp-tools built fine against 4.11 headers, so this may be a non-issue.

From the "common packages that break" section, I have fully merged the following:

    dev-util/strace
    net-firewall/iptables
    net-misc/iputils
    net-misc/lksctp-tools
    sys-apps/acl
    sys-apps/attr
    sys-apps/busybox
    sys-apps/iproute2
    sys-apps/kbd
    sys-apps/net-tools
    sys-apps/sandbox
    sys-apps/setserial
    sys-devel/gdb
    sys-libs/libcap
    sys-process/lsof


The following packages were compile-tested only:

    app-cdr/cdrtools
    net-dialup/ppp
    net-dialup/rp-pppoe
    net-misc/bridge-utils
    net-misc/dhcpcd
    net-vpn/ipsec-tools
    net-wireless/iw
    net-wireless/wireless-tools
    net-wireless/wpa_supplicant

I skipped the rest due to time.  Also have verified that sys-libs/glibc-2.25-r2 compiles fine, and have completed up to a stage2 crossdev for a mips64-unknown-linux-gnu target.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-08-05 18:25:37 UTC
ia64 keyworded
Comment 2 Matt Turner gentoo-dev 2017-08-25 22:38:18 UTC
added ~alpha
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2017-08-25 23:03:31 UTC
~amd64 restored
Comment 4 Markus Meier gentoo-dev 2017-09-07 19:28:56 UTC
~arm64 added
Comment 5 Markus Meier gentoo-dev 2017-09-08 20:12:04 UTC
~arm added
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2017-09-10 16:52:12 UTC
~ppc/~ppc64 keyworded
Comment 7 Matt Turner gentoo-dev 2017-09-10 23:45:19 UTC
I've restored the rest of the keywords.
Comment 8 Larry the Git Cow gentoo-dev 2017-09-10 23:46:23 UTC
Bug has been referenced in the following commit:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a56b47b61b7a1743a013fe7b7d51ed3a20acf67

commit 6a56b47b61b7a1743a013fe7b7d51ed3a20acf67
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2017-09-10 23:43:14 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2017-09-10 23:43:14 +0000

    sys-kernel/linux-headers: Restore keywords to 4.11
    
    The abundance of caution in dropping all keywords was likely
    unwarranted. No fallout has occurred.
    
    Bug: https://bugs.gentoo.org/626640

 sys-kernel/linux-headers/linux-headers-4.11.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)