>>> openrc 0.51 Extracting gzip -d -c /home/thomas/autobuild/instance-1/dl/openrc/openrc-0.51.tar.gz | tar --strip-components=1 -C /home/thomas/autobuild/instance-1/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/thomas/autobuild/instance-1/output-1/build/openrc-0.51//build mkdir -p /home/thomas/autobuild/instance-1/output-1/build/openrc-0.51//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/thomas/autobuild/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/thomas/autobuild/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%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', '-Os', '-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', '-Os', '-g0'%g" -e "s%@BR2_CMAKE@%/home/thomas/autobuild/instance-1/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/thomas/autobuild/instance-1/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/thomas/autobuild/instance-1/output-1/host%g" -e "s%@STAGING_DIR@%/home/thomas/autobuild/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/thomas/autobuild/instance-1/buildroot/support/misc/cross-compilation.conf.in > /home/thomas/autobuild/instance-1/output-1/build/openrc-0.51//build/cross-compilation.conf PATH="/home/thomas/autobuild/instance-1/output-1/host/bin:/home/thomas/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/thomas/autobuild/instance-1/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=debug --cross-file=/home/thomas/autobuild/instance-1/output-1/build/openrc-0.51//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/thomas/autobuild/instance-1/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/thomas/autobuild/instance-1/output-1/host/lib/cmake -Dos=Linux -Dlibrcdir=/usr/libexec/rc -Dpkgconfig=false -Dsysvinit=true -Drootprefix=/ -Dbranding="\"Buildroot 2022.08-rc1-5515-gf1a47904b63\"" -Dbash-completions=true -Dselinux=disabled -Dpam=false -Dsplit-usr=true /home/thomas/autobuild/instance-1/output-1/build/openrc-0.51/ /home/thomas/autobuild/instance-1/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/thomas/autobuild/instance-1/output-1/build/openrc-0.51 Build dir: /home/thomas/autobuild/instance-1/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/thomas/autobuild/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc (gcc 12.3.0 "xtensa-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.08-rc1-5515-gf1a47904b63) 12.3.0") C linker for the host machine: /home/thomas/autobuild/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc ld.bfd 2.40 C compiler for the build machine: /usr/bin/gcc (gcc 9.4.0 "gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: xtensa Host machine cpu: Target machine cpu family: xtensa Target machine cpu: Found pkg-config: /home/thomas/autobuild/instance-1/output-1/host/bin/pkgconf (1.6.3) Found CMake: /home/thomas/autobuild/instance-1/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" : 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/thomas/autobuild/instance-1/output-1/build/openrc-0.51/test/check-obsolete-functions.sh) Program check-spacing-style.sh found: YES (/bin/sh /home/thomas/autobuild/instance-1/output-1/build/openrc-0.51/test/check-spacing-style.sh) Program check-trailing-newlines.sh found: YES (/home/thomas/autobuild/instance-1/output-1/build/openrc-0.51/test/check-trailing-newlines.sh) Program check-trailing-whitespace.sh found: YES (/home/thomas/autobuild/instance-1/output-1/build/openrc-0.51/test/check-trailing-whitespace.sh) Program check-xfunc-usage.sh found: YES (/home/thomas/autobuild/instance-1/output-1/build/openrc-0.51/test/check-xfunc-usage.sh) Program check-is-older-than.sh found: YES (/home/thomas/autobuild/instance-1/output-1/build/openrc-0.51/test/units/check-is-older-than.sh) Program check-sh-yesno.sh found: YES (/home/thomas/autobuild/instance-1/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/thomas/autobuild/instance-1/output-1/build/openrc-0.51//build/cross-compilation.conf build.cmake_prefix_path: /home/thomas/autobuild/instance-1/output-1/host/lib/cmake build.pkg_config_path : /home/thomas/autobuild/instance-1/output-1/host/lib/pkgconfig buildtype : debug default_library : shared libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true bash-completions : true branding : "Buildroot 2022.08-rc1-5515-gf1a47904b63" 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/thomas/autobuild/instance-1/output-1/host/bin/ninja >>> openrc 0.51 Building PATH="/home/thomas/autobuild/instance-1/output-1/host/bin:/home/thomas/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /home/thomas/autobuild/instance-1/output-1/host/bin/ninja -C /home/thomas/autobuild/instance-1/output-1/build/openrc-0.51//build ninja: Entering directory `/home/thomas/autobuild/instance-1/output-1/build/openrc-0.51//build' [1/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/thomas/autobuild/instance-1/output-1/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 -O0 -g -DRC_DEBUG -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 -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 [2/214] Compiling C object src/shell_var/shell_var.p/shell_var.c.o [3/214] Compiling C object src/librc/librc.so.1.p/librc-stringlist.c.o [4/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/thomas/autobuild/instance-1/output-1/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 -O0 -g -DRC_DEBUG -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 -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 [5/214] Generating src/shared/version.h with a custom command [6/214] Generating src/shared/version with a custom command [7/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/thomas/autobuild/instance-1/output-1/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 -O0 -g -DRC_DEBUG -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 -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 [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/thomas/autobuild/instance-1/output-1/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 -O0 -g -DRC_DEBUG -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 -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-depend.c.o [10/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/thomas/autobuild/instance-1/output-1/build/openrc-0.51/.stamp_built] Error 1 make: Leaving directory '/home/thomas/autobuild/instance-1/buildroot'