[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.22 [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 1s] [ 1s] ec712e33a0d7 started "build toybox.spec" at Thu Sep 24 14:01:11 UTC 2026. [ 1s] [ 1s] Building toybox for project 'Tizen-Base-Dev' repository 'standard' arch 'armv7l' srcmd5 'abe14ea02c8425b248603e455e39eac9' [ 1s] [ 1s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.22/.build-srcdir/toybox.spec ... [ 1s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.22/.build-srcdir/toybox.spec [ 1s] init_buildsystem --configdir /root/gbsbuild-ROOT/NGBS-ROOT/run/worker/22/build/configs --cachedir /var/cache/build --clean --rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.22/.build.rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.22/.build-srcdir/toybox.spec build ... [ 3s] registering binfmt handlers for cross build [ 4s] cycle: nss -> libsoftokn3 [ 4s] breaking dependency nss -> libsoftokn3 [ 4s] [1/45] preinstalling filesystem... [ 4s] [2/45] preinstalling libmagic-data... [ 4s] [3/45] preinstalling libncurses... [ 5s] [4/45] preinstalling glibc... [ 5s] [5/45] preinstalling libgcc... [ 6s] [6/45] preinstalling bash... [ 6s] [7/45] preinstalling diffutils... [ 6s] [8/45] preinstalling grep... [ 6s] [9/45] preinstalling libarchive-tools... [ 6s] [10/45] preinstalling libattr... [ 6s] [11/45] preinstalling libblkid... [ 6s] [12/45] preinstalling libbz2... [ 6s] [13/45] preinstalling libcap... [ 6s] [14/45] preinstalling libfreebl3... [ 6s] [15/45] preinstalling liblua... [ 7s] [16/45] preinstalling liblzma... [ 7s] [17/45] preinstalling libopenssl3... [ 7s] [18/45] preinstalling libpopt... [ 7s] [19/45] preinstalling libreadline... [ 7s] [20/45] preinstalling libsmack... [ 7s] [21/45] preinstalling libsqlite... [ 8s] [22/45] preinstalling libuuid... [ 8s] [23/45] preinstalling libxcrypt... [ 8s] [24/45] preinstalling libxml2... [ 8s] [25/45] preinstalling libzstd1... [ 8s] [26/45] preinstalling nspr... [ 8s] [27/45] preinstalling sed... [ 9s] [28/45] preinstalling toybox... [ 9s] [29/45] preinstalling zlib... [ 9s] [30/45] preinstalling qemu-accel-x86_64-armv7l... [ 36s] [31/45] preinstalling qemu-linux-user-x86_64-cross... [ 41s] [32/45] preinstalling coreutils... [ 42s] [33/45] preinstalling dash... [ 42s] [34/45] preinstalling libacl... [ 42s] [35/45] preinstalling libelf... [ 42s] [36/45] preinstalling libmount... [ 42s] [37/45] preinstalling smack... [ 42s] [38/45] preinstalling bzip2... [ 42s] [39/45] preinstalling libmagic... [ 42s] [40/45] preinstalling tar... [ 42s] [41/45] preinstalling util-linux... [ 43s] [42/45] preinstalling rpm... [ 44s] [43/45] preinstalling util-linux-su... [ 44s] [44/45] preinstalling nss... [ 44s] [45/45] preinstalling libsoftokn3... [ 45s] running qemu-linux-user-x86_64-cross postinstall script [ 45s] running qemu-accel-x86_64-armv7l postinstall script [ 45s] mv: cannot stat `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/14.2.0/liblto_plugin.so': No such file or directory [ 45s] initializing rpm db... [ 46s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 46s] breaking dependency libxcrypt-devel -> glibc-devel [ 46s] cycle: libsoftokn3 -> nss [ 46s] breaking dependency nss -> libsoftokn3 [ 46s] done [ 46s] querying package ids... [ 47s] [1/104] cumulate libmagic-data-5.46-1.10 [ 47s] [2/104] cumulate setup-0.9-1.12 [ 47s] [3/104] cumulate filesystem-3.1-1.1 [ 47s] [4/104] cumulate glibc-2.40-1.13 [ 47s] [5/104] cumulate libatomic-14.2.0-1.12 [ 47s] [6/104] cumulate libgcc-14.2.0-1.12 [ 47s] [7/104] cumulate bash-3.2.57-1.10 [ 47s] [8/104] cumulate cpio-2.8-1.1 [ 47s] [9/104] cumulate diffutils-3.10-1.1 [ 47s] [10/104] cumulate findutils-4.3.8-1.11 [ 47s] [11/104] cumulate gdbm-1.8.3-1.12 [ 47s] [12/104] cumulate hostname-3.23-1.1 [ 47s] [13/104] cumulate libattr-2.5.1-1.11 [ 47s] [14/104] cumulate libblkid-2.41.2-1.6 [ 47s] [15/104] cumulate libbz2-1.0.8-1.11 [ 47s] [16/104] cumulate libcap-2.73-1.11 [ 47s] [17/104] cumulate libfreebl3-3.109-1.3 [ 47s] [18/104] cumulate libgfortran-14.2.0-1.12 [ 47s] [19/104] cumulate libgomp-14.2.0-1.12 [ 47s] [20/104] cumulate libitm-14.2.0-1.12 [ 47s] [21/104] cumulate libltdl-2.5.4-1.12 [ 47s] [22/104] cumulate liblua-5.1.5-1.12 [ 47s] [23/104] cumulate liblzma-5.8.1-1.12 [ 47s] [24/104] cumulate libopenssl3-3.5.5-1.12 [ 47s] [25/104] cumulate libpcre-8.45-1.14 [ 47s] [26/104] cumulate libpopt-1.16-1.10 [ 47s] [27/104] cumulate libsmack-1.3.1-1.10 [ 47s] [28/104] cumulate libsmartcols-2.41.2-1.6 [ 47s] [29/104] cumulate libsqlite-3.51.0-1.12 [ 47s] [30/104] cumulate libstdc++-14.2.0-1.12 [ 47s] [31/104] cumulate libuuid-2.41.2-1.6 [ 47s] [32/104] cumulate libxcrypt-4.4.36-1.12 [ 47s] [33/104] cumulate libxml2-2.15.1-1.12 [ 47s] [34/104] cumulate libzstd1-1.5.7-1.11 [ 47s] [35/104] cumulate m4-1.4.20-1.1 [ 47s] [36/104] cumulate net-tools-2.0_20121208git-1.8 [ 47s] [37/104] cumulate nspr-4.36-1.4 [ 47s] [38/104] cumulate patch-2.8-1.10 [ 47s] [39/104] cumulate pkg-config-0.29.2-1.11 [ 47s] [40/104] cumulate sed-4.1c-1.10 [ 47s] [41/104] cumulate toybox-0.6.0-1.3 [ 47s] [42/104] cumulate update-alternatives-1.22.21-1.1 [ 47s] [43/104] cumulate which-2.17-1.1 [ 47s] [44/104] cumulate zlib-1.3.1-1.11 [ 47s] [45/104] cumulate app-rootstrap-checker-1.0.0-1.1 [ 47s] [46/104] cumulate build-compare-2023.06.18-1.4 [ 47s] [47/104] cumulate hal-rootstrap-checker-1.0.0-4.1 [ 47s] [48/104] cumulate libstdc++-devel-14.2.0-1.12 [ 47s] [49/104] cumulate qemu-linux-user-x86_64-cross-9.2.3.1-3.4 [ 47s] [50/104] cumulate cpp-14.2.0-1.12 [ 47s] [51/104] cumulate gcc-c++-14.2.0-1.12 [ 47s] [52/104] cumulate smack-devel-1.3.1-1.10 [ 47s] [53/104] cumulate binutils-libs-2.43-1.12 [ 47s] [54/104] cumulate coreutils-6.9-14.3 [ 47s] [55/104] cumulate dash-0.5.13.4-1.1 [ 47s] [56/104] cumulate gawk-3.1.5-1.1 [ 47s] [57/104] cumulate grep-2.5.2-1.13 [ 47s] [58/104] cumulate libacl-2.3.2-1.11 [ 47s] [59/104] cumulate libcc1-14.2.0-1.12 [ 47s] [60/104] cumulate libelf-0.189-1.12 [ 47s] [61/104] cumulate liblastlog2-2.41.2-1.6 [ 47s] [62/104] cumulate libmount-2.41.2-1.6 [ 47s] [63/104] cumulate make-4.4.1-1.12 [ 47s] [64/104] cumulate nss-certs-3.109-1.3 [ 47s] [65/104] cumulate smack-1.3.1-1.10 [ 47s] [66/104] cumulate bzip2-1.0.8-1.11 [ 47s] [67/104] cumulate libfdisk-2.41.2-1.6 [ 47s] [68/104] cumulate libmagic-5.46-1.10 [ 47s] [69/104] cumulate xz-5.8.1-1.12 [ 47s] [70/104] cumulate perl-5.42.0-1.11 [ 47s] [71/104] cumulate build-mkbaselibs-20120927-1.1 [ 47s] [72/104] cumulate linux-glibc-devel-6.6-1.12 [ 47s] [73/104] cumulate terminfo-base-full-6.6-1.6 [ 47s] [74/104] cumulate autoconf-2.71-1.12 [ 47s] [75/104] cumulate file-5.46-1.10 [ 47s] [76/104] cumulate glibc-locale-2.40-1.13 [ 47s] [77/104] cumulate tar-1.17-1.1 [ 47s] [78/104] cumulate binutils-2.43-1.12 [ 47s] [79/104] cumulate gzip-1.3.12-1.10 [ 47s] [80/104] cumulate pam-1.1.6-1.8 [ 47s] [81/104] cumulate tzdata-2025b-1.1 [ 47s] [82/104] cumulate libdw-0.189-1.12 [ 47s] [83/104] cumulate gcc-14.2.0-1.12 [ 47s] [84/104] cumulate libarchive-3.8.1-1.6 [ 47s] [85/104] cumulate qemu-accel-x86_64-armv7l-0.4-1.3 [ 47s] [86/104] cumulate automake-1.16.5-1.12 [ 47s] [87/104] cumulate libarchive-tools-3.8.1-1.6 [ 47s] [88/104] cumulate libasm-0.189-1.12 [ 47s] [89/104] cumulate libncurses6-6.6-1.6 [ 47s] [90/104] cumulate rpm-4.14.1.1-1.7 [ 47s] [91/104] cumulate libncurses-6.6-1.6 [ 47s] [92/104] cumulate less-685-1.1 [ 47s] [93/104] cumulate libreadline-5.2-1.11 [ 47s] [94/104] cumulate libtool-2.5.4-1.12 [ 47s] [95/104] cumulate build-20120927-1.1 [ 47s] [96/104] cumulate elfutils-0.189-1.12 [ 47s] [97/104] cumulate util-linux-2.41.2-1.6 [ 47s] [98/104] cumulate util-linux-su-2.41.2-1.6 [ 47s] [99/104] cumulate libxcrypt-devel-4.4.36-1.12 [ 47s] [100/104] cumulate nss-3.109-1.3 [ 47s] [101/104] cumulate glibc-devel-2.40-1.13 [ 47s] [102/104] cumulate libsoftokn3-3.109-1.3 [ 47s] [103/104] cumulate libattr-devel-2.5.1-1.11 [ 47s] [104/104] cumulate rpm-build-4.14.1.1-1.7 [ 47s] now installing cumulated packages [ 48s] Preparing... ######################################## [ 48s] Updating / installing... [ 48s] setup-0.9-1.12 ##############warning: /etc/profile created as /etc/profile.rpmnew [ 48s] ########################## [ 48s] filesystem-3.1-1.1 ######################################## [ 48s] libmagic-data-5.46-1.10 ######################################## [ 48s] glibc-2.40-1.13 ######################################## [ 49s] libgcc-14.2.0-1.12 ######################################## [ 49s] bash-3.2.57-1.10 ######################################## [ 49s] zlib-1.3.1-1.11 ######################################## [ 49s] coreutils-6.9-14.3 ######################################## [ 49s] libbz2-1.0.8-1.11 ######################################## [ 49s] libstdc++-14.2.0-1.12 ######################################## [ 49s] libelf-0.189-1.12 ######################################## [ 50s] liblzma-5.8.1-1.12 ######################################## [ 50s] libdw-0.189-1.12 ######################################## [ 50s] libxcrypt-4.4.36-1.12 ######################################## [ 50s] libmagic-5.46-1.10 ######################################## [ 50s] libblkid-2.41.2-1.6 ######################################## [ 51s] libopenssl3-3.5.5-1.12 ######################################## [ 51s] nspr-4.36-1.4 ######################################## [ 51s] pkg-config-0.29.2-1.11 ######################################## [ 51s] pam-1.1.6-1.8 ######################################## [ 52s] libattr-2.5.1-1.11 ######################################## [ 52s] libacl-2.3.2-1.11 ######################################## [ 52s] libcap-2.73-1.11 ######################################## [ 52s] libfreebl3-3.109-1.3 ######################################## [ 53s] liblua-5.1.5-1.12 ######################################## [ 53s] libpopt-1.16-1.10 ######################################## [ 53s] libsmack-1.3.1-1.10 ######################################## [ 53s] libsqlite-3.51.0-1.12 ######################################## [ 53s] libuuid-2.41.2-1.6 ######################################## [ 54s] libzstd1-1.5.7-1.11 ######################################## [ 55s] linux-glibc-devel-6.6-1.12 ######################################## [ 55s] libxcrypt-devel-4.4.36-1.12 ######################################## [ 55s] glibc-devel-2.40-1.13 ######################################## [ 55s] terminfo-base-full-6.6-1.6 ######################################## [ 55s] libncurses6-6.6-1.6 ######################################## [ 55s] libreadline-5.2-1.11 ######################################## [ 56s] libfdisk-2.41.2-1.6 ######################################## [ 56s] liblastlog2-2.41.2-1.6 ######################################## [ 56s] nss-certs-3.109-1.3 ######################################## [ 56s] libsoftokn3-3.109-1.3 ######################################## [ 56s] nss-3.109-1.3 ######################################## [ 57s] libmount-2.41.2-1.6 ######################################## [ 57s] libasm-0.189-1.12 ######################################## [ 57s] xz-5.8.1-1.12 ######################################## [ 57s] libcc1-14.2.0-1.12 ######################################## [ 57s] bzip2-1.0.8-1.11 ######################################## [ 57s] gzip-1.3.12-1.10 ######################################## [ 57s] binutils-libs-2.43-1.12 ######################################## [ 58s] binutils-2.43-1.12 ######################################## [ 58s] make-4.4.1-1.12 ######################################## [ 58s] findutils-4.3.8-1.11 ######################################## [ 58s] gdbm-1.8.3-1.12 ######################################## [ 61s] perl-5.42.0-1.11 ######################################## [ 61s] build-mkbaselibs-20120927-1.1 ######################################## [ 61s] libgfortran-14.2.0-1.12 ######################################## [ 61s] libgomp-14.2.0-1.12 ######################################## [ 61s] libitm-14.2.0-1.12 ######################################## [ 61s] libltdl-2.5.4-1.12 ######################################## [ 62s] libpcre-8.45-1.14 ######################################## [ 62s] libsmartcols-2.41.2-1.6 ######################################## [ 62s] libxml2-2.15.1-1.12 ######################################## [ 62s] libarchive-3.8.1-1.6 ######################################## [ 63s] libarchive-tools-3.8.1-1.6 ######################################## [ 64s] rpm-4.14.1.1-1.7 ######################################## [ 64s] m4-1.4.20-1.1 ######################################## [ 64s] autoconf-2.71-1.12 ######################################## [ 64s] automake-1.16.5-1.12 ######################################## [ 64s] patch-2.8-1.10 ######################################## [ 64s] sed-4.1c-1.10 ######################################## [ 65s] util-linux-2.41.2-1.6 ######################################## [ 65s] libatomic-14.2.0-1.12 ######################################## [ 65s] libtool-2.5.4-1.12 ######################################## [ 66s] build-20120927-1.1 ######################################## [ 66s] libncurses-6.6-1.6 ######################################## [ 66s] libattr-devel-2.5.1-1.11 ######################################## [ 66s] smack-devel-1.3.1-1.10 ######################################## [ 67s] libstdc++-devel-14.2.0-1.12 ######################################## [ 67s] app-rootstrap-checker-1.0.0-1.1 ######################################## [ 67s] build-compare-2023.06.18-1.4 ######################################## [ 67s] hal-rootstrap-checker-1.0.0-4.1 ######################################## [ 73s] qemu-linux-user-x86_64-cross-9.2.3.1-3######################################## [ 78s] gcc-14.2.0-1.12 ######################################## [ 105s] qemu-accel-x86_64-armv7l-0.4-1.3 ######################################## [ 106s] util-linux-su-2.41.2-1.6 ######################################## [ 106s] rpm-build-4.14.1.1-1.7 ######################################## [ 106s] grep-2.5.2-1.13 ######################################## [ 106s] elfutils-0.189-1.12 ######################################## [ 106s] less-685-1.1 ######################################## [ 106s] smack-1.3.1-1.10 ######################################## [ 106s] tar-1.17-1.1 ######################################## [ 106s] file-5.46-1.10 ######################################## [ 107s] glibc-locale-2.40-1.13 ######################################## [ 107s] tzdata-2025b-1.1 ######################################## [ 108s] cpp-14.2.0-1.12 ######################################## [ 109s] gcc-c++-14.2.0-1.12 ######################################## [ 109s] dash-0.5.13.4-1.1 ######################################## [ 109s] gawk-3.1.5-1.1 ######################################## [ 109s] cpio-2.8-1.1 ######################################## [ 109s] diffutils-3.10-1.1 ######################################## [ 109s] hostname-3.23-1.1 ######################################## [ 109s] net-tools-2.0_20121208git-1.8 ######################################## [ 109s] toybox-0.6.0-1.3 ######################################## [ 109s] update-alternatives-1.22.21-1.1 ######################################## [ 109s] which-2.17-1.1 ######################################## [ 110s] now finalizing build dir... [ 111s] ----------------------------------------------------------------- [ 111s] I have the following modifications for toybox.spec: [ 111s] 4c4 [ 111s] < Release: 1%{?dist} [ 111s] --- [ 111s] > Release: 1.4 [ 111s] build target is armv7l-tizen-linux [ 111s] ----------------------------------------------------------------- [ 111s] ----- building toybox.spec (user abuild) [ 111s] ----------------------------------------------------------------- [ 111s] ----------------------------------------------------------------- [ 112s] + 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/abe14ea02c8425b248603e455e39eac9-toybox' /home/abuild/rpmbuild/SOURCES/toybox.spec [ 112s] Building target platforms: armv7l-tizen-linux [ 112s] Building for target armv7l-tizen-linux [ 112s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rln7G7 [ 112s] + umask 022 [ 112s] + cd /home/abuild/rpmbuild/BUILD [ 112s] + cd /home/abuild/rpmbuild/BUILD [ 112s] + rm -rf toybox-0.6.0 [ 112s] + /bin/tar -xof - [ 112s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/toybox-0.6.0.tar.bz2 [ 112s] + STATUS=0 [ 112s] + '[' 0 -ne 0 ']' [ 112s] + cd toybox-0.6.0 [ 112s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 112s] + echo 'Patch #0 (9952df6-to-9035494.diff):' [ 112s] Patch #0 (9952df6-to-9035494.diff): [ 112s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 112s] patching file .hg_archival.txt [ 112s] patching file .hgtags [ 112s] patching file Config.in [ 112s] patching file LICENSE.BSD [ 112s] patching file lib/lib.c [ 112s] patching file lib/lib.h [ 112s] patching file lib/net.c [ 112s] patching file lib/portability.c [ 112s] patching file lib/xwrap.c [ 112s] patching file main.c [ 112s] patching file scripts/make.sh [ 112s] patching file scripts/mkflags.c [ 112s] patching file tests/sed.test [ 112s] patching file toys.h [ 112s] patching file toys/other/acpi.c [ 112s] patching file toys/other/blkid.c [ 112s] patching file toys/other/bzcat.c [ 112s] patching file toys/other/chcon.c [ 112s] patching file toys/other/hexedit.c [ 112s] patching file toys/other/login.c [ 112s] patching file toys/other/lspci.c [ 112s] patching file toys/other/nbd_client.c [ 112s] patching file toys/other/netcat.c [ 112s] patching file toys/other/reboot.c [ 112s] patching file toys/other/rev.c [ 112s] patching file toys/other/switch_root.c [ 112s] patching file toys/other/tac.c [ 112s] patching file toys/other/taskset.c [ 112s] patching file toys/other/vmstat.c [ 112s] patching file toys/pending/dd.c [ 112s] patching file toys/pending/dhcp.c [ 112s] patching file toys/pending/dhcpd.c [ 112s] patching file toys/pending/init.c [ 112s] patching file toys/pending/log.h [ 112s] patching file toys/pending/mdev.c [ 112s] patching file toys/pending/modprobe.c [ 112s] patching file toys/pending/ping.c [ 112s] patching file toys/pending/telnet.c [ 112s] patching file toys/pending/telnetd.c [ 112s] patching file toys/posix/cal.c [ 112s] patching file toys/posix/chmod.c [ 112s] patching file toys/posix/cmp.c [ 112s] patching file toys/posix/date.c [ 112s] patching file toys/posix/du.c [ 112s] patching file toys/posix/find.c [ 112s] patching file toys/posix/id.c [ 112s] patching file toys/posix/ls.c [ 112s] patching file toys/posix/nl.c [ 112s] patching file toys/posix/split.c [ 112s] patching file toys/posix/strings.c [ 112s] patching file toys/samsung/README [ 112s] patching file toys/samsung/nslookup.c [ 112s] patching file toys/samsung/ping.c [ 112s] patching file www/news.html [ 112s] + echo 'Patch #1 (0002-Remove-dlog-dependency-from-dhcp-dhcpd.patch):' [ 112s] Patch #1 (0002-Remove-dlog-dependency-from-dhcp-dhcpd.patch): [ 112s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 112s] patching file toys/pending/dhcp.c [ 112s] patching file toys/pending/dhcpd.c [ 112s] patching file toys/pending/log.h [ 112s] + echo 'Patch #2 (0003-fix-detect-build-errors-without-relying-on-wait-exit.patch):' [ 112s] Patch #2 (0003-fix-detect-build-errors-without-relying-on-wait-exit.patch): [ 112s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 112s] patching file scripts/make.sh [ 112s] + exit 0 [ 112s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pU6GXC [ 112s] + umask 022 [ 112s] + cd /home/abuild/rpmbuild/BUILD [ 112s] + 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' [ 112s] + export CFLAGS [ 112s] + 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' [ 112s] + export CXXFLAGS [ 112s] + LDFLAGS= [ 112s] + export LDFLAGS [ 112s] + cd toybox-0.6.0 [ 112s] + ref=/usr/lib/rpm [ 112s] + mints=0 [ 112s] + case $(uname -m) in [ 112s] ++ uname -m [ 112s] + for s in guess sub [ 112s] ++ find -maxdepth 8 -name config.guess [ 112s] + for s in guess sub [ 112s] ++ find -maxdepth 8 -name config.sub [ 112s] + cp /home/abuild/rpmbuild/SOURCES/toybox.manifest . [ 112s] + cp /home/abuild/rpmbuild/SOURCES/config .config [ 112s] + export CC=gcc [ 112s] + CC=gcc [ 112s] + make -j 4 'CC+= -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' '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' [ 112s] scripts/genconfig.sh [ 115s] scripts/make.sh [ 115s] Generate headers from toys/*/*.c... [ 116s] generated/newtoys.h Library probe....... [ 117s] Make generated/config.h from .config. [ 120s] generated/flags.h generated/globals.h generated/help.h [ 121s] Compile toybox..................lib/lib.c: In function 'mode_to_string': [ 121s] lib/lib.c:785:16: warning: array subscript has type 'char' [-Wchar-subscripts] [ 121s] 785 | c = "tss"[d]; [ 121s] | ^ [ 121s] lib/lib.c:787:27: warning: array subscript has type 'char' [-Wchar-subscripts] [ 121s] 787 | } else c = bit ? "xwr"[c] : '-'; [ 121s] | ^ [ 121s] toys/pending/dhcpd.c: In function 'send_packet6': [ 121s] toys/pending/dhcpd.c:896:47: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'unsigned char *' as the destination; expected 'unsigned char' or an explicit length [-Wsizeof-pointer-memaccess] [ 121s] 896 | memcpy(dest_sll.sll_addr, client_lla, sizeof(client_lla)); [ 121s] | ^ [ 121s] toys/pending/dhcpd.c:906:36: warning: taking address of packed member of 'struct dhcp6_raw_s' may result in an unaligned pointer value [-Waddress-of-packed-member] [ 121s] 906 | ntohl6(packet.iph.ip6_dst.__in6_u.__u6_addr32,packet.iph.ip6_dst.__in6_u.__u6_addr32); [ 121s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 121s] toys/pending/dhcpd.c:906:75: warning: taking address of packed member of 'struct dhcp6_raw_s' may result in an unaligned pointer value [-Waddress-of-packed-member] [ 121s] 906 | ntohl6(packet.iph.ip6_dst.__in6_u.__u6_addr32,packet.iph.ip6_dst.__in6_u.__u6_addr32); [ 121s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 121s] toys/pending/dhcpd.c:913:36: warning: taking address of packed member of 'struct dhcp6_raw_s' may result in an unaligned pointer value [-Waddress-of-packed-member] [ 121s] 913 | htonl6(packet.iph.ip6_dst.__in6_u.__u6_addr32,packet.iph.ip6_dst.__in6_u.__u6_addr32); [ 121s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 121s] toys/pending/dhcpd.c:913:75: warning: taking address of packed member of 'struct dhcp6_raw_s' may result in an unaligned pointer value [-Waddress-of-packed-member] [ 121s] 913 | htonl6(packet.iph.ip6_dst.__in6_u.__u6_addr32,packet.iph.ip6_dst.__in6_u.__u6_addr32); [ 121s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 122s] toys/pending/dhcpd.c: In function 'getip6_from_pool': [ 122s] toys/pending/dhcpd.c:1562:10: warning: function returns address of local variable [-Wreturn-local-addr] [ 122s] 1562 | return nip6; [ 122s] | ^~~~ [ 122s] toys/pending/dhcpd.c: In function 'dhcpd_main': [ 122s] toys/pending/dhcpd.c:1778:13: warning: the comparison will always evaluate as 'true' for the address of 'transaction_id' will never be NULL [-Waddress] [ 122s] 1778 | if (!gstate.rcvd.rcvd_pkt6.transaction_id || [ 122s] | ^ [ 122s] toys/pending/dhcpd.c:158:11: note: 'transaction_id' declared here [ 122s] 158 | uint8_t transaction_id[3]; [ 122s] | ^~~~~~~~~~~~~~ [ 122s] toys/pending/dhcpd.c:1811:21: warning: taking address of packed member of 'struct optval_ia_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] [ 122s] 1811 | &(*ia_addr_p).pref_lifetime), sizeof(uint32_t)*4); [ 122s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 122s] toys/pending/dhcpd.c:1939:49: warning: taking address of packed member of 'struct optval_ia_addr' may result in an unaligned pointer value [-Waddress-of-packed-member] [ 122s] 1939 | if(verifyip6_in_lease((*ia_addr_p).ipv6_addr, client_duid, [ 122s] | ~~~~~~~~~~~~^~~~~~~~~~ [ 122s] toys/pending/dhcpd.c:1758:30: warning: unused variable 'server_ia_pd' [-Wunused-variable] [ 122s] 1758 | *client_ia_pd, *server_ia_pd; [ 122s] | ^~~~~~~~~~~~ [ 122s] toys/pending/dhcpd.c:1636:12: warning: unused variable 'requested_nip6' [-Wunused-variable] [ 122s] 1636 | uint32_t requested_nip6[4] = {0,}; [ 122s] | ^~~~~~~~~~~~~~ [ 122s] toys/pending/dhcpd.c:1644:5: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 122s] 1644 | daemon(0,0); [ 122s] | ^~~~~~~~~~~ [ 122s] toys/pending/dhcpd.c: In function 'write_pid': [ 122s] toys/pending/dhcpd.c:488:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 122s] 488 | write(pidfile, pidbuf, strlen(pidbuf)); [ 122s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 122s] toys/pending/traceroute.c: In function 'traceroute_main': [ 122s] toys/pending/traceroute.c:480:12: warning: variable 'opt_len' set but not used [-Wunused-but-set-variable] [ 122s] 480 | unsigned opt_len = 0, pack_size = 0, tyser = 0; [ 122s] | ^~~~~~~ [ 122s] toys/pending/dhcp.c: In function 'dhcp_main': [ 122s] toys/pending/dhcp.c:1369:11: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 122s] 1369 | daemon(0, 0); [ 122s] | ^~~~~~~~~~~~ [ 122s] toys/pending/dhcp.c:1506:13: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 122s] 1506 | daemon(0, 0); [ 122s] | ^~~~~~~~~~~~ [ 122s] toys/pending/dhcp.c: In function 'write_pid': [ 122s] toys/pending/dhcp.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 122s] 362 | write(pidfile, pidbuf, strlen(pidbuf)); [ 122s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 123s] ... [ 123s] + cp toybox toybox-dynamic [ 123s] + cp /home/abuild/rpmbuild/SOURCES/config-full .config [ 123s] + make -j 4 'CC+= -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' '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' [ 123s] scripts/make.sh [ 123s] Generate headers from toys/*/*.c... [ 124s] Make generated/config.h from .config. [ 124s] generated/flags.h generated/help.h [ 126s] Compile toybox.................................................................................................................................................toys/pending/top.c: In function 'read_stat': [ 126s] toys/pending/top.c:101:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 126s] 101 | fgets(toybuf, sizeof(toybuf), file); [ 126s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 126s] toys/pending/crontab.c: In function 'update_crontab': [ 126s] toys/pending/crontab.c:239:3: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] [ 126s] 239 | fchown(fdout, getuid(), geteuid()); [ 126s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 126s] toys/pending/ps.c: In function 'do_ps': [ 126s] toys/pending/ps.c:133:44: warning: array subscript has type 'char' [-Wchar-subscripts] [ 126s] 133 | slot[((char[]){0,2,16,17,22})[i]]>>(((1<5) out -= oldptr[order[i]]; [ 126s] | ~~~~~^~~ [ 126s] toys/pending/crond.c: In function 'crond_main': [ 126s] toys/pending/crond.c:643:31: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 126s] 643 | if (toys.optflags & FLAG_b) daemon(0,0); [ 126s] | ^~~~~~~~~~~ [ 126s] toys/pending/bootchartd.c: In function 'stop_logging': [ 126s] toys/pending/bootchartd.c:244:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] [ 126s] 244 | system(toybuf); [ 126s] | ^~~~~~~~~~~~~~ [ 126s] toys/pending/getty.c: In function 'open_tty': [ 126s] toys/pending/getty.c:137:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] [ 126s] 137 | chown(TT.tty_name, 0, 0); // change ownership, Hope login will change this [ 126s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 126s] toys/pending/top.c: In function 'read_cmdline': [ 126s] toys/pending/top.c:171:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 512 [-Wformat-truncation=] [ 126s] 171 | snprintf(proc->name, PROC_NAME_LEN, "%s", toybuf); [ 126s] | ^~ ~~~~~~ [ 126s] In file included from /usr/include/stdio.h:970, [ 126s] from ./toys.h:29, [ 126s] from toys/pending/top.c:35: [ 126s] In function 'snprintf', [ 126s] inlined from 'read_cmdline' at toys/pending/top.c:171:3: [ 126s] /usr/include/bits/stdio2.h:68:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 512 [ 126s] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 126s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 126s] 69 | __glibc_objsize (__s), __fmt, [ 126s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 126s] 70 | __va_arg_pack ()); [ 126s] | ~~~~~~~~~~~~~~~~~ [ 127s] toys/pending/telnetd.c: In function 'telnetd_main': [ 127s] toys/pending/fdisk.c: In function 'ask_value': [ 127s] toys/pending/fdisk.c:770:57: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] [ 127s] 770 | unsigned long unit = (disp_unit_cyl && (g_heads * g_sectors))? g_heads * g_sectors : 1; [ 127s] | ~~~~~~~~~^~~~~~~~~~~~ [ 127s] toys/pending/telnetd.c:320:36: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 127s] 320 | if (!(toys.optflags & FLAG_F)) daemon(0, 0); [ 127s] | ^~~~~~~~~~~~ [ 127s] toys/pending/fdisk.c: In function 'read_and_print_parts': [ 127s] toys/pending/fdisk.c:1450:27: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] [ 127s] 1450 | memset(name, 0, sizeof(name)); [ 127s] | ^ [ 127s] toys/pending/fdisk.c: In function 'ask_partition': [ 127s] toys/pending/fdisk.c:639:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 127s] 639 | fgets(toybuf, 80, stdin); [ 127s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] toys/pending/fdisk.c: In function 'ask_value': [ 127s] toys/pending/fdisk.c:735:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 127s] 735 | fgets(str, 80, stdin); [ 127s] | ^~~~~~~~~~~~~~~~~~~~~ [ 127s] toys/pending/dd.c: In function 'do_dd': [ 127s] toys/pending/dd.c:234:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] [ 127s] 234 | ftruncate(out.fd, (off_t)out.offset * out.sz); [ 127s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] In file included from /usr/include/string.h:548, [ 127s] from ./toys.h:31, [ 127s] from toys/pending/host.c:25: [ 127s] In function 'strcpy', [ 127s] inlined from 'host_main' at toys/pending/host.c:97:7: [ 127s] /usr/include/bits/string_fortified.h:81:10: warning: '__builtin_memcpy' offset [64, 72] is out of the bounds [0, 64] of object 'ptrbuf' with type 'char[64]' [-Warray-bounds=] [ 127s] 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); [ 127s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] toys/pending/host.c: In function 'host_main': [ 127s] toys/pending/host.c:74:50: note: 'ptrbuf' declared here [ 127s] 74 | char *name, *nsname, rrname[256], plname[640], ptrbuf[64]; [ 127s] | ^~~~~~ [ 127s] toys/pending/compress.c: In function 'len2huff': [ 127s] toys/pending/compress.c:268:46: warning: array subscript has type 'char' [-Wchar-subscripts] [ 127s] 268 | for (i = 0; ilength[bitlen[i]]++; [ 127s] | ~~~~~~^~~ [ 127s] toys/pending/compress.c:274:68: warning: array subscript has type 'char' [-Wchar-subscripts] [ 127s] 274 | for (i = 0; isymbol[offset[bitlen[i]]++] = i; [ 127s] | ~~~~~~^~~ [ 127s] toys/pending/netstat.c: In function 'display_routes': [ 127s] toys/pending/netstat.c:532:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 127s] 532 | fgets(toybuf, sizeof(toybuf), fp); //skip 1st line. [ 127s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] toys/pending/netstat.c: In function 'show_ipv4': [ 127s] toys/pending/netstat.c:271:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 127s] 271 | fgets(toybuf, sizeof(toybuf), fp); //skip header. [ 127s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] toys/pending/netstat.c: In function 'show_ipv6': [ 127s] toys/pending/netstat.c:298:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 127s] 298 | fgets(toybuf, sizeof(toybuf), fp); //skip header. [ 127s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] toys/pending/netstat.c: In function 'show_unix_sockets': [ 127s] toys/pending/netstat.c:325:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 127s] 325 | fgets(toybuf, sizeof(toybuf), fp); //skip header. [ 127s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 127s] toys/pending/compress.c: In function 'inflate': [ 127s] toys/pending/compress.c:354:53: warning: array subscript has type 'char' [-Wchar-subscripts] [ 127s] 354 | for (i=0; i