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