*** This bug is a duplicate of bug 1896420 ***
    https://bugs.launchpad.net/bugs/1896420

** Also affects: ubuntu-kernel-tests
   Importance: Undecided
       Status: New

** This bug has been marked a duplicate of bug 1896420
   seccomp_bpf in seccomp from ubuntu_kernel_selftests failed to build on B-5.4

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

Title:
  seccomp from ubuntu_kernel_selftests failed to build on B-5.4

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oracle-5.4 package in Ubuntu:
  New
Status in linux source package in Bionic:
  Incomplete
Status in linux-oracle-5.4 source package in Bionic:
  New
Status in linux source package in Focal:
  Incomplete
Status in linux-oracle-5.4 source package in Focal:
  New

Bug description:
  Test build on B-5.4 (5.4.0-1054.58~18.04.1) failed with:
  error: storage size of ‘md’ isn’t known

  Build log:
  * Command:
        sudo make -C linux/tools/testing/selftests TARGETS=seccomp run_tests
    Exit status: 2
    Duration: 2.12612104416

    stdout:
    make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
    make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
    make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
      INSTALL ./usr/include
    make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
    make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
    gcc -Wl,-no-as-needed -Wall  seccomp_bpf.c -lpthread -o seccomp_bpf
    Makefile:12: recipe for target 'seccomp_bpf' failed
    make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
    Makefile:143: recipe for target 'all' failed
    make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
    stderr:
    seccomp_bpf.c: In function get_metadata’:
    seccomp_bpf.c:3029:26: error: storage size of ‘md’ isn’t known
      struct seccomp_metadata md;
                              ^~
    seccomp_bpf.c:3029:26: warning: unused variable unused variable ‘md’ 
[-Wunused-variable]
    make[1]: *** [seccomp_bpf] Error 1
    make: *** [all] Error 2

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