This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1942472

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

** Changed in: linux (Ubuntu Bionic)
       Status: New => Incomplete

** Changed in: linux (Ubuntu Focal)
       Status: New => Incomplete

-- 
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 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/+source/linux/+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