This is affecting J-oem-6.1 as well.

** Tags added: 6.1 sru-20221114

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1995511

Title:
  net-build failed in ubuntu_kernel_selftests with 6.0 kernel

Status in ubuntu-kernel-tests:
  New
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  New

Bug description:
  Issue found with J-oem-6.0.0-1007.7

  This is not a regression, issue exists before this kernel.

  make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
  gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -isystem 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/usr/include  
  reuseport_bpf.c  -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_bpf
  gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -isystem 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/usr/include  
  reuseport_bpf_cpu.c  -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_bpf_cpu
  gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -isystem 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/usr/include  
  reuseport_bpf_numa.c -lnuma -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_bpf_numa
  gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -isystem 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/usr/include  
  reuseport_dualstack.c  -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_dualstack
  gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -isystem 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/usr/include  
  reuseaddr_conflict.c  -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseaddr_conflict
  gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -isystem 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/usr/include  
  tls.c  -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/tls
  make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
  make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  stderr:
  tls.c:32:50: error: field ‘sm4gcm’ has incomplete type
     32 |                 struct tls12_crypto_info_sm4_gcm sm4gcm;
        |                                                  ^~~~~~
  tls.c:33:50: error: field ‘sm4ccm’ has incomplete type
     33 |                 struct tls12_crypto_info_sm4_ccm sm4ccm;
        |                                                  ^~~~~~
  tls.c: In function ‘tls_crypto_info_init’:
  tls.c:56:14: error: ‘TLS_CIPHER_SM4_GCM’ undeclared (first use in this 
function); did you mean ‘TLS_CIPHER_AES_GCM_256’?
     56 |         case TLS_CIPHER_SM4_GCM:
        |              ^~~~~~~~~~~~~~~~~~
        |              TLS_CIPHER_AES_GCM_256
  tls.c:56:14: note: each undeclared identifier is reported only once for each 
function it appears in
  tls.c:57:37: error: invalid application of ‘sizeof’ to incomplete type 
‘struct tls12_crypto_info_sm4_gcm’
     57 |                 tls12->len = sizeof(struct tls12_crypto_info_sm4_gcm);
        |                                     ^~~~~~
  tls.c:61:14: error: ‘TLS_CIPHER_SM4_CCM’ undeclared (first use in this 
function); did you mean ‘TLS_CIPHER_AES_CCM_128’?
     61 |         case TLS_CIPHER_SM4_CCM:
        |              ^~~~~~~~~~~~~~~~~~
        |              TLS_CIPHER_AES_CCM_128
  tls.c:62:37: error: invalid application of ‘sizeof’ to incomplete type 
‘struct tls12_crypto_info_sm4_ccm’
     62 |                 tls12->len = sizeof(struct tls12_crypto_info_sm4_ccm);
        |                                     ^~~~~~
  tls.c: At top level:
  tls.c:268:24: error: ‘TLS_CIPHER_SM4_GCM’ undeclared here (not in a 
function); did you mean ‘TLS_CIPHER_AES_GCM_256’?
    268 |         .cipher_type = TLS_CIPHER_SM4_GCM,
        |                        ^~~~~~~~~~~~~~~~~~
        |                        TLS_CIPHER_AES_GCM_256
  tls.c:274:24: error: ‘TLS_CIPHER_SM4_CCM’ undeclared here (not in a 
function); did you mean ‘TLS_CIPHER_AES_CCM_128’?
    274 |         .cipher_type = TLS_CIPHER_SM4_CCM,
        |                        ^~~~~~~~~~~~~~~~~~
        |                        TLS_CIPHER_AES_CCM_128
  tls.c: In function ‘tls_setup’:
  tls.c:329:54: error: ‘TLS_RX_EXPECT_NO_PAD’ undeclared (first use in this 
function)
    329 |                 ret = setsockopt(self->cfd, SOL_TLS, 
TLS_RX_EXPECT_NO_PAD,
        |                                                      
^~~~~~~~~~~~~~~~~~~~
  tls.c: In function ‘no_pad’:
  tls.c:1681:40: error: ‘TLS_RX_EXPECT_NO_PAD’ undeclared (first use in this 
function)
   1681 |         ret = setsockopt(cfd, SOL_TLS, TLS_RX_EXPECT_NO_PAD,
        |                                        ^~~~~~~~~~~~~~~~~~~~
  make[1]: *** [../lib.mk:140: 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/tls]
 Error 1
  make: *** [Makefile:158: all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1995511/+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