The same problems persist in Stonking (obviously):

```
main.c: In function ‘ppm_mmap’:
main.c:1244:55: error: lvalue required as left operand of assignment
 1244 |                         pgprot_val(vma->vm_page_prot) = 
pgprot_val(PAGE_SHARED) | _PAGE_ENC;
      |                                                       ^
main.c:1282:63: error: lvalue required as left operand of assignment
 1282 |                                 pgprot_val(vma->vm_page_prot) = 
pgprot_val(PAGE_SHARED) | _PAGE_ENC;
      |                                                               ^
main.c:1305:63: error: lvalue required as left operand of assignment
 1305 |                                 pgprot_val(vma->vm_page_prot) = 
pgprot_val(PAGE_SHARED) | _PAGE_ENC;
      |                                                               ^

main.c: In function ‘kmod_in_ia32_syscall’:
main.c:2141:56: error: ‘_TIF_31BIT’ undeclared (first use in this function)
 2141 |         if(unlikely(task_thread_info(current)->flags & _TIF_31BIT))
      |                                                        ^~~~~~~~~~
/usr/src/linux-headers-7.0.0-14-generic/include/linux/compiler.h:77:45: note: 
in definition of macro ‘unlikely’
   77 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
main.c:2141:56: note: each undeclared identifier is reported only once for each 
function it appears in
 2141 |         if(unlikely(task_thread_info(current)->flags & _TIF_31BIT))
      |                                                        ^~~~~~~~~~
/usr/src/linux-headers-7.0.0-14-generic/include/linux/compiler.h:77:45: note: 
in definition of macro ‘unlikely’
   77 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |
                                             ^
```

Uploading 0.20.0-4.1ubuntu1 which fixes the issue:

```
$ uname -a
Linux ubuntu-stonking-s390x-tester 7.0.0-14-generic #14-Ubuntu SMP PREEMPT Mon 
Apr 13 10:02:47 UTC 2026 s390x GNU/Linux
$ sudo dpkg -i falcosecurity-scap-dkms_0.20.0-4.1ubuntu1_all.deb
...
Building for 7.0.0-14-generic

Building initial module scap/0.20.0 for 7.0.0-14-generic
Sign command: /usr/src/linux-headers-7.0.0-14-generic/scripts/sign-file
Binary update-secureboot-policy not found, modules won't be signed

Building 
module(s)......................................................................................
 done.
Installing /lib/modules/7.0.0-14-generic/updates/dkms/scap.ko.zst
...
$ dkms status
scap/0.20.0, 7.0.0-14-generic, s390x: installed
$ sudo modprobe scap
$ $ lsmod | head -n 2
Module                  Size  Used by
scap                  970752  0
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138348

Title:
  falcosecurity-scap-dkms for ubuntu_sysdig_smoke_test failed to build
  on Questing s390x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2138348/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to