>>> openrc 0.51 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-5/output-1/build/.openrc-0.51.tar.gz.rCVK9W/output' 'https://github.com/OpenRC/openrc/archive/0.51/openrc-0.51.tar.gz' --2023-11-05 12:45:59-- https://github.com/OpenRC/openrc/archive/0.51/openrc-0.51.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/OpenRC/openrc/tar.gz/refs/tags/0.51 [following] --2023-11-05 12:45:59-- https://codeload.github.com/OpenRC/openrc/tar.gz/refs/tags/0.51 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-5/output-1/build/.openrc-0.51.tar.gz.rCVK9W/output' 0K .......... .......... .......... .......... .......... 510K 50K .......... .......... .......... .......... .......... 1.01M 100K .......... .......... .......... .......... .......... 1023K 150K .......... .......... .......... .......... .......... 84.6M 200K .......... .......... .......... .......... .... 116M=0.2s 2023-11-05 12:46:00 (1.22 MB/s) - '/home/autobuild/autobuild/instance-5/output-1/build/.openrc-0.51.tar.gz.rCVK9W/output' saved [250746] openrc-0.51.tar.gz: OK (sha256: 4ec46f2729c77c4387146b491c4d121f5cba48bff2f0aeaff99895dcda5cea85) >>> openrc 0.51 Extracting mkdir -p /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host mkdir -p /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/target gzip -d -c /home/autobuild/autobuild/instance-5/dl/openrc/openrc-0.51.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51 -xf - >>> openrc 0.51 Patching Applying 0001-init.d-sysctl.in-add-support-for-busybox-sysctl.patch using patch: patching file init.d/sysctl.in Applying 0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch using patch: patching file sh/init.sh.Linux.in Applying 0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch using patch: patching file init.d/agetty.in Applying 0004-init.d-agetty-start-agetty-after-all-sevices.patch using patch: patching file init.d/agetty.in Applying 0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch using patch: patching file tools/meson_runlevels.sh Applying 0006-Also-create-run-lock-subsys-directory.patch using patch: patching file sh/init.sh.Linux.in Applying 0007-allow-setting-rc_libexecdir-path.patch using patch: patching file meson.build patching file meson_options.txt >>> openrc 0.51 Configuring mkdir -p /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/host-meson/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/host-meson/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/ncurses/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/ncurses/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host mkdir -p /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/host-meson/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/host-meson/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/ncurses/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/ncurses/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-5/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/target rm -rf /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51//build mkdir -p /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-strip%g" -e "s%@TARGET_ARCH@%xtensa%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-mlongcalls', '-mauto-litpools', '-O1', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-mlongcalls', '-mauto-litpools', '-O1', '-g0'%g" -e "s%@BR2_CMAKE@%/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host%g" -e "s%@STAGING_DIR@%/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/xtensa-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/autobuild/autobuild/instance-5/buildroot/support/misc/cross-compilation.conf.in > /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51//build/cross-compilation.conf PATH="/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin:/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/lib/cmake -Dos=Linux -Dlibrcdir=/usr/libexec/rc -Dpkgconfig=false -Dsysvinit=true -Drootprefix=/ -Dbranding="\"Buildroot 2023.08-1013-gf1a47904b6\"" -Dbash-completions=false -Dselinux=disabled -Dpam=false -Dsplit-usr=true /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/ /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51//build WARNING: Unknown CPU family xtensa, please report this at https://github.com/mesonbuild/meson/issues/new The Meson build system Version: 1.1.1 Source dir: /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51 Build dir: /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/build Build type: cross build Project name: OpenRC Project version: 0.51 C compiler for the host machine: /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc (gcc 12.3.0 "xtensa-buildroot-linux-uclibc-gcc.br_real (Buildroot 2023.08-1013-gf1a47904b6) 12.3.0") C linker for the host machine: /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc ld.bfd 2.40 C compiler for the build machine: /usr/bin/gcc (gcc 12.1.0 "gcc (GCC) 12.1.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.38 Build machine cpu family: aarch64 Build machine cpu: aarch64 Host machine cpu family: xtensa Host machine cpu: Target machine cpu family: xtensa Target machine cpu: Found pkg-config: /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/pkgconf (1.6.3) Found CMake: /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/cmake (3.27.7) Run-time dependency audit found: NO (tried pkgconfig and cmake) Run-time dependency pam found: NO (tried pkgconfig and cmake) Library pam found: NO Run-time dependency libcap found: NO (tried pkgconfig and cmake) Dependency libselinux skipped: feature selinux disabled Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wcast-qual: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Winline: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wsequence-point: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Werror=implicit-int: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Werror=incompatible-function-pointer-types: NO Checking if "malloc attribute with arguments" compiles: YES Checking for function "close_range" : NO Has header "linux/close_range.h" : YES Checking for function "strlcpy" : YES Library dl found: YES Library util found: YES Configuring bootmisc using configuration Configuring fsck using configuration Configuring hostname using configuration Configuring local using configuration Configuring localmount using configuration Configuring loopback using configuration Configuring netmount using configuration Configuring osclock using configuration Configuring root using configuration Configuring savecache using configuration Configuring swap using configuration Configuring swclock using configuration Configuring sysctl using configuration Configuring runsvdir using configuration Configuring s6-svscan using configuration Configuring network using configuration Configuring staticroute using configuration Configuring agetty using configuration Configuring binfmt using configuration Configuring cgroups using configuration Configuring consolefont using configuration Configuring devfs using configuration Configuring dmesg using configuration Configuring hwclock using configuration Configuring keymaps using configuration Configuring killprocs using configuration Configuring modules using configuration Configuring mount-ro using configuration Configuring mtab using configuration Configuring numlock using configuration Configuring procfs using configuration Configuring net-online using configuration Configuring save-keymaps using configuration Configuring save-termencoding using configuration Configuring seedrng using configuration Configuring sysfs using configuration Configuring termencoding using configuration Configuring functions.sh using configuration Configuring gendepends.sh using configuration Configuring openrc-run.sh using configuration Configuring binfmt.sh using configuration Configuring cgroup-release-agent.sh using configuration Configuring init-early.sh using configuration Configuring init.sh using configuration Configuring rc.h using configuration Configuring halt using configuration Configuring poweroff using configuration Configuring reboot using configuration Configuring shutdown using configuration Configuring avahi-dnsconfd using configuration Configuring avahid using configuration Configuring dhcpcd using configuration Configuring dbus using configuration Configuring hald using configuration Configuring named using configuration Configuring ntpd using configuration Configuring openvpn using configuration Configuring polkitd using configuration Configuring sshd using configuration Configuring wpa_supplicant using configuration Program check-obsolete-functions.sh found: YES (/home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/test/check-obsolete-functions.sh) Program check-spacing-style.sh found: YES (/bin/sh /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/test/check-spacing-style.sh) Program check-trailing-newlines.sh found: YES (/home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/test/check-trailing-newlines.sh) Program check-trailing-whitespace.sh found: YES (/home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/test/check-trailing-whitespace.sh) Program check-xfunc-usage.sh found: YES (/home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/test/check-xfunc-usage.sh) Program check-is-older-than.sh found: YES (/home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/test/units/check-is-older-than.sh) Program check-sh-yesno.sh found: YES (/home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/test/units/check-sh-yesno.sh) Build targets in project: 69 OpenRC 0.51 User defined options Cross files : /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51//build/cross-compilation.conf build.cmake_prefix_path: /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/lib/cmake build.pkg_config_path : /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true bash-completions : false branding : "Buildroot 2023.08-1013-gf1a47904b6" librcdir : /usr/libexec/rc os : Linux pam : false pkgconfig : false rootprefix : / selinux : disabled split-usr : true sysvinit : true Found ninja-1.11.1.git.kitware.jobserver-1 at /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/ninja >>> openrc 0.51 Building PATH="/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin:/home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PYTHONNOUSERSITE=y /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/ninja -C /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51//build ninja: Entering directory `/home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51//build' [1/214] Generating src/shared/version.h with a custom command [2/214] Generating src/shared/version with a custom command [3/214] Compiling C object src/rc-abort/rc-abort.p/rc-abort.c.o FAILED: src/rc-abort/rc-abort.p/rc-abort.c.o /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc -Isrc/rc-abort/rc-abort.p -Isrc/rc-abort -I../src/rc-abort -Isrc/libeinfo -I../src/libeinfo -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -O3 -D_DEFAULT_SOURCE -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wformat=2 -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsequence-point -Wshadow -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -DHAVE_MALLOC_EXTENDED_ATTRIBUTE -DHAVE_LINUX_CLOSE_RANGE_H -DHAVE_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -MD -MQ src/rc-abort/rc-abort.p/rc-abort.c.o -MF src/rc-abort/rc-abort.p/rc-abort.c.o.d -o src/rc-abort/rc-abort.p/rc-abort.c.o -c ../src/rc-abort/rc-abort.c ../src/rc-abort/rc-abort.c: In function 'main': ../src/rc-abort/rc-abort.c:27:21: error: implicit declaration of function 'kill'; did you mean 'killpg'? [-Werror=implicit-function-declaration] 27 | if (kill(pid, SIGUSR1) != 0) | ^~~~ | killpg ../src/rc-abort/rc-abort.c:27:21: warning: nested extern declaration of 'kill' [-Wnested-externs] cc1: some warnings being treated as errors [4/214] Compiling C object src/librc/librc.so.1.p/librc-stringlist.c.o [5/214] Compiling C object src/librc/librc.so.1.p/librc-daemon.c.o FAILED: src/librc/librc.so.1.p/librc-daemon.c.o /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc -Isrc/librc/librc.so.1.p -Isrc/librc -I../src/librc -Isrc/shared -I../src/shared -Isrc/libeinfo -I../src/libeinfo -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -O3 -D_DEFAULT_SOURCE -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wformat=2 -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsequence-point -Wshadow -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -DHAVE_MALLOC_EXTENDED_ATTRIBUTE -DHAVE_LINUX_CLOSE_RANGE_H -DHAVE_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -fPIC -MD -MQ src/librc/librc.so.1.p/librc-daemon.c.o -MF src/librc/librc.so.1.p/librc-daemon.c.o.d -o src/librc/librc.so.1.p/librc-daemon.c.o -c ../src/librc/librc-daemon.c ../src/librc/librc-daemon.c: In function 'rc_service_daemons_crashed': ../src/librc/librc-daemon.c:633:37: error: implicit declaration of function 'kill'; did you mean 'killpg'? [-Werror=implicit-function-declaration] 633 | if (kill(pid, 0) == -1 && errno == ESRCH) | ^~~~ | killpg ../src/librc/librc-daemon.c:633:37: warning: nested extern declaration of 'kill' [-Wnested-externs] cc1: some warnings being treated as errors [6/214] Compiling C object src/shell_var/shell_var.p/shell_var.c.o [7/214] Compiling C object src/checkpath/checkpath.p/.._shared_misc.c.o FAILED: src/checkpath/checkpath.p/.._shared_misc.c.o /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc -Isrc/checkpath/checkpath.p -Isrc/checkpath -I../src/checkpath -Isrc/shared -I../src/shared -Isrc/libeinfo -I../src/libeinfo -Isrc/librc -I../src/librc -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -O3 -D_DEFAULT_SOURCE -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wformat=2 -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsequence-point -Wshadow -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -DHAVE_MALLOC_EXTENDED_ATTRIBUTE -DHAVE_LINUX_CLOSE_RANGE_H -DHAVE_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 '-DBRANDING="Buildroot 2023.08-1013-gf1a47904b6"' -MD -MQ src/checkpath/checkpath.p/.._shared_misc.c.o -MF src/checkpath/checkpath.p/.._shared_misc.c.o.d -o src/checkpath/checkpath.p/.._shared_misc.c.o -c ../src/shared/misc.c ../src/shared/misc.c: In function 'env_config': ../src/shared/misc.c:186:21: error: implicit declaration of function 'getline'; did you mean 'rc_getline'? [-Werror=implicit-function-declaration] 186 | if (getline(&buffer, &size, fp) != -1) { | ^~~~~~~ | rc_getline ../src/shared/misc.c:186:21: warning: nested extern declaration of 'getline' [-Wnested-externs] ../src/shared/misc.c: In function 'signal_setup': ../src/shared/misc.c:225:26: error: storage size of 'sa' isn't known 225 | struct sigaction sa; | ^~ ../src/shared/misc.c:228:9: error: implicit declaration of function 'sigemptyset' [-Werror=implicit-function-declaration] 228 | sigemptyset(&sa.sa_mask); | ^~~~~~~~~~~ ../src/shared/misc.c:228:9: warning: nested extern declaration of 'sigemptyset' [-Wnested-externs] ../src/shared/misc.c:230:16: error: implicit declaration of function 'sigaction' [-Werror=implicit-function-declaration] 230 | return sigaction(sig, &sa, NULL); | ^~~~~~~~~ ../src/shared/misc.c:230:16: warning: nested extern declaration of 'sigaction' [-Wnested-externs] ../src/shared/misc.c:225:26: warning: unused variable 'sa' [-Wunused-variable] 225 | struct sigaction sa; | ^~ ../src/shared/misc.c: In function 'signal_setup_restart': ../src/shared/misc.c:236:26: error: storage size of 'sa' isn't known 236 | struct sigaction sa; | ^~ ../src/shared/misc.c:241:23: error: 'SA_RESTART' undeclared (first use in this function); did you mean 'ERESTART'? 241 | sa.sa_flags = SA_RESTART; | ^~~~~~~~~~ | ERESTART ../src/shared/misc.c:241:23: note: each undeclared identifier is reported only once for each function it appears in ../src/shared/misc.c:236:26: warning: unused variable 'sa' [-Wunused-variable] 236 | struct sigaction sa; | ^~ ../src/shared/misc.c: In function 'exec_service': ../src/shared/misc.c:292:26: error: storage size of 'sa' isn't known 292 | struct sigaction sa; | ^~ ../src/shared/misc.c:311:9: error: implicit declaration of function 'sigfillset' [-Werror=implicit-function-declaration] 311 | sigfillset(&full); | ^~~~~~~~~~ ../src/shared/misc.c:311:9: warning: nested extern declaration of 'sigfillset' [-Wnested-externs] ../src/shared/misc.c:312:9: error: implicit declaration of function 'sigprocmask' [-Werror=implicit-function-declaration] 312 | sigprocmask(SIG_SETMASK, &full, &old); | ^~~~~~~~~~~ ../src/shared/misc.c:312:9: warning: nested extern declaration of 'sigprocmask' [-Wnested-externs] ../src/shared/misc.c:312:21: error: 'SIG_SETMASK' undeclared (first use in this function) 312 | sigprocmask(SIG_SETMASK, &full, &old); | ^~~~~~~~~~~ ../src/shared/misc.c:292:26: warning: unused variable 'sa' [-Wunused-variable] 292 | struct sigaction sa; | ^~ ../src/shared/misc.c: In function '_rc_deptree_load': ../src/shared/misc.c:384:19: error: 'PATH_MAX' undeclared (first use in this function) 384 | char file[PATH_MAX]; | ^~~~~~~~ ../src/shared/misc.c:384:14: warning: unused variable 'file' [-Wunused-variable] 384 | char file[PATH_MAX]; | ^~~~ ../src/shared/misc.c: In function 'signal_setup': ../src/shared/misc.c:231:1: warning: control reaches end of non-void function [-Wreturn-type] 231 | } | ^ ../src/shared/misc.c: In function 'signal_setup_restart': ../src/shared/misc.c:243:1: warning: control reaches end of non-void function [-Wreturn-type] 243 | } | ^ cc1: some warnings being treated as errors [8/214] Compiling C object src/checkpath/checkpath.p/checkpath.c.o [9/214] Compiling C object src/librc/librc.so.1.p/librc-misc.c.o FAILED: src/librc/librc.so.1.p/librc-misc.c.o /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc -Isrc/librc/librc.so.1.p -Isrc/librc -I../src/librc -Isrc/shared -I../src/shared -Isrc/libeinfo -I../src/libeinfo -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -O3 -D_DEFAULT_SOURCE -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wformat=2 -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsequence-point -Wshadow -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -DHAVE_MALLOC_EXTENDED_ATTRIBUTE -DHAVE_LINUX_CLOSE_RANGE_H -DHAVE_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -fPIC -MD -MQ src/librc/librc.so.1.p/librc-misc.c.o -MF src/librc/librc.so.1.p/librc-misc.c.o.d -o src/librc/librc.so.1.p/librc-misc.c.o -c ../src/librc/librc-misc.c ../src/librc/librc-misc.c: In function 'rc_getfile': ../src/librc/librc-misc.c:79:14: error: implicit declaration of function 'fileno'; did you mean 'd_fileno'? [-Werror=implicit-function-declaration] 79 | fd = fileno(fp); | ^~~~~~ | d_fileno ../src/librc/librc-misc.c:79:14: warning: nested extern declaration of 'fileno' [-Wnested-externs] cc1: some warnings being treated as errors [10/214] Compiling C object src/libeinfo/libeinfo.so.1.p/libeinfo.c.o FAILED: src/libeinfo/libeinfo.so.1.p/libeinfo.c.o /home/autobuild/autobuild/instance-5/output-1/per-package/openrc/host/bin/xtensa-buildroot-linux-uclibc-gcc -Isrc/libeinfo/libeinfo.so.1.p -Isrc/libeinfo -I../src/libeinfo -Isrc/shared -I../src/shared -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -O3 -D_DEFAULT_SOURCE -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wformat=2 -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsequence-point -Wshadow -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -DHAVE_MALLOC_EXTENDED_ATTRIBUTE -DHAVE_LINUX_CLOSE_RANGE_H -DHAVE_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -fPIC -MD -MQ src/libeinfo/libeinfo.so.1.p/libeinfo.c.o -MF src/libeinfo/libeinfo.so.1.p/libeinfo.c.o.d -o src/libeinfo/libeinfo.so.1.p/libeinfo.c.o -c ../src/libeinfo/libeinfo.c ../src/libeinfo/libeinfo.c: In function 'colour_terminal': ../src/libeinfo/libeinfo.c:319:26: error: implicit declaration of function 'fileno' [-Werror=implicit-function-declaration] 319 | if (f && !isatty(fileno(f))) | ^~~~~~ ../src/libeinfo/libeinfo.c:319:26: warning: nested extern declaration of 'fileno' [-Wnested-externs] cc1: some warnings being treated as errors [11/214] Compiling C object src/librc/librc.so.1.p/librc.c.o ../src/librc/librc.c: In function 'rc_service_mark': ../src/librc/librc.c:817:58: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 817 | snprintf(was, sizeof(was), "%s/%s/%s", | ^ ../src/librc/librc.c:817:25: note: 'snprintf' output 3 or more bytes (assuming 4098) into a destination of size 4096 817 | snprintf(was, sizeof(was), "%s/%s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | file, dir->value, base); | ~~~~~~~~~~~~~~~~~~~~~~~ ../src/librc/librc.c:822:58: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 822 | snprintf(was, sizeof(was), "%s/%s", file, dir->value); | ^ ../src/librc/librc.c:822:25: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 822 | snprintf(was, sizeof(was), "%s/%s", file, dir->value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [12/214] Compiling C object src/librc/librc.so.1.p/librc-depend.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:283: /home/autobuild/autobuild/instance-5/output-1/build/openrc-0.51/.stamp_built] Error 1 make: Leaving directory '/home/autobuild/autobuild/instance-5/buildroot'