DEBUG: Executing shell function do_compile
[1/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/version/version.h -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/tools/vcs-tag.sh ../sources/systemd-systemctl-258.1/src/version/version.h.in developer 1
[2/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/arphrd-list.txt -- TOPDIR/tmp/hosttools/env bash ../sources/systemd-systemctl-258.1/src/basic/generate-arphrd-list.sh 'gcc -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -E' -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/uapi -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/uapi
[3/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/capability-list.txt -- TOPDIR/tmp/hosttools/env bash ../sources/systemd-systemctl-258.1/src/basic/generate-capability-list.sh 'gcc -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -E' -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/uapi -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/uapi
[4/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/errno-list.txt -- TOPDIR/tmp/hosttools/env bash ../sources/systemd-systemctl-258.1/src/basic/generate-errno-list.sh 'gcc -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -E' -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/uapi -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/uapi
[5/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/libsystemd/sd-journal/audit_type-list.txt -- TOPDIR/tmp/hosttools/env bash ../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal/generate-audit_type-list.sh 'gcc -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -E' -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/uapi -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/uapi
[6/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/shared/ethtool-link-mode.inc -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/python3-native/python3 ../sources/systemd-systemctl-258.1/src/shared/ethtool-link-mode.py --header 'gcc -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -E' -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/uapi -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/uapi
[7/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/af-list.txt -- TOPDIR/tmp/hosttools/env bash ../sources/systemd-systemctl-258.1/src/basic/generate-af-list.sh 'gcc -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -E' -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/uapi -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/uapi
[8/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/pidfd.c.o -MF src/libc/libc-wrapper.a.p/pidfd.c.o.d -o src/libc/libc-wrapper.a.p/pidfd.c.o -c ../sources/systemd-systemctl-258.1/src/libc/pidfd.c
[9/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/mempolicy.c.o -MF src/libc/libc-wrapper.a.p/mempolicy.c.o.d -o src/libc/libc-wrapper.a.p/mempolicy.c.o -c ../sources/systemd-systemctl-258.1/src/libc/mempolicy.c
[10/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/unistd.c.o -MF src/libc/libc-wrapper.a.p/unistd.c.o.d -o src/libc/libc-wrapper.a.p/unistd.c.o -c ../sources/systemd-systemctl-258.1/src/libc/unistd.c
[11/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/ioprio.c.o -MF src/libc/libc-wrapper.a.p/ioprio.c.o.d -o src/libc/libc-wrapper.a.p/ioprio.c.o -c ../sources/systemd-systemctl-258.1/src/libc/ioprio.c
[12/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/signal.c.o -MF src/libc/libc-wrapper.a.p/signal.c.o.d -o src/libc/libc-wrapper.a.p/signal.c.o -c ../sources/systemd-systemctl-258.1/src/libc/signal.c
[13/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/stat.c.o -MF src/libc/libc-wrapper.a.p/stat.c.o.d -o src/libc/libc-wrapper.a.p/stat.c.o -c ../sources/systemd-systemctl-258.1/src/libc/stat.c
[14/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/keyctl.c.o -MF src/libc/libc-wrapper.a.p/keyctl.c.o.d -o src/libc/libc-wrapper.a.p/keyctl.c.o -c ../sources/systemd-systemctl-258.1/src/libc/keyctl.c
[15/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/sched.c.o -MF src/libc/libc-wrapper.a.p/sched.c.o.d -o src/libc/libc-wrapper.a.p/sched.c.o -c ../sources/systemd-systemctl-258.1/src/libc/sched.c
[16/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/bpf.c.o -MF src/libc/libc-wrapper.a.p/bpf.c.o.d -o src/libc/libc-wrapper.a.p/bpf.c.o -c ../sources/systemd-systemctl-258.1/src/libc/bpf.c
[17/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/mount.c.o -MF src/libc/libc-wrapper.a.p/mount.c.o.d -o src/libc/libc-wrapper.a.p/mount.c.o -c ../sources/systemd-systemctl-258.1/src/libc/mount.c
[18/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/kcmp.c.o -MF src/libc/libc-wrapper.a.p/kcmp.c.o.d -o src/libc/libc-wrapper.a.p/kcmp.c.o -c ../sources/systemd-systemctl-258.1/src/libc/kcmp.c
[19/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/quota.c.o -MF src/libc/libc-wrapper.a.p/quota.c.o.d -o src/libc/libc-wrapper.a.p/quota.c.o -c ../sources/systemd-systemctl-258.1/src/libc/quota.c
[20/504] gcc -Isrc/libc/libc-wrapper.a.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -fvisibility=default -MD -MQ src/libc/libc-wrapper.a.p/xattr.c.o -MF src/libc/libc-wrapper.a.p/xattr.c.o.d -o src/libc/libc-wrapper.a.p/xattr.c.o -c ../sources/systemd-systemctl-258.1/src/libc/xattr.c
[21/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/shared/syscall-list.inc -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/shared/generate-syscall-list.py ../sources/systemd-systemctl-258.1/src/include/override/sys/syscall-list.txt
[22/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/shared/ip-protocol-list.txt -- TOPDIR/tmp/hosttools/env bash ../sources/systemd-systemctl-258.1/src/shared/generate-ip-protocol-list.sh 'gcc -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -E' -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/override -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/build/src/include/uapi -isystem TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/include/uapi
[23/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/filesystem-sets.c -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/basic/filesystem-sets.py fs-type-to-string filesystem-sets fs-in-group
[24/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/filesystems-gperf.gperf -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/src/basic/filesystem-sets.py gperf
[25/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-preset-all.c.o -MF systemctl.p/src_systemctl_systemctl-preset-all.c.o.d -o systemctl.p/src_systemctl_systemctl-preset-all.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-preset-all.c
[26/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/gperf src/basic/filesystems-gperf.gperf --output-file src/basic/filesystems-gperf.h
[27/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-is-active.c.o -MF systemctl.p/src_systemctl_systemctl-is-active.c.o.d -o systemctl.p/src_systemctl_systemctl-is-active.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-is-active.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-is-active.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-is-active.c.o -MF systemctl.p/src_systemctl_systemctl-is-active.c.o.d -o systemctl.p/src_systemctl_systemctl-is-active.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-is-active.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-is-active.c:10:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[28/504] rm -f src/libc/libc-wrapper.a && ar csrDT src/libc/libc-wrapper.a src/libc/libc-wrapper.a.p/bpf.c.o src/libc/libc-wrapper.a.p/ioprio.c.o src/libc/libc-wrapper.a.p/kcmp.c.o src/libc/libc-wrapper.a.p/keyctl.c.o src/libc/libc-wrapper.a.p/mempolicy.c.o src/libc/libc-wrapper.a.p/mount.c.o src/libc/libc-wrapper.a.p/pidfd.c.o src/libc/libc-wrapper.a.p/quota.c.o src/libc/libc-wrapper.a.p/sched.c.o src/libc/libc-wrapper.a.p/signal.c.o src/libc/libc-wrapper.a.p/stat.c.o src/libc/libc-wrapper.a.p/unistd.c.o src/libc/libc-wrapper.a.p/xattr.c.o
[29/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-cancel-job.c.o -MF systemctl.p/src_systemctl_systemctl-cancel-job.c.o.d -o systemctl.p/src_systemctl_systemctl-cancel-job.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-cancel-job.c
[30/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-reset-failed.c.o -MF systemctl.p/src_systemctl_systemctl-reset-failed.c.o.d -o systemctl.p/src_systemctl_systemctl-reset-failed.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-reset-failed.c
[31/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-is-enabled.c.o -MF systemctl.p/src_systemctl_systemctl-is-enabled.c.o.d -o systemctl.p/src_systemctl_systemctl-is-enabled.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-is-enabled.c
[32/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-switch-root.c.o -MF systemctl.p/src_systemctl_systemctl-switch-root.c.o.d -o systemctl.p/src_systemctl_systemctl-switch-root.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-switch-root.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-switch-root.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-switch-root.c.o -MF systemctl.p/src_systemctl_systemctl-switch-root.c.o.d -o systemctl.p/src_systemctl_systemctl-switch-root.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-switch-root.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-switch-root.c:17:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[33/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-compat-shutdown.c.o -MF systemctl.p/src_systemctl_systemctl-compat-shutdown.c.o.d -o systemctl.p/src_systemctl_systemctl-compat-shutdown.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-compat-shutdown.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-compat-shutdown.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-compat-shutdown.c.o -MF systemctl.p/src_systemctl_systemctl-compat-shutdown.c.o.d -o systemctl.p/src_systemctl_systemctl-compat-shutdown.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-compat-shutdown.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-compat-shutdown.c:10:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[34/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-sysv-compat.c.o -MF systemctl.p/src_systemctl_systemctl-sysv-compat.c.o.d -o systemctl.p/src_systemctl_systemctl-sysv-compat.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-sysv-compat.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-sysv-compat.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-sysv-compat.c.o -MF systemctl.p/src_systemctl_systemctl-sysv-compat.c.o.d -o systemctl.p/src_systemctl_systemctl-sysv-compat.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-sysv-compat.c
In file included from ../sources/systemd-systemctl-258.1/src/basic/process-util.h:9,
from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-sysv-compat.c:12:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[35/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-service-watchdogs.c.o -MF systemctl.p/src_systemctl_systemctl-service-watchdogs.c.o.d -o systemctl.p/src_systemctl_systemctl-service-watchdogs.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-service-watchdogs.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-service-watchdogs.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-service-watchdogs.c.o -MF systemctl.p/src_systemctl_systemctl-service-watchdogs.c.o.d -o systemctl.p/src_systemctl_systemctl-service-watchdogs.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-service-watchdogs.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-service-watchdogs.c:9:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[36/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-main.c.o -MF systemctl.p/src_systemctl_systemctl-main.c.o.d -o systemctl.p/src_systemctl_systemctl-main.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-main.c
[37/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/errno-to-name.inc -- TOPDIR/tmp/hosttools/awk -f ../sources/systemd-systemctl-258.1/src/basic/errno-to-name.awk src/basic/errno-list.txt
[38/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/errno-from-name.gperf -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/tools/generate-gperfs.py errno '' src/basic/errno-list.txt '<errno.h>'
[39/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-trivial-method.c.o -MF systemctl.p/src_systemctl_systemctl-trivial-method.c.o.d -o systemctl.p/src_systemctl_systemctl-trivial-method.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-trivial-method.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-trivial-method.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-trivial-method.c.o -MF systemctl.p/src_systemctl_systemctl-trivial-method.c.o.d -o systemctl.p/src_systemctl_systemctl-trivial-method.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-trivial-method.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-trivial-method.c:8:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[40/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-set-property.c.o -MF systemctl.p/src_systemctl_systemctl-set-property.c.o.d -o systemctl.p/src_systemctl_systemctl-set-property.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-set-property.c
[41/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-whoami.c.o -MF systemctl.p/src_systemctl_systemctl-whoami.c.o.d -o systemctl.p/src_systemctl_systemctl-whoami.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-whoami.c
[42/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/arphrd-from-name.gperf -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/tools/generate-gperfs.py arphrd ARPHRD_ src/basic/arphrd-list.txt '<linux/if_arp.h>'
[43/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/libsystemd/sd-journal/audit_type-to-name.inc -- TOPDIR/tmp/hosttools/awk -f ../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal/audit_type-to-name.awk src/libsystemd/sd-journal/audit_type-list.txt
[44/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-daemon-reload.c.o -MF systemctl.p/src_systemctl_systemctl-daemon-reload.c.o.d -o systemctl.p/src_systemctl_systemctl-daemon-reload.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-daemon-reload.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-daemon-reload.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-daemon-reload.c.o -MF systemctl.p/src_systemctl_systemctl-daemon-reload.c.o.d -o systemctl.p/src_systemctl_systemctl-daemon-reload.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-daemon-reload.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-daemon-reload.c:9:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[45/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-log-setting.c.o -MF systemctl.p/src_systemctl_systemctl-log-setting.c.o.d -o systemctl.p/src_systemctl_systemctl-log-setting.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-log-setting.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-log-setting.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-log-setting.c.o -MF systemctl.p/src_systemctl_systemctl-log-setting.c.o.d -o systemctl.p/src_systemctl_systemctl-log-setting.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-log-setting.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-log-setting.c:9:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[46/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/af-to-name.inc -- TOPDIR/tmp/hosttools/awk -f ../sources/systemd-systemctl-258.1/src/basic/af-to-name.awk src/basic/af-list.txt
[47/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-mount.c.o -MF systemctl.p/src_systemctl_systemctl-mount.c.o.d -o systemctl.p/src_systemctl_systemctl-mount.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-mount.c
[48/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-add-dependency.c.o -MF systemctl.p/src_systemctl_systemctl-add-dependency.c.o.d -o systemctl.p/src_systemctl_systemctl-add-dependency.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-add-dependency.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-add-dependency.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-add-dependency.c.o -MF systemctl.p/src_systemctl_systemctl-add-dependency.c.o.d -o systemctl.p/src_systemctl_systemctl-add-dependency.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-add-dependency.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-add-dependency.c:12:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[49/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/capability-to-name.inc -- TOPDIR/tmp/hosttools/awk -f ../sources/systemd-systemctl-258.1/src/basic/capability-to-name.awk src/basic/capability-list.txt
[50/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-is-system-running.c.o -MF systemctl.p/src_systemctl_systemctl-is-system-running.c.o.d -o systemctl.p/src_systemctl_systemctl-is-system-running.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-is-system-running.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-is-system-running.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-is-system-running.c.o -MF systemctl.p/src_systemctl_systemctl-is-system-running.c.o.d -o systemctl.p/src_systemctl_systemctl-is-system-running.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-is-system-running.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-is-system-running.c:11:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[51/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-dependencies.c.o -MF systemctl.p/src_systemctl_systemctl-list-dependencies.c.o.d -o systemctl.p/src_systemctl_systemctl-list-dependencies.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-dependencies.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-list-dependencies.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-dependencies.c.o -MF systemctl.p/src_systemctl_systemctl-list-dependencies.c.o.d -o systemctl.p/src_systemctl_systemctl-list-dependencies.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-dependencies.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-dependencies.c:13:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[52/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/capability-from-name.gperf -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/tools/generate-gperfs.py capability '' src/basic/capability-list.txt '<linux/capability.h>'
[53/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/arphrd-to-name.inc -- TOPDIR/tmp/hosttools/awk -f ../sources/systemd-systemctl-258.1/src/basic/arphrd-to-name.awk src/basic/arphrd-list.txt
[54/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/shared/ip-protocol-from-name.gperf -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/tools/generate-gperfs.py ip_protocol IPPROTO_ src/shared/ip-protocol-list.txt '<netinet/in.h>'
[55/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/shared/ip-protocol-to-name.inc -- TOPDIR/tmp/hosttools/awk -f ../sources/systemd-systemctl-258.1/src/shared/ip-protocol-to-name.awk src/shared/ip-protocol-list.txt
[56/504] TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/basic/af-from-name.gperf -- TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/sources/systemd-systemctl-258.1/tools/generate-gperfs.py af '' src/basic/af-list.txt '<sys/socket.h>'
[57/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-compat-halt.c.o -MF systemctl.p/src_systemctl_systemctl-compat-halt.c.o.d -o systemctl.p/src_systemctl_systemctl-compat-halt.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-compat-halt.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-compat-halt.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-compat-halt.c.o -MF systemctl.p/src_systemctl_systemctl-compat-halt.c.o.d -o systemctl.p/src_systemctl_systemctl-compat-halt.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-compat-halt.c
In file included from ../sources/systemd-systemctl-258.1/src/basic/process-util.h:9,
from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-compat-halt.c:10:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[58/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-clean-or-freeze.c.o -MF systemctl.p/src_systemctl_systemctl-clean-or-freeze.c.o.d -o systemctl.p/src_systemctl_systemctl-clean-or-freeze.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-clean-or-freeze.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-clean-or-freeze.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-clean-or-freeze.c.o -MF systemctl.p/src_systemctl_systemctl-clean-or-freeze.c.o.d -o systemctl.p/src_systemctl_systemctl-clean-or-freeze.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-clean-or-freeze.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-clean-or-freeze.c:10:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[59/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-set-default.c.o -MF systemctl.p/src_systemctl_systemctl-set-default.c.o.d -o systemctl.p/src_systemctl_systemctl-set-default.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-set-default.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-set-default.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-set-default.c.o -MF systemctl.p/src_systemctl_systemctl-set-default.c.o.d -o systemctl.p/src_systemctl_systemctl-set-default.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-set-default.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-set-default.c:13:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[60/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-kill.c.o -MF systemctl.p/src_systemctl_systemctl-kill.c.o.d -o systemctl.p/src_systemctl_systemctl-kill.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-kill.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-kill.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-kill.c.o -MF systemctl.p/src_systemctl_systemctl-kill.c.o.d -o systemctl.p/src_systemctl_systemctl-kill.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-kill.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-kill.c:10:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[61/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-jobs.c.o -MF systemctl.p/src_systemctl_systemctl-list-jobs.c.o.d -o systemctl.p/src_systemctl_systemctl-list-jobs.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-jobs.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-list-jobs.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-jobs.c.o -MF systemctl.p/src_systemctl_systemctl-list-jobs.c.o.d -o systemctl.p/src_systemctl_systemctl-list-jobs.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-jobs.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-jobs.c:14:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[62/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-start-unit.c.o -MF systemctl.p/src_systemctl_systemctl-start-unit.c.o.d -o systemctl.p/src_systemctl_systemctl-start-unit.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-start-unit.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-start-unit.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-start-unit.c.o -MF systemctl.p/src_systemctl_systemctl-start-unit.c.o.d -o systemctl.p/src_systemctl_systemctl-start-unit.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-start-unit.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-start-unit.c:17:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[63/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-unit-files.c.o -MF systemctl.p/src_systemctl_systemctl-list-unit-files.c.o.d -o systemctl.p/src_systemctl_systemctl-list-unit-files.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-unit-files.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-list-unit-files.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-unit-files.c.o -MF systemctl.p/src_systemctl_systemctl-list-unit-files.c.o.d -o systemctl.p/src_systemctl_systemctl-list-unit-files.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-unit-files.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-unit-files.c:17:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[64/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-machines.c.o -MF systemctl.p/src_systemctl_systemctl-list-machines.c.o.d -o systemctl.p/src_systemctl_systemctl-list-machines.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-machines.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-list-machines.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-machines.c.o -MF systemctl.p/src_systemctl_systemctl-list-machines.c.o.d -o systemctl.p/src_systemctl_systemctl-list-machines.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-machines.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-machines.c:18:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[65/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-start-special.c.o -MF systemctl.p/src_systemctl_systemctl-start-special.c.o.d -o systemctl.p/src_systemctl_systemctl-start-special.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-start-special.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-start-special.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-start-special.c.o -MF systemctl.p/src_systemctl_systemctl-start-special.c.o.d -o systemctl.p/src_systemctl_systemctl-start-special.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-start-special.c
In file included from ../sources/systemd-systemctl-258.1/src/basic/process-util.h:9,
from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-start-special.c:14:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[66/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-set-environment.c.o -MF systemctl.p/src_systemctl_systemctl-set-environment.c.o.d -o systemctl.p/src_systemctl_systemctl-set-environment.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-set-environment.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-set-environment.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-set-environment.c.o -MF systemctl.p/src_systemctl_systemctl-set-environment.c.o.d -o systemctl.p/src_systemctl_systemctl-set-environment.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-set-environment.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-set-environment.c:16:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[67/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-enable.c.o -MF systemctl.p/src_systemctl_systemctl-enable.c.o.d -o systemctl.p/src_systemctl_systemctl-enable.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-enable.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-enable.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-enable.c.o -MF systemctl.p/src_systemctl_systemctl-enable.c.o.d -o systemctl.p/src_systemctl_systemctl-enable.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-enable.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-enable.c:15:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[68/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-edit.c.o -MF systemctl.p/src_systemctl_systemctl-edit.c.o.d -o systemctl.p/src_systemctl_systemctl-edit.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-edit.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-edit.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-edit.c.o -MF systemctl.p/src_systemctl_systemctl-edit.c.o.d -o systemctl.p/src_systemctl_systemctl-edit.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-edit.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-edit.c:14:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[69/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-logind.c.o -MF systemctl.p/src_systemctl_systemctl-logind.c.o.d -o systemctl.p/src_systemctl_systemctl-logind.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-logind.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-logind.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-logind.c.o -MF systemctl.p/src_systemctl_systemctl-logind.c.o.d -o systemctl.p/src_systemctl_systemctl-logind.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-logind.c
In file included from ../sources/systemd-systemctl-258.1/src/basic/process-util.h:9,
from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-logind.c:17:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[70/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl.c.o -MF systemctl.p/src_systemctl_systemctl.c.o.d -o systemctl.p/src_systemctl_systemctl.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl.c.o -MF systemctl.p/src_systemctl_systemctl.c.o.d -o systemctl.p/src_systemctl_systemctl.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl.c:23:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[71/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-util.c.o -MF systemctl.p/src_systemctl_systemctl-util.c.o.d -o systemctl.p/src_systemctl_systemctl-util.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-util.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-util.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-util.c.o -MF systemctl.p/src_systemctl_systemctl-util.c.o.d -o systemctl.p/src_systemctl_systemctl-util.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-util.c
In file included from ../sources/systemd-systemctl-258.1/src/basic/process-util.h:9,
from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-util.c:28:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[72/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-units.c.o -MF systemctl.p/src_systemctl_systemctl-list-units.c.o.d -o systemctl.p/src_systemctl_systemctl-list-units.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-units.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-list-units.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-list-units.c.o -MF systemctl.p/src_systemctl_systemctl-list-units.c.o.d -o systemctl.p/src_systemctl_systemctl-list-units.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-units.c
In file included from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-list-units.c:18:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
[73/504] gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-show.c.o -MF systemctl.p/src_systemctl_systemctl-show.c.o.d -o systemctl.p/src_systemctl_systemctl-show.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-show.c
FAILED: [code=1] systemctl.p/src_systemctl_systemctl-show.c.o
gcc -Isystemctl.p -Isrc/basic -I../sources/systemd-systemctl-258.1/src/basic -Isrc/fundamental -I../sources/systemd-systemctl-258.1/src/fundamental -Isrc/systemd -I../sources/systemd-systemctl-258.1/src/systemd -Isrc/version -I../sources/systemd-systemctl-258.1/src/version -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-bus -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-device -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-event -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-hwdb -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-id128 -Isrc/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-journal -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-json -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-netlink -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-network -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-path -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-resolve -I../sources/systemd-systemctl-258.1/src/libsystemd/sd-varlink -Isrc/shared -I../sources/systemd-systemctl-258.1/src/shared -ITOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu17 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=bool-compare -Werror=discarded-qualifiers -Werror=flex-array-member-not-at-end -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-parameter-name -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=pointer-sign -Werror=return-type -Werror=sequence-point -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-as-null-pointer-constant -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -isystemTOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/include -O2 -pipe -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -isystem../sources/systemd-systemctl-258.1/src/include/override -isystemsrc/include/override -isystem../sources/systemd-systemctl-258.1/src/include/uapi -MD -MQ systemctl.p/src_systemctl_systemctl-show.c.o -MF systemctl.p/src_systemctl_systemctl-show.c.o.d -o systemctl.p/src_systemctl_systemctl-show.c.o -c ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-show.c
In file included from ../sources/systemd-systemctl-258.1/src/basic/process-util.h:9,
from ../sources/systemd-systemctl-258.1/src/systemctl/systemctl-show.c:39:
../sources/systemd-systemctl-258.1/src/basic/string-util.h: In function ‘strstr_ptr’:
../sources/systemd-systemctl-258.1/src/basic/string-util.h:13:16: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
13 | return strstr(haystack, needle);
| ^~~~~~
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/recipe-sysroot-native/usr/bin/ninja -j 70 -l 140.0 -v systemctl
WARNING: TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/temp/run.do_compile.966070:154 exit 1 from 'meson compile -v -j 70 -l 140 systemctl:executable'
WARNING: Backtrace (BB generated script):
#1: meson_do_compile, TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/temp/run.do_compile.966070, line 154
#2: do_compile, TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/temp/run.do_compile.966070, line 149
#3: main, TOPDIR/tmp/work/x86_64-linux/systemd-systemctl-native/258.1/temp/run.do_compile.966070, line 158