[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.19 [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 0s] [ 0s] 5fd86ab509c4 started "build toybox.spec" at Wed Oct 14 03:24:33 UTC 2026. [ 0s] [ 0s] Building toybox for project 'Tizen-Base' repository 'standard' arch 'armv7l' srcmd5 'ac1092dba64797dd1a382e2a9c49743b' [ 0s] [ 0s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.19/.build-srcdir/toybox.spec ... [ 1s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.19/.build-srcdir/toybox.spec [ 1s] init_buildsystem --configdir /root/gbsbuild-ROOT/NGBS-ROOT/run/worker/19/build/configs --cachedir /var/cache/build --clean --rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.19/.build.rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.19/.build-srcdir/toybox.spec build ... [ 1s] registering binfmt handlers for cross build [ 1s] cycle: nss -> libsoftokn3 [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/45] preinstalling filesystem... [ 1s] [2/45] preinstalling libmagic-data... [ 1s] [3/45] preinstalling libncurses... [ 1s] [4/45] preinstalling glibc... [ 2s] [5/45] preinstalling libgcc... [ 2s] [6/45] preinstalling bash... [ 2s] [7/45] preinstalling diffutils... [ 2s] [8/45] preinstalling grep... [ 2s] [9/45] preinstalling libarchive-tools... [ 2s] [10/45] preinstalling libattr... [ 2s] [11/45] preinstalling libblkid... [ 2s] [12/45] preinstalling libbz2... [ 2s] [13/45] preinstalling libcap... [ 2s] [14/45] preinstalling libfreebl3... [ 2s] [15/45] preinstalling liblua... [ 2s] [16/45] preinstalling liblzma... [ 2s] [17/45] preinstalling libopenssl3... [ 2s] [18/45] preinstalling libpopt... [ 2s] [19/45] preinstalling libreadline... [ 2s] [20/45] preinstalling libsmack... [ 2s] [21/45] preinstalling libsqlite... [ 2s] [22/45] preinstalling libuuid... [ 2s] [23/45] preinstalling libxcrypt... [ 3s] [24/45] preinstalling libxml2... [ 3s] [25/45] preinstalling libzstd1... [ 3s] [26/45] preinstalling nspr... [ 3s] [27/45] preinstalling sed... [ 3s] [28/45] preinstalling zlib... [ 3s] [29/45] preinstalling qemu-accel-x86_64-armv7l... [ 13s] [30/45] preinstalling qemu-linux-user-x86_64-cross... [ 18s] [31/45] preinstalling dash... [ 18s] [32/45] preinstalling libacl... [ 18s] [33/45] preinstalling libelf... [ 18s] [34/45] preinstalling libmount... [ 19s] [35/45] preinstalling smack... [ 19s] [36/45] preinstalling bzip2... [ 19s] [37/45] preinstalling libmagic... [ 19s] [38/45] preinstalling toybox... [ 19s] [39/45] preinstalling coreutils... [ 19s] [40/45] preinstalling tar... [ 19s] [41/45] preinstalling util-linux... [ 19s] [42/45] preinstalling rpm... [ 20s] [43/45] preinstalling util-linux-su... [ 20s] [44/45] preinstalling nss... [ 20s] [45/45] preinstalling libsoftokn3... [ 20s] running qemu-linux-user-x86_64-cross postinstall script [ 21s] running qemu-accel-x86_64-armv7l postinstall script [ 21s] mv: bad '/usr/lib/gcc/armv7l-tizen-linux-gnueabi/14.2.0/liblto_plugin.so': No such file or directory [ 21s] initializing rpm db... [ 22s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 22s] breaking dependency libxcrypt-devel -> glibc-devel [ 22s] cycle: libsoftokn3 -> nss [ 22s] breaking dependency nss -> libsoftokn3 [ 22s] done [ 22s] querying package ids... [ 23s] [1/104] cumulate libmagic-data-5.46-1.68 [ 23s] [2/104] cumulate setup-0.9-2.10 [ 23s] [3/104] cumulate filesystem-3.1-7.1 [ 23s] [4/104] cumulate glibc-2.40-16.4 [ 23s] [5/104] cumulate libatomic-14.2.0-4.25 [ 23s] [6/104] cumulate libgcc-14.2.0-4.25 [ 23s] [7/104] cumulate bash-3.2.57-1.22 [ 23s] [8/104] cumulate cpio-2.8-2.2 [ 23s] [9/104] cumulate diffutils-3.10-2.1 [ 23s] [10/104] cumulate findutils-4.3.8-2.19 [ 23s] [11/104] cumulate gdbm-1.8.3-1.99 [ 23s] [12/104] cumulate hostname-3.23-1.3 [ 23s] [13/104] cumulate libattr-2.5.1-1.82 [ 23s] [14/104] cumulate libblkid-2.41.2-2.16 [ 23s] [15/104] cumulate libbz2-1.0.8-3.21 [ 23s] [16/104] cumulate libcap-2.73-2.51 [ 23s] [17/104] cumulate libfreebl3-3.109-3.5 [ 23s] [18/104] cumulate libgfortran-14.2.0-4.25 [ 23s] [19/104] cumulate libgomp-14.2.0-4.25 [ 23s] [20/104] cumulate libitm-14.2.0-4.25 [ 23s] [21/104] cumulate libltdl-2.5.4-3.13 [ 23s] [22/104] cumulate liblua-5.1.5-2.19 [ 23s] [23/104] cumulate liblzma-5.8.1-5.25 [ 23s] [24/104] cumulate libopenssl3-3.5.9-1.1 [ 23s] [25/104] cumulate libpcre-8.45-1.74 [ 23s] [26/104] cumulate libpopt-1.16-1.70 [ 23s] [27/104] cumulate libsmack-1.3.1-2.18 [ 23s] [28/104] cumulate libsmartcols-2.41.2-2.16 [ 23s] [29/104] cumulate libsqlite-3.51.0-3.10 [ 23s] [30/104] cumulate libstdc++-14.2.0-4.25 [ 23s] [31/104] cumulate libuuid-2.41.2-2.16 [ 23s] [32/104] cumulate libxcrypt-4.4.36-1.90 [ 23s] [33/104] cumulate libxml2-2.15.1-2.23 [ 23s] [34/104] cumulate libzstd1-1.5.7-2.20 [ 23s] [35/104] cumulate m4-1.4.20-2.1 [ 23s] [36/104] cumulate net-tools-2.0_20121208git-1.62 [ 23s] [37/104] cumulate nspr-4.36-4.3 [ 23s] [38/104] cumulate patch-2.8-2.18 [ 23s] [39/104] cumulate pkg-config-0.29.2-3.22 [ 23s] [40/104] cumulate sed-4.1c-5.19 [ 23s] [41/104] cumulate update-alternatives-1.22.21-2.1 [ 23s] [42/104] cumulate which-2.17-3.1 [ 23s] [43/104] cumulate zlib-1.3.1-2.23 [ 23s] [44/104] cumulate app-rootstrap-checker-1.0.0-4.1 [ 23s] [45/104] cumulate build-compare-2023.06.18-1.40 [ 23s] [46/104] cumulate hal-rootstrap-checker-1.0.0-11.1 [ 23s] [47/104] cumulate libstdc++-devel-14.2.0-4.25 [ 23s] [48/104] cumulate qemu-linux-user-x86_64-cross-9.2.3.1-4.21 [ 23s] [49/104] cumulate cpp-14.2.0-4.25 [ 23s] [50/104] cumulate gcc-c++-14.2.0-4.25 [ 23s] [51/104] cumulate smack-devel-1.3.1-2.18 [ 23s] [52/104] cumulate binutils-libs-2.43-3.25 [ 23s] [53/104] cumulate dash-0.5.13.4-1.2 [ 23s] [54/104] cumulate gawk-3.1.5-3.1 [ 23s] [55/104] cumulate grep-2.5.2-3.20 [ 23s] [56/104] cumulate libacl-2.3.2-1.78 [ 23s] [57/104] cumulate libcc1-14.2.0-4.25 [ 23s] [58/104] cumulate libelf-0.189-1.96 [ 23s] [59/104] cumulate liblastlog2-2.41.2-2.16 [ 23s] [60/104] cumulate libmount-2.41.2-2.16 [ 23s] [61/104] cumulate make-4.4.1-1.73 [ 23s] [62/104] cumulate nss-certs-3.109-3.5 [ 23s] [63/104] cumulate smack-1.3.1-2.18 [ 23s] [64/104] cumulate bzip2-1.0.8-3.21 [ 23s] [65/104] cumulate libfdisk-2.41.2-2.16 [ 23s] [66/104] cumulate libmagic-5.46-1.68 [ 23s] [67/104] cumulate toybox-0.8.14-2.1 [ 23s] [68/104] cumulate xz-5.8.1-5.25 [ 23s] [69/104] cumulate perl-5.42.0-2.23 [ 23s] [70/104] cumulate build-mkbaselibs-20120927-2.1 [ 23s] [71/104] cumulate autoconf-2.71-2.28 [ 23s] [72/104] cumulate coreutils-6.9-18.1 [ 23s] [73/104] cumulate file-5.46-1.68 [ 23s] [74/104] cumulate glibc-locale-2.40-16.4 [ 23s] [75/104] cumulate tar-1.17-5.1 [ 23s] [76/104] cumulate binutils-2.43-3.25 [ 23s] [77/104] cumulate gzip-1.3.12-2.18 [ 23s] [78/104] cumulate pam-1.7.2-1.5 [ 23s] [79/104] cumulate libdw-0.189-1.96 [ 23s] [80/104] cumulate gcc-14.2.0-4.25 [ 23s] [81/104] cumulate libarchive-3.8.1-3.12 [ 23s] [82/104] cumulate linux-glibc-devel-6.6-1.99 [ 23s] [83/104] cumulate qemu-accel-x86_64-armv7l-0.4-6.1 [ 23s] [84/104] cumulate terminfo-base-full-6.6-3.19 [ 23s] [85/104] cumulate automake-1.16.5-2.28 [ 23s] [86/104] cumulate libarchive-tools-3.8.1-3.12 [ 23s] [87/104] cumulate libasm-0.189-1.96 [ 23s] [88/104] cumulate tzdata-2026d-1.1 [ 23s] [89/104] cumulate rpm-4.14.1.1-6.13 [ 23s] [90/104] cumulate libncurses6-6.6-3.19 [ 23s] [91/104] cumulate libtool-2.5.4-3.13 [ 23s] [92/104] cumulate build-20120927-2.1 [ 23s] [93/104] cumulate elfutils-0.189-1.96 [ 23s] [94/104] cumulate libncurses-6.6-3.19 [ 23s] [95/104] cumulate less-685-2.1 [ 23s] [96/104] cumulate libreadline-5.2-4.22 [ 23s] [97/104] cumulate util-linux-2.41.2-2.16 [ 23s] [98/104] cumulate util-linux-su-2.41.2-2.16 [ 23s] [99/104] cumulate libxcrypt-devel-4.4.36-1.90 [ 23s] [100/104] cumulate nss-3.109-3.5 [ 23s] [101/104] cumulate glibc-devel-2.40-16.4 [ 23s] [102/104] cumulate libsoftokn3-3.109-3.5 [ 23s] [103/104] cumulate libattr-devel-2.5.1-1.82 [ 23s] [104/104] cumulate rpm-build-4.14.1.1-6.13 [ 23s] now installing cumulated packages [ 24s] Preparing... ######################################## [ 24s] Updating / installing... [ 24s] setup-0.9-2.10 ###############warning: /etc/profile created as /etc/profile.rpmnew [ 24s] ######################### [ 24s] filesystem-3.1-7.1 ######################################## [ 24s] libmagic-data-5.46-1.68 ######################################## [ 24s] glibc-2.40-16.4 ######################################## [ 25s] libgcc-14.2.0-4.25 ######################################## [ 25s] bash-3.2.57-1.22 ######################################## [ 25s] zlib-1.3.1-2.23 ######################################## [ 25s] libbz2-1.0.8-3.21 ######################################## [ 25s] libstdc++-14.2.0-4.25 ######################################## [ 25s] libelf-0.189-1.96 ######################################## [ 25s] liblzma-5.8.1-5.25 ######################################## [ 26s] libxcrypt-4.4.36-1.90 ######################################## [ 26s] libdw-0.189-1.96 ######################################## [ 26s] libmagic-5.46-1.68 ######################################## [ 26s] libblkid-2.41.2-2.16 ######################################## [ 26s] libopenssl3-3.5.9-1.1 ######################################## [ 27s] libsmack-1.3.1-2.18 ######################################## [ 27s] toybox-0.8.14-2.1 ######################################## [ 27s] coreutils-6.9-18.1 ######################################## [ 27s] nspr-4.36-4.3 ######################################## [ 27s] pkg-config-0.29.2-3.22 ######################################## [ 27s] pam-1.7.2-1.5 ######################################## [ 27s] libattr-2.5.1-1.82 ######################################## [ 27s] libacl-2.3.2-1.78 ######################################## [ 27s] libcap-2.73-2.51 ######################################## [ 27s] libfreebl3-3.109-3.5 ######################################## [ 28s] liblua-5.1.5-2.19 ######################################## [ 28s] libpopt-1.16-1.70 ######################################## [ 28s] libsqlite-3.51.0-3.10 ######################################## [ 28s] libuuid-2.41.2-2.16 ######################################## [ 28s] libzstd1-1.5.7-2.20 ######################################## [ 29s] linux-glibc-devel-6.6-1.99 ######################################## [ 29s] libxcrypt-devel-4.4.36-1.90 ######################################## [ 29s] glibc-devel-2.40-16.4 ######################################## [ 29s] terminfo-base-full-6.6-3.19 ######################################## [ 29s] libncurses6-6.6-3.19 ######################################## [ 29s] libreadline-5.2-4.22 ######################################## [ 30s] libfdisk-2.41.2-2.16 ######################################## [ 30s] liblastlog2-2.41.2-2.16 ######################################## [ 30s] nss-certs-3.109-3.5 ######################################## [ 30s] libsoftokn3-3.109-3.5 ######################################## [ 30s] nss-3.109-3.5 ######################################## [ 30s] gzip-1.3.12-2.18 ######################################## [ 30s] libmount-2.41.2-2.16 ######################################## [ 31s] libasm-0.189-1.96 ######################################## [ 31s] xz-5.8.1-5.25 ######################################## [ 31s] libcc1-14.2.0-4.25 ######################################## [ 31s] bzip2-1.0.8-3.21 ######################################## [ 31s] binutils-libs-2.43-3.25 ######################################## [ 33s] binutils-2.43-3.25 ######################################## [ 33s] make-4.4.1-1.73 ######################################## [ 33s] findutils-4.3.8-2.19 ######################################## [ 33s] gdbm-1.8.3-1.99 ######################################## [ 41s] perl-5.42.0-2.23 ######################################## [ 41s] build-mkbaselibs-20120927-2.1 ######################################## [ 41s] libgfortran-14.2.0-4.25 ######################################## [ 41s] libgomp-14.2.0-4.25 ######################################## [ 41s] libitm-14.2.0-4.25 ######################################## [ 42s] libltdl-2.5.4-3.13 ######################################## [ 42s] libpcre-8.45-1.74 ######################################## [ 42s] libsmartcols-2.41.2-2.16 ######################################## [ 42s] libxml2-2.15.1-2.23 ######################################## [ 43s] libarchive-3.8.1-3.12 ######################################## [ 43s] libarchive-tools-3.8.1-3.12 ######################################## [ 44s] rpm-4.14.1.1-6.13 ######################################## [ 45s] m4-1.4.20-2.1 ######################################## [ 45s] autoconf-2.71-2.28 ######################################## [ 45s] automake-1.16.5-2.28 ######################################## [ 45s] patch-2.8-2.18 ######################################## [ 45s] sed-4.1c-5.19 ######################################## [ 46s] util-linux-2.41.2-2.16 ######################################## [ 46s] libatomic-14.2.0-4.25 ######################################## [ 46s] libtool-2.5.4-3.13 ######################################## [ 46s] build-20120927-2.1 ######################################## [ 46s] libncurses-6.6-3.19 ######################################## [ 46s] libattr-devel-2.5.1-1.82 ######################################## [ 46s] smack-devel-1.3.1-2.18 ######################################## [ 47s] libstdc++-devel-14.2.0-4.25 ######################################## [ 47s] app-rootstrap-checker-1.0.0-4.1 ######################################## [ 47s] build-compare-2023.06.18-1.40 ######################################## [ 47s] hal-rootstrap-checker-1.0.0-11.1 ######################################## [ 59s] qemu-linux-user-x86_64-cross-9.2.3.1-4######################################## [ 63s] gcc-14.2.0-4.25 ######################################## [ 83s] qemu-accel-x86_64-armv7l-0.4-6.1 ######################################## [ 84s] util-linux-su-2.41.2-2.16 ######################################## [ 84s] rpm-build-4.14.1.1-6.13 ######################################## [ 84s] grep-2.5.2-3.20 ######################################## [ 84s] elfutils-0.189-1.96 ######################################## [ 84s] less-685-2.1 ######################################## [ 84s] tar-1.17-5.1 ######################################## [ 84s] tzdata-2026d-1.1 ######################################## [ 85s] glibc-locale-2.40-16.4 ######################################## [ 85s] smack-1.3.1-2.18 ######################################## [ 85s] file-5.46-1.68 ######################################## [ 88s] cpp-14.2.0-4.25 ######################################## [ 90s] gcc-c++-14.2.0-4.25 ######################################## [ 90s] dash-0.5.13.4-1.2 ######################################## [ 90s] gawk-3.1.5-3.1 ######################################## [ 90s] cpio-2.8-2.2 ######################################## [ 90s] diffutils-3.10-2.1 ######################################## [ 90s] hostname-3.23-1.3 ######################################## [ 90s] net-tools-2.0_20121208git-1.62 ######################################## [ 90s] update-alternatives-1.22.21-2.1 ######################################## [ 90s] which-2.17-3.1 ######################################## [ 91s] now finalizing build dir... [ 92s] ----------------------------------------------------------------- [ 92s] I have the following modifications for toybox.spec: [ 93s] 4c4 [ 93s] < Release: 2%{?dist} [ 93s] --- [ 93s] > Release: 2.2 [ 93s] build target is armv7l-tizen-linux [ 93s] ----------------------------------------------------------------- [ 93s] ----- building toybox.spec (user abuild) [ 93s] ----------------------------------------------------------------- [ 93s] ----------------------------------------------------------------- [ 94s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://127.0.0.1/Tizen-Base/standard/ac1092dba64797dd1a382e2a9c49743b-toybox' /home/abuild/rpmbuild/SOURCES/toybox.spec [ 94s] Building target platforms: armv7l-tizen-linux [ 94s] Building for target armv7l-tizen-linux [ 94s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PekyP0 [ 94s] + umask 022 [ 94s] + cd /home/abuild/rpmbuild/BUILD [ 94s] + cd /home/abuild/rpmbuild/BUILD [ 94s] + rm -rf toybox-0.8.14 [ 94s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/toybox-0.8.14.tar.bz2 [ 94s] + /bin/tar -xof - [ 96s] + STATUS=0 [ 96s] + '[' 0 -ne 0 ']' [ 96s] + cd toybox-0.8.14 [ 96s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 96s] + exit 0 [ 96s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ctr0AR [ 96s] + umask 022 [ 96s] + cd /home/abuild/rpmbuild/BUILD [ 96s] + CFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 96s] + export CFLAGS [ 96s] + CXXFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 96s] + export CXXFLAGS [ 96s] + LDFLAGS= [ 96s] + export LDFLAGS [ 96s] + cd toybox-0.8.14 [ 96s] + ref=/usr/lib/rpm [ 96s] + mints=0 [ 96s] + case $(uname -m) in [ 96s] ++ uname -m [ 96s] + for s in guess sub [ 96s] ++ find -maxdepth 8 -name config.guess [ 96s] + for s in guess sub [ 96s] ++ find -maxdepth 8 -name config.sub [ 96s] + cp /home/abuild/rpmbuild/SOURCES/toybox.manifest . [ 96s] + export CC=gcc [ 96s] + CC=gcc [ 96s] + KCONFIG_ALLCONFIG=/home/abuild/rpmbuild/SOURCES/config [ 96s] + scripts/genconfig.sh -n [ 104s] + make -j12 'CFLAGS= -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -fPIE -Wno-nonnull -Wno-incompatible-pointer-types' 'LDOPTIMIZE= -Wl,--gc-sections -pie' [ 104s] scripts/make.sh [ 106s] [ 106s] warning: using unfinished code from toys/pending [ 108s] Compile toybox [ 109s] .................................................toys/net/netstat.c: In function 'display_routes': [ 109s] toys/net/netstat.c:290:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 109s] 290 | (void)fgets(toybuf, sizeof(toybuf), fp); [ 109s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 109s] toys/net/netstat.c: In function 'show_ip': [ 109s] toys/net/netstat.c:139:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 109s] 139 | (void)fgets(toybuf, sizeof(toybuf), fp); [ 109s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 109s] toys/net/netstat.c: In function 'show_unix_sockets': [ 109s] toys/net/netstat.c:209:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 109s] 209 | (void)fgets(toybuf, sizeof(toybuf), fp); [ 109s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 109s] lib/xwrap.c: In function 'xvdaemon': [ 109s] lib/xwrap.c:201:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] [ 109s] 201 | chdir("/"); [ 109s] | ^~~~~~~~~~ [ 112s] ........................................................toys/other/readahead.c:18:9: warning: "_LARGEFILE64_SOURCE" redefined [ 112s] 18 | #define _LARGEFILE64_SOURCE // musl's _ALL_SOURCE lies, no off64_t [ 112s] | ^~~~~~~~~~~~~~~~~~~ [ 112s] : note: this is the location of the previous definition [ 112s] ...toys/other/oneit.c: In function 'oneit_main': [ 112s] toys/other/oneit.c:93:9: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 93 | (void)dup(0); [ 112s] | ^~~~~~ [ 112s] toys/other/oneit.c:95:9: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 95 | (void)dup(0); [ 112s] | ^~~~~~ [ 114s] ..................................................................toys/posix/chmod.c: In function 'chmod_main': [ 114s] toys/posix/chmod.c:92:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 92 | pipe(pp); [ 114s] | ^~~~~~~~ [ 114s] toys/pending/crontab.c: In function 'update_crontab': [ 114s] toys/pending/crontab.c:244:3: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 244 | fchown(fdout, pwd->pw_uid, pwd->pw_gid); [ 114s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 114s] toys/pending/mdev.c: In function 'make_device': [ 114s] toys/pending/mdev.c:234:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] [ 114s] 234 | else [ 114s] | ^~~~ [ 114s] toys/pending/telnetd.c: In function 'telnetd_main': [ 114s] toys/pending/mdev.c:237:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' [ 114s] 237 | if ((temp=getenv("ACTION")) && !strcmp(temp, "remove")) { [ 114s] | ^~ [ 114s] toys/pending/telnetd.c:284:19: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 284 | if (!FLAG(F)) daemon(0, 0); [ 114s] | ^~~~~~~~~~~~ [ 114s] toys/pending/getty.c: In function 'open_tty': [ 114s] toys/pending/getty.c:76:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 76 | chown(TT.tty_name, 0, 0); // change ownership, Hope login will change this [ 114s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 114s] toys/pending/fdisk.c: In function 'ask_value': [ 114s] toys/pending/fdisk.c:770:57: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] [ 114s] 770 | unsigned long unit = (disp_unit_cyl && (g_heads * g_sectors))? g_heads * g_sectors : 1; [ 114s] | ~~~~~~~~~^~~~~~~~~~~~ [ 114s] toys/other/watchdog.c: In function 'watchdog_main': [ 114s] toys/other/watchdog.c:48:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 48 | (void)write(TT.fd, "", 1); [ 114s] | ^~~~~~~~~~~~~~~~~~~ [ 114s] toys/other/watchdog.c: In function 'safe_shutdown': [ 114s] toys/other/watchdog.c:34:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 34 | (void)write(TT.fd, "V", 1); [ 114s] | ^~~~~~~~~~~~~~~~~~~~ [ 114s] toys/pending/csplit.c: In function 'cntxt': [ 114s] toys/pending/csplit.c:102:35: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 3 has type 'size_t *' {aka 'unsigned int *'} [-Wformat=] [ 114s] 102 | } else if (!sscanf(rule,"{%lu}",&TT.btc)) abrt("bad rule"); [ 114s] | ~~^ ~~~~~~~ [ 114s] | | | [ 114s] | | size_t * {aka unsigned int *} [ 114s] | long unsigned int * [ 114s] | %u [ 114s] toys/pending/csplit.c:119:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] [ 114s] 119 | toys.optargs[TT.indx] = xmprintf("{%lu}",TT.btc-1); [ 114s] | ~~^ [ 114s] | | [ 114s] | long unsigned int [ 114s] | %u [ 114s] toys/pending/csplit.c: In function 'csplit_main': [ 114s] toys/pending/csplit.c:158:33: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] [ 114s] 158 | if (!FLAG(s)) printf("%ld\n", filesize); [ 114s] | ~~^ ~~~~~~~~ [ 114s] | | | [ 114s] | | size_t {aka unsigned int} [ 114s] | long int [ 114s] | %d [ 114s] toys/pending/csplit.c:169:27: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] [ 114s] 169 | if (!FLAG(s)) printf("%ld\n", filesize); [ 114s] | ~~^ ~~~~~~~~ [ 114s] | | | [ 114s] | | size_t {aka unsigned int} [ 114s] | long int [ 114s] | %d [ 114s] toys/pending/dhcp.c: In function 'dhcp_main': [ 114s] toys/pending/dhcp.c:1346:11: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 1346 | daemon(0, 0); [ 114s] | ^~~~~~~~~~~~ [ 114s] toys/pending/dhcp.c:1483:13: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 1483 | daemon(0, 0); [ 114s] | ^~~~~~~~~~~~ [ 114s] toys/pending/dhcpd.c: In function 'dhcpd_main': [ 114s] toys/pending/dhcpd.c:1596:5: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 1596 | daemon(0, 0); [ 114s] | ^~~~~~~~~~~~ [ 114s] toys/pending/fdisk.c: In function 'ask_partition': [ 114s] toys/pending/fdisk.c:639:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 639 | fgets(toybuf, 80, stdin); [ 114s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 114s] toys/pending/dhcpd.c: In function 'write_pid': [ 114s] toys/pending/dhcpd.c:448:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 448 | write(pidfile, pidbuf, strlen(pidbuf)); [ 114s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 114s] toys/pending/fdisk.c: In function 'ask_value': [ 114s] toys/pending/fdisk.c:735:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 735 | fgets(str, 80, stdin); [ 114s] | ^~~~~~~~~~~~~~~~~~~~~ [ 114s] toys/pending/dhcp.c: In function 'write_pid': [ 114s] toys/pending/dhcp.c:357:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 357 | write(pidfile, pidbuf, strlen(pidbuf)); [ 114s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 114s] toys/pending/bootchartd.c: In function 'stop_logging': [ 114s] toys/pending/bootchartd.c:203:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] [ 114s] 203 | system(toybuf); [ 114s] | ^~~~~~~~~~~~~~ [ 122s] ......................................................toys/posix/tar.c: In function 'unpack_tar': [ 122s] toys/posix/tar.c:974:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 122s] 974 | (void)write(sefd, 0, 0); [ 122s] | ^~~~~~~~~~~~~~~~~ [ 125s] ... [ 125s] + exit 0 [ 125s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YVORi2 [ 125s] + umask 022 [ 125s] + cd /home/abuild/rpmbuild/BUILD [ 125s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/toybox-0.8.14-2.2.arm [ 125s] + /usr/lib/rpm/mkinstalldirs /home/abuild/rpmbuild/BUILDROOT/toybox-0.8.14-2.2.arm [ 125s] /var/tmp/rpm-tmp.YVORi2: line 30: /usr/lib/rpm/mkinstalldirs: No such file or directory [ 126s] error: Bad exit status from /var/tmp/rpm-tmp.YVORi2 (%install) [ 126s] [ 126s] [ 126s] RPM build errors: [ 126s] Bad exit status from /var/tmp/rpm-tmp.YVORi2 (%install) [ 126s] [ 126s] 5fd86ab509c4 failed "build toybox.spec" at Wed Oct 14 03:26:39 UTC 2026. [ 126s]