[Kernel-packages] [Bug 1995511] Re: net-build failed in ubuntu_kernel_selftests with 6.1 kernel

2023-03-07 Thread Timo Aaltonen
** Changed in: linux-oem-6.1 (Ubuntu Jammy)
   Status: New => Confirmed

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

Title:
  net-build failed in ubuntu_kernel_selftests with 6.1 kernel

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

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’:
  tl

[Kernel-packages] [Bug 1995511] Re: net-build failed in ubuntu_kernel_selftests with 6.1 kernel

2023-06-21 Thread Po-Hsu Lin
This is affecting j-6.2 as well.

** Tags removed: sru-20230130
** Tags added: 6.2

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

Title:
  net-build failed in ubuntu_kernel_selftests with 6.1 kernel

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

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

[Kernel-packages] [Bug 1995511] Re: net-build failed in ubuntu_kernel_selftests with 6.1 kernel

2023-09-11 Thread Po-Hsu Lin
This issue does not exist in J-aws-6.2, J-azure-6.2, J-azure-fde-6.2,
J-gcp-6.2, J-lowlatency-hwe-6.2

Still visible in J-oem-6.0, J-oem-6.1

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

Title:
  net-build failed in ubuntu_kernel_selftests with 6.1 kernel

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

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,
|^~
|

[Kernel-packages] [Bug 1995511] Re: net-build failed in ubuntu_kernel_selftests with 6.1 kernel

2023-09-21 Thread Po-Hsu Lin
This issue has gone in J-oem-6.1 6.1.0-1023.23

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

Title:
  net-build failed in ubuntu_kernel_selftests with 6.1 kernel

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

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_EX

[Kernel-packages] [Bug 1995511] Re: net-build failed in ubuntu_kernel_selftests with 6.1 kernel

2023-09-21 Thread Po-Hsu Lin
We don't support J-oem-6.0 anymore, this bug can be closed.

** Changed in: ubuntu-kernel-tests
   Status: New => Fix Released

** Changed in: linux-oem-6.1 (Ubuntu Jammy)
   Status: Confirmed => Fix Released

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

Title:
  net-build failed in ubuntu_kernel_selftests with 6.1 kernel

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released

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_SM