Public bug reported:
# execsnoop-bpfcc
In file included from /virtual/main.c:16:
include/linux/fs.h:2429:2: warning: declaration does not declare anything
[-Wmissing-declarations]
2429 | struct __filename_head;
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/fs.h:2433:15: error: static assertion failed due to requirement
'sizeof(struct filename) % 64 == 0': sizeof(struct filename) % 64 == 0
2433 | static_assert(sizeof(struct filename) % 64 == 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:79:50: note: expanded from macro 'static_assert'
79 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__,
#expr)
| ^~~~
include/linux/build_bug.h:80:56: note: expanded from macro '__static_assert'
80 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
include/linux/fs.h:2433:44: note: expression evaluates to '40 == 0'
2433 | static_assert(sizeof(struct filename) % 64 == 0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
include/linux/build_bug.h:79:50: note: expanded from macro 'static_assert'
79 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__,
#expr)
| ^~~~
include/linux/build_bug.h:80:56: note: expanded from macro '__static_assert'
80 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
1 warning and 1 error generated.
Traceback (most recent call last):
File "/usr/sbin/execsnoop-bpfcc", line 272, in <module>
b = BPF(text=bpf_text)
File "/usr/lib/python3/dist-packages/bcc/__init__.py", line 507, in __init__
raise Exception("Failed to compile BPF module %s" % (src_file or "<text>"))
Exception: Failed to compile BPF module <text>
# uname -a
Linux nuc1 7.0.0-12-generic #12-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 2 10:21:43
UTC 2026 x86_64 GNU/Linux
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: bpfcc-tools 0.35.0+ds-1ubuntu2
ProcVersionSignature: Ubuntu 7.0.0-12.12-generic 7.0.0-rc6
Uname: Linux 7.0.0-12-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.33.1-0ubuntu7
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Apr 8 17:51:27 2026
InstallationDate: Installed on 2024-04-13 (725 days ago)
InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Beta amd64
(20240410.1)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: bpfcc
UpgradeStatus: Upgraded to resolute on 2026-04-04 (4 days ago)
** Affects: bpfcc (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147563
Title:
execsnoop-bpfcc fails compilation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bpfcc/+bug/2147563/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs