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