** Description changed: See upstream bug for more information: https://github.com/libbpf/libbpf/issues/947 This is seen in Ubuntu now with recent kernel updates, and causes e.g. - systemd to FTBFS now. + systemd to FTBFS now: + + [498/3280] /usr/bin/clang -std=gnu17 -Wno-compare-distinct-pointer-types -Wno-microsoft-anon-tag -fms-extensions -fno-stack-protector -O2 -target bpf -g -c -ffile-prefix-map=/<<PKGBUILDDIR>>=. '-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/systemd-259.4-0ubuntu1~ppa1' -D__x86_64__ -I. -isystem /usr/include/x86_64-linux-gnu -idirafter /usr/include ../src/network/bpf/sysctl-monitor/sysctl-monitor.bpf.c -o src/network/bpf/sysctl-monitor/sysctl-monitor.bpf.unstripped.o -I/usr/include/x86_64-linux-gnu/linux/bpf + FAILED: [code=1] src/network/bpf/sysctl-monitor/sysctl-monitor.bpf.unstripped.o + /usr/bin/clang -std=gnu17 -Wno-compare-distinct-pointer-types -Wno-microsoft-anon-tag -fms-extensions -fno-stack-protector -O2 -target bpf -g -c -ffile-prefix-map=/<<PKGBUILDDIR>>=. '-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/systemd-259.4-0ubuntu1~ppa1' -D__x86_64__ -I. -isystem /usr/include/x86_64-linux-gnu -idirafter /usr/include ../src/network/bpf/sysctl-monitor/sysctl-monitor.bpf.c -o src/network/bpf/sysctl-monitor/sysctl-monitor.bpf.unstripped.o -I/usr/include/x86_64-linux-gnu/linux/bpf + In file included from ../src/network/bpf/sysctl-monitor/sysctl-monitor.bpf.c:6: + /usr/include/bpf/bpf_helpers.h:318:12: error: conflicting types for 'bpf_stream_vprintk' + 318 | extern int bpf_stream_vprintk(int stream_id, const char *fmt__str, const void *args, + | ^ + /usr/include/x86_64-linux-gnu/linux/bpf/vmlinux.h:166505:12: note: previous declaration is here + 166505 | extern int bpf_stream_vprintk(int stream_id, const char *fmt__str, const void *args, u32 len__sz) __weak __ksym; + | ^ + 1 error generated. + + Full log: https://launchpadlibrarian.net/851317624/buildlog_ubuntu- + resolute-amd64.systemd_259.4-0ubuntu1~ppa1_BUILDING.txt.gz. Fixed upstream by https://github.com/libbpf/libbpf/commit/cc7760ce9a4acacd6be3f7025c393cf6a84e6eb8
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2144319 Title: error: conflicting types for 'bpf_stream_vprintk' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libbpf/+bug/2144319/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
