Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1116436
| From | Gregor Jasny <gjasny@googlemail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1018915: v4l-utils: FTBFS with libbpf 1.0.0 |
| Date | 2022-09-07 15:00 +0200 |
| Message-ID | <F32OR-5UKf-9@gated-at.bofh.it> (permalink) |
| References | <F11Nf-4FiD-1@gated-at.bofh.it> <F11Nf-4FiD-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello Sudip, thanks for the report. On 02.09.22 01:19, Sudip Mukherjee wrote: > Package: v4l-utils > Version: 1.22.1-4 > Severity: important > Tags: ftbfs > X-Debbugs-Cc: sudipm.mukherjee@gmail.com > Usertags: libbpf1 > > Dear Maintainer, > > v4l-utils FTBFS with libbpf 1.0.0 (available in experimental). > This is the first error from the build log: > > bpf_load.c: In function 'load_and_attach': > bpf_load.c:66:38: error: storage size of 'load_attr' isn't known > 66 | struct bpf_load_program_attr load_attr; > | ^~~~~~~~~ > bpf_load.c:69:38: error: invalid application of 'sizeof' to incomplete type 'struct bpf_load_program_attr' > 69 | memset(&load_attr, 0, sizeof(struct bpf_load_program_attr)); > | ^~~~~~ > bpf_load.c:78:14: warning: implicit declaration of function 'bpf_load_program_xattr' [-Wimplicit-function-declaration] > 78 | fd = bpf_load_program_xattr(&load_attr, bpf_log_buf, LOG_BUF_SIZE); > | ^~~~~~~~~~~~~~~~~~~~~~ > bpf_load.c:66:38: warning: unused variable 'load_attr' [-Wunused-variable] > 66 | struct bpf_load_program_attr load_attr; > | ^~~~~~~~~ > bpf_load.c: In function 'build_raw_map': > bpf_load.c:113:14: warning: implicit declaration of function 'bpf_create_map_node' [-Wimplicit-function-declaration] > 113 | fd = bpf_create_map_node(map->def.type, > | ^~~~~~~~~~~~~~~~~~~ > bpf_load.c: In function 'load_maps': > bpf_load.c:179:47: warning: implicit declaration of function 'bpf_create_map_in_map_node' [-Wimplicit-function-declaration] > 179 | bpf_file->map_fd[i] = bpf_create_map_in_map_node( > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > Sean, would you be able to port the existing code to libbpf 1.0? I noticed that the current code already triggers deprecation warnings with libbpf 0.8.0. Thanks, Gregor
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1018915: v4l-utils: FTBFS with libbpf 1.0.0 Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2022-09-02 01:30 +0200
Bug#1018915: v4l-utils: FTBFS with libbpf 1.0.0 Gregor Jasny <gjasny@googlemail.com> - 2022-09-07 15:00 +0200
Bug#1018915: v4l-utils: FTBFS with libbpf 1.0.0 Sean Young <sean@mess.org> - 2022-09-14 18:50 +0200
csiph-web