Source: fastnetmon Version: 1.2.3-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org, sudipm.mukher...@gmail.com
https://buildd.debian.org/status/fetch.php?pkg=fastnetmon&arch=amd64&ver=1.2.3-1%2Bb1&stamp=1667748889&raw=0 /<<PKGBUILDDIR>>/src/xdp_plugin/xdp_collector.cpp: In function ‘void start_xdp_collection(process_packet_pointer)’: /<<PKGBUILDDIR>>/src/xdp_plugin/xdp_collector.cpp:522:5: error: ‘bpf_prog_load_attr’ was not declared in this scope; did you mean ‘bpf_prog_load_opts’? 522 | bpf_prog_load_attr prog_load_attr; | ^~~~~~~~~~~~~~~~~~ | bpf_prog_load_opts /<<PKGBUILDDIR>>/src/xdp_plugin/xdp_collector.cpp:523:5: error: ‘prog_load_attr’ was not declared in this scope 523 | prog_load_attr.prog_type = BPF_PROG_TYPE_XDP; | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/xdp_plugin/xdp_collector.cpp:529:24: error: ‘bpf_prog_load_xattr’ was not declared in this scope; did you mean ‘bpf_prog_load_opts’? 529 | int bpf_load_res = bpf_prog_load_xattr(&prog_load_attr, &obj, &prog_fd); | ^~~~~~~~~~~~~~~~~~~ | bpf_prog_load_opts /<<PKGBUILDDIR>>/src/xdp_plugin/xdp_collector.cpp:594:28: error: ‘bpf_set_link_xdp_fd’ was not declared in this scope; did you mean ‘set_link_xdp_res’? 594 | int set_link_xdp_res = bpf_set_link_xdp_fd(ifindex, prog_fd, opt_xdp_flags); | ^~~~~~~~~~~~~~~~~~~ | set_link_xdp_res make[3]: *** [CMakeFiles/xdp_plugin.dir/build.make:79: CMakeFiles/xdp_plugin.dir/xdp_plugin/xdp_collector.cpp.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:456: CMakeFiles/xdp_plugin.dir/all] Error 2 Cheers -- Sebastian Ramacher