[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.22 [ 0s] Using BUILD_ARCH=aarch64:aarch64_ilp32:armv8l [ 0s] [ 0s] [ 0s] ae5ad45ad931 started "build toybox.spec" at Tue Oct 13 10:52:59 UTC 2026. [ 0s] [ 0s] Building toybox for project 'Tizen-Base-Toolchain' repository 'standard' arch 'aarch64' 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 ... [ 1s] registering binfmt handlers for cross build [ 1s] cycle: nss -> libsoftokn3 [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/46] preinstalling filesystem... [ 1s] [2/46] preinstalling libmagic-data... [ 2s] [3/46] preinstalling libncurses... [ 2s] [4/46] preinstalling glibc... [ 3s] [5/46] preinstalling bash... [ 3s] [6/46] preinstalling diffutils... [ 3s] [7/46] preinstalling grep... [ 3s] [8/46] preinstalling libarchive-tools... [ 3s] [9/46] preinstalling libattr... [ 3s] [10/46] preinstalling libblkid... [ 3s] [11/46] preinstalling libbz2... [ 3s] [12/46] preinstalling libcap... [ 3s] [13/46] preinstalling libfreebl3... [ 4s] [14/46] preinstalling libgcc... [ 4s] [15/46] preinstalling liblua... [ 4s] [16/46] preinstalling liblzma... [ 4s] [17/46] preinstalling libopenssl3... [ 5s] [18/46] preinstalling libpopt... [ 5s] [19/46] preinstalling libreadline... [ 5s] [20/46] preinstalling libsmack... [ 5s] [21/46] preinstalling libsqlite... [ 5s] [22/46] preinstalling libuuid... [ 5s] [23/46] preinstalling libxcrypt... [ 5s] [24/46] preinstalling libxml2... [ 5s] [25/46] preinstalling libzstd1... [ 5s] [26/46] preinstalling nspr... [ 5s] [27/46] preinstalling sed... [ 5s] [28/46] preinstalling toybox... [ 5s] [29/46] preinstalling zlib... [ 5s] [30/46] preinstalling clang-accel-x86_64-aarch64... [ 335s] [31/46] preinstalling qemu-accel-x86_64-aarch64... [ 372s] [32/46] preinstalling qemu-linux-user-x86_64-cross... [ 389s] [33/46] preinstalling coreutils... [ 390s] [34/46] preinstalling dash... [ 390s] [35/46] preinstalling libacl... [ 390s] [36/46] preinstalling libelf... [ 390s] [37/46] preinstalling libmount... [ 390s] [38/46] preinstalling smack... [ 390s] [39/46] preinstalling bzip2... [ 390s] [40/46] preinstalling libmagic... [ 390s] [41/46] preinstalling tar... [ 390s] [42/46] preinstalling util-linux... [ 391s] [43/46] preinstalling rpm... [ 392s] [44/46] preinstalling util-linux-su... [ 392s] [45/46] preinstalling nss... [ 392s] [46/46] preinstalling libsoftokn3... [ 393s] running qemu-linux-user-x86_64-cross postinstall script [ 393s] .init_b_cache/scripts/qemu-linux-user-x86_64-cross.post: line 22: /etc/profile.d/qemu_base.sh: No such file or directory [ 393s] .init_b_cache/scripts/qemu-linux-user-x86_64-cross.post: line 23: /etc/profile.d/qemu_base.sh: No such file or directory [ 393s] chmod: cannot access `/etc/profile.d/qemu_base.sh': No such file or directory [ 393s] running qemu-accel-x86_64-aarch64 postinstall script [ 393s] mv: cannot stat `/usr/lib64/gcc/aarch64-tizen-linux-gnu/14.2.0/liblto_plugin.so': No such file or directory [ 393s] running clang-accel-x86_64-aarch64 postinstall script [ 393s] initializing rpm db... [ 395s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 395s] breaking dependency libxcrypt-devel -> glibc-devel [ 395s] cycle: libsoftokn3 -> nss [ 395s] breaking dependency nss -> libsoftokn3 [ 395s] cycle: clang -> llvm [ 395s] breaking dependency llvm -> clang [ 395s] cycle: clang -> llvm -> lldb [ 395s] breaking dependency llvm -> lldb [ 395s] done [ 395s] querying package ids... [ 395s] [1/111] cumulate libmagic-data-5.46-1.13 [ 395s] [2/111] cumulate setup-0.9-2.4 [ 395s] [3/111] cumulate filesystem-3.1-1.1 [ 395s] [4/111] cumulate glibc-2.40-2.4 [ 395s] [5/111] cumulate bash-3.2.57-1.13 [ 395s] [6/111] cumulate cpio-2.8-1.1 [ 395s] [7/111] cumulate diffutils-3.10-1.1 [ 395s] [8/111] cumulate findutils-4.3.8-1.14 [ 395s] [9/111] cumulate gdbm-1.8.3-1.14 [ 395s] [10/111] cumulate hostname-3.23-1.1 [ 395s] [11/111] cumulate libatomic-14.2.0-1.14 [ 395s] [12/111] cumulate libattr-2.5.1-1.14 [ 395s] [13/111] cumulate libblkid-2.41.2-1.7 [ 395s] [14/111] cumulate libbz2-1.0.8-1.13 [ 395s] [15/111] cumulate libcap-2.73-1.12 [ 395s] [16/111] cumulate libfreebl3-3.109-1.2 [ 395s] [17/111] cumulate libgcc-14.2.0-1.14 [ 395s] [18/111] cumulate libgomp-14.2.0-1.14 [ 395s] [19/111] cumulate libitm-14.2.0-1.14 [ 395s] [20/111] cumulate libltdl-2.5.4-1.14 [ 395s] [21/111] cumulate liblua-5.1.5-1.11 [ 395s] [22/111] cumulate liblzma-5.8.1-1.13 [ 395s] [23/111] cumulate libopenssl3-3.5.5-1.14 [ 395s] [24/111] cumulate libpcre-8.45-1.14 [ 395s] [25/111] cumulate libpopt-1.16-1.11 [ 395s] [26/111] cumulate libpython3_141_0-3.14.2-1.12 [ 395s] [27/111] cumulate libsmack-1.3.1-1.11 [ 395s] [28/111] cumulate libsmartcols-2.41.2-1.7 [ 395s] [29/111] cumulate libsqlite-3.51.0-1.14 [ 395s] [30/111] cumulate libuuid-2.41.2-1.7 [ 395s] [31/111] cumulate libxcrypt-4.4.36-1.14 [ 395s] [32/111] cumulate libxml2-2.15.1-1.13 [ 395s] [33/111] cumulate libzstd1-1.5.7-1.12 [ 395s] [34/111] cumulate m4-1.4.20-1.1 [ 395s] [35/111] cumulate net-tools-2.0_20121208git-1.9 [ 395s] [36/111] cumulate nspr-4.36-2.2 [ 395s] [37/111] cumulate patch-2.8-1.11 [ 395s] [38/111] cumulate pkg-config-0.29.2-1.13 [ 395s] [39/111] cumulate sed-4.1c-1.13 [ 395s] [40/111] cumulate toybox-0.6.0-1.1 [ 395s] [41/111] cumulate update-alternatives-1.22.21-1.1 [ 395s] [42/111] cumulate which-2.17-1.1 [ 395s] [43/111] cumulate zlib-1.3.1-1.14 [ 395s] [44/111] cumulate app-rootstrap-checker-1.0.0-1.1 [ 395s] [45/111] cumulate build-compare-2023.06.18-1.4 [ 395s] [46/111] cumulate clang-accel-x86_64-aarch64-0.4-2.1 [ 395s] [47/111] cumulate hal-rootstrap-checker-1.0.0-4.1 [ 395s] [48/111] cumulate qemu-linux-user-x86_64-cross-9.2.3.1-3.3 [ 395s] [49/111] cumulate binutils-libs-2.43-1.14 [ 395s] [50/111] cumulate coreutils-6.9-14.2 [ 395s] [51/111] cumulate cpp-14.2.0-1.14 [ 395s] [52/111] cumulate dash-0.5.13.4-1.1 [ 395s] [53/111] cumulate gawk-3.1.5-1.1 [ 395s] [54/111] cumulate gcc-c++-14.2.0-1.14 [ 395s] [55/111] cumulate grep-2.5.2-1.13 [ 395s] [56/111] cumulate libacl-2.3.2-1.13 [ 395s] [57/111] cumulate libelf-0.189-1.14 [ 395s] [58/111] cumulate libgfortran-14.2.0-1.14 [ 395s] [59/111] cumulate liblastlog2-2.41.2-1.7 [ 395s] [60/111] cumulate libmount-2.41.2-1.7 [ 395s] [61/111] cumulate libstdc++-14.2.0-1.14 [ 395s] [62/111] cumulate make-4.4.1-1.12 [ 395s] [63/111] cumulate nss-certs-3.109-1.2 [ 395s] [64/111] cumulate smack-1.3.1-1.11 [ 395s] [65/111] cumulate smack-devel-1.3.1-1.11 [ 395s] [66/111] cumulate bzip2-1.0.8-1.13 [ 395s] [67/111] cumulate libfdisk-2.41.2-1.7 [ 395s] [68/111] cumulate libmagic-5.46-1.13 [ 395s] [69/111] cumulate xz-5.8.1-1.13 [ 395s] [70/111] cumulate perl-5.42.0-1.14 [ 395s] [71/111] cumulate build-mkbaselibs-20120927-1.1 [ 395s] [72/111] cumulate libstdc++-devel-14.2.0-1.14 [ 395s] [73/111] cumulate linux-glibc-devel-6.6-1.14 [ 395s] [74/111] cumulate tar-1.17-2.1 [ 395s] [75/111] cumulate terminfo-base-full-6.6-1.8 [ 395s] [76/111] cumulate autoconf-2.71-1.14 [ 395s] [77/111] cumulate file-5.46-1.13 [ 395s] [78/111] cumulate glibc-locale-2.40-2.4 [ 395s] [79/111] cumulate gzip-1.3.12-1.11 [ 395s] [80/111] cumulate libcc1-14.2.0-1.14 [ 395s] [81/111] cumulate binutils-2.43-1.14 [ 395s] [82/111] cumulate pam-1.1.6-1.8 [ 395s] [83/111] cumulate tzdata-2025b-1.1 [ 395s] [84/111] cumulate libdw-0.189-1.14 [ 395s] [85/111] cumulate libllvm-22.1.8-3.1 [ 395s] [86/111] cumulate libarchive-3.8.1-2.4 [ 395s] [87/111] cumulate libarchive-tools-3.8.1-2.4 [ 395s] [88/111] cumulate automake-1.16.5-1.14 [ 395s] [89/111] cumulate libasm-0.189-1.14 [ 395s] [90/111] cumulate libncurses6-6.6-1.8 [ 395s] [91/111] cumulate gcc-14.2.0-1.14 [ 395s] [92/111] cumulate rpm-4.14.1.1-1.9 [ 395s] [93/111] cumulate libncurses-6.6-1.8 [ 395s] [94/111] cumulate less-685-1.1 [ 395s] [95/111] cumulate libreadline-5.2-1.14 [ 395s] [96/111] cumulate qemu-accel-x86_64-aarch64-0.4-2.1 [ 395s] [97/111] cumulate libtool-2.5.4-1.14 [ 395s] [98/111] cumulate build-20120927-1.1 [ 395s] [99/111] cumulate elfutils-0.189-1.14 [ 395s] [100/111] cumulate util-linux-2.41.2-1.7 [ 395s] [101/111] cumulate util-linux-su-2.41.2-1.7 [ 395s] [102/111] cumulate libxcrypt-devel-4.4.36-1.14 [ 395s] [103/111] cumulate nss-3.109-1.2 [ 395s] [104/111] cumulate llvm-22.1.8-3.1 [ 395s] [105/111] cumulate glibc-devel-2.40-2.4 [ 395s] [106/111] cumulate libsoftokn3-3.109-1.2 [ 395s] [107/111] cumulate clang-22.1.8-3.1 [ 395s] [108/111] cumulate llvm-devel-22.1.8-3.1 [ 395s] [109/111] cumulate libattr-devel-2.5.1-1.14 [ 395s] [110/111] cumulate lldb-22.1.8-3.1 [ 395s] [111/111] cumulate rpm-build-4.14.1.1-1.9 [ 395s] now installing cumulated packages [ 515s] Preparing... ######################################## [ 515s] Updating / installing... [ 515s] setup-0.9-2.4 ######################################## [ 515s] filesystem-3.1-1.1 ######################################## [ 516s] glibc-2.40-2.4 ######################################## [ 517s] bash-3.2.57-1.13 ######################################## [ 517s] zlib-1.3.1-1.14 ######################################## [ 517s] libgcc-14.2.0-1.14 ######################################## [ 518s] libstdc++-14.2.0-1.14 ######################################## [ 519s] coreutils-6.9-14.2 ######################################## [ 519s] liblzma-5.8.1-1.13 ######################################## [ 519s] libelf-0.189-1.14 ######################################## [ 519s] libbz2-1.0.8-1.13 ######################################## [ 519s] libdw-0.189-1.14 ######################################## [ 519s] libxcrypt-4.4.36-1.14 ######################################## [ 519s] libxml2-2.15.1-1.13 ######################################## [ 526s] libllvm-22.1.8-3.1 ######################################## [ 526s] libblkid-2.41.2-1.7 ######################################## [ 527s] nspr-4.36-2.2 ######################################## [ 527s] pkg-config-0.29.2-1.13 ######################################## [ 527s] pam-1.1.6-1.8 ######################################## [ 527s] libattr-2.5.1-1.14 ######################################## [ 527s] libacl-2.3.2-1.13 ######################################## [ 528s] libfreebl3-3.109-1.2 ######################################## [ 528s] libopenssl3-3.5.5-1.14 ######################################## [ 528s] libarchive-3.8.1-2.4 ######################################## [ 529s] libpopt-1.16-1.11 ######################################## [ 529s] libsmack-1.3.1-1.11 ######################################## [ 529s] libsqlite-3.51.0-1.14 ######################################## [ 529s] libuuid-2.41.2-1.7 ######################################## [ 529s] libfdisk-2.41.2-1.7 ######################################## [ 529s] liblastlog2-2.41.2-1.7 ######################################## [ 529s] libarchive-tools-3.8.1-2.4 ######################################## [ 529s] nss-certs-3.109-1.2 ######################################## [ 529s] libsoftokn3-3.109-1.2 ######################################## [ 530s] nss-3.109-1.2 ######################################## [ 530s] libmount-2.41.2-1.7 ######################################## [ 530s] libasm-0.189-1.14 ######################################## [ 530s] bzip2-1.0.8-1.13 ######################################## [ 530s] xz-5.8.1-1.13 ######################################## [ 530s] linux-glibc-devel-6.6-1.14 ######################################## [ 530s] libxcrypt-devel-4.4.36-1.14 ######################################## [ 530s] glibc-devel-2.40-2.4 ######################################## [ 531s] terminfo-base-full-6.6-1.8 ######################################## [ 531s] libncurses6-6.6-1.8 ######################################## [ 531s] libreadline-5.2-1.14 ######################################## [ 551s] clang-22.1.8-3.1 ######################################## [ 554s] lldb-22.1.8-3.1 ######################################## [ 561s] llvm-22.1.8-3.1 ######################################## [ 562s] gzip-1.3.12-1.11 ######################################## [ 562s] libcc1-14.2.0-1.14 ######################################## [ 562s] libgfortran-14.2.0-1.14 ######################################## [ 562s] binutils-libs-2.43-1.14 ######################################## [ 566s] binutils-2.43-1.14 ######################################## [ 566s] make-4.4.1-1.12 ######################################## [ 566s] findutils-4.3.8-1.14 ######################################## [ 566s] gdbm-1.8.3-1.14 ######################################## [ 578s] perl-5.42.0-1.14 ######################################## [ 578s] build-mkbaselibs-20120927-1.1 ######################################## [ 578s] libatomic-14.2.0-1.14 ######################################## [ 578s] libcap-2.73-1.12 ######################################## [ 578s] libgomp-14.2.0-1.14 ######################################## [ 578s] libitm-14.2.0-1.14 ######################################## [ 588s] gcc-14.2.0-1.14 ######################################## [ 588s] libltdl-2.5.4-1.14 ######################################## [ 589s] liblua-5.1.5-1.11 ######################################## [ 589s] libpcre-8.45-1.14 ######################################## [ 589s] libpython3_141_0-3.14.2-1.12 ######################################## [ 589s] libsmartcols-2.41.2-1.7 ######################################## [ 589s] libzstd1-1.5.7-1.12 ######################################## [ 590s] m4-1.4.20-1.1 ######################################## [ 590s] autoconf-2.71-1.14 ######################################## [ 590s] automake-1.16.5-1.14 ######################################## [ 590s] patch-2.8-1.11 ######################################## [ 590s] sed-4.1c-1.13 ######################################## [ 591s] util-linux-2.41.2-1.7 ######################################## [ 593s] libmagic-data-5.46-1.13 ######################################## [ 593s] libmagic-5.46-1.13 ######################################## [ 594s] rpm-4.14.1.1-1.9 ######################################## [ 594s] rpm-build-4.14.1.1-1.9 ######################################## [ 594s] file-5.46-1.13 ######################################## [ 594s] util-linux-su-2.41.2-1.7 ######################################## [ 594s] libtool-2.5.4-1.14 ######################################## [ 599s] llvm-devel-22.1.8-3.1 ######################################## [ 600s] grep-2.5.2-1.13 ######################################## [ 636s] qemu-accel-x86_64-aarch64-0.4-2.1 ######################################## [ 636s] build-20120927-1.1 ######################################## [ 636s] libncurses-6.6-1.8 ######################################## [ 636s] less-685-1.1 ######################################## [ 636s] libattr-devel-2.5.1-1.14 ######################################## [ 637s] elfutils-0.189-1.14 ######################################## [ 637s] smack-1.3.1-1.11 ######################################## [ 637s] smack-devel-1.3.1-1.11 ######################################## [ 637s] tar-1.17-2.1 ######################################## [ 640s] glibc-locale-2.40-2.4 ######################################## [ 640s] tzdata-2025b-1.1 ######################################## [ 643s] libstdc++-devel-14.2.0-1.14 ######################################## [ 648s] cpp-14.2.0-1.14 ######################################## [ 653s] gcc-c++-14.2.0-1.14 ######################################## [ 653s] app-rootstrap-checker-1.0.0-1.1 ######################################## [ 653s] build-compare-2023.06.18-1.4 ######################################## [ 989s] clang-accel-x86_64-aarch64-0.4-2.1 ######################################## [ 993s] hal-rootstrap-checker-1.0.0-4.1 ######################################## [ 1009s] qemu-linux-user-x86_64-cross-9.2.3.1-3######################################## [ 1010s] dash-0.5.13.4-1.1 ######################################## [ 1010s] gawk-3.1.5-1.1 ######################################## [ 1010s] cpio-2.8-1.1 ######################################## [ 1010s] diffutils-3.10-1.1 ######################################## [ 1010s] hostname-3.23-1.1 ######################################## [ 1010s] net-tools-2.0_20121208git-1.9 ######################################## [ 1010s] toybox-0.6.0-1.1 ######################################## [ 1010s] update-alternatives-1.22.21-1.1 ######################################## [ 1010s] which-2.17-1.1 ######################################## [ 1011s] now finalizing build dir... [ 1012s] ----------------------------------------------------------------- [ 1012s] I have the following modifications for toybox.spec: [ 1012s] 4c4 [ 1012s] < Release: 1%{?dist} [ 1012s] --- [ 1012s] > Release: 1.2 [ 1012s] build target is aarch64-tizen-linux [ 1012s] ----------------------------------------------------------------- [ 1012s] ----- building toybox.spec (user abuild) [ 1012s] ----------------------------------------------------------------- [ 1012s] ----------------------------------------------------------------- [ 1012s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-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 [ 1013s] Building target platforms: aarch64-tizen-linux [ 1013s] Building for target aarch64-tizen-linux [ 1013s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tL84r4 [ 1013s] + umask 022 [ 1013s] + cd /home/abuild/rpmbuild/BUILD [ 1013s] + cd /home/abuild/rpmbuild/BUILD [ 1013s] + rm -rf toybox-0.6.0 [ 1013s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/toybox-0.6.0.tar.bz2 [ 1013s] + /bin/tar -xof - [ 1013s] + STATUS=0 [ 1013s] + '[' 0 -ne 0 ']' [ 1013s] + cd toybox-0.6.0 [ 1013s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 1013s] + echo 'Patch #0 (9952df6-to-9035494.diff):' [ 1013s] Patch #0 (9952df6-to-9035494.diff): [ 1013s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 1013s] patching file .hg_archival.txt [ 1013s] patching file .hgtags [ 1013s] patching file Config.in [ 1013s] patching file LICENSE.BSD [ 1013s] patching file lib/lib.c [ 1013s] patching file lib/lib.h [ 1013s] patching file lib/net.c [ 1013s] patching file lib/portability.c [ 1013s] patching file lib/xwrap.c [ 1013s] patching file main.c [ 1013s] patching file scripts/make.sh [ 1013s] patching file scripts/mkflags.c [ 1013s] patching file tests/sed.test [ 1013s] patching file toys.h [ 1013s] patching file toys/other/acpi.c [ 1013s] patching file toys/other/blkid.c [ 1013s] patching file toys/other/bzcat.c [ 1013s] patching file toys/other/chcon.c [ 1013s] patching file toys/other/hexedit.c [ 1013s] patching file toys/other/login.c [ 1013s] patching file toys/other/lspci.c [ 1013s] patching file toys/other/nbd_client.c [ 1013s] patching file toys/other/netcat.c [ 1013s] patching file toys/other/reboot.c [ 1013s] patching file toys/other/rev.c [ 1013s] patching file toys/other/switch_root.c [ 1013s] patching file toys/other/tac.c [ 1013s] patching file toys/other/taskset.c [ 1013s] patching file toys/other/vmstat.c [ 1013s] patching file toys/pending/dd.c [ 1013s] patching file toys/pending/dhcp.c [ 1013s] patching file toys/pending/dhcpd.c [ 1013s] patching file toys/pending/init.c [ 1013s] patching file toys/pending/log.h [ 1013s] patching file toys/pending/mdev.c [ 1013s] patching file toys/pending/modprobe.c [ 1013s] patching file toys/pending/ping.c [ 1013s] patching file toys/pending/telnet.c [ 1013s] patching file toys/pending/telnetd.c [ 1013s] patching file toys/posix/cal.c [ 1013s] patching file toys/posix/chmod.c [ 1013s] patching file toys/posix/cmp.c [ 1013s] patching file toys/posix/date.c [ 1013s] patching file toys/posix/du.c [ 1013s] patching file toys/posix/find.c [ 1013s] patching file toys/posix/id.c [ 1013s] patching file toys/posix/ls.c [ 1013s] patching file toys/posix/nl.c [ 1013s] patching file toys/posix/split.c [ 1013s] patching file toys/posix/strings.c [ 1013s] patching file toys/samsung/README [ 1013s] patching file toys/samsung/nslookup.c [ 1013s] patching file toys/samsung/ping.c [ 1013s] patching file www/news.html [ 1014s] + echo 'Patch #1 (0002-Remove-dlog-dependency-from-dhcp-dhcpd.patch):' [ 1014s] Patch #1 (0002-Remove-dlog-dependency-from-dhcp-dhcpd.patch): [ 1014s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 1014s] patching file toys/pending/dhcp.c [ 1014s] patching file toys/pending/dhcpd.c [ 1014s] patching file toys/pending/log.h [ 1014s] + echo 'Patch #2 (0003-fix-detect-build-errors-without-relying-on-wait-exit.patch):' [ 1014s] Patch #2 (0003-fix-detect-build-errors-without-relying-on-wait-exit.patch): [ 1014s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 1014s] patching file scripts/make.sh [ 1014s] + exit 0 [ 1014s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wlGFqJ [ 1014s] + umask 022 [ 1014s] + cd /home/abuild/rpmbuild/BUILD [ 1014s] + 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=armv8-a+fp+simd+crc+crypto -mtune=cortex-a53 -g' [ 1014s] + export CFLAGS [ 1014s] + 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=armv8-a+fp+simd+crc+crypto -mtune=cortex-a53 -g' [ 1014s] + export CXXFLAGS [ 1014s] + LDFLAGS=-Wl,-z,relro,--as-needed [ 1014s] + export LDFLAGS [ 1014s] + cd toybox-0.6.0 [ 1014s] + ref=/usr/lib/rpm [ 1014s] + mints=0 [ 1014s] + case $(uname -m) in [ 1014s] ++ uname -m [ 1014s] + mints=20120610 [ 1014s] + for s in guess sub [ 1014s] ++ find -maxdepth 8 -name config.guess [ 1014s] + for s in guess sub [ 1014s] ++ find -maxdepth 8 -name config.sub [ 1014s] + export AR=llvm-ar RANLIB=llvm-ranlib [ 1014s] + AR=llvm-ar [ 1014s] + RANLIB=llvm-ranlib [ 1014s] + export CC=aarch64-tizen-linux-gnu-clang CXX=aarch64-tizen-linux-gnu-clang++ [ 1014s] + CC=aarch64-tizen-linux-gnu-clang [ 1014s] + CXX=aarch64-tizen-linux-gnu-clang++ [ 1014s] + cp /home/abuild/rpmbuild/SOURCES/toybox.manifest . [ 1014s] + cp /home/abuild/rpmbuild/SOURCES/config .config [ 1014s] + 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=armv8-a+fp+simd+crc+crypto -mtune=cortex-a53 -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=armv8-a+fp+simd+crc+crypto -mtune=cortex-a53 -g -fPIE -Wno-nonnull -Wno-incompatible-pointer-types' 'LDOPTIMIZE= -Wl,--gc-sections -pie' [ 1014s] scripts/genconfig.sh [ 1022s] scripts/make.sh [ 1022s] Generate headers from toys/*/*.c... [ 1022s] generated/newtoys.h Library probe....... [ 1022s] Make generated/config.h from .config. [ 1025s] generated/flags.h generated/globals.h generated/help.h [ 1027s] Compile toybox..................lib/args.c:302:11: warning: variable 'temp' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] [ 1027s] 302 | if (new->type == '#') { [ 1027s] | ^~~~~~~~~~~~~~~~ [ 1027s] toys/pending/dhcpd.c:488:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1027s] 488 | write(pidfile, pidbuf, strlen(pidbuf)); [ 1027s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1027s] toys/pending/traceroute.c:480:12: warning: variable 'opt_len' set but not used [-Wunused-but-set-variable] [ 1027s] 480 | unsigned opt_len = 0, pack_size = 0, tyser = 0; [ 1027s] | ^ [ 1027s] lib/args.c:309:19: note: uninitialized use occurs here [ 1027s] 309 | options = --temp; [ 1027s] | ^~~~ [ 1027s] 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] [ 1027s] 896 | memcpy(dest_sll.sll_addr, client_lla, sizeof(client_lla)); [ 1027s] | ~~~~~~~~~~ ^~~~~~~~~~ [ 1027s] toys/pending/dhcpd.c:896:48: note: did you mean to provide an explicit length? [ 1027s] 896 | memcpy(dest_sll.sll_addr, client_lla, sizeof(client_lla)); [ 1027s] | ^~~~~~~~~~ [ 1027s] toys/pending/dhcp.c:362:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1027s] 362 | write(pidfile, pidbuf, strlen(pidbuf)); [ 1027s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1027s] toys/pending/dhcpd.c:1562:10: warning: address of stack memory associated with local variable 'nip6' returned [-Wreturn-stack-address] [ 1027s] 1562 | return nip6; [ 1027s] | ^~~~ [ 1027s] toys/pending/dhcpd.c:1644:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1027s] 1644 | daemon(0,0); [ 1027s] | ^~~~~~~~~~~ [ 1027s] lib/args.c:302:7: note: remove the 'if' if its condition is always true [ 1027s] 302 | if (new->type == '#') { [ 1027s] | ^~~~~~~~~~~~~~~~~~~~~ [ 1027s] 303 | long l = strtol(++options, &temp, 10); [ 1027s] 304 | if (temp != options) new->val[idx].l = l; [ 1027s] 305 | } else if (CFG_TOYBOX_FLOAT && new->type == '.') { [ 1027s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1027s] 306 | FLOAT f = strtod(++options, &temp); [ 1027s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1027s] 307 | if (temp != options) new->val[idx].f = f; [ 1027s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1027s] 308 | } else if (CFG_TOYBOX_DEBUG) error_exit("<>= only after .#"); [ 1027s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1027s] toys/pending/dhcpd.c:1778:36: warning: address of array 'gstate.rcvd.rcvd_pkt6.transaction_id' will always evaluate to 'true' [-Wpointer-bool-conversion] [ 1027s] 1778 | if (!gstate.rcvd.rcvd_pkt6.transaction_id || [ 1027s] | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ [ 1027s] toys/pending/dhcpd.c:1758:30: warning: unused variable 'server_ia_pd' [-Wunused-variable] [ 1027s] 1758 | *client_ia_pd, *server_ia_pd; [ 1027s] | ^~~~~~~~~~~~ [ 1027s] toys/pending/dhcp.c:1369:11: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1027s] 1369 | daemon(0, 0); [ 1027s] | ^~~~~~~~~~~~ [ 1027s] lib/lib.c:785:16: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1027s] toys/pending/dhcpd.c 785: | 1636 : 12 : warning: cunused variable 'requested_nip6' [-Wunused-variable] [ 1027s] = "tss"[ d1636 | ] ;u [ 1027s] in t| 3 ^~2 [ 1027s] _t requested_nip6[4] = {0,}; [ 1027s] | ^~~~~~~~~~~~~~ [ 1027s] lib/lib.c:787:27: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1027s] 787 | } else c = bit ? "xwr"[c] : '-'; [ 1027s] | ^~ [ 1027s] toys/pending/dhcpd.c:1809:36: warning: variable 'client_duid' is uninitialized when used here [-Wuninitialized] [ 1027s] 1809 | getip6_from_pool(client_duid, client_duid_len, [ 1027s] | ^~~~~~~~~~~ [ 1027s] toys/pending/dhcp.c:1506:13: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1027s] 1506 | daemon(0, 0); [ 1027s] | ^~~~~~~~~~~~ [ 1027s] lib/args.c:256:15: note: initialize the variable 'temp' to silence this warning [ 1027s] 256 | char *temp; [ 1027s] | ^ [ 1027s] | = NULL [ 1027s] toys/pending/dhcpd.c:1757:26: note: initialize the variable 'client_duid' to silence this warning [ 1027s] 1757 | void *client_duid, *server_duid, *client_ia_na, *server_ia_na, [ 1027s] | ^ [ 1027s] | = NULL [ 1027s] 1 warning generated. [ 1027s] 1 warning generated. [ 1028s] 2 warnings generated. [ 1028s] 3 warnings generated. [ 1028s] 8 warnings generated. [ 1028s] ... [ 1028s] + cp toybox toybox-dynamic [ 1028s] + cp /home/abuild/rpmbuild/SOURCES/config-full .config [ 1028s] + 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=armv8-a+fp+simd+crc+crypto -mtune=cortex-a53 -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=armv8-a+fp+simd+crc+crypto -mtune=cortex-a53 -g -fPIE -Wno-nonnull -Wno-incompatible-pointer-types' 'LDOPTIMIZE= -Wl,--gc-sections -pie' [ 1028s] scripts/make.sh [ 1028s] Generate headers from toys/*/*.c... [ 1028s] Make generated/config.h from .config. [ 1028s] generated/flags.h generated/help.h [ 1028s] Compile toybox........................................................................In file included from main.c:6: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | In file included from return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] toys/other/blkid.c:28: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/lsb/mount.c:47: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from toys/lsb/umount.c:32: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized]./lib/lsm.h [ 1028s] :55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 60 | return ok ? result : strdup("?"In file included from ); [ 1028s] | ^~~~~~ [ 1028s] toys/lsb/hostname.c:19: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] [ 1028s] In file included from lib/help.c:3: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 55 | 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] char *result; [ 1028s] ./lib/lsm.h:55:In file included from 15toys/lsb/mknod.c:: 31note: : [ 1028s] initialize the variable 'result' to silence this warningIn file included from [ 1028s] ./toys.h:72: [ 1028s] ./lib/lsm.h:60: 1555: | warning: cvariable 'result' is uninitialized when used here [-Wuninitialized]h [ 1028s] ar *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] | ./lib/lsm.h ^ [ 1028s] | = NULL [ 1028s] :55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/lsb/sync.c:18: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/free.c:19: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/lsb/passwd.c:26: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/lsb/pidof.c:23: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/eject.c:24: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/ionice.c:39: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/lsb/dmesg.c:26: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from toys/other/printenv.c:18: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/ifconfig.c:50: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/mix.c:23: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/lsmod.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/losetup.c:35: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/lsusb.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? resuIn file included from lt : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/chroot.c:21: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] In file included from | ^ [ 1028s] | = NULL [ 1028s] toys/other/base64.c:23: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] toys/lsb/su.c:26: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from toys/other/nsenter.c:64: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/inotifyd.c:34: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/fallocate.c:20: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] In file included from 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] toys/other/mkpasswd.c:24: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/login.c:28: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/partprobe.c:20: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/stat.c:36: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.hIn file included from :55toys/other/reboot.c::1521: : [ 1028s] note: In file included from initialize the variable 'result' to silence this warning./toys.h [ 1028s] :72: [ 1028s] ./lib/lsm.h:60:15: 55 | warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from ./lib/lsm.htoys/other/insmod.c::1655: [ 1028s] :In file included from 15./toys.h:: 72note: : [ 1028s] initialize the variable 'result' to silence this warning./lib/lsm.h [ 1028s] :60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ../lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/nbd_client.c:36: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1In file included from toys/other/switch_root.c:21: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] warning generated. [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULLIn file included from [ 1028s] toys/other/acpi.c:25: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] 1 warning generated. [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/freeramdisk.c:18: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/hexedit.c:21: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/rfkill.c:28: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/swapon.c:17: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from toys/lsb/md5sum.c:40: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/factor.c:18: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] .In file included from toys/other/clear.c:14: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h.:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] .1 warning generated. [ 1028s] In file included from toys/other/netcat.c:44: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/lsb/killall.c:25: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from 1 warning generated. [ 1028s] In file included from toys/other/pwdx.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/oneit.c:28: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] In file included from toys/lsb/seq.c:25: [ 1028s] In file included from ./toys.h:72 : [ 1028s] 60./lib/lsm.h | : 60r:e15t:u rwarning: n variable 'result' is uninitialized when used here [-Wuninitialized]o [ 1028s] k ? result : strdup("?"); [ 1028s] 60 | r| e ^~~~~~t [ 1028s] urn ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/lspci.c:31: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] toys/other/chvt.c:20: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] toys/other/oneit.c:64:7: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] [ 1028s] 64 | if (FLAG_3) { [ 1028s] | ^ [ 1028s] ./generated/flags.h:4112:18: note: expanded from macro 'FLAG_3' [ 1028s] 4112 | #define FLAG_3 (1<<0) [ 1028s] | ^ [ 1028s] toys/other/oneit.c:86:35: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] [ 1028s] In file included from toys/other/tac.c:16: [ 1028s] In file included from ./toys.h :8672 | : [ 1028s] ./lib/lsm.h : 60 w:h15i:l ewarning: (pvariable 'result' is uninitialized when used here [-Wuninitialized]i [ 1028s] d != wait(&i)) if (FLAG_3) i = w r60it | e ( 4r,e t&uprind ,o k4 )?; [ 1028s] r e| s ^u [ 1028s] lt : s./generated/flags.ht:r4112d:u18p:( "note: ?expanded from macro 'FLAG_3'" [ 1028s] ); [ 1028s] | 4112 ^~~~~~ | [ 1028s] #define FLAG_3 (1<<0) [ 1028s] | ^ [ 1028s] In file included from toys/other/makedevs.c:36: [ 1028s] ./lib/lsm.hIn file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] :55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] | = NULL [ 1028s] 55 | chaIn file included from toys/other/hwclock.c:25: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] r *60r | e s urlett;u [ 1028s] r n| ^o [ 1028s] k | ? = NULL [ 1028s] result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/help.c:32: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from toys/other/mkswap.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/dos2unix.c:28: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/sysctl.c:27: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/pmap.c:23: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/bzcat.c:25: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/swapoff.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 3 warnings generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/reset.c:17: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/rev.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from toys/other/pivot_root.c:23: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/readlink.c:24: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] 1./lib/lsm.h: warning55 generated:. [ 1028s] 15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/lsb/mktemp.c:27: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/count.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/rmmod.c:20: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/mountpoint.c:20: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/readahead.c:18: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/modinfo.c:20: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/setsid.c:18: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] .1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/realpath.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/timeout.c:28: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/other/shred.c:30: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] toys/other/shred.c:78:57: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] [ 1028s] 78 | if (++iter == TT.iterations && (toys.optargs && FLAG_z)) { [ 1028s] | ^ [ 1028s] ./generated/flags.h:4431:18: note: expanded from macro 'FLAG_z' [ 1028s] 4431 | #define FLAG_z (1<<6) [ 1028s] | ^ [ 1028s] In file included from toys/other/truncate.c:24: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/taskset.c:35: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 2 warnings generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] ......In file included from toys/other/uptime.c:21: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h.:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ......In file included from toys/other/usleep.c:16: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] 1 warning generated. [ 1028s] In file included from toys/other/w.c:17: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] In file included from toys/other/yes.c:16 60: [ 1028s] | In file included from ./toys.h : 72r: [ 1028s] et./lib/lsm.hu:r60n: 15In file included from o:toys/other/xxd.c kwarning: : variable 'result' is uninitialized when used here [-Wuninitialized]28? [ 1028s] : [ 1028s] In file included from r./toys.he:In file included from s72u: [ 1028s] ltoys/other/which.c./lib/lsm.h:t:17 60: [ 1028s] ::15In file included from ./toys.h:s: 72t: [ 1028s] warning: r./lib/lsm.hvariable 'result' is uninitialized when used here [-Wuninitialized]d: 6060 [ 1028s] u:p15 | : warning: ( variable 'result' is uninitialized when used here [-Wuninitialized]r" [ 1028s] e?t"u)r;n [ 1028s] o| k ^~~~~~60 | [ 1028s] ? rreestuulrtn :60o | ksr te?rtd uurrpne(s "uo?"l)kt; [ 1028s] :? | rs ^~~~~~tes [ 1028s] rudlutp (:"? "s)t;r [ 1028s] d u| p ^~~~~~( [ 1028s] "?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from toys/pending/compress.c:118: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] ./lib/lsm.h55: | 55 ./lib/lsm.h: 15ch::55a :note: 15rinitialize the variable 'result' to silence this warning : [ 1028s] * rnote: e initialize the variable 'result' to silence this warnings [ 1028s] 55u | l t ;c55 [ 1028s] h | a | r ^ [ 1028s] c ha r* | re* = NULL [ 1028s] srIn file included from uelstoys/other/vconfig.ct:u;28 [ 1028s] l: [ 1028s] tIn file included from | ./toys.h;: [ 1028s] 72 ^: [ 1028s] [ 1028s] ./lib/lsm.h| | : = NULL ^ [ 1028s] 60 [ 1028s] : 15| : = NULL [ 1028s] warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] ./lib/lsm.h:6055 | : 15 :r etnote: urinitialize the variable 'result' to silence this warningn [ 1028s] ok ? r e55s | u l tc :h asrt *rrduep(s"u?l"t);; [ 1028s] [ 1028s] | ^| [ 1028s] ^~~~~~ [ 1028s] | = NULL [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/pending/dd.c:35: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] In file included from toys/other/vmstat.c:29: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/pending/diff.c:34: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/pending/crontab.c:27: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/pending/fdisk.c:27: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] In file included from toys/pending/crond.c:27: [ 1028s] In file included from ./toys.h:72: [ 1028s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1028s] 60 | return ok ? result : strdup("?"); [ 1028s] | ^~~~~~ [ 1028s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1028s] 55 | char *result; [ 1028s] | ^ [ 1028s] | = NULL [ 1028s] toys/pending/compress.c:268:39: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1028s] 268 | for (i = 0; ilength[bitlen[i]]++; [ 1028s] | ^~~~~~~~~~ [ 1028s] toys/pending/compress.c:274:61: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1028s] 274 | for (i = 0; isymbol[offset[bitlen[i]]++] = i; [ 1028s] | ^~~~~~~~~~ [ 1028s] toys/pending/dd.c:234:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1028s] 234 | ftruncate(out.fd, (off_t)out.offset * out.sz); [ 1028s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1028s] toys/other/vmstat.c:138:25: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1028s] 138 | uint64_t out = ptr[order[i]]; [ 1028s] | ^~~~~~~~~ [ 1028s] toys/other/vmstat.c:142:29: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1028s] 142 | if (i>5) out -= oldptr[order[i]]; [ 1028s] | ^~~~~~~~~ [ 1028s] toys/pending/compress.c:354:39: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1028s] 354 | for (i=0; istat.st_dev = 0; [ 1029s] | ^ ~ [ 1029s] toys/posix/df.c:133:17: note: add parentheses after the '!' to evaluate the bitwise operator first [ 1029s] 133 | if (!toys.optflags & FLAG_a) mt3->stat.st_dev = 0; [ 1029s] | ^ [ 1029s] | ( ) [ 1029s] toys/posix/df.c:133:17: note: add parentheses around left hand side expression to silence this warning [ 1029s] 133 | if (!toys.optflags & FLAG_a) mt3->stat.st_dev = 0; [ 1029s] | ^ [ 1029s] | ( ) [ 1029s] In file included from toys/posix/env.c:20: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] In file included from toys/pending/telnetd.c:26: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | retur./lib/lsm.hn ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] :55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] ^ [ 1029s] | = NULL [ 1029s] In file included from toys/posix/ln.c:25: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] In file included from 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] toys/posix/link.c:18: [ 1029s] In file included from ./toys.hIn file included from :72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] toys/posix/renice.c:17: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] :15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] ./lib/lsm.h 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] :55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] [ 1029s] | = NULL [ 1029s] In file included from toys/pending/host.c:25: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup(In file included from "?"); [ 1029s] | ^~~~~~ [ 1029s] toys/posix/ls.c:49: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | retur./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] n ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] 1 warning generated. [ 1029s] 1 warning generated. [ 1029s] In file included from toys/posix/mkdir.c:32: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | 1 warning generated. [ 1029s] char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] 11 warning generated. [ 1029s] toys/pending/telnet.c:138:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1029s] 138 | write(1,"\r\nConsole escape. Commands are:\r\n\n" [ 1029s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1029s] 139 | " l go to line mode\r\n" [ 1029s] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1029s] 140 | " c go to character mode\r\n" [ 1029s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1029s] In file included from toys/posix/cmp.c:22: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 141 | " z suspend telnet\r\n" [ 1029s] | ~~~~~~~~~~~~~~~~~~~~~~~~ [ 1029s] 142 | " e exit telnet\r\n", 114); [ 1029s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1029s] toys/pending/telnet.c:181:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1029s] 181 | write(1, "continuing...\r\n", 15); [ 1029s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1029s] toys/pending/telnet.c:295:10: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1029s] 295 | if (i) write(STDIN_FILENO, toybuf, i); [ 1029s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1029s] toys/pending/telnet.c:317:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1029s] 317 | if(i) write(TT.sfd, toybuf, i); [ 1029s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 1029s] 1 warning generated. [ 1029s] warning generated. [ 1029s] 1 warning generated. [ 1029s] 1 warning generated. [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] In file included from toys/posix/chmod.c:36: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h55 | : 60c:h15a:r *warning: rvariable 'result' is uninitialized when used here [-Wuninitialized]e [ 1029s] sult; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/pending/last.c:23: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/pending/route.c:23: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/pending/sh.c:172: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] toys/pending/telnetd.c:320:36: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [ 1029s] 320 | if (!(toys.optflags & FLAG_F)) daemon(0, 0); [ 1029s] | ^~~~~~~~~~~~ [ 1029s] In file included from toys/posix/find.c:53: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] 1 warning generated. [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/posix/sleep.c:28: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | In file included from toys/pending/fsck.c:28: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] 60 | return ok ? result./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] : ./lib/lsm.hstrdup("?"); [ 1029s] | ^~~~~~ [ 1029s] :55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning ^ [ 1029s] | = NULL [ 1029s] [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/posix/kill.c:44: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | reIn file included from toys/posix/id.c:64: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] t 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] urn ok ? result : strdup("?"); [ 1029s] | ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] ^~~~~~ [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] ./lib/lsm.h:55:151 warning generated. [ 1029s] : note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/pending/netstat.c:31: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] 2 warnings generated. [ 1029s] 1 warning generated. [ 1029s] In file included from In file included from toys/posix/nl.ctoys/posix/cksum.c::2926: [ 1029s] : [ 1029s] In file included from In file included from ./toys.h./toys.h::7272: [ 1029s] : [ 1029s] ./lib/lsm.h./lib/lsm.h:60::6015::15 :warning: variable 'result' is uninitialized when used here [-Wuninitialized]warning: [ 1029s] variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 6060 | | r erteutrnur onk o? k r?e srulets u:lt st:r dsutpr(dup"(?"")?;" [ 1029s] )| ; ^~~~~~ [ 1029s] [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *resu./lib/lsm.hlt; [ 1029s] : 55| : ^15 [ 1029s] : | note: = NULL [ 1029s] initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/posix/cpio.c:35: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] 1 warning generated. [ 1029s] In file included from toys/pending/ps.c:65: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/posix/od.c:26: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] In file included from toys/posix/mkfifo.c:28: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] In file included from toys/posix/rm.c:23: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] In file included from toys/posix/cut.c:28: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] 1 warning generated. [ 1029s] In file included from toys/posix/dirname.c:18: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] 2 warnings generated. [ 1029s] In file included from toys/posix/sed.c:166: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] In file included from toys/posix/patch.c:47: [ 1029s] In file included from ./toys.h:72: [ 1029s] ./lib/lsm.h:60:15: warning: variable 'result' is uninitialized when used here [-Wuninitialized] [ 1029s] 60 | return ok ? result : strdup("?"); [ 1029s] | ^~~~~~ [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] ./lib/lsm.h:55:15: note: initialize the variable 'result' to silence this warning [ 1029s] 55 | char *result; [ 1029s] | ^ [ 1029s] | = NULL [ 1029s] toys/pending/ps.c:133:19: warning: array subscript is of type 'char' [-Wchar-subscripts] [ 1029s] 133 | slot[((char[]){0,2,16,17,22})[i]]>>(((1<