[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9 [ 1s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 1s] [ 1s] [ 1s] 699791b46688 started "build toybox.spec" at Thu Oct 1 19:18:10 UTC 2026. [ 1s] [ 1s] Building toybox for project 'Tizen-Base-Dev' repository 'standard' arch 'x86_64' srcmd5 'abe14ea02c8425b248603e455e39eac9' [ 1s] [ 1s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9/.build-srcdir/toybox.spec ... [ 1s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9/.build-srcdir/toybox.spec [ 1s] init_buildsystem --configdir /root/gbsbuild-ROOT/NGBS-ROOT/run/worker/9/build/configs --cachedir /var/cache/build --clean --rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9/.build.rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9/.build-srcdir/toybox.spec build ... [ 5s] cycle: nss -> libsoftokn3 [ 5s] breaking dependency nss -> libsoftokn3 [ 5s] [1/40] preinstalling filesystem... [ 5s] [2/40] preinstalling libmagic-data... [ 6s] [3/40] preinstalling libncurses... [ 6s] [4/40] preinstalling glibc... [ 8s] [5/40] preinstalling bash... [ 8s] [6/40] preinstalling diffutils... [ 8s] [7/40] preinstalling grep... [ 8s] [8/40] preinstalling libarchive-tools... [ 8s] [9/40] preinstalling libattr... [ 8s] [10/40] preinstalling libbz2... [ 8s] [11/40] preinstalling libcap... [ 9s] [12/40] preinstalling libfreebl3... [ 9s] [13/40] preinstalling libgcc... [ 9s] [14/40] preinstalling liblua... [ 10s] [15/40] preinstalling liblzma... [ 10s] [16/40] preinstalling libopenssl3... [ 10s] [17/40] preinstalling libpopt... [ 10s] [18/40] preinstalling libreadline... [ 10s] [19/40] preinstalling libsmack... [ 10s] [20/40] preinstalling libsqlite... [ 11s] [21/40] preinstalling libxcrypt... [ 11s] [22/40] preinstalling libxml2... [ 11s] [23/40] preinstalling libzstd1... [ 12s] [24/40] preinstalling nspr... [ 12s] [25/40] preinstalling sed... [ 12s] [26/40] preinstalling toybox... [ 12s] [27/40] preinstalling zlib... [ 12s] [28/40] preinstalling coreutils... [ 13s] [29/40] preinstalling dash... [ 13s] [30/40] preinstalling libacl... [ 13s] [31/40] preinstalling libelf... [ 13s] [32/40] preinstalling smack... [ 13s] [33/40] preinstalling bzip2... [ 13s] [34/40] preinstalling libmagic... [ 13s] [35/40] preinstalling util-linux... [ 14s] [36/40] preinstalling tar... [ 14s] [37/40] preinstalling util-linux-su... [ 14s] [38/40] preinstalling rpm... [ 16s] [39/40] preinstalling nss... [ 16s] [40/40] preinstalling libsoftokn3... [ 17s] initializing rpm db... [ 18s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 18s] breaking dependency libxcrypt-devel -> glibc-devel [ 18s] cycle: libsoftokn3 -> nss [ 18s] breaking dependency nss -> libsoftokn3 [ 18s] done [ 18s] querying package ids... [ 19s] [1/103] cumulate libmagic-data-5.46-1.5 [ 19s] [2/103] cumulate setup-0.9-1.6 [ 19s] [3/103] cumulate filesystem-3.1-1.1 [ 19s] [4/103] cumulate glibc-2.40-1.6 [ 19s] [5/103] cumulate bash-3.2.57-1.6 [ 19s] [6/103] cumulate cpio-2.8-1.1 [ 19s] [7/103] cumulate diffutils-3.10-1.1 [ 19s] [8/103] cumulate findutils-4.3.8-1.6 [ 19s] [9/103] cumulate gdbm-1.8.3-1.6 [ 19s] [10/103] cumulate hostname-3.23-1.1 [ 19s] [11/103] cumulate libatomic-14.2.0-1.6 [ 19s] [12/103] cumulate libattr-2.5.1-1.6 [ 19s] [13/103] cumulate libblkid-2.41.2-1.5 [ 19s] [14/103] cumulate libbz2-1.0.8-1.6 [ 19s] [15/103] cumulate libcap-2.73-1.5 [ 19s] [16/103] cumulate libfreebl3-3.109-1.5 [ 19s] [17/103] cumulate libgcc-14.2.0-1.6 [ 19s] [18/103] cumulate libgomp-14.2.0-1.6 [ 19s] [19/103] cumulate libitm-14.2.0-1.6 [ 19s] [20/103] cumulate libltdl-2.5.4-1.6 [ 19s] [21/103] cumulate liblua-5.1.5-1.5 [ 19s] [22/103] cumulate liblzma-5.8.1-1.6 [ 19s] [23/103] cumulate libopenssl3-3.5.5-1.5 [ 19s] [24/103] cumulate libpcre-8.45-1.5 [ 19s] [25/103] cumulate libpopt-1.16-1.5 [ 19s] [26/103] cumulate libquadmath-14.2.0-1.6 [ 19s] [27/103] cumulate libsmack-1.3.1-1.5 [ 19s] [28/103] cumulate libsmartcols-2.41.2-1.5 [ 19s] [29/103] cumulate libsqlite-3.51.0-1.6 [ 19s] [30/103] cumulate libuuid-2.41.2-1.5 [ 19s] [31/103] cumulate libxcrypt-4.4.36-1.6 [ 19s] [32/103] cumulate libxml2-2.15.1-1.6 [ 19s] [33/103] cumulate libzstd1-1.5.7-1.5 [ 19s] [34/103] cumulate m4-1.4.20-1.1 [ 19s] [35/103] cumulate net-tools-2.0_20121208git-1.5 [ 19s] [36/103] cumulate nspr-4.36-1.1 [ 19s] [37/103] cumulate patch-2.8-1.5 [ 19s] [38/103] cumulate pkg-config-0.29.2-1.6 [ 19s] [39/103] cumulate sed-4.1c-1.5 [ 19s] [40/103] cumulate toybox-0.6.0-1.5 [ 19s] [41/103] cumulate update-alternatives-1.22.21-1.1 [ 19s] [42/103] cumulate which-2.17-1.1 [ 19s] [43/103] cumulate zlib-1.3.1-1.6 [ 19s] [44/103] cumulate app-rootstrap-checker-1.0.0-1.1 [ 19s] [45/103] cumulate build-compare-2023.06.18-1.1 [ 19s] [46/103] cumulate hal-rootstrap-checker-1.0.0-4.1 [ 19s] [47/103] cumulate binutils-libs-2.43-1.6 [ 19s] [48/103] cumulate coreutils-6.9-14.5 [ 19s] [49/103] cumulate cpp-14.2.0-1.6 [ 19s] [50/103] cumulate dash-0.5.13.4-1.1 [ 19s] [51/103] cumulate gawk-3.1.5-1.1 [ 19s] [52/103] cumulate gcc-c++-14.2.0-1.6 [ 19s] [53/103] cumulate grep-2.5.2-1.5 [ 19s] [54/103] cumulate libacl-2.3.2-1.6 [ 19s] [55/103] cumulate libelf-0.189-1.6 [ 19s] [56/103] cumulate libgfortran-14.2.0-1.6 [ 19s] [57/103] cumulate liblastlog2-2.41.2-1.5 [ 19s] [58/103] cumulate libmount-2.41.2-1.5 [ 19s] [59/103] cumulate libstdc++-14.2.0-1.6 [ 19s] [60/103] cumulate make-4.4.1-1.5 [ 19s] [61/103] cumulate nss-certs-3.109-1.5 [ 19s] [62/103] cumulate smack-1.3.1-1.5 [ 19s] [63/103] cumulate smack-devel-1.3.1-1.5 [ 19s] [64/103] cumulate bzip2-1.0.8-1.6 [ 19s] [65/103] cumulate libfdisk-2.41.2-1.5 [ 19s] [66/103] cumulate libmagic-5.46-1.5 [ 19s] [67/103] cumulate xz-5.8.1-1.6 [ 19s] [68/103] cumulate perl-5.42.0-1.6 [ 19s] [69/103] cumulate build-mkbaselibs-20120927-1.1 [ 19s] [70/103] cumulate libstdc++-devel-14.2.0-1.6 [ 19s] [71/103] cumulate linux-glibc-devel-6.6-1.6 [ 19s] [72/103] cumulate file-5.46-1.5 [ 19s] [73/103] cumulate tar-1.17-2.1 [ 19s] [74/103] cumulate terminfo-base-full-6.6-1.6 [ 19s] [75/103] cumulate autoconf-2.71-1.6 [ 19s] [76/103] cumulate glibc-locale-2.40-1.6 [ 19s] [77/103] cumulate gzip-1.3.12-1.5 [ 19s] [78/103] cumulate libcc1-14.2.0-1.6 [ 19s] [79/103] cumulate binutils-2.43-1.6 [ 19s] [80/103] cumulate pam-1.1.6-1.5 [ 19s] [81/103] cumulate tzdata-2025b-1.1 [ 19s] [82/103] cumulate libdw-0.189-1.6 [ 19s] [83/103] cumulate libarchive-3.8.1-1.5 [ 19s] [84/103] cumulate libarchive-tools-3.8.1-1.5 [ 19s] [85/103] cumulate automake-1.16.5-1.6 [ 19s] [86/103] cumulate libasm-0.189-1.6 [ 19s] [87/103] cumulate libncurses6-6.6-1.6 [ 19s] [88/103] cumulate gcc-14.2.0-1.6 [ 19s] [89/103] cumulate rpm-4.14.1.1-1.6 [ 19s] [90/103] cumulate libncurses-6.6-1.6 [ 19s] [91/103] cumulate less-685-1.1 [ 19s] [92/103] cumulate libreadline-5.2-1.6 [ 19s] [93/103] cumulate libtool-2.5.4-1.6 [ 19s] [94/103] cumulate build-20120927-1.1 [ 19s] [95/103] cumulate elfutils-0.189-1.6 [ 19s] [96/103] cumulate util-linux-2.41.2-1.5 [ 19s] [97/103] cumulate util-linux-su-2.41.2-1.5 [ 19s] [98/103] cumulate libxcrypt-devel-4.4.36-1.6 [ 19s] [99/103] cumulate nss-3.109-1.5 [ 19s] [100/103] cumulate glibc-devel-2.40-1.6 [ 19s] [101/103] cumulate libsoftokn3-3.109-1.5 [ 19s] [102/103] cumulate libattr-devel-2.5.1-1.6 [ 19s] [103/103] cumulate rpm-build-4.14.1.1-1.6 [ 19s] now installing cumulated packages [ 22s] Preparing... ######################################## [ 22s] Updating / installing... [ 22s] setup-0.9-1.6 ######################################## [ 22s] filesystem-3.1-1.1 ######################################## [ 24s] glibc-2.40-1.6 ######################################## [ 25s] bash-3.2.57-1.6 ######################################## [ 25s] zlib-1.3.1-1.6 ######################################## [ 26s] coreutils-6.9-14.5 ######################################## [ 26s] libbz2-1.0.8-1.6 ######################################## [ 27s] libgcc-14.2.0-1.6 ######################################## [ 27s] libstdc++-14.2.0-1.6 ######################################## [ 27s] libelf-0.189-1.6 ######################################## [ 28s] liblzma-5.8.1-1.6 ######################################## [ 28s] libdw-0.189-1.6 ######################################## [ 28s] libxcrypt-4.4.36-1.6 ######################################## [ 28s] libblkid-2.41.2-1.5 ######################################## [ 30s] libopenssl3-3.5.5-1.5 ######################################## [ 30s] nspr-4.36-1.1 ######################################## [ 30s] pkg-config-0.29.2-1.6 ######################################## [ 30s] pam-1.1.6-1.5 ######################################## [ 30s] libattr-2.5.1-1.6 ######################################## [ 30s] libacl-2.3.2-1.6 ######################################## [ 30s] libcap-2.73-1.5 ######################################## [ 30s] libfreebl3-3.109-1.5 ######################################## [ 30s] liblua-5.1.5-1.5 ######################################## [ 31s] libpopt-1.16-1.5 ######################################## [ 31s] libsmack-1.3.1-1.5 ######################################## [ 31s] libsqlite-3.51.0-1.6 ######################################## [ 31s] libuuid-2.41.2-1.5 ######################################## [ 31s] libzstd1-1.5.7-1.5 ######################################## [ 31s] libfdisk-2.41.2-1.5 ######################################## [ 31s] liblastlog2-2.41.2-1.5 ######################################## [ 31s] nss-certs-3.109-1.5 ######################################## [ 31s] libsoftokn3-3.109-1.5 ######################################## [ 31s] nss-3.109-1.5 ######################################## [ 31s] libmount-2.41.2-1.5 ######################################## [ 31s] libasm-0.189-1.6 ######################################## [ 31s] xz-5.8.1-1.6 ######################################## [ 31s] libcc1-14.2.0-1.6 ######################################## [ 32s] libgfortran-14.2.0-1.6 ######################################## [ 32s] bzip2-1.0.8-1.6 ######################################## [ 32s] linux-glibc-devel-6.6-1.6 ######################################## [ 32s] libxcrypt-devel-4.4.36-1.6 ######################################## [ 32s] glibc-devel-2.40-1.6 ######################################## [ 32s] terminfo-base-full-6.6-1.6 ######################################## [ 33s] libncurses6-6.6-1.6 ######################################## [ 33s] libreadline-5.2-1.6 ######################################## [ 33s] gzip-1.3.12-1.5 ######################################## [ 33s] binutils-libs-2.43-1.6 ######################################## [ 34s] binutils-2.43-1.6 ######################################## [ 34s] make-4.4.1-1.5 ######################################## [ 34s] findutils-4.3.8-1.6 ######################################## [ 34s] gdbm-1.8.3-1.6 ######################################## [ 44s] perl-5.42.0-1.6 ######################################## [ 44s] build-mkbaselibs-20120927-1.1 ######################################## [ 44s] libatomic-14.2.0-1.6 ######################################## [ 45s] libgomp-14.2.0-1.6 ######################################## [ 45s] libitm-14.2.0-1.6 ######################################## [ 45s] libltdl-2.5.4-1.6 ######################################## [ 45s] libpcre-8.45-1.5 ######################################## [ 45s] libquadmath-14.2.0-1.6 ######################################## [ 45s] libsmartcols-2.41.2-1.5 ######################################## [ 45s] libxml2-2.15.1-1.6 ######################################## [ 46s] libarchive-3.8.1-1.5 ######################################## [ 46s] libarchive-tools-3.8.1-1.5 ######################################## [ 46s] m4-1.4.20-1.1 ######################################## [ 47s] autoconf-2.71-1.6 ######################################## [ 47s] automake-1.16.5-1.6 ######################################## [ 47s] patch-2.8-1.5 ######################################## [ 47s] sed-4.1c-1.5 ######################################## [ 48s] util-linux-2.41.2-1.5 ######################################## [ 49s] libmagic-data-5.46-1.5 ######################################## [ 49s] libmagic-5.46-1.5 ######################################## [ 50s] rpm-4.14.1.1-1.6 ######################################## [ 51s] rpm-build-4.14.1.1-1.6 ######################################## [ 51s] file-5.46-1.5 ######################################## [ 51s] util-linux-su-2.41.2-1.5 ######################################## [ 51s] libtool-2.5.4-1.6 ######################################## [ 51s] build-20120927-1.1 ######################################## [ 58s] gcc-14.2.0-1.6 ######################################## [ 58s] grep-2.5.2-1.5 ######################################## [ 58s] libncurses-6.6-1.6 ######################################## [ 58s] less-685-1.1 ######################################## [ 58s] libattr-devel-2.5.1-1.6 ######################################## [ 58s] elfutils-0.189-1.6 ######################################## [ 58s] smack-1.3.1-1.5 ######################################## [ 58s] smack-devel-1.3.1-1.5 ######################################## [ 58s] tar-1.17-2.1 ######################################## [ 58s] libstdc++-devel-14.2.0-1.6 ######################################## [ 59s] glibc-locale-2.40-1.6 ######################################## [ 59s] tzdata-2025b-1.1 ######################################## [ 64s] cpp-14.2.0-1.6 ######################################## [ 70s] gcc-c++-14.2.0-1.6 ######################################## [ 70s] app-rootstrap-checker-1.0.0-1.1 ######################################## [ 70s] build-compare-2023.06.18-1.1 ######################################## [ 70s] hal-rootstrap-checker-1.0.0-4.1 ######################################## [ 71s] dash-0.5.13.4-1.1 ######################################## [ 71s] gawk-3.1.5-1.1 ######################################## [ 71s] cpio-2.8-1.1 ######################################## [ 71s] diffutils-3.10-1.1 ######################################## [ 71s] hostname-3.23-1.1 ######################################## [ 71s] net-tools-2.0_20121208git-1.5 ######################################## [ 71s] toybox-0.6.0-1.5 ######################################## [ 71s] update-alternatives-1.22.21-1.1 ######################################## [ 71s] which-2.17-1.1 ######################################## [ 72s] now finalizing build dir... [ 73s] ----------------------------------------------------------------- [ 73s] I have the following modifications for toybox.spec: [ 73s] 4c4 [ 73s] < Release: 1%{?dist} [ 73s] --- [ 73s] > Release: 1.1 [ 74s] ----------------------------------------------------------------- [ 74s] ----- building toybox.spec (user abuild) [ 74s] ----------------------------------------------------------------- [ 74s] ----------------------------------------------------------------- [ 74s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://127.0.0.1/Tizen-Base-Dev/standard/abe14ea02c8425b248603e455e39eac9-toybox' /home/abuild/rpmbuild/SOURCES/toybox.spec [ 74s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PZiekE [ 74s] + umask 022 [ 74s] + cd /home/abuild/rpmbuild/BUILD [ 74s] + cd /home/abuild/rpmbuild/BUILD [ 74s] + rm -rf toybox-0.6.0 [ 74s] + /bin/tar -xof - [ 74s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/toybox-0.6.0.tar.bz2 [ 75s] + STATUS=0 [ 75s] + '[' 0 -ne 0 ']' [ 75s] + cd toybox-0.6.0 [ 75s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 75s] + echo 'Patch #0 (9952df6-to-9035494.diff):' [ 75s] Patch #0 (9952df6-to-9035494.diff): [ 75s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 75s] patching file .hg_archival.txt [ 75s] patching file .hgtags [ 75s] patching file Config.in [ 75s] patching file LICENSE.BSD [ 75s] patching file lib/lib.c [ 75s] patching file lib/lib.h [ 75s] patching file lib/net.c [ 75s] patching file lib/portability.c [ 75s] patching file lib/xwrap.c [ 75s] patching file main.c [ 75s] patching file scripts/make.sh [ 75s] patching file scripts/mkflags.c [ 75s] patching file tests/sed.test [ 75s] patching file toys.h [ 75s] patching file toys/other/acpi.c [ 75s] patching file toys/other/blkid.c [ 75s] patching file toys/other/bzcat.c [ 75s] patching file toys/other/chcon.c [ 75s] patching file toys/other/hexedit.c [ 75s] patching file toys/other/login.c [ 75s] patching file toys/other/lspci.c [ 75s] patching file toys/other/nbd_client.c [ 75s] patching file toys/other/netcat.c [ 75s] patching file toys/other/reboot.c [ 75s] patching file toys/other/rev.c [ 75s] patching file toys/other/switch_root.c [ 75s] patching file toys/other/tac.c [ 75s] patching file toys/other/taskset.c [ 75s] patching file toys/other/vmstat.c [ 75s] patching file toys/pending/dd.c [ 75s] patching file toys/pending/dhcp.c [ 75s] patching file toys/pending/dhcpd.c [ 75s] patching file toys/pending/init.c [ 75s] patching file toys/pending/log.h [ 75s] patching file toys/pending/mdev.c [ 75s] patching file toys/pending/modprobe.c [ 75s] patching file toys/pending/ping.c [ 75s] patching file toys/pending/telnet.c [ 75s] patching file toys/pending/telnetd.c [ 75s] patching file toys/posix/cal.c [ 75s] patching file toys/posix/chmod.c [ 75s] patching file toys/posix/cmp.c [ 75s] patching file toys/posix/date.c [ 75s] patching file toys/posix/du.c [ 75s] patching file toys/posix/find.c [ 75s] patching file toys/posix/id.c [ 75s] patching file toys/posix/ls.c [ 75s] patching file toys/posix/nl.c [ 75s] patching file toys/posix/split.c [ 75s] patching file toys/posix/strings.c [ 75s] patching file toys/samsung/README [ 75s] patching file toys/samsung/nslookup.c [ 75s] patching file toys/samsung/ping.c [ 75s] patching file www/news.html [ 75s] + echo 'Patch #1 (0002-Remove-dlog-dependency-from-dhcp-dhcpd.patch):' [ 75s] Patch #1 (0002-Remove-dlog-dependency-from-dhcp-dhcpd.patch): [ 75s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 75s] patching file toys/pending/dhcp.c [ 75s] patching file toys/pending/dhcpd.c [ 75s] patching file toys/pending/log.h [ 75s] + echo 'Patch #2 (0003-fix-detect-build-errors-without-relying-on-wait-exit.patch):' [ 75s] Patch #2 (0003-fix-detect-build-errors-without-relying-on-wait-exit.patch): [ 75s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 75s] patching file scripts/make.sh [ 75s] + exit 0 [ 75s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kUMX4r [ 75s] + umask 022 [ 75s] + cd /home/abuild/rpmbuild/BUILD [ 75s] + 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 -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 75s] + export CFLAGS [ 75s] + 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 -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 75s] + export CXXFLAGS [ 75s] + LDFLAGS= [ 75s] + export LDFLAGS [ 75s] + cd toybox-0.6.0 [ 75s] + ref=/usr/lib/rpm [ 75s] + mints=0 [ 75s] + case $(uname -m) in [ 75s] ++ uname -m [ 75s] + for s in guess sub [ 75s] ++ find -maxdepth 8 -name config.guess [ 75s] + for s in guess sub [ 75s] ++ find -maxdepth 8 -name config.sub [ 75s] + cp /home/abuild/rpmbuild/SOURCES/toybox.manifest . [ 75s] + cp /home/abuild/rpmbuild/SOURCES/config .config [ 75s] + export CC=gcc [ 75s] + CC=gcc [ 75s] + 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 -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIE -Wno-nonnull -Wno-incompatible-pointer-types' 'LDOPTIMIZE= -Wl,--gc-sections -pie' [ 75s] scripts/genconfig.sh [ 90s] scripts/make.sh [ 90s] Generate headers from toys/*/*.c... [ 95s] generated/newtoys.h Library probe....... [ 95s] Make generated/config.h from .config. [ 98s] generated/flags.h generated/globals.h generated/help.h [ 106s] Compile toybox..................lib/lib.c: In function 'mode_to_string': [ 106s] lib/lib.c:785:16: warning: array subscript has type 'char' [-Wchar-subscripts] [ 106s] 785 | c = "tss"[d]; [ 106s] | ^ [ 106s] lib/lib.c:787:27: warning: array subscript has type 'char' [-Wchar-subscripts] [ 106s] 787 | } else c = bit ? "xwr"[c] : '-'; [ 106s] | ^ [ 107s] toys/pending/dhcp.c: In function 'dhcp_main': [ 108s] toys/pending/dhcp.c:1369:11: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 108s] 1369 | daemon(0, 0); [ 108s] | ^~~~~~~~~~~~ [ 108s] toys/pending/dhcp.c:1506:13: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 108s] 1506 | daemon(0, 0); [ 108s] | ^~~~~~~~~~~~ [ 108s] toys/pending/dhcp.c: In function 'write_pid': [ 108s] toys/pending/dhcp.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 108s] 362 | write(pidfile, pidbuf, strlen(pidbuf)); [ 108s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 108s] toys/pending/traceroute.c: In function 'traceroute_main': [ 108s] toys/pending/traceroute.c:480:12: warning: variable 'opt_len' set but not used [-Wunused-but-set-variable] [ 108s] 480 | unsigned opt_len = 0, pack_size = 0, tyser = 0; [ 108s] | ^~~~~~~ [ 108s] toys/pending/dhcpd.c: In function 'send_packet6': [ 108s] 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] [ 108s] 896 | memcpy(dest_sll.sll_addr, client_lla, sizeof(client_lla)); [ 108s] | ^ [ 108s] 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] [ 108s] 906 | ntohl6(packet.iph.ip6_dst.__in6_u.__u6_addr32,packet.iph.ip6_dst.__in6_u.__u6_addr32); [ 108s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 108s] 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] [ 108s] 906 | ntohl6(packet.iph.ip6_dst.__in6_u.__u6_addr32,packet.iph.ip6_dst.__in6_u.__u6_addr32); [ 108s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 108s] 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] [ 108s] 913 | htonl6(packet.iph.ip6_dst.__in6_u.__u6_addr32,packet.iph.ip6_dst.__in6_u.__u6_addr32); [ 108s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 108s] 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] [ 108s] 913 | htonl6(packet.iph.ip6_dst.__in6_u.__u6_addr32,packet.iph.ip6_dst.__in6_u.__u6_addr32); [ 108s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 108s] toys/pending/dhcpd.c: In function 'getip6_from_pool': [ 108s] toys/pending/dhcpd.c:1562:10: warning: function returns address of local variable [-Wreturn-local-addr] [ 108s] 1562 | return nip6; [ 108s] | ^~~~ [ 108s] toys/pending/dhcpd.c: In function 'dhcpd_main': [ 108s] 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] [ 108s] 1778 | if (!gstate.rcvd.rcvd_pkt6.transaction_id || [ 108s] | ^ [ 108s] toys/pending/dhcpd.c:158:11: note: 'transaction_id' declared here [ 108s] 158 | uint8_t transaction_id[3]; [ 108s] | ^~~~~~~~~~~~~~ [ 108s] 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] [ 108s] 1811 | &(*ia_addr_p).pref_lifetime), sizeof(uint32_t)*4); [ 108s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 108s] 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] [ 108s] 1939 | if(verifyip6_in_lease((*ia_addr_p).ipv6_addr, client_duid, [ 108s] | ~~~~~~~~~~~~^~~~~~~~~~ [ 108s] toys/pending/dhcpd.c:1758:30: warning: unused variable 'server_ia_pd' [-Wunused-variable] [ 108s] 1758 | *client_ia_pd, *server_ia_pd; [ 108s] | ^~~~~~~~~~~~ [ 108s] toys/pending/dhcpd.c:1636:12: warning: unused variable 'requested_nip6' [-Wunused-variable] [ 108s] 1636 | uint32_t requested_nip6[4] = {0,}; [ 108s] | ^~~~~~~~~~~~~~ [ 108s] toys/pending/dhcpd.c:1644:5: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 108s] 1644 | daemon(0,0); [ 108s] | ^~~~~~~~~~~ [ 108s] toys/pending/dhcpd.c: In function 'write_pid': [ 108s] toys/pending/dhcpd.c:488:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 108s] 488 | write(pidfile, pidbuf, strlen(pidbuf)); [ 108s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 109s] ... [ 109s] + cp toybox toybox-dynamic [ 109s] + cp /home/abuild/rpmbuild/SOURCES/config-full .config [ 109s] + 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 -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIE -Wno-nonnull -Wno-incompatible-pointer-types' 'LDOPTIMIZE= -Wl,--gc-sections -pie' [ 109s] scripts/make.sh [ 109s] Generate headers from toys/*/*.c... [ 110s] Make generated/config.h from .config. [ 110s] generated/flags.h generated/help.h [ 111s] Compile toybox................................................................................................................................................toys/pending/crontab.c: In function 'update_crontab': [ 112s] toys/pending/crontab.c:239:3: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 239 | fchown(fdout, getuid(), geteuid()); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] In file included from /usr/include/string.h:548, [ 112s] from ./toys.h:31, [ 112s] from toys/pending/host.c:25: [ 112s] In function 'strcpy', [ 112s] inlined from 'host_main' at toys/pending/host.c:97:7: [ 112s] /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=] [ 112s] 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/host.c: In function 'host_main': [ 112s] toys/pending/host.c:74:50: note: 'ptrbuf' declared here [ 112s] 74 | char *name, *nsname, rrname[256], plname[640], ptrbuf[64]; [ 112s] | ^~~~~~ [ 112s] toys/pending/top.c: In function 'read_stat': [ 112s] toys/pending/top.c:101:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 101 | fgets(toybuf, sizeof(toybuf), file); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/dd.c: In function 'do_dd': [ 112s] toys/pending/dd.c:234:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 234 | ftruncate(out.fd, (off_t)out.offset * out.sz); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/netstat.c: In function 'display_routes': [ 112s] toys/pending/netstat.c:532:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 532 | fgets(toybuf, sizeof(toybuf), fp); //skip 1st line. [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/telnet.c: In function 'handle_esc': [ 112s] toys/pending/telnet.c:138:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 138 | write(1,"\r\nConsole escape. Commands are:\r\n\n" [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] 139 | " l go to line mode\r\n" [ 112s] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] 140 | " c go to character mode\r\n" [ 112s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] 141 | " z suspend telnet\r\n" [ 112s] | ~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] 142 | " e exit telnet\r\n", 114); [ 112s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/telnet.c:181:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 181 | write(1, "continuing...\r\n", 15); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/telnet.c: In function 'write_server': [ 112s] toys/pending/telnet.c:317:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 317 | if(i) write(TT.sfd, toybuf, i); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/telnet.c: In function 'read_server': [ 112s] toys/pending/telnet.c:295:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 295 | if (i) write(STDIN_FILENO, toybuf, i); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/telnetd.c: In function 'telnetd_main': [ 112s] toys/pending/telnetd.c:320:36: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 320 | if (!(toys.optflags & FLAG_F)) daemon(0, 0); [ 112s] | ^~~~~~~~~~~~ [ 112s] toys/pending/netstat.c: In function 'show_ipv4': [ 112s] toys/pending/netstat.c:271:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 271 | fgets(toybuf, sizeof(toybuf), fp); //skip header. [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/fdisk.c: In function 'ask_value': [ 112s] toys/pending/netstat.c: In function 'show_ipv6': [ 112s] toys/pending/netstat.c:298:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 298 | fgets(toybuf, sizeof(toybuf), fp); //skip header. [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/fdisk.c:770:57: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] [ 112s] 770 | unsigned long unit = (disp_unit_cyl && (g_heads * g_sectors))? g_heads * g_sectors : 1; [ 112s] | ~~~~~~~~~^~~~~~~~~~~~ [ 112s] toys/pending/netstat.c: In function 'show_unix_sockets': [ 112s] toys/pending/netstat.c:325:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 325 | fgets(toybuf, sizeof(toybuf), fp); //skip header. [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/fdisk.c: In function 'read_and_print_parts': [ 112s] 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] [ 112s] 1450 | memset(name, 0, sizeof(name)); [ 112s] | ^ [ 112s] toys/pending/fdisk.c: In function 'ask_partition': [ 112s] toys/pending/fdisk.c:639:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 639 | fgets(toybuf, 80, stdin); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/fdisk.c: In function 'ask_value': [ 112s] toys/pending/fdisk.c:735:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 735 | fgets(str, 80, stdin); [ 112s] | ^~~~~~~~~~~~~~~~~~~~~ [ 112s] .....toys/pending/compress.c: In function 'len2huff': [ 112s] toys/pending/compress.c:268:46: warning: array subscript has type 'char' [-Wchar-subscripts] [ 112s] 268 | for (i = 0; ilength[bitlen[i]]++; [ 112s] | ~~~~~~^~~ [ 112s] toys/pending/compress.c:274:68: warning: array subscript has type 'char' [-Wchar-subscripts] [ 112s] 274 | for (i = 0; isymbol[offset[bitlen[i]]++] = i; [ 112s] | ~~~~~~^~~ [ 112s] toys/pending/compress.c: In function 'inflate': [ 112s] toys/pending/compress.c:354:53: warning: array subscript has type 'char' [-Wchar-subscripts] [ 112s] 354 | for (i=0; i5) out -= oldptr[order[i]]; [ 112s] | ~~~~~^~~ [ 112s] toys/pending/top.c: In function 'read_cmdline': [ 112s] 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=] [ 112s] 171 | snprintf(proc->name, PROC_NAME_LEN, "%s", toybuf); [ 112s] | ^~ ~~~~~~ [ 112s] In file included from /usr/include/stdio.h:970, [ 112s] from ./toys.h:29, [ 112s] from toys/pending/top.c:35: [ 112s] In function 'snprintf', [ 112s] inlined from 'read_cmdline' at toys/pending/top.c:171:3: [ 112s] /usr/include/bits/stdio2.h:68:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 512 [ 112s] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 112s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] 69 | __glibc_objsize (__s), __fmt, [ 112s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 112s] 70 | __va_arg_pack ()); [ 112s] | ~~~~~~~~~~~~~~~~~ [ 112s] toys/pending/bootchartd.c: In function 'stop_logging': [ 112s] toys/pending/bootchartd.c:244:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 244 | system(toybuf); [ 112s] | ^~~~~~~~~~~~~~ [ 112s] toys/pending/crond.c: In function 'crond_main': [ 112s] toys/pending/crond.c:643:31: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] [ 112s] 643 | if (toys.optflags & FLAG_b) daemon(0,0); [ 112s] | ^~~~~~~~~~~ [ 112s] toys/pending/ps.c: In function 'do_ps': [ 112s] toys/pending/ps.c:133:44: warning: array subscript has type 'char' [-Wchar-subscripts] [ 112s] 133 | slot[((char[]){0,2,16,17,22})[i]]>>(((1<