[pkg-lxc-devel] Bug#1128845: lxc: FTBFS with glibc 2.43 due to openat2 redefinition

Aurelien Jarno aurel32 at debian.org
Mon Feb 23 17:08:18 GMT 2026


Source: lxc
Version: 1:6.0.5-2
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: debian-glibc at lists.debian.org
Usertags: glibc-2.43

Dear maintainer(s),

lxc fails to build from source with glibc 2.43, currently in
experimental. From the build log:

| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/cgroups_cgroup.c.o -MF src/lxc/liblxc.a.p/cgroups_cgroup.c.o.d -o src/lxc/liblxc.a.p/cgroups_cgroup.c.o -c ../src/lxc/cgroups/cgroup.c
| In file included from ../src/lxc/cgroups/cgroup.c:17:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from /usr/include/aarch64-linux-gnu/sys/mount.h:24,
|                  from ../src/lxc/macro.h:18,
|                  from ../src/lxc/af_unix.h:14,
|                  from ../src/lxc/cgroups/cgroup.h:14,
|                  from ../src/lxc/cgroups/cgroup.c:10:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [4/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/cgroups_cgroup_utils.c.o -MF src/lxc/liblxc.a.p/cgroups_cgroup_utils.c.o.d -o src/lxc/liblxc.a.p/cgroups_cgroup_utils.c.o -c ../src/lxc/cgroups/cgroup_utils.c
| FAILED: [code=1] src/lxc/liblxc.a.p/cgroups_cgroup_utils.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/cgroups_cgroup_utils.c.o -MF src/lxc/liblxc.a.p/cgroups_cgroup_utils.c.o.d -o src/lxc/liblxc.a.p/cgroups_cgroup_utils.c.o -c ../src/lxc/cgroups/cgroup_utils.c
| In file included from ../src/lxc/cgroups/cgroup_utils.c:17:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from /usr/include/aarch64-linux-gnu/sys/mount.h:24,
|                  from ../src/lxc/macro.h:18,
|                  from ../src/lxc/af_unix.h:14,
|                  from ../src/lxc/cgroups/cgroup.h:14,
|                  from ../src/lxc/cgroups/cgroup_utils.c:11:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [5/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/caps.c.o -MF src/lxc/liblxc.a.p/caps.c.o.d -o src/lxc/liblxc.a.p/caps.c.o -c ../src/lxc/caps.c
| FAILED: [code=1] src/lxc/liblxc.a.p/caps.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/caps.c.o -MF src/lxc/liblxc.a.p/caps.c.o.d -o src/lxc/liblxc.a.p/caps.c.o -c ../src/lxc/caps.c
| In file included from ../src/lxc/caps.c:17:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/caps.c:7:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [6/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/file_utils.c.o -MF src/lxc/liblxc.a.p/file_utils.c.o.d -o src/lxc/liblxc.a.p/file_utils.c.o -c ../src/lxc/file_utils.c
| FAILED: [code=1] src/lxc/liblxc.a.p/file_utils.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/file_utils.c.o -MF src/lxc/liblxc.a.p/file_utils.c.o.d -o src/lxc/liblxc.a.p/file_utils.c.o -c ../src/lxc/file_utils.c
| In file included from ../src/lxc/file_utils.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/file_utils.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [7/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/lsm_selinux.c.o -MF src/lxc/liblxc.a.p/lsm_selinux.c.o.d -o src/lxc/liblxc.a.p/lsm_selinux.c.o -c ../src/lxc/lsm/selinux.c
| FAILED: [code=1] src/lxc/liblxc.a.p/lsm_selinux.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/lsm_selinux.c.o -MF src/lxc/liblxc.a.p/lsm_selinux.c.o.d -o src/lxc/liblxc.a.p/lsm_selinux.c.o -c ../src/lxc/lsm/selinux.c
| In file included from ../src/lxc/lsm/selinux.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from /usr/include/aarch64-linux-gnu/sys/mount.h:24,
|                  from ../src/lxc/macro.h:18,
|                  from ../src/lxc/memory_utils.h:15,
|                  from ../src/lxc/list.h:10,
|                  from ../src/lxc/conf.h:21,
|                  from ../src/lxc/lsm/selinux.c:13:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [8/1207] cc -Isrc/lxc/pam/pam_cgfs.so.p -Isrc/lxc/pam -I../src/lxc/pam -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/lxc/pam/pam_cgfs.so.p/.._file_utils.c.o -MF src/lxc/pam/pam_cgfs.so.p/.._file_utils.c.o.d -o src/lxc/pam/pam_cgfs.so.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| FAILED: [code=1] src/lxc/pam/pam_cgfs.so.p/.._file_utils.c.o 
| cc -Isrc/lxc/pam/pam_cgfs.so.p -Isrc/lxc/pam -I../src/lxc/pam -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/lxc/pam/pam_cgfs.so.p/.._file_utils.c.o -MF src/lxc/pam/pam_cgfs.so.p/.._file_utils.c.o.d -o src/lxc/pam/pam_cgfs.so.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| In file included from ../src/lxc/file_utils.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/file_utils.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [9/1207] cc -Isrc/lxc/cmd/init.lxc.static.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.static.p/.._file_utils.c.o -MF src/lxc/cmd/init.lxc.static.p/.._file_utils.c.o.d -o src/lxc/cmd/init.lxc.static.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| FAILED: [code=1] src/lxc/cmd/init.lxc.static.p/.._file_utils.c.o 
| cc -Isrc/lxc/cmd/init.lxc.static.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.static.p/.._file_utils.c.o -MF src/lxc/cmd/init.lxc.static.p/.._file_utils.c.o.d -o src/lxc/cmd/init.lxc.static.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| In file included from ../src/lxc/file_utils.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/file_utils.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [10/1207] cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._file_utils.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._file_utils.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| FAILED: [code=1] src/lxc/cmd/lxc-user-nic.p/.._file_utils.c.o 
| cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._file_utils.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._file_utils.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| In file included from ../src/lxc/file_utils.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/file_utils.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [11/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/lsm_apparmor.c.o -MF src/lxc/liblxc.a.p/lsm_apparmor.c.o.d -o src/lxc/liblxc.a.p/lsm_apparmor.c.o -c ../src/lxc/lsm/apparmor.c
| FAILED: [code=1] src/lxc/liblxc.a.p/lsm_apparmor.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/lsm_apparmor.c.o -MF src/lxc/liblxc.a.p/lsm_apparmor.c.o.d -o src/lxc/liblxc.a.p/lsm_apparmor.c.o -c ../src/lxc/lsm/apparmor.c
| In file included from ../src/lxc/lsm/apparmor.c:21:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from /usr/include/aarch64-linux-gnu/sys/mount.h:24,
|                  from ../src/lxc/lsm/apparmor.c:8:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [12/1207] cc -Isrc/lxc/cmd/init.lxc.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.p/lxc_init.c.o -MF src/lxc/cmd/init.lxc.p/lxc_init.c.o.d -o src/lxc/cmd/init.lxc.p/lxc_init.c.o -c ../src/lxc/cmd/lxc_init.c
| [13/1207] cc -Isrc/lxc/cmd/init.lxc.static.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.static.p/lxc_init.c.o -MF src/lxc/cmd/init.lxc.static.p/lxc_init.c.o.d -o src/lxc/cmd/init.lxc.static.p/lxc_init.c.o -c ../src/lxc/cmd/lxc_init.c
| [14/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/uuid.c.o -MF src/lxc/liblxc.a.p/uuid.c.o.d -o src/lxc/liblxc.a.p/uuid.c.o -c ../src/lxc/uuid.c
| ../src/lxc/uuid.c: In function ‘hexchar’:
| ../src/lxc/uuid.c:77:39: warning: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available) [-Wunterminated-string-initialization]
|    77 |         static const char table[16] = "0123456789abcdef";
|       |                                       ^~~~~~~~~~~~~~~~~~
| [15/1207] cc -Isrc/lxc/cmd/init.lxc.static.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.static.p/.._caps.c.o -MF src/lxc/cmd/init.lxc.static.p/.._caps.c.o.d -o src/lxc/cmd/init.lxc.static.p/.._caps.c.o -c ../src/lxc/caps.c
| FAILED: [code=1] src/lxc/cmd/init.lxc.static.p/.._caps.c.o 
| cc -Isrc/lxc/cmd/init.lxc.static.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.static.p/.._caps.c.o -MF src/lxc/cmd/init.lxc.static.p/.._caps.c.o.d -o src/lxc/cmd/init.lxc.static.p/.._caps.c.o -c ../src/lxc/caps.c
| In file included from ../src/lxc/caps.c:17:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/caps.c:7:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [16/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/mount_utils.c.o -MF src/lxc/liblxc.a.p/mount_utils.c.o.d -o src/lxc/liblxc.a.p/mount_utils.c.o -c ../src/lxc/mount_utils.c
| FAILED: [code=1] src/lxc/liblxc.a.p/mount_utils.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/mount_utils.c.o -MF src/lxc/liblxc.a.p/mount_utils.c.o.d -o src/lxc/liblxc.a.p/mount_utils.c.o -c ../src/lxc/mount_utils.c
| In file included from ../src/lxc/mount_utils.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/mount_utils.c:5:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [17/1207] cc -Ihooks/unmount-namespace.p -Ihooks -I../hooks -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -MD -MQ hooks/unmount-namespace.p/unmount-namespace.c.o -MF hooks/unmount-namespace.p/unmount-namespace.c.o.d -o hooks/unmount-namespace.p/unmount-namespace.c.o -c ../hooks/unmount-namespace.c
| [18/1207] cc -Isrc/lxc/cmd/init.lxc.static.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.static.p/.._error.c.o -MF src/lxc/cmd/init.lxc.static.p/.._error.c.o.d -o src/lxc/cmd/init.lxc.static.p/.._error.c.o -c ../src/lxc/error.c
| [19/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/lsm_lsm.c.o -MF src/lxc/liblxc.a.p/lsm_lsm.c.o.d -o src/lxc/liblxc.a.p/lsm_lsm.c.o -c ../src/lxc/lsm/lsm.c
| [20/1207] cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._file_utils.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._file_utils.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| FAILED: [code=1] src/lxc/cmd/lxc-usernsexec.p/.._file_utils.c.o 
| cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._file_utils.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._file_utils.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| In file included from ../src/lxc/file_utils.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/file_utils.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [21/1207] cc -Isrc/lxc/cmd/init.lxc.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.p/.._error.c.o -MF src/lxc/cmd/init.lxc.p/.._error.c.o.d -o src/lxc/cmd/init.lxc.p/.._error.c.o -c ../src/lxc/error.c
| [22/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/freezer.c.o -MF src/lxc/liblxc.a.p/freezer.c.o.d -o src/lxc/liblxc.a.p/freezer.c.o -c ../src/lxc/freezer.c
| [23/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/ringbuf.c.o -MF src/lxc/liblxc.a.p/ringbuf.c.o.d -o src/lxc/liblxc.a.p/ringbuf.c.o -c ../src/lxc/ringbuf.c
| [24/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/storage_dir.c.o -MF src/lxc/liblxc.a.p/storage_dir.c.o.d -o src/lxc/liblxc.a.p/storage_dir.c.o -c ../src/lxc/storage/dir.c
| FAILED: [code=1] src/lxc/liblxc.a.p/storage_dir.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/storage_dir.c.o -MF src/lxc/liblxc.a.p/storage_dir.c.o.d -o src/lxc/liblxc.a.p/storage_dir.c.o -c ../src/lxc/storage/dir.c
| In file included from ../src/lxc/storage/dir.c:13:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from /usr/include/aarch64-linux-gnu/sys/mount.h:24,
|                  from ../src/lxc/macro.h:18,
|                  from ../src/lxc/memory_utils.h:15,
|                  from ../src/lxc/list.h:10,
|                  from ../src/lxc/conf.h:21,
|                  from ../src/lxc/log.h:19,
|                  from ../src/lxc/storage/dir.c:9:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [25/1207] cc -Isrc/lxc/cmd/init.lxc.static.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.static.p/.._namespace.c.o -MF src/lxc/cmd/init.lxc.static.p/.._namespace.c.o.d -o src/lxc/cmd/init.lxc.static.p/.._namespace.c.o -c ../src/lxc/namespace.c
| [26/1207] cc -Isrc/lxc/cmd/init.lxc.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.p/.._namespace.c.o -MF src/lxc/cmd/init.lxc.p/.._namespace.c.o.d -o src/lxc/cmd/init.lxc.p/.._namespace.c.o -c ../src/lxc/namespace.c
| [27/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/storage_rsync.c.o -MF src/lxc/liblxc.a.p/storage_rsync.c.o.d -o src/lxc/liblxc.a.p/storage_rsync.c.o -c ../src/lxc/storage/rsync.c
| [28/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/attach.c.o -MF src/lxc/liblxc.a.p/attach.c.o.d -o src/lxc/liblxc.a.p/attach.c.o -c ../src/lxc/attach.c
| FAILED: [code=1] src/lxc/liblxc.a.p/attach.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/attach.c.o -MF src/lxc/liblxc.a.p/attach.c.o.d -o src/lxc/liblxc.a.p/attach.c.o -c ../src/lxc/attach.c
| In file included from ../src/lxc/attach.c:43:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/attach.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [29/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/terminal.c.o -MF src/lxc/liblxc.a.p/terminal.c.o.d -o src/lxc/liblxc.a.p/terminal.c.o -c ../src/lxc/terminal.c
| FAILED: [code=1] src/lxc/liblxc.a.p/terminal.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/terminal.c.o -MF src/lxc/liblxc.a.p/terminal.c.o.d -o src/lxc/liblxc.a.p/terminal.c.o -c ../src/lxc/terminal.c
| In file included from ../src/lxc/terminal.c:27:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/terminal.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [30/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/cgroups_cgfsng.c.o -MF src/lxc/liblxc.a.p/cgroups_cgfsng.c.o.d -o src/lxc/liblxc.a.p/cgroups_cgfsng.c.o -c ../src/lxc/cgroups/cgfsng.c
| FAILED: [code=1] src/lxc/liblxc.a.p/cgroups_cgfsng.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/cgroups_cgfsng.c.o -MF src/lxc/liblxc.a.p/cgroups_cgfsng.c.o.d -o src/lxc/liblxc.a.p/cgroups_cgfsng.c.o -c ../src/lxc/cgroups/cgfsng.c
| In file included from ../src/lxc/cgroups/cgfsng.c:48:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from /usr/include/aarch64-linux-gnu/sys/mount.h:24,
|                  from ../src/lxc/macro.h:18,
|                  from ../src/lxc/af_unix.h:14,
|                  from ../src/lxc/cgroups/cgroup.h:14,
|                  from ../src/lxc/cgroups/cgfsng.c:34:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [31/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/process_utils.c.o -MF src/lxc/liblxc.a.p/process_utils.c.o.d -o src/lxc/liblxc.a.p/process_utils.c.o -c ../src/lxc/process_utils.c
| [32/1207] cc -Isrc/lxc/tools/lxc-attach.p -Isrc/lxc/tools -I../src/lxc/tools -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/tools/lxc-attach.p/.._caps.c.o -MF src/lxc/tools/lxc-attach.p/.._caps.c.o.d -o src/lxc/tools/lxc-attach.p/.._caps.c.o -c ../src/lxc/caps.c
| FAILED: [code=1] src/lxc/tools/lxc-attach.p/.._caps.c.o 
| cc -Isrc/lxc/tools/lxc-attach.p -Isrc/lxc/tools -I../src/lxc/tools -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/tools/lxc-attach.p/.._caps.c.o -MF src/lxc/tools/lxc-attach.p/.._caps.c.o.d -o src/lxc/tools/lxc-attach.p/.._caps.c.o -c ../src/lxc/caps.c
| In file included from ../src/lxc/caps.c:17:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/caps.c:7:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [33/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/utils.c.o -MF src/lxc/liblxc.a.p/utils.c.o.d -o src/lxc/liblxc.a.p/utils.c.o -c ../src/lxc/utils.c
| FAILED: [code=1] src/lxc/liblxc.a.p/utils.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/utils.c.o -MF src/lxc/liblxc.a.p/utils.c.o.d -o src/lxc/liblxc.a.p/utils.c.o -c ../src/lxc/utils.c
| In file included from ../src/lxc/utils.c:35:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/utils.c:10:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [34/1207] cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._caps.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._caps.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._caps.c.o -c ../src/lxc/caps.c
| FAILED: [code=1] src/lxc/cmd/lxc-user-nic.p/.._caps.c.o 
| cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._caps.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._caps.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._caps.c.o -c ../src/lxc/caps.c
| In file included from ../src/lxc/caps.c:17:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/caps.c:7:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [35/1207] cc -Isrc/lxc/cmd/init.lxc.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.p/.._file_utils.c.o -MF src/lxc/cmd/init.lxc.p/.._file_utils.c.o.d -o src/lxc/cmd/init.lxc.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| FAILED: [code=1] src/lxc/cmd/init.lxc.p/.._file_utils.c.o 
| cc -Isrc/lxc/cmd/init.lxc.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.p/.._file_utils.c.o -MF src/lxc/cmd/init.lxc.p/.._file_utils.c.o.d -o src/lxc/cmd/init.lxc.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| In file included from ../src/lxc/file_utils.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/file_utils.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [36/1207] cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._utils.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._utils.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._utils.c.o -c ../src/lxc/utils.c
| FAILED: [code=1] src/lxc/cmd/lxc-user-nic.p/.._utils.c.o 
| cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._utils.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._utils.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._utils.c.o -c ../src/lxc/utils.c
| In file included from ../src/lxc/utils.c:35:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/utils.c:10:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [37/1207] cc -Isrc/lxc/tools/lxc-attach.p -Isrc/lxc/tools -I../src/lxc/tools -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/tools/lxc-attach.p/.._file_utils.c.o -MF src/lxc/tools/lxc-attach.p/.._file_utils.c.o.d -o src/lxc/tools/lxc-attach.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| FAILED: [code=1] src/lxc/tools/lxc-attach.p/.._file_utils.c.o 
| cc -Isrc/lxc/tools/lxc-attach.p -Isrc/lxc/tools -I../src/lxc/tools -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/tools/lxc-attach.p/.._file_utils.c.o -MF src/lxc/tools/lxc-attach.p/.._file_utils.c.o.d -o src/lxc/tools/lxc-attach.p/.._file_utils.c.o -c ../src/lxc/file_utils.c
| In file included from ../src/lxc/file_utils.c:18:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/file_utils.c:6:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [38/1207] cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._caps.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._caps.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._caps.c.o -c ../src/lxc/caps.c
| FAILED: [code=1] src/lxc/cmd/lxc-usernsexec.p/.._caps.c.o 
| cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._caps.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._caps.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._caps.c.o -c ../src/lxc/caps.c
| In file included from ../src/lxc/caps.c:17:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/caps.c:7:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [39/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/namespace.c.o -MF src/lxc/liblxc.a.p/namespace.c.o.d -o src/lxc/liblxc.a.p/namespace.c.o -c ../src/lxc/namespace.c
| [40/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/storage_rbd.c.o -MF src/lxc/liblxc.a.p/storage_rbd.c.o.d -o src/lxc/liblxc.a.p/storage_rbd.c.o -c ../src/lxc/storage/rbd.c
| [41/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/execute.c.o -MF src/lxc/liblxc.a.p/execute.c.o.d -o src/lxc/liblxc.a.p/execute.c.o -c ../src/lxc/execute.c
| [42/1207] cc -Isrc/lxc/cmd/init.lxc.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.p/.._caps.c.o -MF src/lxc/cmd/init.lxc.p/.._caps.c.o.d -o src/lxc/cmd/init.lxc.p/.._caps.c.o -c ../src/lxc/caps.c
| FAILED: [code=1] src/lxc/cmd/init.lxc.p/.._caps.c.o 
| cc -Isrc/lxc/cmd/init.lxc.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -DNO_LXC_CONF -MD -MQ src/lxc/cmd/init.lxc.p/.._caps.c.o -MF src/lxc/cmd/init.lxc.p/.._caps.c.o.d -o src/lxc/cmd/init.lxc.p/.._caps.c.o -c ../src/lxc/caps.c
| In file included from ../src/lxc/caps.c:17:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/caps.c:7:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [43/1207] cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._error.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._error.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._error.c.o -c ../src/lxc/error.c
| [44/1207] cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._rtnl.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._rtnl.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._rtnl.c.o -c ../src/lxc/rtnl.c
| [45/1207] cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._utils.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._utils.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._utils.c.o -c ../src/lxc/utils.c
| FAILED: [code=1] src/lxc/cmd/lxc-usernsexec.p/.._utils.c.o 
| cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._utils.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._utils.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._utils.c.o -c ../src/lxc/utils.c
| In file included from ../src/lxc/utils.c:35:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/utils.c:10:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~
| [46/1207] cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._error.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._error.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._error.c.o -c ../src/lxc/error.c
| [47/1207] cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._rtnl.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._rtnl.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._rtnl.c.o -c ../src/lxc/rtnl.c
| [48/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/rexec.c.o -MF src/lxc/liblxc.a.p/rexec.c.o.d -o src/lxc/liblxc.a.p/rexec.c.o -c ../src/lxc/rexec.c
| [49/1207] cc -Isrc/lxc/cmd/lxc-usernsexec.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-usernsexec.p/.._namespace.c.o -MF src/lxc/cmd/lxc-usernsexec.p/.._namespace.c.o.d -o src/lxc/cmd/lxc-usernsexec.p/.._namespace.c.o -c ../src/lxc/namespace.c
| [50/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/error.c.o -MF src/lxc/liblxc.a.p/error.c.o.d -o src/lxc/liblxc.a.p/error.c.o -c ../src/lxc/error.c
| [51/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/storage_loop.c.o -MF src/lxc/liblxc.a.p/storage_loop.c.o.d -o src/lxc/liblxc.a.p/storage_loop.c.o -c ../src/lxc/storage/loop.c
| [52/1207] cc -Isrc/lxc/cmd/lxc-user-nic.p -Isrc/lxc/cmd -I../src/lxc/cmd -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -Isrc/lxc -I../src/lxc -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ src/lxc/cmd/lxc-user-nic.p/.._rexec.c.o -MF src/lxc/cmd/lxc-user-nic.p/.._rexec.c.o.d -o src/lxc/cmd/lxc-user-nic.p/.._rexec.c.o -c ../src/lxc/rexec.c
| [53/1207] cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/conf.c.o -MF src/lxc/liblxc.a.p/conf.c.o.d -o src/lxc/liblxc.a.p/conf.c.o -c ../src/lxc/conf.c
| FAILED: [code=1] src/lxc/liblxc.a.p/conf.c.o 
| cc -Isrc/lxc/liblxc.a.p -Isrc/lxc -I../src/lxc -I. -I.. -Isrc -I../src -Isrc/include -I../src/include -I../src/lxc/cgroups -I../src/lxc/storage -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wvla -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes -fno-strict-aliasing -fstack-clash-protection --param=ssp-buffer-size=4 -Werror=implicit-function-declaration -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self -Wunused-but-set-variable -Wno-unused-parameter -Wfloat-equal -Werror=return-type -Werror=incompatible-pointer-types -Wformat=2 -Wshadow -Wendif-labels -Werror=overflow -fdiagnostics-show-option -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -fasynchronous-unwind-tables -fexceptions -Warray-bounds -Wrestrict -Wreturn-local-addr -Wstringop-overflow -ffat-lto-objects -include config.h -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxc-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fvisibility=default -DIN_LIBLXC -MD -MQ src/lxc/liblxc.a.p/conf.c.o -MF src/lxc/liblxc.a.p/conf.c.o.d -o src/lxc/liblxc.a.p/conf.c.o -c ../src/lxc/conf.c
| In file included from ../src/lxc/conf.c:56:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/conf.c:8:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~

...

| In file included from ../src/lxc/lxccontainer.c:52:
| ../src/lxc/open_utils.h:80:19: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
|    80 | static inline int openat2(int dfd, const char *filename, struct open_how *how, size_t size)
|       |                   ^~~~~~~
| In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:492,
|                  from /usr/include/aarch64-linux-gnu/bits/fcntl.h:55,
|                  from /usr/include/fcntl.h:35,
|                  from ../src/lxc/lxccontainer.c:8:
| /usr/include/aarch64-linux-gnu/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
|    36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
|       | ^~~~~~~

...

| ninja: build stopped: subcommand failed.
| dh_auto_build: error: cd obj-aarch64-linux-gnu && LC_ALL=C.UTF-8 ninja -j128 -v returned exit code 1
| make[1]: *** [debian/rules:27: override_dh_auto_build] Error 25
| make[1]: Leaving directory '/build/reproducible-path/lxc-6.0.5'
| make: *** [debian/rules:10: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess failed with exit status 2

The full build log is available here [1].

The issue is due to a definition of the openat2 function, which is now
also provided by glibc 2.43 [2]. I believe that the issue is fixed
upstream [3] [4], but I haven't tested the patches.

Please also note that glibc 2.43 introduced the ISO C23 declaration of
bsearch, memchr, strchr, strpbrk, strrchr, strstr, wcschr, wcspbrk,
wcsrchr, wcsstr and wmemchr, which now return a pointer to a
const-qualified type when the input argument is a pointer to a
const-qualified type [5]. This causes additional warnings, but they are
not fatal to the build.

I would like to thanks Emanuele Rocca for doing the archive rebuild on a
fast arm64 server.

Regards
Aurelien

[1] https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/lxc_arm64.build
[2] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l54
[3] https://github.com/lxc/lxc/commit/511e4db8f2a5b47cdd41eef482647492ce5b0f77
[4] https://github.com/lxc/lxc/commit/061acb0b3835b7b2a6c689588028fd72d0f03dcc
[5] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                     http://aurel32.net



More information about the Pkg-lxc-devel mailing list