0bc2f071e1
The builds with HAVE_SECCOMP fail on missing include paths:
FAILED: src/basic/libbasic.a.p/parse-util.c.o
cc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/boot -I../src/boot -Isrc/home -I../src/home -Isrc/shared -I../src/shared -Isrc/systemd -I../src/systemd -Isrc/journal -I../src/journal -Isrc/journal-remote -I../src/journal-remote -Isrc/nspawn -I../src/nspawn -Isrc/resolve -I../src/resolve -Isrc/timesync -I../src/timesync -I../src/time-wait-sync -Isrc/login -I../src/login -Isrc/udev -I../src/udev -Isrc/libudev -I../src/libudev -Isrc/core -I../src/core -Isrc/shutdown -I../src/shutdown -I../src/xdg-autostart-generator -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -Isrc/libsystemd-network -I../src/libsystemd-network -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -g -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Werror=undef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wimplicit-fallthrough=5 -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Werror=overflow -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -Wno-maybe-uninitialized -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=shadow -include config.h -fPIC -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/parse-util.c.o -MF src/basic/libbasic.a.p/parse-util.c.o.d -o src/basic/libbasic.a.p/parse-util.c.o -c ../src/basic/parse-util.c
In file included from ../src/basic/parse-util.c:20:
../src/shared/seccomp-util.h:4:10: fatal error: seccomp.h: No such file or directory
4 | #include <seccomp.h>
| ^~~~~~~~~~~
compilation terminated.
FAILED: test-parse-util.p/src_test_test-parse-util.c.o
cc -Itest-parse-util.p -I. -I.. -Isrc/basic -I../src/basic -Isrc/boot -I../src/boot -Isrc/home -I../src/home -Isrc/shared -I../src/shared -Isrc/systemd -I../src/systemd -Isrc/journal -I../src/journal -Isrc/journal-remote -I../src/journal-remote -Isrc/nspawn -I../src/nspawn -Isrc/resolve -I../src/resolve -Isrc/timesync -I../src/timesync -I../src/time-wait-sync -Isrc/login -I../src/login -Isrc/udev -I../src/udev -Isrc/libudev -I../src/libudev -Isrc/core -I../src/core -Isrc/shutdown -I../src/shutdown -I../src/xdg-autostart-generator -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -Isrc/libsystemd-network -I../src/libsystemd-network -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -g -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Werror=undef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wimplicit-fallthrough=5 -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Werror=overflow -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -Wno-maybe-uninitialized -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=shadow -include config.h -MD -MQ test-parse-util.p/src_test_test-parse-util.c.o -MF test-parse-util.p/src_test_test-parse-util.c.o.d -o test-parse-util.p/src_test_test-parse-util.c.o -c ../src/test/test-parse-util.c
In file included from ../src/test/test-parse-util.c:14:
../src/shared/seccomp-util.h:4:10: fatal error: seccomp.h: No such file or directory
4 | #include <seccomp.h>
| ^~~~~~~~~~~
compilation terminated.
Add the respective deps.
Fixes:
|
||
---|---|---|
.. | ||
generate-sym-test.py | ||
meson.build | ||
test-acl-util.c | ||
test-af-list.c | ||
test-alloc-util.c | ||
test-architecture.c | ||
test-arphrd-list.c | ||
test-ask-password-api.c | ||
test-async.c | ||
test-barrier.c | ||
test-bitmap.c | ||
test-boot-timestamps.c | ||
test-bpf-devices.c | ||
test-bpf-firewall.c | ||
test-btrfs.c | ||
test-bus-util.c | ||
test-calendarspec.c | ||
test-cap-list.c | ||
test-capability.c | ||
test-cgroup-cpu.c | ||
test-cgroup-mask.c | ||
test-cgroup-setup.c | ||
test-cgroup-unit-default.c | ||
test-cgroup-util.c | ||
test-cgroup.c | ||
test-chase-symlinks.c | ||
test-chown-rec.c | ||
test-clock.c | ||
test-condition.c | ||
test-conf-files.c | ||
test-conf-parser.c | ||
test-copy.c | ||
test-coredump-util.c | ||
test-cpu-set-util.c | ||
test-daemon.c | ||
test-date.c | ||
test-dev-setup.c | ||
test-device-nodes.c | ||
test-dlopen.c | ||
test-dns-domain.c | ||
test-ellipsize.c | ||
test-emergency-action.c | ||
test-engine.c | ||
test-env-file.c | ||
test-env-util.c | ||
test-escape.c | ||
test-exec-util.c | ||
test-execute.c | ||
test-exit-status.c | ||
test-extract-word.c | ||
test-fd-util.c | ||
test-fdset.c | ||
test-fileio.c | ||
test-firewall-util.c | ||
test-format-table.c | ||
test-format-util.c | ||
test-fs-util.c | ||
test-fstab-util.c | ||
test-gcrypt-util.c | ||
test-glob-util.c | ||
test-hash.c | ||
test-hashmap-ordered.awk | ||
test-hashmap-plain.c | ||
test-hashmap.c | ||
test-hexdecoct.c | ||
test-hostname-util.c | ||
test-hostname.c | ||
test-id128.c | ||
test-in-addr-util.c | ||
test-install-root.c | ||
test-install.c | ||
test-io-util.c | ||
test-ip-protocol-list.c | ||
test-ipcrm.c | ||
test-job-type.c | ||
test-journal-importer.c | ||
test-json.c | ||
test-libcrypt-util.c | ||
test-libmount.c | ||
test-libudev.c | ||
test-list.c | ||
test-load-fragment.c | ||
test-local-addresses.c | ||
test-locale-util.c | ||
test-log.c | ||
test-loopback.c | ||
test-mount-util.c | ||
test-mountpoint-util.c | ||
test-namespace.c | ||
test-netlink-manual.c | ||
test-ns.c | ||
test-nscd-flush.c | ||
test-nss.c | ||
test-offline-passwd.c | ||
test-ordered-set.c | ||
test-os-util.c | ||
test-parse-util.c | ||
test-path-lookup.c | ||
test-path-util.c | ||
test-path.c | ||
test-pretty-print.c | ||
test-prioq.c | ||
test-proc-cmdline.c | ||
test-process-util.c | ||
test-procfs-util.c | ||
test-psi-util.c | ||
test-random-util.c | ||
test-ratelimit.c | ||
test-replace-var.c | ||
test-rlimit-util.c | ||
test-rm-rf.c | ||
test-sched-prio.c | ||
test-sd-hwdb.c | ||
test-sd-path.c | ||
test-seccomp.c | ||
test-selinux.c | ||
test-serialize.c | ||
test-set-disable-mempool.c | ||
test-set.c | ||
test-sigbus.c | ||
test-signal-util.c | ||
test-siphash24.c | ||
test-sizeof.c | ||
test-sleep.c | ||
test-socket-netlink.c | ||
test-socket-util.c | ||
test-specifier.c | ||
test-stat-util.c | ||
test-static-destruct.c | ||
test-strbuf.c | ||
test-string-util.c | ||
test-strip-tab-ansi.c | ||
test-strv.c | ||
test-strxcpyx.c | ||
test-sysctl-util.c | ||
test-systemd-tmpfiles.py | ||
test-tables.c | ||
test-terminal-util.c | ||
test-time-util.c | ||
test-tmpfiles.c | ||
test-udev.c | ||
test-uid-range.c | ||
test-umask-util.c | ||
test-umount.c | ||
test-unaligned.c | ||
test-unit-file.c | ||
test-unit-name.c | ||
test-user-record.c | ||
test-user-util.c | ||
test-utf8.c | ||
test-util.c | ||
test-varlink.c | ||
test-verbs.c | ||
test-watch-pid.c | ||
test-watchdog.c | ||
test-web-util.c | ||
test-xattr-util.c | ||
test-xdg-autostart.c | ||
test-xml.c |