>>> openrc 0.51 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-10/output-1/build/.openrc-0.51.tar.gz.0xD43d/output' 'https://github.com/OpenRC/openrc/archive/0.51/openrc-0.51.tar.gz' --2023-11-22 01:45:38-- 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.113.3 Connecting to github.com (github.com)|140.82.113.3|: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-22 01:45:38-- https://codeload.github.com/OpenRC/openrc/tar.gz/refs/tags/0.51 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-10/output-1/build/.openrc-0.51.tar.gz.0xD43d/output' 0K .......... .......... .......... .......... .......... 515K 50K .......... .......... .......... .......... .......... 1.01M 100K .......... .......... .......... .......... .......... 82.1M 150K .......... .......... .......... .......... .......... 1.03M 200K .......... .......... .......... .......... .... 92.2M=0.2s 2023-11-22 01:45:38 (1.23 MB/s) - '/home/autobuild/autobuild/instance-10/output-1/build/.openrc-0.51.tar.gz.0xD43d/output' saved [250746] openrc-0.51.tar.gz: OK (sha256: 4ec46f2729c77c4387146b491c4d121f5cba48bff2f0aeaff99895dcda5cea85) >>> openrc 0.51 Extracting gzip -d -c /home/autobuild/autobuild/instance-10/dl/openrc/openrc-0.51.tar.gz | /home/autobuild/autobuild/instance-10/output-1/host/bin/tar --strip-components=1 -C /home/autobuild/autobuild/instance-10/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 rm -rf /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51//build mkdir -p /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/autobuild/autobuild/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/autobuild/autobuild/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%arc%g" -e "s%@TARGET_CPU@%arc700%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@BR2_CMAKE@%/home/autobuild/autobuild/instance-10/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/autobuild/autobuild/instance-10/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/autobuild/autobuild/instance-10/output-1/host%g" -e "s%@STAGING_DIR@%/home/autobuild/autobuild/instance-10/output-1/host/arc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/autobuild/autobuild/instance-10/buildroot/support/misc/cross-compilation.conf.in > /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51//build/cross-compilation.conf PATH="/home/autobuild/autobuild/instance-10/output-1/host/bin:/home/autobuild/autobuild/instance-10/output-1/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-10/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/autobuild/autobuild/instance-10/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-10/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/autobuild/autobuild/instance-10/output-1/host/lib/cmake -Dos=Linux -Dlibrcdir=/usr/libexec/rc -Dpkgconfig=false -Dsysvinit=true -Drootprefix=/ -Dbranding="\"Buildroot 2023.11-rc1-11-gdfe68fc8d5\"" -Dbash-completions=false -Dselinux=disabled -Dpam=false -Dsplit-usr=true /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51/ /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51//build The Meson build system Version: 1.1.1 Source dir: /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51 Build dir: /home/autobuild/autobuild/instance-10/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-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc (gcc 13.2.0 "arc-buildroot-linux-uclibc-gcc.br_real (Buildroot 2023.11-rc1-11-gdfe68fc8d5) 13.2.0") C linker for the host machine: /home/autobuild/autobuild/instance-10/output-1/host/bin/arc-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: arc Host machine cpu: arc700 Target machine cpu family: arc Target machine cpu: arc700 Found pkg-config: /home/autobuild/autobuild/instance-10/output-1/host/bin/pkgconf (1.6.3) Found CMake: /home/autobuild/autobuild/instance-10/output-1/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" : NO 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-10/output-1/build/openrc-0.51/test/check-obsolete-functions.sh) Program check-spacing-style.sh found: YES (/bin/sh /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51/test/check-spacing-style.sh) Program check-trailing-newlines.sh found: YES (/home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51/test/check-trailing-newlines.sh) Program check-trailing-whitespace.sh found: YES (/home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51/test/check-trailing-whitespace.sh) Program check-xfunc-usage.sh found: YES (/home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51/test/check-xfunc-usage.sh) Program check-is-older-than.sh found: YES (/home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51/test/units/check-is-older-than.sh) Program check-sh-yesno.sh found: YES (/home/autobuild/autobuild/instance-10/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-10/output-1/build/openrc-0.51//build/cross-compilation.conf build.cmake_prefix_path: /home/autobuild/autobuild/instance-10/output-1/host/lib/cmake build.pkg_config_path : /home/autobuild/autobuild/instance-10/output-1/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.11-rc1-11-gdfe68fc8d5" 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-10/output-1/host/bin/ninja >>> openrc 0.51 Building PATH="/home/autobuild/autobuild/instance-10/output-1/host/bin:/home/autobuild/autobuild/instance-10/output-1/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-10/output-1/host/bin/ninja -C /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51//build ninja: Entering directory `/home/autobuild/autobuild/instance-10/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-10/output-1/host/bin/arc-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_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -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/shell_var/shell_var.p/shell_var.c.o [5/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-10/output-1/host/bin/arc-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_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 '-DBRANDING="Buildroot 2023.11-rc1-11-gdfe68fc8d5"' -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 [6/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-10/output-1/host/bin/arc-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_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -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 [7/214] Compiling C object src/checkpath/checkpath.p/checkpath.c.o [8/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-10/output-1/host/bin/arc-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_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -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 [9/214] Compiling C object src/librc/librc.so.1.p/librc-stringlist.c.o [10/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-10/output-1/host/bin/arc-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_STRLCPY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -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 [11/214] Compiling C object src/librc/librc.so.1.p/librc-depend.c.o [12/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:283: /home/autobuild/autobuild/instance-10/output-1/build/openrc-0.51/.stamp_built] Error 1 make: Leaving directory '/home/autobuild/autobuild/instance-10/buildroot'