[ 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] [ 0s] [ 0s] f7c04b3525ad started "build toybox.spec" at Sun Oct 11 06:14:06 UTC 2026. [ 0s] [ 0s] Building toybox for project 'Tizen-Base-Toolchain' repository 'standard' arch 'armv7l' srcmd5 'abe14ea02c8425b248603e455e39eac9' [ 0s] [ 0s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.22/.build-srcdir/toybox.spec ... [ 0s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.22/.build-srcdir/toybox.spec [ 0s] 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 ... [ 8s] registering binfmt handlers for cross build [ 10s] cycle: nss -> libsoftokn3 [ 10s] breaking dependency nss -> libsoftokn3 [ 10s] [1/46] preinstalling filesystem... [ 10s] [2/46] preinstalling libmagic-data... [ 11s] [3/46] preinstalling libncurses... [ 11s] [4/46] preinstalling glibc... [ 12s] [5/46] preinstalling libgcc... [ 12s] [6/46] preinstalling bash... [ 12s] [7/46] preinstalling diffutils... [ 12s] [8/46] preinstalling grep... [ 13s] [9/46] preinstalling libarchive-tools... [ 13s] [10/46] preinstalling libattr... [ 13s] [11/46] preinstalling libblkid... [ 13s] [12/46] preinstalling libbz2... [ 13s] [13/46] preinstalling libcap... [ 13s] [14/46] preinstalling libfreebl3... [ 13s] [15/46] preinstalling liblua... [ 13s] [16/46] preinstalling liblzma... [ 13s] [17/46] preinstalling libopenssl3... [ 13s] [18/46] preinstalling libpopt... [ 13s] [19/46] preinstalling libreadline... [ 13s] [20/46] preinstalling libsmack... [ 13s] [21/46] preinstalling libsqlite... [ 13s] [22/46] preinstalling libuuid... [ 13s] [23/46] preinstalling libxcrypt... [ 13s] [24/46] preinstalling libxml2... [ 14s] [25/46] preinstalling libzstd1... [ 14s] [26/46] preinstalling nspr... [ 14s] [27/46] preinstalling sed... [ 14s] [28/46] preinstalling toybox... [ 14s] [29/46] preinstalling zlib... [ 14s] [30/46] preinstalling clang-accel-x86_64-armv7l... [ 338s] [31/46] preinstalling qemu-accel-x86_64-armv7l... [ 365s] [32/46] preinstalling qemu-linux-user-x86_64-cross... [ 380s] [33/46] preinstalling coreutils... [ 380s] [34/46] preinstalling dash... [ 380s] [35/46] preinstalling libacl... [ 380s] [36/46] preinstalling libelf... [ 380s] [37/46] preinstalling libmount... [ 380s] [38/46] preinstalling smack... [ 380s] [39/46] preinstalling bzip2... [ 380s] [40/46] preinstalling libmagic... [ 380s] [41/46] preinstalling tar... [ 380s] [42/46] preinstalling util-linux... [ 381s] [43/46] preinstalling rpm... [ 381s] [44/46] preinstalling util-linux-su... [ 381s] [45/46] preinstalling nss... [ 381s] [46/46] preinstalling libsoftokn3... [ 382s] running qemu-linux-user-x86_64-cross postinstall script [ 382s] running qemu-accel-x86_64-armv7l postinstall script [ 382s] mv: cannot stat `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/14.2.0/liblto_plugin.so': No such file or directory [ 382s] running clang-accel-x86_64-armv7l postinstall script [ 382s] initializing rpm db... [ 383s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 383s] breaking dependency libxcrypt-devel -> glibc-devel [ 383s] cycle: clang -> llvm [ 383s] breaking dependency llvm -> clang [ 383s] cycle: clang -> llvm -> lldb [ 383s] breaking dependency llvm -> lldb [ 383s] cycle: libsoftokn3 -> nss [ 383s] breaking dependency nss -> libsoftokn3 [ 383s] done [ 383s] querying package ids... [ 383s] [1/110] cumulate libmagic-data-5.46-1.6 [ 383s] [2/110] cumulate setup-0.9-1.8 [ 383s] [3/110] cumulate filesystem-3.1-1.1 [ 383s] [4/110] cumulate glibc-2.40-1.7 [ 383s] [5/110] cumulate libatomic-14.2.0-1.6 [ 383s] [6/110] cumulate libgcc-14.2.0-1.6 [ 383s] [7/110] cumulate bash-3.2.57-1.6 [ 383s] [8/110] cumulate cpio-2.8-1.1 [ 383s] [9/110] cumulate diffutils-3.10-1.1 [ 383s] [10/110] cumulate findutils-4.3.8-1.6 [ 383s] [11/110] cumulate gdbm-1.8.3-1.8 [ 383s] [12/110] cumulate hostname-3.23-1.1 [ 383s] [13/110] cumulate libattr-2.5.1-1.6 [ 383s] [14/110] cumulate libblkid-2.41.2-1.6 [ 383s] [15/110] cumulate libbz2-1.0.8-1.7 [ 383s] [16/110] cumulate libcap-2.73-1.6 [ 383s] [17/110] cumulate libfreebl3-3.109-1.3 [ 383s] [18/110] cumulate libgfortran-14.2.0-1.6 [ 383s] [19/110] cumulate libgomp-14.2.0-1.6 [ 383s] [20/110] cumulate libitm-14.2.0-1.6 [ 383s] [21/110] cumulate libltdl-2.5.4-1.7 [ 383s] [22/110] cumulate liblua-5.1.5-1.6 [ 383s] [23/110] cumulate liblzma-5.8.1-1.6 [ 383s] [24/110] cumulate libopenssl3-3.5.5-1.6 [ 383s] [25/110] cumulate libpcre-8.45-1.6 [ 383s] [26/110] cumulate libpopt-1.16-1.6 [ 383s] [27/110] cumulate libsmack-1.3.1-1.6 [ 383s] [28/110] cumulate libsmartcols-2.41.2-1.6 [ 383s] [29/110] cumulate libsqlite-3.51.0-1.6 [ 383s] [30/110] cumulate libstdc++-14.2.0-1.6 [ 383s] [31/110] cumulate libuuid-2.41.2-1.6 [ 383s] [32/110] cumulate libxcrypt-4.4.36-1.8 [ 383s] [33/110] cumulate libxml2-2.15.1-1.7 [ 383s] [34/110] cumulate libzstd1-1.5.7-1.6 [ 383s] [35/110] cumulate m4-1.4.20-1.1 [ 383s] [36/110] cumulate net-tools-2.0_20121208git-1.6 [ 383s] [37/110] cumulate nspr-4.36-1.1 [ 383s] [38/110] cumulate patch-2.8-1.6 [ 383s] [39/110] cumulate pkg-config-0.29.2-1.6 [ 383s] [40/110] cumulate sed-4.1c-1.5 [ 383s] [41/110] cumulate toybox-0.6.0-1.1 [ 383s] [42/110] cumulate update-alternatives-1.22.21-1.1 [ 383s] [43/110] cumulate which-2.17-1.1 [ 383s] [44/110] cumulate zlib-1.3.1-1.8 [ 383s] [45/110] cumulate app-rootstrap-checker-1.0.0-1.1 [ 383s] [46/110] cumulate build-compare-2023.06.18-1.1 [ 383s] [47/110] cumulate clang-accel-x86_64-armv7l-0.4-2.1 [ 383s] [48/110] cumulate hal-rootstrap-checker-1.0.0-4.1 [ 383s] [49/110] cumulate libstdc++-devel-14.2.0-1.6 [ 383s] [50/110] cumulate qemu-linux-user-x86_64-cross-9.2.3.1-3.3 [ 383s] [51/110] cumulate cpp-14.2.0-1.6 [ 383s] [52/110] cumulate gcc-c++-14.2.0-1.6 [ 383s] [53/110] cumulate smack-devel-1.3.1-1.6 [ 383s] [54/110] cumulate binutils-libs-2.43-1.6 [ 383s] [55/110] cumulate coreutils-6.9-14.1 [ 383s] [56/110] cumulate dash-0.5.13.4-1.1 [ 383s] [57/110] cumulate gawk-3.1.5-1.1 [ 383s] [58/110] cumulate grep-2.5.2-1.5 [ 383s] [59/110] cumulate libacl-2.3.2-1.7 [ 383s] [60/110] cumulate libcc1-14.2.0-1.6 [ 383s] [61/110] cumulate libelf-0.189-1.8 [ 383s] [62/110] cumulate liblastlog2-2.41.2-1.6 [ 383s] [63/110] cumulate libmount-2.41.2-1.6 [ 383s] [64/110] cumulate make-4.4.1-1.5 [ 383s] [65/110] cumulate nss-certs-3.109-1.3 [ 383s] [66/110] cumulate smack-1.3.1-1.6 [ 383s] [67/110] cumulate bzip2-1.0.8-1.7 [ 383s] [68/110] cumulate libfdisk-2.41.2-1.6 [ 383s] [69/110] cumulate libmagic-5.46-1.6 [ 383s] [70/110] cumulate xz-5.8.1-1.6 [ 383s] [71/110] cumulate libllvm-22.1.8-1.6 [ 383s] [72/110] cumulate perl-5.42.0-1.7 [ 383s] [73/110] cumulate build-mkbaselibs-20120927-1.1 [ 383s] [74/110] cumulate linux-glibc-devel-6.6-1.8 [ 383s] [75/110] cumulate terminfo-base-full-6.6-1.8 [ 383s] [76/110] cumulate autoconf-2.71-1.8 [ 383s] [77/110] cumulate glibc-locale-2.40-1.7 [ 383s] [78/110] cumulate tar-1.17-1.1 [ 383s] [79/110] cumulate binutils-2.43-1.6 [ 383s] [80/110] cumulate file-5.46-1.6 [ 383s] [81/110] cumulate gzip-1.3.12-1.5 [ 383s] [82/110] cumulate pam-1.1.6-1.7 [ 383s] [83/110] cumulate tzdata-2025b-1.1 [ 383s] [84/110] cumulate libdw-0.189-1.8 [ 383s] [85/110] cumulate gcc-14.2.0-1.6 [ 383s] [86/110] cumulate libarchive-3.8.1-1.8 [ 383s] [87/110] cumulate qemu-accel-x86_64-armv7l-0.4-2.1 [ 383s] [88/110] cumulate automake-1.16.5-1.7 [ 383s] [89/110] cumulate libarchive-tools-3.8.1-1.8 [ 383s] [90/110] cumulate libasm-0.189-1.8 [ 383s] [91/110] cumulate libncurses6-6.6-1.8 [ 383s] [92/110] cumulate rpm-4.14.1.1-1.7 [ 383s] [93/110] cumulate libncurses-6.6-1.8 [ 383s] [94/110] cumulate less-685-1.1 [ 383s] [95/110] cumulate libreadline-5.2-1.7 [ 383s] [96/110] cumulate libtool-2.5.4-1.7 [ 383s] [97/110] cumulate build-20120927-1.1 [ 383s] [98/110] cumulate elfutils-0.189-1.8 [ 383s] [99/110] cumulate util-linux-2.41.2-1.6 [ 383s] [100/110] cumulate util-linux-su-2.41.2-1.6 [ 383s] [101/110] cumulate libxcrypt-devel-4.4.36-1.8 [ 383s] [102/110] cumulate nss-3.109-1.3 [ 383s] [103/110] cumulate llvm-22.1.8-1.6 [ 383s] [104/110] cumulate glibc-devel-2.40-1.7 [ 383s] [105/110] cumulate clang-22.1.8-1.6 [ 383s] [106/110] cumulate libsoftokn3-3.109-1.3 [ 383s] [107/110] cumulate llvm-devel-22.1.8-1.6 [ 383s] [108/110] cumulate libattr-devel-2.5.1-1.6 [ 383s] [109/110] cumulate lldb-22.1.8-1.6 [ 383s] [110/110] cumulate rpm-build-4.14.1.1-1.7 [ 383s] now installing cumulated packages [ 483s] Preparing... ######################################## [ 483s] Updating / installing... [ 483s] setup-0.9-1.8 ###############warning: /etc/profile created as /etc/profile.rpmnew [ 483s] ######################### [ 483s] filesystem-3.1-1.1 ######################################## [ 484s] libmagic-data-5.46-1.6 ######################################## [ 485s] glibc-2.40-1.7 ######################################## [ 485s] libgcc-14.2.0-1.6 ######################################## [ 486s] bash-3.2.57-1.6 ######################################## [ 486s] zlib-1.3.1-1.8 ######################################## [ 486s] libstdc++-14.2.0-1.6 ######################################## [ 487s] coreutils-6.9-14.1 ######################################## [ 487s] liblzma-5.8.1-1.6 ######################################## [ 487s] libelf-0.189-1.8 ######################################## [ 487s] libbz2-1.0.8-1.7 ######################################## [ 487s] libdw-0.189-1.8 ######################################## [ 487s] libxcrypt-4.4.36-1.8 ######################################## [ 488s] libxml2-2.15.1-1.7 ######################################## [ 490s] libllvm-22.1.8-1.6 ######################################## [ 490s] libblkid-2.41.2-1.6 ######################################## [ 491s] nspr-4.36-1.1 ######################################## [ 491s] pkg-config-0.29.2-1.6 ######################################## [ 491s] pam-1.1.6-1.7 ######################################## [ 491s] libmagic-5.46-1.6 ######################################## [ 491s] libattr-2.5.1-1.6 ######################################## [ 491s] libacl-2.3.2-1.7 ######################################## [ 491s] libfreebl3-3.109-1.3 ######################################## [ 492s] libopenssl3-3.5.5-1.6 ######################################## [ 492s] libarchive-3.8.1-1.8 ######################################## [ 492s] libpopt-1.16-1.6 ######################################## [ 492s] libsmack-1.3.1-1.6 ######################################## [ 492s] libsqlite-3.51.0-1.6 ######################################## [ 492s] libuuid-2.41.2-1.6 ######################################## [ 493s] linux-glibc-devel-6.6-1.8 ######################################## [ 493s] libxcrypt-devel-4.4.36-1.8 ######################################## [ 494s] glibc-devel-2.40-1.7 ######################################## [ 494s] terminfo-base-full-6.6-1.8 ######################################## [ 494s] libncurses6-6.6-1.8 ######################################## [ 494s] libreadline-5.2-1.7 ######################################## [ 503s] clang-22.1.8-1.6 ######################################## [ 504s] lldb-22.1.8-1.6 ######################################## [ 507s] llvm-22.1.8-1.6 ######################################## [ 507s] libfdisk-2.41.2-1.6 ######################################## [ 507s] liblastlog2-2.41.2-1.6 ######################################## [ 507s] libarchive-tools-3.8.1-1.8 ######################################## [ 507s] nss-certs-3.109-1.3 ######################################## [ 507s] libsoftokn3-3.109-1.3 ######################################## [ 507s] nss-3.109-1.3 ######################################## [ 507s] libmount-2.41.2-1.6 ######################################## [ 507s] libasm-0.189-1.8 ######################################## [ 507s] bzip2-1.0.8-1.7 ######################################## [ 507s] xz-5.8.1-1.6 ######################################## [ 507s] gzip-1.3.12-1.5 ######################################## [ 507s] libcc1-14.2.0-1.6 ######################################## [ 508s] binutils-libs-2.43-1.6 ######################################## [ 511s] binutils-2.43-1.6 ######################################## [ 511s] make-4.4.1-1.5 ######################################## [ 511s] findutils-4.3.8-1.6 ######################################## [ 511s] gdbm-1.8.3-1.8 ######################################## [ 521s] perl-5.42.0-1.7 ######################################## [ 522s] build-mkbaselibs-20120927-1.1 ######################################## [ 522s] libcap-2.73-1.6 ######################################## [ 522s] libgfortran-14.2.0-1.6 ######################################## [ 522s] libgomp-14.2.0-1.6 ######################################## [ 522s] libitm-14.2.0-1.6 ######################################## [ 522s] libltdl-2.5.4-1.7 ######################################## [ 523s] liblua-5.1.5-1.6 ######################################## [ 523s] libpcre-8.45-1.6 ######################################## [ 523s] libsmartcols-2.41.2-1.6 ######################################## [ 523s] libzstd1-1.5.7-1.6 ######################################## [ 524s] rpm-4.14.1.1-1.7 ######################################## [ 524s] m4-1.4.20-1.1 ######################################## [ 524s] autoconf-2.71-1.8 ######################################## [ 524s] automake-1.16.5-1.7 ######################################## [ 524s] patch-2.8-1.6 ######################################## [ 524s] sed-4.1c-1.5 ######################################## [ 525s] util-linux-2.41.2-1.6 ######################################## [ 525s] libatomic-14.2.0-1.6 ######################################## [ 526s] libtool-2.5.4-1.7 ######################################## [ 526s] build-20120927-1.1 ######################################## [ 526s] libncurses-6.6-1.8 ######################################## [ 526s] libattr-devel-2.5.1-1.6 ######################################## [ 526s] smack-devel-1.3.1-1.6 ######################################## [ 528s] libstdc++-devel-14.2.0-1.6 ######################################## [ 528s] app-rootstrap-checker-1.0.0-1.1 ######################################## [ 528s] build-compare-2023.06.18-1.1 ######################################## [ 1066s] clang-accel-x86_64-armv7l-0.4-2.1 ######################################## [ 1075s] hal-rootstrap-checker-1.0.0-4.1 ######################################## [ 1106s] qemu-linux-user-x86_64-cross-9.2.3.1-3######################################## [ 1115s] gcc-14.2.0-1.6 ######################################## [ 1157s] qemu-accel-x86_64-armv7l-0.4-2.1 ######################################## [ 1158s] util-linux-su-2.41.2-1.6 ######################################## [ 1158s] rpm-build-4.14.1.1-1.7 ######################################## [ 1158s] grep-2.5.2-1.5 ######################################## [ 1158s] elfutils-0.189-1.8 ######################################## [ 1164s] llvm-devel-22.1.8-1.6 ######################################## [ 1164s] less-685-1.1 ######################################## [ 1165s] smack-1.3.1-1.6 ######################################## [ 1165s] tar-1.17-1.1 ######################################## [ 1165s] file-5.46-1.6 ######################################## [ 1166s] glibc-locale-2.40-1.7 ######################################## [ 1167s] tzdata-2025b-1.1 ######################################## [ 1170s] cpp-14.2.0-1.6 ######################################## [ 1174s] gcc-c++-14.2.0-1.6 ######################################## [ 1174s] dash-0.5.13.4-1.1 ######################################## [ 1175s] gawk-3.1.5-1.1 ######################################## [ 1175s] cpio-2.8-1.1 ######################################## [ 1175s] diffutils-3.10-1.1 ######################################## [ 1175s] hostname-3.23-1.1 ######################################## [ 1175s] net-tools-2.0_20121208git-1.6 ######################################## [ 1175s] toybox-0.6.0-1.1 ######################################## [ 1175s] update-alternatives-1.22.21-1.1 ######################################## [ 1175s] which-2.17-1.1 ######################################## [ 1176s] now finalizing build dir... [ 1177s] ----------------------------------------------------------------- [ 1177s] I have the following modifications for toybox.spec: [ 1177s] 4c4 [ 1177s] < Release: 1%{?dist} [ 1177s] --- [ 1177s] > Release: 1.1 [ 1177s] build target is armv7l-tizen-linux [ 1177s] ----------------------------------------------------------------- [ 1177s] ----- building toybox.spec (user abuild) [ 1177s] ----------------------------------------------------------------- [ 1177s] ----------------------------------------------------------------- [ 1177s] + 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-Toolchain/standard/abe14ea02c8425b248603e455e39eac9-toybox' /home/abuild/rpmbuild/SOURCES/toybox.spec [ 1177s] Building target platforms: armv7l-tizen-linux [ 1177s] Building for target armv7l-tizen-linux [ 1177s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ueOzrG [ 1177s] + umask 022 [ 1177s] + cd /home/abuild/rpmbuild/BUILD [ 1177s] + cd /home/abuild/rpmbuild/BUILD [ 1177s] + rm -rf toybox-0.6.0 [ 1177s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/toybox-0.6.0.tar.bz2 [ 1177s] + /bin/tar -xof - [ 1178s] + STATUS=0 [ 1178s] + '[' 0 -ne 0 ']' [ 1178s] + cd toybox-0.6.0 [ 1178s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 1178s] + echo 'Patch #0 (9952df6-to-9035494.diff):' [ 1178s] Patch #0 (9952df6-to-9035494.diff): [ 1178s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 1178s] patching file .hg_archival.txt [ 1178s] patching file .hgtags [ 1178s] patching file Config.in [ 1178s] patching file LICENSE.BSD [ 1178s] patching file lib/lib.c [ 1178s] patching file lib/lib.h [ 1178s] patching file lib/net.c [ 1178s] patching file lib/portability.c [ 1178s] patching file lib/xwrap.c [ 1178s] patching file main.c [ 1178s] patching file scripts/make.sh [ 1178s] patching file scripts/mkflags.c [ 1178s] patching file tests/sed.test [ 1178s] patching file toys.h [ 1178s] patching file toys/other/acpi.c [ 1178s] patching file toys/other/blkid.c [ 1178s] patching file toys/other/bzcat.c [ 1178s] patching file toys/other/chcon.c [ 1178s] patching file toys/other/hexedit.c [ 1178s] patching file toys/other/login.c [ 1178s] patching file toys/other/lspci.c [ 1178s] patching file toys/other/nbd_client.c [ 1178s] patching file toys/other/netcat.c [ 1178s] patching file toys/other/reboot.c [ 1178s] patching file toys/other/rev.c [ 1178s] patching file toys/other/switch_root.c [ 1178s] patching file toys/other/tac.c [ 1178s] patching file toys/other/taskset.c [ 1178s] patching file toys/other/vmstat.c [ 1178s] patching file toys/pending/dd.c [ 1178s] patching file toys/pending/dhcp.c [ 1178s] patching file toys/pending/dhcpd.c [ 1178s] patching file toys/pending/init.c [ 1178s] patching file toys/pending/log.h [ 1178s] patching file toys/pending/mdev.c [ 1178s] patching file toys/pending/modprobe.c [ 1178s] patching file toys/pending/ping.c [ 1178s] patching file toys/pending/telnet.c [ 1178s] patching file toys/pending/telnetd.c [ 1178s] patching file toys/posix/cal.c [ 1178s] patching file toys/posix/chmod.c [ 1178s] patching file toys/posix/cmp.c [ 1178s] patching file toys/posix/date.c [ 1178s] patching file toys/posix/du.c [ 1178s] patching file toys/posix/find.c [ 1178s] patching file toys/posix/id.c [ 1178s] patching file toys/posix/ls.c [ 1178s] patching file toys/posix/nl.c [ 1178s] patching file toys/posix/split.c [ 1178s] patching file toys/posix/strings.c [ 1178s] patching file toys/samsung/README [ 1178s] patching file toys/samsung/nslookup.c [ 1178s] patching file toys/samsung/ping.c [ 1178s] patching file www/news.html [ 1178s] + echo 'Patch #1 (0002-Remove-dlog-dependency-from-dhcp-dhcpd.patch):' [ 1178s] Patch #1 (0002-Remove-dlog-dependency-from-dhcp-dhcpd.patch): [ 1178s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 1178s] patching file toys/pending/dhcp.c [ 1178s] patching file toys/pending/dhcpd.c [ 1178s] patching file toys/pending/log.h [ 1178s] + echo 'Patch #2 (0003-fix-detect-build-errors-without-relying-on-wait-exit.patch):' [ 1178s] Patch #2 (0003-fix-detect-build-errors-without-relying-on-wait-exit.patch): [ 1178s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 1178s] patching file scripts/make.sh [ 1178s] + exit 0 [ 1178s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CVw7ld [ 1178s] + umask 022 [ 1178s] + cd /home/abuild/rpmbuild/BUILD [ 1178s] + CFLAGS='-Os -fstack-protector -Wno-unused-command-line-argument -Wno-error=unused-but-set-variable -Wno-error=unused-command-line-argument -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wformat -Wformat-security -fmessage-length=0 -frecord-gcc-switches -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -D_FILE_OFFSET_BITS=64 -g' [ 1178s] + export CFLAGS [ 1178s] + CXXFLAGS='-Os -fstack-protector -Wno-unused-command-line-argument -Wno-error=unused-but-set-variable -Wno-error=unused-command-line-argument -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wformat -Wformat-security -fmessage-length=0 -frecord-gcc-switches -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -D_FILE_OFFSET_BITS=64 -g' [ 1178s] + export CXXFLAGS [ 1178s] + LDFLAGS='-fuse-ld=lld -Wl,-z,relro,--as-needed,-O1,--hash-style=gnu' [ 1178s] + export LDFLAGS [ 1178s] + cd toybox-0.6.0 [ 1178s] + ref=/usr/lib/rpm [ 1178s] + mints=0 [ 1178s] + case $(uname -m) in [ 1178s] ++ uname -m [ 1178s] + for s in guess sub [ 1178s] ++ find -maxdepth 8 -name config.guess [ 1178s] + for s in guess sub [ 1178s] ++ find -maxdepth 8 -name config.sub [ 1178s] + export AR=llvm-ar RANLIB=llvm-ranlib [ 1178s] + AR=llvm-ar [ 1178s] + RANLIB=llvm-ranlib [ 1178s] + export CC=armv7l-tizen-linux-gnueabi-clang CXX=armv7l-tizen-linux-gnueabi-clang++ [ 1178s] + CC=armv7l-tizen-linux-gnueabi-clang [ 1178s] + CXX=armv7l-tizen-linux-gnueabi-clang++ [ 1178s] + cp /home/abuild/rpmbuild/SOURCES/toybox.manifest . [ 1178s] + cp /home/abuild/rpmbuild/SOURCES/config .config [ 1178s] + make -j 4 'CC+= -Os -fstack-protector -Wno-unused-command-line-argument -Wno-error=unused-but-set-variable -Wno-error=unused-command-line-argument -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wformat -Wformat-security -fmessage-length=0 -frecord-gcc-switches -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -D_FILE_OFFSET_BITS=64 -g' 'CFLAGS= -Os -fstack-protector -Wno-unused-command-line-argument -Wno-error=unused-but-set-variable -Wno-error=unused-command-line-argument -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wformat -Wformat-security -fmessage-length=0 -frecord-gcc-switches -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -D_FILE_OFFSET_BITS=64 -g -fPIE -Wno-nonnull -Wno-incompatible-pointer-types' 'LDOPTIMIZE= -Wl,--gc-sections -pie' [ 1178s] scripts/genconfig.sh [ 1188s] scripts/make.sh [ 1188s] Generate headers from toys/*/*.c... [ 1189s] generated/newtoys.h Library probe....... [ 1189s] Make generated/config.h from .config. [ 1190s] generated/flags.h generated/globals.h generated/help.h [ 1192s] Compile toybox..................toys/pending/dhcpd.c:488:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1192s] 488 | write(pidfile, pidbuf, strlen(pidbuf)); [ 1192s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1192s] lib/args.c:302:11: warning: variable 'temp' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] [ 1192s] 302 | if (new->type == '#') { [ 1192s] | ^~~~~~~~~~~~~~~~ [ 1192s] toys/pending/traceroute.c:480:12: warning: variable 'opt_len' set but not used [-Wunused-but-set-variable] [ 1192s] 480 | unsigned opt_len = 0, pack_size = 0, tyser = 0; [ 1192s] | ^ [ 1192s] lib/args.c:309:19: note: uninitialized use occurs here [ 1192s] 309 | options = --temp; [ 1192s] | ^~~~ [ 1192s] toys/pending/dhcpd.c:896:48: warning: 'memcpy' call operates on objects of type 'uint8_t' (aka 'unsigned char') while the size is based on a different type 'uint8_t *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess] [ 1192s] 896 | memcpy(dest_sll.sll_addr, client_lla, sizeof(client_lla)); [ 1192s] | ~~~~~~~~~~ ^~~~~~~~~~ [ 1192s] toys/pending/dhcpd.c:896:48: note: did you mean to provide an explicit length? [ 1192s] 896 | memcpy(dest_sll.sll_addr, client_lla, sizeof(client_lla)); [ 1192s] | ^~~~~~~~~~ [ 1192s] toys/pending/dhcp.c:362:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1192s] 362 | write(pidfile, pidbuf, strlen(pidbuf)); [ 1192s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1192s] toys/pending/dhcpd.c:1562:10: warning: address of stack memory associated with local variable 'nip6' returned [-Wreturn-stack-address] [ 1192s] 1562 | return nip6; [ 1192s] | ^~~~ [ 1192s] lib/lib.c:785:16: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1192s] 785 | c = "tss"[d]; [ 1192s] | ^~ [ 1192s] lib/lib.c:787:27: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1192s] 787 | } else c = bit ? "xwr"[c] : '-'; [ 1192s] | ^~ [ 1192s] toys/pending/dhcpd.c:1644:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1192s] 1644 | daemon(0,0); [ 1192s] | ^~~~~~~~~~~ [ 1192s] toys/pending/dhcp.c:1369:11: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1192s] 1369 | daemon(0, 0); [ 1192s] | ^~~~~~~~~~~~ [ 1192s] toys/pending/dhcp.c:1506:13: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1192s] 1506 | daemon(0, 0); [ 1192s] | ^~~~~~~~~~~~ [ 1192s] lib/args.c:302:7: note: remove the 'if' if its condition is always true [ 1192s] 302 | if (new->type == '#') { [ 1192s] | ^~~~~~~~~~~~~~~~~~~~~ [ 1192s] 303 | long l = strtol(++options, &temp, 10); [ 1192s] 304 | if (temp != options) new->val[idx].l = l; [ 1192s] 305 | } else if (CFG_TOYBOX_FLOAT && new->type == '.') { [ 1192s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1192s] 306 | FLOAT f = strtod(++options, &temp); [ 1192s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1192s] 307 | if (temp != options) new->val[idx].f = f; [ 1192s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1192s] 308 | } else if (CFG_TOYBOX_DEBUG) error_exit("<>= only after .#"); [ 1192s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1192s] toys/pending/dhcpd.c:1778:36: warning: address of array 'gstate.rcvd.rcvd_pkt6.transaction_id' will always evaluate to 'true' [-Wpointer-bool-conversion] [ 1192s] 1778 | if (!gstate.rcvd.rcvd_pkt6.transaction_id || [ 1192s] | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ [ 1192s] lib/args.c:256:15: note: initialize the variable 'temp' to silence this warning [ 1192s] 256 | char *temp; [ 1192s] | ^ [ 1192s] | = NULL [ 1192s] toys/pending/dhcpd.c:1758:30: warning: unused variable 'server_ia_pd' [-Wunused-variable] [ 1192s] 1758 | *client_ia_pd, *server_ia_pd; [ 1192s] | ^~~~~~~~~~~~ [ 1192s] toys/pending/dhcpd.c:1636:12: warning: unused variable 'requested_nip6' [-Wunused-variable] [ 1192s] 1636 | uint32_t requested_nip6[4] = {0,}; [ 1192s] | ^~~~~~~~~~~~~~ [ 1192s] toys/pending/dhcpd.c:1809:36: warning: variable 'client_duid' is uninitialized when used here [-Wuninitialized] [ 1192s] 1809 | getip6_from_pool(client_duid, client_duid_len, [ 1192s] | ^~~~~~~~~~~ [ 1192s] toys/pending/dhcpd.c:1757:26: note: initialize the variable 'client_duid' to silence this warning [ 1192s] 1757 | void *client_duid, *server_duid, *client_ia_na, *server_ia_na, [ 1192s] | ^ [ 1192s] | = NULL [ 1192s] 1 warning generated. [ 1192s] 1 warning generated. [ 1192s] 3 warnings generated. [ 1192s] 2 warnings generated. [ 1192s] 8 warnings generated. [ 1195s] ... [ 1195s] + cp toybox toybox-dynamic [ 1195s] + cp /home/abuild/rpmbuild/SOURCES/config-full .config [ 1195s] + make -j 4 'CC+= -Os -fstack-protector -Wno-unused-command-line-argument -Wno-error=unused-but-set-variable -Wno-error=unused-command-line-argument -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wformat -Wformat-security -fmessage-length=0 -frecord-gcc-switches -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -D_FILE_OFFSET_BITS=64 -g' 'CFLAGS= -Os -fstack-protector -Wno-unused-command-line-argument -Wno-error=unused-but-set-variable -Wno-error=unused-command-line-argument -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wformat -Wformat-security -fmessage-length=0 -frecord-gcc-switches -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -D_FILE_OFFSET_BITS=64 -g -fPIE -Wno-nonnull -Wno-incompatible-pointer-types' 'LDOPTIMIZE= -Wl,--gc-sections -pie' [ 1195s] scripts/make.sh [ 1195s] Generate headers from toys/*/*.c... [ 1195s] Make generated/config.h from .config. [ 1195s] generated/flags.h generated/help.h [ 1196s] Compile toybox........................................................................In file included from toys/other/base64.c:23: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/lsb/killall.c:25: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] In file included from 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] toys/other/acpi.c:25: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | ret./lib/lsm.hurn ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] :55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] | = NULL [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/lsb/seq.c:25: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/lsb/umount.c:32: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/lsb/sync.c:18: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:./lib/lsm.h15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | In file included from ^~~~~~toys/lsb/dmesg.c [ 1196s] :26: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] :55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 60 | return ok ? resul./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] t : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/chroot.c:21: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/chvt.c:20: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/other/insmod.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] ./lib/lsm.h 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] :55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] | = NULL [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/blkid.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/hwclock.c:25: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/hexedit.c:21: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/ionice.c:39: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/lsmod.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] In file included from 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] toys/other/nsenter.c:64: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | retur./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warningn ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] [ 1196s] 55 | char *./lib/lsm.hresult; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] :55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/lspci.c:31: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/count.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/inotifyd.c:34: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/freeramdisk.c:18: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/lsb/hostname.c:19: [ 1196s] In file included from 1 warning generated. [ 1196s] ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 601 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] warning generated. [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/lsb/mknod.c:31: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1In file included from toys/other/rev.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/fallocate.c:20: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from 1 warning generated. [ 1196s] lib/help.c:3: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? resulIn file included from toys/other/oneit.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] t 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] ./lib/lsm.h 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] :55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/stat.c:36: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from main.c:6: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/realpath.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/reboot.c:21: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/swapoff.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/login.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/other/switch_root.c:21: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/lsb/pidof.c:23: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return In file included from otoys/other/lsusb.ck :?16 : [ 1196s] rIn file included from e./toys.hs:u72l: [ 1196s] t ./lib/lsm.h:: 60s:t15r:d uwarning: pvariable 'result' is uninitialized when used here [-Wuninitialized]( [ 1196s] "?"); [ 1196s] | ^~~~~~ [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] toys/other/oneit.c:64:7: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] [ 1196s] ./lib/lsm.h:55:15 :64 | note: initialize the variable 'result' to silence this warning [ 1196s] if (FLAG _553 | ) { [ 1196s] c| h ^a./lib/lsm.hr [ 1196s] : 55*:r15e:s ./generated/flags.hunote: :linitialize the variable 'result' to silence this warning4112t: [ 1196s] ;18: [ 1196s] note: | expanded from macro 'FLAG_3' ^ [ 1196s] 55 [ 1196s] | | = NULL c [ 1196s] 4112h | a#rd e*frienseu lFtL;A [ 1196s] G| _ ^3 [ 1196s] (| 1 = NULL< [ 1196s] <0) [ 1196s] | ^ [ 1196s] In file included from toys/other/mix.c:23: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] toys/other/oneit.c:86:35: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] [ 1196s] 86 | while (pid != wait(&i)) if (FLAG_3) i = write(4, &pid, 4); [ 1196s] | ^ [ 1196s] ./generated/flags.h:4112:18: note: expanded from macro 'FLAG_3' [ 1196s] 4112 | #define FLA./lib/lsm.hG:_553: (151:< <0note: ) [ 1196s] initialize the variable 'result' to silence this warning [ 1196s] | ^ [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/lsb/md5sum.c:40: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/help.c:32: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/other/ifconfig.c:50: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/sysctl.c:27: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from ./lib/lsm.htoys/other/partprobe.c::5520:: [ 1196s] 15In file included from :./toys.h :72note: : [ 1196s] initialize the variable 'result' to silence this warning./lib/lsm.h: [ 1196s] 60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 55 | char *r e60sult | ; [ 1196s] r e| t ^u [ 1196s] r n| = NULL [ 1196s] ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/lsb/mount.c:47: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h1 warning generated. [ 1196s] In file included from toys/other/tac.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/readlink.c:24: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] :55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/shred.c:30: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/lsb/passwd.c:26: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] .1 warning generated. [ 1196s] 1 warning generated. [ 1196s] toys/other/shred.c:78:57: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] [ 1196s] 78 | if (++iter == TT.iterations && (toys.optargs && FLAG_z)) { [ 1196s] | ^ [ 1196s] ./generated/flags.h:4431:18: note: expanded from macro 'FLAG_z' [ 1196s] 4431 | #define FLAG_z (1<<6) [ 1196s] | ^ [ 1196s] In file included from toys/other/nbd_client.c:36: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] 1 warning generated. [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/lsb/mktemp.c:27: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] 1 warning generated. [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/lsb/su.c:26: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 3 warnings generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/free.c:19: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/other/printenv.c:18: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/factor.c:18: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/losetup.c:35: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/other/clear.c:14: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/bzcat.c:25: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/swapon.c:17: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 2 warnings generated. [ 1196s] In file included from toys/other/pivot_root.c:23: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/pwdx.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/other/readahead.c:18: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/modinfo.c:20: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/reset.c:17: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/pmap.c:23: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/makedevs.c:36: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/netcat.c:44: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/dos2unix.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] 1 warning generated. [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/eject.c:24: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/setsid.c:18: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/mkpasswd.c:24: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/mkswap.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] 1 warning generated. [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/rmmod.c:20: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/mountpoint.c:20: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] .1. warning generated. [ 1196s] 1 warning generated. [ 1196s] .1 warning generated. [ 1196s] .1 warning generated. [ 1196s] In file included from toys/other/rfkill.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] ...1 warning generated. [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/taskset.c:35: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] ..........1 warning generated. [ 1196s] In file included from toys/other/usleep.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/uptime.c:21: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/timeout.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/other/truncate.c:24: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/other/vmstat.c:29: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/w.c:17: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/vconfig.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] toys/other/vmstat.c:138:25: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1196s] 138 | uint64_t out = ptr[order[i]]; [ 1196s] | ^~~~~~~~~ [ 1196s] toys/other/vmstat.c:142:29: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1196s] 142 | if (i>5) out -= oldptr[order[i]]; [ 1196s] | ^~~~~~~~~ [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] ......In file included from toys/pending/bootchartd.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/other/which.c:17: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: In file included from variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] toys/pending/compress.c:118: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result 60: | s trredtuupr(n" ?o"k) ;? [ 1196s] r| e ^~~~~~s [ 1196s] ult : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | . char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/pending/crond.c:27: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/pending/dd.c:35: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : st./lib/lsm.hr:du55p:(15":? "note: )initialize the variable 'result' to silence this warning; [ 1196s] [ 1196s] | ^~~~~~ [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ../lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/other/xxd.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result .: strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ..In file included from toys/pending/fdisk.c:27: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ...1 warning generated. [ 1196s] In file included from toys/other/yes.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/pending/diff.c:34: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] toys/pending/dd.c:234:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1196s] 234 | ftruncate(out.fd, (off_t)out.offset * out.sz); [ 1196s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] toys/pending/compress.c:268:39: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1196s] 268 | for (i = 0; ilength[bitlen[i]]++; [ 1196s] | ^~~~~~~~~~ [ 1196s] toys/pending/compress.c:274:61: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1196s] 274 | for (i = 0; isymbol[offset[bitlen[i]]++] = i; [ 1196s] | ^~~~~~~~~~ [ 1196s] toys/pending/bootchartd.c:244:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1196s] 244 | systtoys/pending/compress.cem:354:(39t:o ywarning: barray subscript is of type 'char' [-Wchar-subscripts]u [ 1196s] f); [ 1196s] | ^~~~~~~~~~~~~~ [ 1196s] 354 | for (i=0; istat.st_dev = 0; [ 1196s] | ^ ~ [ 1196s] toys/posix/df.c:133:17: note: add parentheses after the '!' to evaluate the bitwise operator first [ 1196s] 133 | if (!toys.optflags & FLAG_a) mt3->stat.st_dev = 0; [ 1196s] | ^ [ 1196s] | ( ) [ 1196s] toys/posix/df.c:133:17: note: add parentheses around left hand side expression to silence this warning [ 1196s] 133 | if (!toys.optflags & FLAG_a) mt3->stat.st_dev = 0; [ 1196s] | ^ [ 1196s] | ( ) [ 1196s] In file included from toys/posix/rm.c:23: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/pending/ipcs.c:30: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] toys/pending/top.c:101:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1196s] 101 | fgets(toybuf, sizeof(toybuf), file); [ 1196s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] In file included from toys/posix/sort.c:59: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/pending/getty.c:29: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] toys/pending/telnet.c:138:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1196s] 138 | write(1,"\r\nConsole escape. Commands are:\r\n\n" [ 1196s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] 139 | " l go to line mode\1r warning\ generatedn. [ 1196s] " [ 1196s] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] 140 | " c go to character mode\r\n" [ 1196s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] 141 | " z suspend telnet\r\n" [ 1196s] | ~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] 142 | " e exit telnet\r\n", 114); [ 1196s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] toys/pending/telnet.c:181:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1196s] 181 | write(1, "continuing...\r\n", 15); [ 1196s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] In file included from toys/posix/cal.c:21: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] In file included from toys/pending/telnetd.c:26: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] toys/pending/telnet.c:295:10: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1196s] 295 | if (i) write(STDIN_FILENO, toIn file included from ybuf, i); [ 1196s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] toys/pending/sh.c:172: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return oktoys/pending/telnet.c:317:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] [ 1196s] 317 | if(i) write(TT.sfd, toybuf, i);./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] [ 1196s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] In file included from toys/pending/route.c:23: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/posix/nohup.c:20: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] toys/pending/getty.c:137:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1196s] 137 | chown(TT.tty_name, 0, 0); // change ownership, Hope login will change this [ 1196s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 1196s] In file included from toys/posix/nice.c:24: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/posix/paste.c:23: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from 1 warning generated. [ 1196s] toys/posix/false.c:16: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *In file included from result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] toys/pending/modprobe.c:28: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] In file included from toys/posix/sed.c:166: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/pending/ps.c:65: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/pending/init.c:22: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] In file included from toys/pending/host.c:25: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] 1./lib/lsm.h warning: generated55. [ 1196s] :15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 1 warning generated. [ 1196s] 1 warning generated. [ 1196s] toys/pending/telnetd.c:320:36: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1196s] 320 | if (!(toys.optflags & FLAG_F)) daemon(0, 0); [ 1196s] | ^~~~~~~~~~~~ [ 1196s] In file included from toys/posix/ln.c:25: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] 2 warnings generated. [ 1196s] In file included from toys/posix/nl.c:29: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] In file included from toys/posix/patch.c:47: [ 1196s] In file included from ./toys.h:72: [ 1196s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1196s] 60 | return ok ? result : strdup("?"); [ 1196s] | ^~~~~~ [ 1196s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1196s] 55 | char *result; [ 1196s] | ^ [ 1196s] | = NULL [ 1196s] toys/pending/ps.c:133:19: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1196s] 133 | slot[((char[]){0,2,16,17,22})[i]]>>(((1<