<86>Jun 15 13:14:20 userdel[1873402]: delete user 'rooter' <86>Jun 15 13:14:20 userdel[1873402]: removed group 'rooter' owned by 'rooter' <86>Jun 15 13:14:20 userdel[1873402]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 15 13:14:20 groupadd[1873410]: group added to /etc/group: name=rooter, GID=633 <86>Jun 15 13:14:20 groupadd[1873410]: group added to /etc/gshadow: name=rooter <86>Jun 15 13:14:20 groupadd[1873410]: new group: name=rooter, GID=633 <86>Jun 15 13:14:20 useradd[1873416]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Jun 15 13:14:20 userdel[1873422]: delete user 'builder' <86>Jun 15 13:14:20 userdel[1873422]: removed group 'builder' owned by 'builder' <86>Jun 15 13:14:20 userdel[1873422]: removed shadow group 'builder' owned by 'builder' <86>Jun 15 13:14:20 groupadd[1873434]: group added to /etc/group: name=builder, GID=634 <86>Jun 15 13:14:20 groupadd[1873434]: group added to /etc/gshadow: name=builder <86>Jun 15 13:14:20 groupadd[1873434]: new group: name=builder, GID=634 <86>Jun 15 13:14:20 useradd[1873444]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Jun 15 13:14:24 rpmi: libverto-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>Jun 15 13:14:24 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Jun 15 13:14:24 rpmi: libdevmapper-1.02.177-alt1 sisyphus+271927.100.1.1 1621108961 installed <13>Jun 15 13:14:24 rpmi: msulogin-1.0-alt1 1366288515 installed <13>Jun 15 13:14:24 rpmi: mount-2.36.1-alt2 sisyphus+264757.100.1.1 1610726570 installed <13>Jun 15 13:14:24 rpmi: sysvinit-2.88-alt6 sisyphus+240403.100.2.1 1573520141 installed <13>Jun 15 13:14:24 rpmi: libcom_err-devel-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Jun 15 13:14:24 rpmi: libverto-devel-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>Jun 15 13:14:24 rpmi: openldap-common-2.4.57-alt1 sisyphus+273656.200.1.1 1622884316 installed <13>Jun 15 13:14:24 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Jun 15 13:14:24 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Jun 15 13:14:24 rpmi: perl-Filter-1.60-alt1 sisyphus+273656.300.1.1 1622884468 installed <13>Jun 15 13:14:24 rpmi: perl-Encode-3.10-alt1 sisyphus+273656.400.1.1 1622884545 installed <13>Jun 15 13:14:24 rpmi: perl-Locale-gettext-1.07-alt1.2 sisyphus+273656.10500.2.1 1622994146 installed <13>Jun 15 13:14:24 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Jun 15 13:14:24 rpmi: libiptables-1.8.6-alt1 sisyphus+262268.100.1.1 1606080661 installed <13>Jun 15 13:14:24 rpmi: libjson-c5-0.15-alt1.1 sisyphus+269879.7500.52.1 1622226393 installed <13>Jun 15 13:14:24 rpmi: libargon2-20190702-alt1 sisyphus+235300.100.1.1 1564606540 installed <13>Jun 15 13:14:24 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed <13>Jun 15 13:14:24 rpmi: libgcrypt20-1.9.2-alt1 sisyphus+266496.100.1.1 1613559234 installed <13>Jun 15 13:14:24 rpmi: systemd-tmpfiles-standalone-1:248.3-alt1 sisyphus+272702.500.6.1 1622206974 installed <13>Jun 15 13:14:24 rpmi: systemd-sysctl-standalone-1:248.3-alt1 sisyphus+272702.500.6.1 1622206974 installed <13>Jun 15 13:14:24 rpmi: hwclock-1:2.36.1-alt2 sisyphus+264757.100.1.1 1610726570 installed <13>Jun 15 13:14:24 rpmi: hashalot-0.3-alt1.qa1 1366323553 installed <13>Jun 15 13:14:24 rpmi: losetup-2.36.1-alt2 sisyphus+264757.100.1.1 1610726570 installed <13>Jun 15 13:14:24 rpmi: lsblk-2.36.1-alt2 sisyphus+264757.100.1.1 1610726570 installed <13>Jun 15 13:14:24 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jun 15 13:14:24 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jun 15 13:14:24 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 15 13:14:24 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 15 13:14:24 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jun 15 13:14:24 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 15 13:14:24 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jun 15 13:14:24 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Jun 15 13:14:24 rpmi: libkmod-27.0.9.f5434cf-alt1 sisyphus+253982.100.1.1 1593076962 installed <13>Jun 15 13:14:24 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <86>Jun 15 13:14:24 groupadd[1880682]: group added to /etc/group: name=_keytab, GID=499 <86>Jun 15 13:14:24 groupadd[1880682]: group added to /etc/gshadow: name=_keytab <86>Jun 15 13:14:24 groupadd[1880682]: new group: name=_keytab, GID=499 <13>Jun 15 13:14:25 rpmi: libkrb5-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <86>Jun 15 13:14:25 groupadd[1880785]: group added to /etc/group: name=sasl, GID=498 <86>Jun 15 13:14:25 groupadd[1880785]: group added to /etc/gshadow: name=sasl <86>Jun 15 13:14:25 groupadd[1880785]: new group: name=sasl, GID=498 <13>Jun 15 13:14:25 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Jun 15 13:14:25 rpmi: libldap-2.4.57-alt1 sisyphus+273656.200.1.1 1622884422 installed <13>Jun 15 13:14:25 rpmi: libkrb5-ldap-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <13>Jun 15 13:14:25 rpmi: libkrb5-devel-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <13>Jun 15 13:14:25 rpmi: libtirpc-1.3.2-alt1 sisyphus+271430.100.1.1 1620723381 installed <13>Jun 15 13:14:25 rpmi: kmod-27.0.9.f5434cf-alt1 sisyphus+253982.100.1.1 1593076962 installed <13>Jun 15 13:14:25 rpmi: systemd-modules-load-standalone-1:248.3-alt1 sisyphus+272702.500.6.1 1622206974 installed <13>Jun 15 13:14:25 rpmi: startup-0.9.9.11-alt1 sisyphus+265313.200.3.1 1612018510 installed <13>Jun 15 13:14:25 rpmi: libcryptsetup-2.3.5-alt1 sisyphus+267618.400.5.1 1615989244 installed <13>Jun 15 13:14:25 rpmi: systemd-utils-1:248.3-alt1 sisyphus+272702.500.6.1 1622206974 installed <13>Jun 15 13:14:25 rpmi: dmsetup-1.02.177-alt1 sisyphus+271927.100.1.1 1621108961 installed <86>Jun 15 13:14:25 groupadd[1881135]: group added to /etc/group: name=tape, GID=497 <86>Jun 15 13:14:25 groupadd[1881135]: group added to /etc/gshadow: name=tape <86>Jun 15 13:14:25 groupadd[1881135]: new group: name=tape, GID=497 <86>Jun 15 13:14:25 groupadd[1881141]: group added to /etc/group: name=dialout, GID=496 <86>Jun 15 13:14:25 groupadd[1881141]: group added to /etc/gshadow: name=dialout <86>Jun 15 13:14:25 groupadd[1881141]: new group: name=dialout, GID=496 <86>Jun 15 13:14:25 groupadd[1881149]: group added to /etc/group: name=input, GID=495 <86>Jun 15 13:14:25 groupadd[1881149]: group added to /etc/gshadow: name=input <86>Jun 15 13:14:25 groupadd[1881149]: new group: name=input, GID=495 <86>Jun 15 13:14:25 groupadd[1881156]: group added to /etc/group: name=video, GID=494 <86>Jun 15 13:14:25 groupadd[1881156]: group added to /etc/gshadow: name=video <86>Jun 15 13:14:25 groupadd[1881156]: new group: name=video, GID=494 <86>Jun 15 13:14:25 groupadd[1881164]: group added to /etc/group: name=render, GID=493 <86>Jun 15 13:14:25 groupadd[1881164]: group added to /etc/gshadow: name=render <86>Jun 15 13:14:25 groupadd[1881164]: new group: name=render, GID=493 <13>Jun 15 13:14:25 rpmi: udev-1:248.3-alt1 sisyphus+272702.500.6.1 1622206974 installed <13>Jun 15 13:14:26 rpmi: libtirpc-devel-1.3.2-alt1 sisyphus+271430.100.1.1 1620723381 installed <13>Jun 15 13:14:26 rpmi: libkmod-devel-27.0.9.f5434cf-alt1 sisyphus+253982.100.1.1 1593076962 installed <13>Jun 15 13:14:26 rpmi: help2man-1.47.16-alt1 sisyphus+256512.100.1.1 1597925386 installed <13>Jun 15 13:14:26 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Jun 15 13:14:26 rpmi: libzstd-devel-1.4.5-alt2 sisyphus+253888.100.1.1 1592916956 installed <13>Jun 15 13:14:26 rpmi: liblzma-devel-5.2.5-alt2 sisyphus+270022.200.3.1 1618664133 installed <13>Jun 15 13:14:26 rpmi: libelf-devel-0.185-alt1 sisyphus+272356.100.1.1 1621721042 installed <13>Jun 15 13:14:26 rpmi: bzlib-devel-1:1.0.8-alt1 sisyphus+247226.100.1.1 1583187374 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/make-initrd-2.18.0-alt1.nosrc.rpm (w1.gzdio) Installing make-initrd-2.18.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.9121 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf make-initrd-2.18.0 + echo 'Source #0 (make-initrd-2.18.0.tar):' Source #0 (make-initrd-2.18.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/make-initrd-2.18.0.tar + cd make-initrd-2.18.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.9121 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd make-initrd-2.18.0 + ./autogen.sh Checking build-system utilities: OK Generating build-system with: aclocal: version 1.16.3 autoconf: version 2.69 autoheader: version 2.69 RUN: aclocal RUN: autoconf RUN: autoheader Now type './configure' and 'make' to compile. + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --libexecdir=/usr/libexec --with-bootdir=/boot --with-runtimedir=/lib/initrd --with-kbddir=/lib/kbd --with-busybox --with-libelf --with-zlib --with-bzip2 --with-lzma --with-zstd configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... (cached) yes checking for ssize_t... yes checking for struct stat.st_rdev... yes checking for uint16_t... yes checking for uint32_t... yes checking for error_at_line... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for clock_gettime... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for localtime_r... yes checking for memset... yes checking for munmap... yes checking for regcomp... yes checking for setenv... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strndup... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for uname... yes checking for twalk_r... yes checking for tdestroy... yes checking for updwtmp... yes checking if in-tree build is required... no checking if builtin busybox is required... yes checking if builtin libshell is required... no checking for udevd... /sbin/udevd checking for udevadm... /sbin/udevadm checking for help2man... /usr/bin/help2man checking for zlib... yes checking for bzip2... yes checking for liblzma... yes checking for libzstd... yes checking for libelf... yes checking for libkmod... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext + make make: Entering directory '/usr/src/RPM/BUILD/make-initrd-2.18.0' DEP datasrc/spawn-shell/spawn-shell.c DEP datasrc/runas/runas.c DEP datasrc/name_to_dev.c DEP datasrc/getarg.c DEP datasrc/devname.c DEP datasrc/resume/resumelib.c DEP datasrc/resume/resume.c DEP datasrc/replace/replace.c DEP datasrc/nfsmount/sunrpc.c DEP datasrc/nfsmount/portmap.c DEP datasrc/nfsmount/mount.c DEP datasrc/nfsmount/main.c DEP datasrc/nfsmount/dummypmap.c DEP datasrc/monotonic-timestamp/monotonic-timestamp.c DEP datasrc/do_mounts_md.c DEP datasrc/md_run/md_run.c DEP datasrc/halt/utmp.c DEP datasrc/halt/ifdown.c DEP datasrc/halt/hddown.c DEP datasrc/halt/halt.c DEP datasrc/environ/environ.c DEP utils/initrd-scanmod/initrd-scanmod-walk.c DEP utils/initrd-scanmod/initrd-scanmod-rules.c DEP utils/initrd-scanmod/initrd-scanmod-file.c DEP utils/initrd-scanmod/initrd-scanmod-common.c DEP utils/initrd-scanmod/initrd-scanmod.c DEP utils/initrd-put/initrd-put.c DEP utils/initrd-decompress-zstd.c DEP utils/initrd-decompress-lzma.c DEP utils/initrd-decompress-bzip2.c DEP utils/initrd-decompress-gzip.c DEP utils/initrd-decompress.c DEP utils/initrd-parse.c DEP utils/initrd-cpio.c DEP utils/initrd-common.c DEP utils/initrd-ls/initrd-ls-format.c DEP utils/initrd-ls/initrd-ls.c DEP utils/initrd-extract/initrd-extract.c DEP utils/gen_init_cpio/gen_init_cpio.c DEP utils/depinfo/kmod-depinfo.c CC utils/depinfo/kmod-depinfo.c utils/depinfo/kmod-depinfo.c: In function 'tracked_module': utils/depinfo/kmod-depinfo.c:276:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 276 | warn("realloc: allocating %lu bytes", (n_modules + 2) * sizeof(void *)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u CCLD .build/dest/usr/sbin/depinfo CC utils/gen_init_cpio/gen_init_cpio.c utils/gen_init_cpio/gen_init_cpio.c: In function 'cpio_mkfile': utils/gen_init_cpio/gen_init_cpio.c:343:13: warning: format '%lX' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 343 | sprintf(s,"%s%08X%08X%08lX%08lX%08X%08lX" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 352 | size, /* filesize */ | ~~~~ | | | size_t {aka unsigned int} utils/gen_init_cpio/gen_init_cpio.c:344:15: note: format string is defined here 344 | "%08lX%08X%08X%08X%08X%08lX%08X", | ~~~~^ | | | long unsigned int | %08X utils/gen_init_cpio/gen_init_cpio.c:343:13: warning: format '%lX' expects argument of type 'long unsigned int', but argument 15 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 343 | sprintf(s,"%s%08X%08X%08lX%08lX%08X%08lX" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 357 | namesize, /* namesize */ | ~~~~~~~~ | | | size_t {aka unsigned int} utils/gen_init_cpio/gen_init_cpio.c:344:36: note: format string is defined here 344 | "%08lX%08X%08X%08X%08X%08lX%08X", | ~~~~^ | | | long unsigned int | %08X utils/gen_init_cpio/gen_init_cpio.c: In function 'cpio_mkfile_line': utils/gen_init_cpio/gen_init_cpio.c:425:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 425 | fprintf (stderr, "out of memory (%ld)\n", dname_len); | ~~^ ~~~~~~~~~ | | | | | size_t {aka unsigned int} | long int | %d CCLD .build/dest/usr/bin/gen_init_cpio CC utils/initrd-extract/initrd-extract.c CC utils/initrd-common.c CC utils/initrd-cpio.c CC utils/initrd-parse.c utils/initrd-parse.c: In function 'read_stream': utils/initrd-parse.c:42:14: warning: conversion from 'long long unsigned int' to 'long unsigned int' may change value [-Wconversion] 42 | offset += readed; | ^~~~~~ CC utils/initrd-decompress.c CC utils/initrd-decompress-gzip.c CC utils/initrd-decompress-bzip2.c utils/initrd-decompress-bzip2.c: In function 'bunzip2': utils/initrd-decompress-bzip2.c:58:28: warning: left shift count >= width of type [-Wshift-count-overflow] 58 | *inread += (total_in_hi32 << 32) + strm.total_in_lo32; | ^~ CC utils/initrd-decompress-lzma.c CC utils/initrd-decompress-zstd.c CCLD .build/dest/usr/sbin/initrd-extract CC utils/initrd-ls/initrd-ls.c utils/initrd-ls/initrd-ls.c: In function 'main': utils/initrd-ls/initrd-ls.c:151:31: warning: format '%ju' expects argument of type 'uintmax_t', but argument 4 has type 'long unsigned int' [-Wformat=] 151 | bytes = snprintf(NULL, 0, "%ju", n_cpio); | ~~^ ~~~~~~ | | | | | long unsigned int | long long unsigned int | %lu CC utils/initrd-ls/initrd-ls-format.c CCLD .build/dest/usr/sbin/initrd-ls CC utils/initrd-put/initrd-put.c CCLD .build/dest/usr/bin/initrd-put CC utils/initrd-scanmod/initrd-scanmod.c CC utils/initrd-scanmod/initrd-scanmod-common.c CC utils/initrd-scanmod/initrd-scanmod-file.c CC utils/initrd-scanmod/initrd-scanmod-rules.c utils/initrd-scanmod/initrd-scanmod-rules.c: In function 'parse_ruleset': utils/initrd-scanmod/initrd-scanmod-rules.c:72:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 72 | errx(EXIT_FAILURE, "%s:%lu: bad line format", rulesfile, i); | ~~^ ~ | | | | long unsigned int size_t {aka unsigned int} | %u utils/initrd-scanmod/initrd-scanmod-rules.c:76:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 76 | errx(EXIT_FAILURE, "%s:%lu: unknown keyword", rulesfile, i); | ~~^ ~ | | | | long unsigned int size_t {aka unsigned int} | %u utils/initrd-scanmod/initrd-scanmod-rules.c:82:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 82 | errx(EXIT_FAILURE, "%s:%lu: '%s' is not a regular expression", rulesfile, i, value); | ~~^ ~ | | | | long unsigned int size_t {aka unsigned int} | %u CC utils/initrd-scanmod/initrd-scanmod-walk.c CCLD .build/dest/usr/sbin/initrd-scanmod CC datasrc/environ/environ.c CCLD .build/dest/lib/initrd/bin/environ CC datasrc/halt/halt.c CC datasrc/halt/hddown.c CC datasrc/halt/ifdown.c datasrc/halt/ifdown.c: In function 'ifdown': datasrc/halt/ifdown.c:70:10: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 70 | numif = (unsigned long) ifc.ifc_len / sizeof(struct ifreq); | ^ CC datasrc/halt/utmp.c CCLD .build/dest/lib/initrd/bin/halt CC datasrc/md_run/md_run.c CC datasrc/do_mounts_md.c CC datasrc/name_to_dev.c CC datasrc/devname.c CC datasrc/getarg.c CCLD .build/dest/lib/initrd/bin/md_run CC datasrc/monotonic-timestamp/monotonic-timestamp.c CCLD .build/dest/lib/initrd/sbin/monotonic-timestamp CC datasrc/nfsmount/dummypmap.c CC datasrc/nfsmount/main.c CC datasrc/nfsmount/mount.c datasrc/nfsmount/mount.c: In function 'pad_len': datasrc/nfsmount/mount.c:95:19: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-4' to '4294967292' [-Wsign-conversion] 95 | return (len + 3) & ~3; | ^ datasrc/nfsmount/mount.c: In function 'mount_call': datasrc/nfsmount/mount.c:201:13: warning: conversion to 'int' from '__uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 201 | strerror(ntohl(mnt_reply.status))); | ^~~~~ datasrc/nfsmount/mount.c: In function 'mount_v3': datasrc/nfsmount/mount.c:250:21: warning: conversion from 'size_t' {aka 'unsigned int'} to 'short unsigned int' may change value [-Wconversion] 250 | data->root.size = fhsize; | ^~~~~~ In file included from /usr/include/arpa/inet.h:22, from datasrc/nfsmount/mount.c:4: datasrc/nfsmount/mount.c: In function 'nfs_mount': datasrc/nfsmount/mount.c:313:24: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 313 | addr.sin_port = htons(nfs_port); | ^~~~~~~~ In file included from /usr/include/string.h:532, from datasrc/nfsmount/mount.c:10: In function 'strncpy', inlined from 'nfs_mount' at datasrc/nfsmount/mount.c:316:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC datasrc/nfsmount/portmap.c CC datasrc/nfsmount/sunrpc.c datasrc/nfsmount/sunrpc.c: In function 'rpc_do_reply': datasrc/nfsmount/sunrpc.c:27:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t' {aka 'int'} [-Wformat=] 27 | fprintf(stderr, "short read: %ld < %zu\n", ret, | ~~^ ~~~ | | | | long int ssize_t {aka int} | %d datasrc/nfsmount/sunrpc.c:31:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 31 | rpc->reply_len = ret + off; | ^ datasrc/nfsmount/sunrpc.c: In function 'rpc_header': datasrc/nfsmount/sunrpc.c:59:27: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 59 | rpc->call->hdr.udp.xid = lrand48(); | ^~~~~~~ datasrc/nfsmount/sunrpc.c: In function 'rpc_call_tcp': datasrc/nfsmount/sunrpc.c:74:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t' {aka 'int'} [-Wformat=] 74 | fprintf(stderr, "short write: %ld < %zu\n", ret, rpc->call_len); | ~~^ ~~~ | | | | long int ssize_t {aka int} | %d datasrc/nfsmount/sunrpc.c: In function 'rpc_call_udp': datasrc/nfsmount/sunrpc.c:113:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t' {aka 'int'} [-Wformat=] 113 | fprintf(stderr, "short write: %ld < %zu\n", ret, | ~~^ ~~~ | | | | long int ssize_t {aka int} | %d CCLD .build/dest/lib/initrd/bin/nfsmount CC datasrc/replace/replace.c CCLD .build/dest/lib/initrd/bin/replace CC datasrc/resume/resume.c CC datasrc/resume/resumelib.c CCLD .build/dest/lib/initrd/bin/resume CC datasrc/runas/runas.c CCLD .build/dest/lib/initrd/bin/runas CC datasrc/spawn-shell/spawn-shell.c CCLD .build/dest/lib/initrd/bin/spawn-shell SED .build/dest/usr/sbin/initrd-diff SED .build/dest/usr/sbin/make-initrd SED .build/dest/usr/sbin/mkinitrd-make-initrd SED .build/obj/external/busybox/.config make -C ".build/obj/external/busybox" \ -f "/usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/Makefile" \ KBUILD_SRC="/usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream" make[1]: Entering directory '/usr/src/RPM/BUILD/make-initrd-2.18.0/.build/obj/external/busybox' Using /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream as source for busybox GEN /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/obj/external/busybox/Makefile GEN include/applets.h GEN include/usage.h GEN util-linux/Kbuild GEN util-linux/Config.in GEN util-linux/volume_id/Kbuild GEN util-linux/volume_id/Config.in GEN sysklogd/Kbuild GEN sysklogd/Config.in GEN shell/Kbuild GEN shell/Config.in GEN selinux/Kbuild GEN selinux/Config.in GEN scripts/Kbuild GEN runit/Kbuild GEN runit/Config.in GEN procps/Kbuild GEN procps/Config.in GEN printutils/Kbuild GEN printutils/Config.in GEN networking/Kbuild GEN networking/Config.in GEN networking/udhcp/Kbuild GEN networking/udhcp/Config.in GEN networking/libiproute/Kbuild GEN modutils/Kbuild GEN modutils/Config.in GEN miscutils/Kbuild GEN miscutils/Config.in GEN mailutils/Kbuild GEN mailutils/Config.in GEN loginutils/Kbuild GEN loginutils/Config.in GEN libpwdgrp/Kbuild GEN libbb/Kbuild GEN libbb/Config.in GEN klibc-utils/Kbuild GEN klibc-utils/Config.in GEN init/Kbuild GEN init/Config.in GEN findutils/Kbuild GEN findutils/Config.in GEN editors/Kbuild GEN editors/Config.in GEN e2fsprogs/Kbuild GEN e2fsprogs/Config.in GEN debianutils/Kbuild GEN debianutils/Config.in GEN coreutils/Kbuild GEN coreutils/Config.in GEN coreutils/libcoreutils/Kbuild GEN console-tools/Kbuild GEN console-tools/Config.in GEN archival/Kbuild GEN archival/Config.in GEN archival/libarchive/Kbuild GEN applets/Kbuild HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc GEN /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/obj/external/busybox/Makefile HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s Config.in # # using defaults found in .config # SPLIT include/autoconf.h -> include/config/* GEN include/bbconfigopts.h GEN include/common_bufsiz.h GEN include/embedded_scripts.h HOSTCC applets/usage /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/applets/usage.c: In function 'main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/applets/usage.c:52:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | write(STDOUT_FILENO, usage_array[i].usage, strlen(usage_array[i].usage) + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GEN include/usage_compressed.h HOSTCC applets/applet_tables GEN include/applet_tables.h include/NUM_APPLETS.h GEN include/applet_tables.h include/NUM_APPLETS.h CC applets/applets.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/applets/applets.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/applets/applets.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/applets/applets.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD applets/built-in.o HOSTCC applets/usage_pod LD archival/built-in.o CC archival/tar.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:119: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:119: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:119: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:121: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c: In function 'putOctal': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:253:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 253 | memcpy(cp, tempString, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c: In function 'writeLongname': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:297:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] 297 | header.typeflag = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:308:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 308 | size = strlen(name) + 1 + dir; /* GNU tar uses strlen+1 */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:308:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 308 | size = strlen(name) + 1 + dir; /* GNU tar uses strlen+1 */ | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:318:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 318 | xwrite(fd, name, size - dir); | ~~~~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:319:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 319 | xwrite(fd, "/", dir); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:321:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 321 | memset(&header, 0, size); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:322:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 322 | xwrite(fd, &header, size); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c: In function 'writeTarHeader': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:396:21: warning: conversion to 'uoff_t' {aka 'long long unsigned int'} from '__off64_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 396 | uoff_t filesize = statbuf->st_size; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:255:50: warning: conversion to 'off_t' {aka 'long long int'} from 'uoff_t' {aka 'long long unsigned int'} may change the sign of the result [-Wsign-conversion] 255 | #define PUT_OCTAL(a, b) putOctal((a), sizeof(a), (b)) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:400:4: note: in expansion of macro 'PUT_OCTAL' 400 | PUT_OCTAL(header.size, filesize); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c: In function 'writeTarFile': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:701:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 701 | if (!recursive_action(filelist->data, recurseFlags, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c: In function 'tar_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:1108:24: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-5' to '4294967291' [-Wsign-conversion] 1108 | tar_handle->ah_flags &= ~ARCHIVE_UNLINK_OLD; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:1120:24: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-5' to '4294967291' [-Wsign-conversion] 1120 | tar_handle->ah_flags &= ~ARCHIVE_UNLINK_OLD; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/tar.c:1125:24: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2' to '4294967294' [-Wsign-conversion] 1125 | tar_handle->ah_flags &= ~ARCHIVE_RESTORE_DATE; | ^~ AR archival/lib.a LD archival/libarchive/built-in.o CC archival/libarchive/common.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/common.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/common.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/common.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/common.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/data_align.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_align.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_align.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_align.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_align.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_align.c: In function 'data_align': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_align.c:10:25: warning: conversion from 'off_t' {aka 'long long int'} to 'unsigned int' may change value [-Wconversion] 10 | unsigned skip_amount = (boundary - (archive_handle->offset % boundary)) % boundary; | ^ CC archival/libarchive/data_extract_all.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_all.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_all.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_all.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_all.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_all.c: In function 'data_extract_all': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_all.c:149:15: warning: conversion to 'int' from 'mode_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 149 | file_header->mode | ~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_all.c:231:4: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | chown(dst_name, uid, gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~ CC archival/libarchive/data_extract_to_command.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_command.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_command.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_command.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_command.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_command.c: In function 'data_extract_to_command': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_command.c:95:42: warning: conversion to 'long long unsigned int' from 'off_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 95 | dec2env(tar_env, TAR_SIZE, file_header->size); | ~~~~~~~~~~~^~~~~~ CC archival/libarchive/data_extract_to_stdout.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_stdout.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_stdout.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_stdout.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_extract_to_stdout.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/data_skip.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_skip.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_skip.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_skip.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/data_skip.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/decompress_bunzip2.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:41: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:42: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c: In function 'get_bits': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:119:18: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 119 | int bit_count = bd->inbufBitCount; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:149:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 149 | bd->inbufBitCount = bit_count; | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:150:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 150 | bits |= (bd->inbufBits >> bit_count) & ((1 << bits_wanted) - 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c: In function 'get_next_block': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:179:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 179 | i = get_bits(bd, 24); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:180:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 180 | j = get_bits(bd, 24); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:209:30: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 209 | symToByte[symTotal++] = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:220:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 220 | groupCount = get_bits(bd, 3); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:229:18: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 229 | mtfSymbol[i] = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:230:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 230 | nSelectors = get_bits(bd, 15); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:273:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 273 | len_m1 = get_bits(bd, 5) - 1; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:283:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 283 | two_bits = get_bits(bd, 2); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:294:16: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 294 | length[i] = len_m1 + 1; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:330:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 330 | temp[i] = limit[i] = 0; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:346:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 346 | pp = t = 0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:350:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 350 | pp += temp_i; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:350:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 350 | pp += temp_i; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:361:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 361 | base[++i] = pp - t; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:361:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 361 | base[++i] = pp - t; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:363:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 363 | limit[maxLen] = pp + temp[maxLen] - 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:363:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 363 | limit[maxLen] = pp + temp[maxLen] - 1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:381:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 381 | runPos = dbufCount = selector = 0; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:416:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 416 | while ((new_cnt = bd->inbufBitCount - hufGroup->maxLen) < 0) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:416:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 416 | while ((new_cnt = bd->inbufBitCount - hufGroup->maxLen) < 0) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:419:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 419 | nextSym = get_bits(bd, hufGroup->maxLen); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:425:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 425 | bd->inbufBitCount = new_cnt; /* "bd->inbufBitCount -= hufGroup->maxLen;" */ | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:426:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 426 | nextSym = (bd->inbufBits >> new_cnt) & ((1 << hufGroup->maxLen) - 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:426:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 426 | nextSym = (bd->inbufBits >> new_cnt) & ((1 << hufGroup->maxLen) - 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:429:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 429 | nextSym = get_bits(bd, hufGroup->maxLen); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:438:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 438 | bd->inbufBitCount += j; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:489:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 489 | byteCount[tmp_byte] += runCnt; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:489:27: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 489 | byteCount[tmp_byte] += runCnt; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:545:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 545 | for (i = 0; i < dbufCount; i++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:548:19: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 548 | dbuf[tmp_count] |= (i << 8); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:557:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 557 | if ((int)origPtr >= dbufCount) return RETVAL_DATA_ERROR; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:560:18: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 560 | bd->writePos = (tmp >> 8); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:563:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 563 | bd->writeCount = dbufCount; | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c: In function 'read_bunzip': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:616:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 616 | *outbuf++ = current; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:617:50: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 617 | CRC = (CRC << 8) ^ bd->crc32Table[(CRC >> 24) ^ current]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:634:10: warning: conversion to 'int' from 'uint32_t' {aka 'const unsigned int'} may change the sign of the result [-Wsign-conversion] 634 | pos = dbuf[pos]; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:679:8: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 679 | CRC = ~0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c: In function 'start_bunzip': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:732:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 732 | memcpy(bd->inbuf, inbuf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c: In function 'unpack_bz2_stream': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:790:63: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 790 | i = start_bunzip(&jmpbuf, &bd, xstate->src_fd, outbuf + 2, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:800:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 800 | if (i != transformer_write(xstate, outbuf, i)) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:830:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 830 | len = bd->inbufCount - bd->inbufPos; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:833:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 833 | if (safe_read(xstate->src_fd, outbuf + len, 2 - len) != 2 - len) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c: In function 'unpack_bz2_data': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:872:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 872 | outbuf = malloc_or_warn(unpacked_len); | ^~~~~~~~~~~~ In file included from : /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c: In function 'unpack_bz2_stream': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:773:23: warning: variable 'total_written' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 773 | IF_DESKTOP(long long total_written = 0;) | ^~~~~~~~~~~~~ ./include/autoconf.h:24:26: note: in definition of macro 'IF_DESKTOP' 24 | # define IF_DESKTOP(...) __VA_ARGS__ | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c: In function 'unpack_bz2_data': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_bunzip2.c:853:8: warning: variable 'outbuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 853 | char *outbuf = NULL; | ^~~~~~ CC archival/libarchive/decompress_gunzip.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:35: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:35: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:35: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:36: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'fill_bitbuffer': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:129:29: warning: conversion from 'off_t' {aka 'long long int'} to 'unsigned int' may change value [-Wconversion] 129 | #define to_read (S()to_read ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:256:10: note: in expansion of macro 'to_read' 256 | sz = to_read; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:259:22: warning: conversion to 'unsigned int' from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 259 | bytebuffer_size = safe_read(gunzip_src_fd, &bytebuffer[4], sz); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'huft_build': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:346:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 346 | k = j; /* minimum code length */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:349:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 349 | g = i; /* maximum code length */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:354:5: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 354 | y -= c[j]; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:354:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 354 | y -= c[j]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:358:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 358 | y -= c[i]; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:358:7: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 358 | y -= c[i]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:361:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 361 | c[i] += y; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:407:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 407 | z = g - w; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:409:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 409 | j = k - w; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:423:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 423 | j = (w + j > eob_len && w < eob_len) ? eob_len - w : j; /* make EOB code end at table */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:423:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 423 | j = (w + j > eob_len && w < eob_len) ? eob_len - w : j; /* make EOB code end at table */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:423:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 423 | j = (w + j > eob_len && w < eob_len) ? eob_len - w : j; /* make EOB code end at table */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:425:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 425 | ws[htl+1] = w + j; /* set bits decoded in stack */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:425:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 425 | ws[htl+1] = w + j; /* set bits decoded in stack */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:439:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 439 | j = (i & ((1 << w) - 1)) >> ws[htl - 1]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:471:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 471 | while ((i & ((1 << w) - 1)) != x[htl]) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:478:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 478 | *m = ws[1]; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'inflate_codes': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:139:29: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 139 | #define inflate_codes_k (S()inflate_codes_k ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:501:12: note: in expansion of macro 'inflate_codes_k' 501 | #define k inflate_codes_k | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:631:14: note: in expansion of macro 'k' 631 | gunzip_bk = k; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'inflate_stored_setup': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:656:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 656 | inflate_stored_n = my_n; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:657:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 657 | inflate_stored_b = my_b; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:658:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 658 | inflate_stored_k = my_k; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'inflate_stored': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:153:29: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 153 | #define inflate_stored_k (S()inflate_stored_k ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:684:14: note: in expansion of macro 'inflate_stored_k' 684 | gunzip_bk = inflate_stored_k; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'inflate_block': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:723:14: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 723 | gunzip_bk = k; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:759:35: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 759 | inflate_stored_setup(PASS_STATE n, b_stored, k_stored); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:759:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 759 | inflate_stored_setup(PASS_STATE n, b_stored, k_stored); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:759:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 759 | inflate_stored_setup(PASS_STATE n, b_stored, k_stored); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:922:15: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 922 | gunzip_bk = k_dynamic; | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'inflate_get_next_window': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:970:13: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 970 | method = inflate_block(PASS_STATE &end_reached); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'inflate_unzip_internal': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:1017:15: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 1017 | gunzip_crc = ~0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'top_up': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:135:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 135 | #define bytebuffer_size (S()bytebuffer_size ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:1088:14: note: in expansion of macro 'bytebuffer_size' 1088 | int count = bytebuffer_size - bytebuffer_offset; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:1091:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1091 | memmove(bytebuffer, &bytebuffer[bytebuffer_offset], count); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:1093:81: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1093 | bytebuffer_size = full_read(gunzip_src_fd, &bytebuffer[count], bytebuffer_max - count); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:1093:21: warning: conversion to 'unsigned int' from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 1093 | bytebuffer_size = full_read(gunzip_src_fd, &bytebuffer[count], bytebuffer_max - count); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:1098:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1098 | bytebuffer_size += count; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'check_header_gzip': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:1190:30: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1190 | header.formatted.flags &= ~0x18; | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:35: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:216:23: warning: conversion to 'time_t' {aka 'long int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 216 | # define SWAP_LE32(x) (x) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:1194:18: note: in expansion of macro 'SWAP_LE32' 1194 | xstate->mtime = SWAP_LE32(header.formatted.mtime); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c: In function 'inflate_unzip_internal': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_gunzip.c:999:28: warning: variable 'n' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 999 | IF_DESKTOP(long long) int n = 0; | ^ CC archival/libarchive/decompress_uncompress.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c:25: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c: In function 'unpack_Z_stream': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c:270:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 270 | memcpy(outbuf + outpos, stackp, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c:275:43: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 275 | xtransformer_write(xstate, outbuf, outpos); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c:283:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 283 | memcpy(outbuf + outpos, stackp, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_uncompress.c:301:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 301 | xtransformer_write(xstate, outbuf, outpos); | ^~~~~~ CC archival/libarchive/decompress_unlzma.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c: In function 'rc_is_bit_1': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:113:9: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 113 | *p += ((1 << RC_MODEL_TOTAL_BITS) - *p) >> RC_MOVE_BITS; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c: In function 'unpack_lzma_stream': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:245:19: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 245 | pos_state_mask = (1 << pb) - 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:246:21: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 246 | literal_pos_mask = (1 << lp) - 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:257:16: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 257 | buffer_size = MIN(header.dst_size, header.dict_size); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:264:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 264 | p = xmalloc(num_probs * sizeof(*p)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:273:19: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 273 | int pos_state = (buffer_pos + global_pos) & pos_state_mask; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:424:12: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 424 | rep0 = pos_slot; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:427:13: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 427 | rep0 = 2 | (pos_slot & 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:433:27: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 433 | rep0 = (rep0 << 1) | rc_direct_bit(rc); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unlzma.c:444:13: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 444 | rep0 |= i2; | ^~ CC archival/libarchive/decompress_unxz.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c:13: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c:42: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c: In function 'rc_bit': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c:508:12: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 508 | *prob += (RC_BIT_MODEL_TOTAL - *prob) >> RC_MOVE_BITS; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c: In function 'lzma_props': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c:812:21: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 812 | s->lzma.pos_mask = (1 << s->lzma.pos_mask) - 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c:825:29: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 825 | s->lzma.literal_pos_mask = (1 << s->lzma.literal_pos_mask) - 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c: In function 'unpack_xz_stream': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c:83:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 83 | iobuf.in_size = rd; | ^~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c: In function 'dec_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:582:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 582 | if (ret != XZ_OK) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:585:3: note: here 585 | case SEQ_BLOCK_START: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:606:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 606 | s->sequence = SEQ_BLOCK_HEADER; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:608:3: note: here 608 | case SEQ_BLOCK_HEADER: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:616:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 616 | s->sequence = SEQ_BLOCK_UNCOMPRESS; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:618:3: note: here 618 | case SEQ_BLOCK_UNCOMPRESS: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:643:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 643 | s->sequence = SEQ_BLOCK_CHECK; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:645:3: note: here 645 | case SEQ_BLOCK_CHECK: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:687:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 687 | s->sequence = SEQ_INDEX_CRC32; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:689:3: note: here 689 | case SEQ_INDEX_CRC32: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:695:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 695 | s->sequence = SEQ_STREAM_FOOTER; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_stream.c:697:3: note: here 697 | case SEQ_STREAM_FOOTER: | ^~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/decompress_unxz.c:42: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c: In function 'xz_dec_lzma2_run': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c:1044:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 1044 | s->lzma2.sequence = SEQ_LZMA_PREPARE; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c:1046:3: note: here 1046 | case SEQ_LZMA_PREPARE: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c:1054:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 1054 | s->lzma2.sequence = SEQ_LZMA_RUN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unxz/xz_dec_lzma2.c:1056:3: note: here 1056 | case SEQ_LZMA_RUN: | ^~~~ CC archival/libarchive/filter_accept_all.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_all.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_all.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_all.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_all.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/filter_accept_list.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_list.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_list.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_list.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_list.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/filter_accept_reject_list.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_reject_list.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_reject_list.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_reject_list.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/filter_accept_reject_list.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/find_list_entry.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/find_list_entry.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/find_list_entry.c:8: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/find_list_entry.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/find_list_entry.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/get_header_tar.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:14: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:15: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c: In function 'getOctal': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:33:18: warning: conversion to 'int8_t' {aka 'signed char'} from 'char' may change the sign of the result [-Wsign-conversion] 33 | int8_t first = str[0]; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:55:7: warning: conversion to 'long long unsigned int' from 'int8_t' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 55 | v = first; /* sign-extend 8 bits to 64 */ | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c: In function 'process_pax_hdr': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:75:31: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-512' to '4294966784' [-Wsign-conversion] 75 | unsigned blk_sz = (sz + 511) & (~511); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c: In function 'get_header_tar': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:61:22: warning: conversion from 'long long unsigned int' to 'int' may change value [-Wconversion] 61 | #define GET_OCTAL(a) getOctal((a), sizeof(a)) | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:281:8: note: in expansion of macro 'GET_OCTAL' 281 | sum = GET_OCTAL(tar.chksum); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:61:22: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 61 | #define GET_OCTAL(a) getOctal((a), sizeof(a)) | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:293:20: note: in expansion of macro 'GET_OCTAL' 293 | unsigned minor = GET_OCTAL(tar.devminor); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:61:22: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 61 | #define GET_OCTAL(a) getOctal((a), sizeof(a)) | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:294:20: note: in expansion of macro 'GET_OCTAL' 294 | unsigned major = GET_OCTAL(tar.devmajor); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:61:22: warning: conversion from 'long long unsigned int' to 'time_t' {aka 'long int'} may change value [-Wconversion] 61 | #define GET_OCTAL(a) getOctal((a), sizeof(a)) | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:313:23: note: in expansion of macro 'GET_OCTAL' 313 | file_header->mtime = GET_OCTAL(tar.mtime); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:61:22: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 61 | #define GET_OCTAL(a) getOctal((a), sizeof(a)) | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:314:22: note: in expansion of macro 'GET_OCTAL' 314 | file_header->size = GET_OCTAL(tar.size); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:61:22: warning: conversion from 'long long unsigned int' to 'gid_t' {aka 'unsigned int'} may change value [-Wconversion] 61 | #define GET_OCTAL(a) getOctal((a), sizeof(a)) | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:315:21: note: in expansion of macro 'GET_OCTAL' 315 | file_header->gid = GET_OCTAL(tar.gid); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:61:22: warning: conversion from 'long long unsigned int' to 'uid_t' {aka 'unsigned int'} may change value [-Wconversion] 61 | #define GET_OCTAL(a) getOctal((a), sizeof(a)) | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:316:21: note: in expansion of macro 'GET_OCTAL' 316 | file_header->uid = GET_OCTAL(tar.uid); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:385:46: warning: conversion from 'off_t' {aka 'long long int'} to 'unsigned int' may change value [-Wconversion] 385 | process_pax_hdr(archive_handle, file_header->size, (tar_typeflag == 'g')); | ~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:393:42: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 393 | p_longname = xzalloc(file_header->size + 1); | ~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:395:56: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 395 | xread(archive_handle->src_fd, p_longname, file_header->size); | ~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:403:42: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 403 | p_linkname = xzalloc(file_header->size + 1); | ~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/get_header_tar.c:404:56: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 404 | xread(archive_handle->src_fd, p_linkname, file_header->size); | ~~~~~~~~~~~^~~~~~ CC archival/libarchive/header_list.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_list.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_list.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_list.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_list.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/header_skip.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_skip.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_skip.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_skip.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_skip.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/header_verbose_list.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_verbose_list.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_verbose_list.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_verbose_list.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/header_verbose_list.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/init_handle.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/init_handle.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/init_handle.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/init_handle.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/init_handle.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/open_transformer.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c: In function 'transformer_write': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c:45:12: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 45 | nwrote = bufsize; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c: In function 'fork_transformer': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c:122:31: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 122 | xstate.signature_skipped = signature_skipped; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c: In function 'xmalloc_open_zipped_read_close': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/open_transformer.c:359:10: warning: conversion to 'size_t' {aka 'unsigned int'} from 'smallint' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 359 | xstate->signature_skipped | ~~~~~~^~~~~~~~~~~~~~~~~~~ CC archival/libarchive/seek_by_jump.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/seek_by_jump.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/seek_by_jump.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/seek_by_jump.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/seek_by_jump.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/seek_by_read.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/seek_by_read.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/seek_by_read.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/seek_by_read.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/seek_by_read.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/unsafe_prefix.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unsafe_prefix.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unsafe_prefix.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unsafe_prefix.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unsafe_prefix.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ CC archival/libarchive/unsafe_symlink_target.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unsafe_symlink_target.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unsafe_symlink_target.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unsafe_symlink_target.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/archival/libarchive/unsafe_symlink_target.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ AR archival/libarchive/lib.a LD console-tools/built-in.o CC console-tools/clear.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/console-tools/clear.c:24: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/console-tools/clear.c:24: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/console-tools/clear.c:24: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC console-tools/reset.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/console-tools/reset.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/console-tools/reset.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/console-tools/reset.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AR console-tools/lib.a LD coreutils/built-in.o CC coreutils/basename.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/basename.c:44: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/basename.c:44: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/basename.c:44: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/cat.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cat.c:72: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cat.c:72: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cat.c:72: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cat.c: In function 'catv': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cat.c:154:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 154 | visible(c, buf, opts); | ^~~~ CC coreutils/chgrp.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chgrp.c:45: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chgrp.c:45: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chgrp.c:45: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/chmod.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chmod.c:48: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chmod.c:48: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chmod.c:48: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chmod.c: In function 'fileAction': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chmod.c:82:12: warning: conversion to 'mode_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 82 | newmode = bb_parse_mode((char *)param, statbuf->st_mode); | ^~~~~~~~~~~~~ CC coreutils/chown.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chown.c:53: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chown.c:53: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chown.c:53: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chown.c: In function 'chown_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chown.c:131:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 131 | opt = getopt32long(argv, "^" OPT_STR "\0" "-2", chown_longopts); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chown.c:159:5: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 159 | flags, /* flags */ | ^~~~~ CC coreutils/chroot.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chroot.c:35: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chroot.c:35: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chroot.c:35: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chroot.c: In function 'chroot_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/chroot.c:38:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 38 | int chroot_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~~ CC coreutils/comm.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/comm.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/comm.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/comm.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/comm.c: In function 'writeline': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/comm.c:37:14: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 37 | int flags = option_mask32; | ^~~~~~~~~~~~~ CC coreutils/cp.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cp.c:59: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cp.c:59: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cp.c:59: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cp.c: In function 'cp_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cp.c:88:10: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 88 | flags = getopt32long(argv, "^" | ^~~~~~~~~~~~ CC coreutils/cut.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c:39: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c:39: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c:39: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c: In function 'cut_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c:78:17: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 78 | int linelen = strlen(line); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c:79:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 79 | char *printed = xzalloc(linelen + 1); | ~~~~~~~~^~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c:39: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c: In function 'cut_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:384:73: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 384 | xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c:281:16: note: in expansion of macro 'xrealloc_vector' 281 | cut_lists = xrealloc_vector(cut_lists, 4, nlists); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/cut.c:195:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 195 | int cut_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~ CC coreutils/date.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:139: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:139: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:139: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c: In function 'date_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:206:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 206 | maybe_set_utc(opt); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:229:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 229 | int len = strspn(date_str, "0123456789"); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:246:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 246 | memcpy(buf, date_str + 8, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:248:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 248 | memcpy(date_str, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:354:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 354 | n = strspn(p, "0123456789"); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:365:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 365 | pres = xatoi_positive(p); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/date.c:368:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 368 | m = 9 - pres; | ^ CC coreutils/dd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:101: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:101: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:101: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c: In function 'dd_output_status': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:185:39: warning: conversion from 'long long unsigned int' to 'double' may change value [-Wconversion] 185 | seconds = (now_us - G.begin_time_us) / 1000000.0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:186:28: warning: conversion from 'long long unsigned int' to 'double' may change value [-Wconversion] 186 | bytes_sec = G.total_bytes / seconds; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:120:11: warning: conversion from 'double' to 'long long unsigned int' may change value [-Wfloat-conversion] 120 | #define G (*(struct globals*)bb_common_bufsiz1) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:186:14: note: in expansion of macro 'G' 186 | bytes_sec = G.total_bytes / seconds; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c: In function 'write_and_stats': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:203:17: warning: conversion to 'long long unsigned int' from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 203 | G.total_bytes += n; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c: In function 'dd_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:225:20: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 225 | # define XATOU_SFX xatoull_sfx | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:398:12: note: in expansion of macro 'XATOU_SFX' 398 | count = XATOU_SFX(val, cwbkMG_suffixes); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:225:20: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 225 | # define XATOU_SFX xatoull_sfx | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:402:11: note: in expansion of macro 'XATOU_SFX' 402 | seek = XATOU_SFX(val, cwbkMG_suffixes); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:225:20: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 225 | # define XATOU_SFX xatoull_sfx | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:406:11: note: in expansion of macro 'XATOU_SFX' 406 | skip = XATOU_SFX(val, cwbkMG_suffixes); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:548:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 548 | memset(ibuf + n, 0, ibs - n); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:549:9: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 549 | n = ibs; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:558:10: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 558 | d = n; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:560:7: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 560 | n -= d; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:560:10: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 560 | n -= d; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/dd.c:572:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 572 | if (write_and_stats(ibuf, n, obs, outfile)) | ^ CC coreutils/df.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/df.c:81: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/df.c:81: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/df.c:81: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/df.c: In function 'df_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/df.c:241:26: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 241 | blocks_percent_used = blocks_total; /* 0% if blocks_total == 0, else... */ | ^~~~~~~~~~~~ CC coreutils/du.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/du.c:74: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/du.c:74: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/du.c:74: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/du.c: In function 'du': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/du.c:158:8: warning: conversion to 'long long unsigned int' from '__blkcnt64_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 158 | sum = statbuf.st_blocks; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/du.c:167:10: warning: conversion to 'long long unsigned int' from '__blkcnt64_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 167 | sum = statbuf.st_blocks; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/du.c: In function 'du_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/du.c:217:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 217 | int du_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~ CC coreutils/echo.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/echo.c:63: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/echo.c:63: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/echo.c:63: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/echo.c: In function 'echo_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/echo.c:173:13: warning: conversion from 'int' to 'char' may change value [-Wconversion] 173 | *out++ = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/echo.c:188:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 188 | /*r =*/ full_write(STDOUT_FILENO, buffer, out - buffer); | ~~~~^~~~~~~~ CC coreutils/env.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/env.c:49: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/env.c:49: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/env.c:49: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/env.c: In function 'env_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/env.c:52:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 52 | int env_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~ CC coreutils/factor.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/factor.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/factor.c:21: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/factor.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/false.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/false.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/false.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/false.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/fold.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:31: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c: In function 'adjust_column': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:47:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 47 | return ++column; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:50:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 50 | return column + 8 - column % 8; | ~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:65:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 65 | return column; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c: In function 'fold_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:123:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] 123 | line_out[offset_out] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:129:35: warning: conversion from 'int' to 'char' may change value [-Wconversion] 129 | column = adjust_column(column, c); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:129:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 129 | column = adjust_column(column, c); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:162:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 162 | column = adjust_column(column, line_out[i]); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/fold.c:75:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 75 | int fold_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~ CC coreutils/head.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c:49: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c:49: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c:49: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c: In function 'print_except_N_last_bytes': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c:83:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 83 | circle[head++] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c:95:18: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 95 | circle[head] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c: In function 'head_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c:208:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 208 | count_bytes = 1; | ~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c:211:3: note: here 211 | case 'n': | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/head.c:167:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 167 | int head_main(int argc, char **argv) | ^~~~~~~~~ CC coreutils/id.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/id.c:61: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/id.c:61: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/id.c:61: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/id.c: In function 'id_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/id.c:220:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 220 | groups = xrealloc(groups, n * sizeof(groups[0])); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/id.c:147:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 147 | int id_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~ CC coreutils/install.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/install.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/install.c:41: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/install.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/install.c: In function 'install_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/install.c:64:19: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 64 | # define GETOPT32 getopt32long | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/install.c:145:9: note: in expansion of macro 'GETOPT32' 145 | opts = GETOPT32(argv, "^" | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/install.c:183:10: warning: conversion to 'mode_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 183 | mode = bb_parse_mode(mode_str, mode); | ^~~~~~~~~~~~~ CC coreutils/ln.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ln.c:40: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ln.c:40: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ln.c:40: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ln.c: In function 'ln_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ln.c:64:9: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 64 | opts = getopt32(argv, "^" "sfnbS:vT" "\0" "-1", &suffix); | ^~~~~~~~ CC coreutils/ls.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:166: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:166: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:166: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c: In function 'display_single': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:490:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 490 | opt = option_mask32; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:500:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 500 | column += printf("%7llu ", (long long) dn->dn_ino); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:503:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 503 | column += printf("%6"OFF_FMT"u ", (off_t) (dn->dn_blocks >> 1)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:506:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 506 | column += printf("%-10s ", (char *) bb_mode_string(dn->dn_mode)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:508:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 508 | column += printf("%4lu ", (long) dn->dn_nlink); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:512:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 512 | column += printf("%-8u ", (int) dn->dn_gid); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:514:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 514 | column += printf("%-8u %-8u ", | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:521:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 521 | column += printf("%-8.8s ", | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:524:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 524 | column += printf("%-8.8s %-8.8s ", | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:540:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 540 | column += printf("%4u, %3u ", | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:547:32: warning: conversion to 'long long unsigned int' from 'off_t' {aka 'const long long int'} may change the sign of the result [-Wsign-conversion] 547 | make_human_readable_str(dn->dn_size, 1, 0) | ~~^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:545:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 545 | column += printf("%"HUMAN_READABLE_MAX_WIDTH_STR"s ", | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:550:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 550 | column += printf("%9"OFF_FMT"u ", dn->dn_size); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:563:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 563 | column += printf("%s ", buf); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c: In function 'display_files': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:648:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 648 | int len = calc_name_len(dn[i]->name); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:649:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 649 | if (column_width < len) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:650:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 650 | column_width = len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:652:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 652 | column_width += 2 | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c: In function 'my_stat': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:748:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 748 | cur->dn_rdev_maj = major(statbuf.st_rdev); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:749:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 749 | cur->dn_rdev_min = minor(statbuf.st_rdev); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c: In function 'dnsort': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:902:12: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 902 | qsort(dn, size, sizeof(*dn), sortcmp); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c: In function 'sort_and_display_files': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:907:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 907 | dnsort(dn, nfiles); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c: In function 'calculate_blocks': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:992:11: warning: conversion to 'long long unsigned int' from 'blkcnt_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 992 | blocks += (*dn)->dn_blocks; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:1000:16: warning: conversion to 'off_t' {aka 'long long int'} from 'uoff_t' {aka 'long long unsigned int'} may change the sign of the result [-Wsign-conversion] 1000 | return blocks >> 1; | ~~~~~~~^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c: In function 'scan_and_display_dirs_recur': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:1022:55: warning: conversion to 'long long unsigned int' from 'off_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 1022 | make_human_readable_str(calculate_blocks(subdnp) * 1024, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:1043:18: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1043 | dnsort(dnd, dndirs); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c: In function 'ls_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:1099:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1099 | G_terminal_width = get_terminal_width(STDIN_FILENO); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:1173:17: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-16385' to '4294950911' [-Wsign-conversion] 1173 | option_mask32 &= ~OPT_R; /* no recurse if listing only dir */ | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/ls.c:1250:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1250 | dnsort(dnd, dndirs); | ^~~~~~ CC coreutils/md5_sha1_sum.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/md5_sha1_sum.c:127: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/md5_sha1_sum.c:127: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/md5_sha1_sum.c:127: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/md5_sha1_sum.c: In function 'hash_bin_to_hex': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/md5_sha1_sum.c:150:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 150 | bin2hex(hex_value, (char*)hash_value, hash_length); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/md5_sha1_sum.c: In function 'hash_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/md5_sha1_sum.c:232:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 232 | update(&context, in_buf, count); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/md5_sha1_sum.c:239:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 239 | hash_value = hash_bin_to_hex(in_buf, hash_len); | ^~~~~~~~ CC coreutils/mkdir.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkdir.c:47: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkdir.c:47: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkdir.c:47: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkdir.c: In function 'mkdir_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkdir.c:75:18: warning: conversion to 'mode_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 75 | mode_t mmode = bb_parse_mode(smode, 0777); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkdir.c:79:10: warning: conversion to 'long int' from 'mode_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 79 | mode = mmode; | ^~~~~ CC coreutils/mkfifo.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkfifo.c:32: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkfifo.c:32: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mkfifo.c:32: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/mknod.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mknod.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mknod.c:41: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mknod.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/mktemp.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mktemp.c:61: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mktemp.c:61: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mktemp.c:61: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/mv.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mv.c:37: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mv.c:37: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/mv.c:37: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/nice.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nice.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nice.c:25: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nice.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nice.c: In function 'nice_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nice.c:28:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 28 | int nice_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~ CC coreutils/nl.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nl.c:36: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nl.c:36: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nl.c:36: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nl.c: In function 'nl_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nl.c:71:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 71 | ns.empty_str = xasprintf("%*s\n", ns.width + (int)strlen(ns.sep), ""); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nl.c:39:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 39 | int nl_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~ CC coreutils/nohup.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nohup.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nohup.c:31: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nohup.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nohup.c: In function 'nohup_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nohup.c:53:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 53 | int nohup_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~ CC coreutils/nproc.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nproc.c:27: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nproc.c:27: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nproc.c:27: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nproc.c: In function 'nproc_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nproc.c:36:13: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 36 | int opts = getopt32long(argv, "\xfe:+", | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/nproc.c:57:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 57 | for (i = 0; i < ARRAY_SIZE(mask); i++) { | ^ CC coreutils/od.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'print_named_ascii': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:429:13: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 429 | buf[3] = masked_c; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'print_ascii': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:453:13: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 453 | buf[3] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'decode_one_format': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:637:23: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 637 | pos = strchr(doux, c) - doux; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:747:23: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 747 | tspec->field_width = field_width; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'decode_format_string': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:772:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 772 | G.spec = xrealloc_vector(G.spec, 4, G.n_specs); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:384:74: note: in definition of macro 'xrealloc_vector' 384 | xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) | ^~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'skip': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:829:24: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 829 | n_bytes_to_read = n_skip; | ^~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'dump_hexl_mode_trailer': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:888:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 888 | putchar(c); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:201:42: note: in definition of macro 'putchar' 201 | # define putchar(c) putchar_unlocked(c) | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'write_block': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:933:28: warning: conversion to 'unsigned int' from 'signed char' may change the sign of the result [-Wsign-conversion] 933 | unsigned datum_width = width_bytes[G.spec[i].size]; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:225:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 225 | #define G (*(struct globals*)bb_common_bufsiz1) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:935:28: note: in expansion of macro 'G' 935 | unsigned field_width = G.spec[i].field_width + 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'get_lcm': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:979:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 979 | l_c_m = lcm(l_c_m, width_bytes[(int) G.spec[i].size]); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:979:33: warning: conversion to 'unsigned int' from 'signed char' may change the sign of the result [-Wsign-conversion] 979 | l_c_m = lcm(l_c_m, width_bytes[(int) G.spec[i].size]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:979:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 979 | l_c_m = lcm(l_c_m, width_bytes[(int) G.spec[i].size]); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'dump': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1011:15: warning: conversion from 'long long int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 1011 | n_needed = MIN(end_offset - current_offset, (off_t) G.bytes_per_block); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1040:43: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1040 | bytes_to_write = l_c_m * ((n_bytes_read + l_c_m - 1) / l_c_m); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1040:56: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1040 | bytes_to_write = l_c_m * ((n_bytes_read + l_c_m - 1) / l_c_m); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1040:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1040 | bytes_to_write = l_c_m * ((n_bytes_read + l_c_m - 1) / l_c_m); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'dump_strings': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1112:15: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 1112 | buf[i++] = c; /* String continues; store it all. */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'parse_old_offset': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:81:24: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 81 | # define xstrtooff_sfx xstrtoull_sfx | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1174:12: note: in expansion of macro 'xstrtooff_sfx' 1174 | *offset = xstrtooff_sfx(s, radix, Bb); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c: In function 'od_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:81:24: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 81 | # define xstrtooff_sfx xstrtoull_sfx | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1240:25: note: in expansion of macro 'xstrtooff_sfx' 1240 | max_bytes_to_format = xstrtooff_sfx(str_N, 0, bkm_suffixes); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:81:24: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 81 | # define xstrtooff_sfx xstrtoull_sfx | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1249:37: note: in expansion of macro 'xstrtooff_sfx' 1249 | if (opt & OPT_j) n_bytes_to_skip = xstrtooff_sfx(str_j, 0, bkm_suffixes); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1364:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1364 | if (!G.bytes_per_block || G.bytes_per_block % l_c_m != 0) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1367:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1367 | G.bytes_per_block = l_c_m; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1370:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1370 | G.bytes_per_block = l_c_m; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/od_bloaty.c:1372:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1372 | G.bytes_per_block *= DEFAULT_BYTES_PER_BLOCK / l_c_m; | ^~ CC coreutils/paste.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/paste.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/paste.c:33: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/paste.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/paste.c: In function 'paste_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/paste.c:107:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 107 | int paste_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~ CC coreutils/printenv.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printenv.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printenv.c:26: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printenv.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printenv.c: In function 'printenv_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printenv.c:31:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 31 | int printenv_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~~~~ CC coreutils/printf.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printf.c:62: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printf.c:62: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printf.c:62: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printf.c: In function 'conv_strtoull': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printf.c:111:34: warning: conversion to 'long long unsigned int' from 'long long int' may change the sign of the result [-Wsign-conversion] 111 | *(unsigned long long*)result = bb_strtoll(arg, NULL, 0); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printf.c: In function 'print_direc': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/printf.c:229:9: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 229 | llv = my_xstrtoull(skip_whitespace(argument)); | ^~~~~~~~~~~~ CC coreutils/pwd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/pwd.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/pwd.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/pwd.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/readlink.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/readlink.c:37: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/readlink.c:37: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/readlink.c:37: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/realpath.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/realpath.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/realpath.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/realpath.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/realpath.c: In function 'realpath_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/realpath.c:31:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 31 | int realpath_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~~~~ CC coreutils/rm.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/rm.c:38: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/rm.c:38: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/rm.c:38: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/rmdir.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/rmdir.c:34: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/rmdir.c:34: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/rmdir.c:34: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/rmdir.c: In function 'rmdir_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/rmdir.c:50:10: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 50 | flags = getopt32long(argv, "pv", | ^~~~~~~~~~~~ CC coreutils/seq.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c: In function 'seq_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:83:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 83 | int f = strlen(dot); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:84:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 84 | if (width < w) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:85:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 85 | width = w; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:93:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 93 | if (frac_part < f) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:94:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 94 | frac_part = f; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:61:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 61 | errno |= *pp; /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:62:3: note: here 62 | case 2: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:64:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 64 | errno |= *pp; /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:65:3: note: here 65 | case 1: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:67:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 67 | if (!errno && *pp == '\0') | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/seq.c:69:3: note: here 69 | default: | ^~~~~~~ CC coreutils/shred.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/shred.c:39: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/shred.c:39: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/shred.c:39: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/shred.c: In function 'shred_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/shred.c:98:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ CC coreutils/sleep.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sleep.c:60: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sleep.c:60: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sleep.c:60: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/sort.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:91: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:91: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:91: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c: In function 'get_key': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:151:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 151 | && !(flags & (FLAG_b | FLAG_d | FLAG_f | FLAG_i | FLAG_bb)) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:157:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 157 | len = strlen(str); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:166:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 166 | for (i = 1; i < key->range[2*j] + j; i++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:202:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 202 | if (flags & FLAG_bb) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:206:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 206 | end = key->range[3]; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:211:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 211 | start += key->range[1] - 1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:211:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 211 | start += key->range[1] - 1; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c: In function 'compare_keys': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:259:14: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 259 | int flags = option_mask32, retval = 0; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:266:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 266 | flags = key->flags ? key->flags : option_mask32; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:385:12: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 385 | flags = option_mask32; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c: In function 'sort_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:514:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 514 | key->flags |= flag; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:607:11: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 607 | *p32 = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sort.c:614:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 614 | qsort(lines, linecount, sizeof(lines[0]), compare_keys); | ^~~~~~~~~ CC coreutils/split.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:43: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c: In function 'split_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:275:22: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 275 | # define XATOOFF(a) xatoull_range((a), 0, LLONG_MAX) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:110:9: note: in expansion of macro 'XATOOFF' 110 | cnt = XATOOFF(count_p); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:112:9: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 112 | cnt = xatoull_sfx(count_p, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:158:16: warning: conversion from 'off_t' {aka 'long long int'} to 'ssize_t' {aka 'int'} may change value [-Wconversion] 158 | to_write = (bytes_read < remaining) ? bytes_read : remaining; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:164:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 164 | char *end = memchr(src, '\n', bytes_read); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/split.c:173:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 173 | xwrite(STDOUT_FILENO, src, to_write); | ^~~~~~~~ CC coreutils/stat.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c:108: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c:108: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c:108: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c: In function 'human_fstype': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c:223:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 223 | for (i = 0; i < ARRAY_SIZE(fstype); ++i) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c: In function 'strcatc': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c:247:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 247 | int len = strlen(str); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c: In function 'print_statfs': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stat.c:277:42: warning: conversion to 'uint32_t' {aka 'unsigned int'} from '__fsword_t' {aka 'const int'} may change the sign of the result [-Wsign-conversion] 277 | printfs(pformat, human_fstype(statfsbuf->f_type)); | ~~~~~~~~~^~~~~~~~ CC coreutils/stty.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:37: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:37: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:37: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c: In function 'wrapf': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:841:2: warning: function 'wrapf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 841 | buflen = vsnprintf(buf, sizeof(buf), message, args); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:841:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 841 | buflen = vsnprintf(buf, sizeof(buf), message, args); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c: In function 'set_window_size': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:883:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 883 | win.ws_row = rows; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:885:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 885 | win.ws_col = cols; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c: In function 'recover_mode': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:977:19: warning: conversion from 'unsigned int' to 'cc_t' {aka 'unsigned char'} may change value [-Wconversion] 977 | mode->c_cc[i] = chr; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c: In function 'set_mode': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1134:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-257' to '4294967039' [-Wsign-conversion] 1134 | mode->c_cflag = (mode->c_cflag & ~PARENB & ~CSIZE) | CS8; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1134:45: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-49' to '4294967247' [-Wsign-conversion] 1134 | mode->c_cflag = (mode->c_cflag & ~PARENB & ~CSIZE) | CS8; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1136:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-513' to '4294966783' [-Wsign-conversion] 1136 | mode->c_cflag = (mode->c_cflag & ~PARODD & ~CSIZE) | PARENB | CS7; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1136:45: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-49' to '4294967247' [-Wsign-conversion] 1136 | mode->c_cflag = (mode->c_cflag & ~PARODD & ~CSIZE) | PARENB | CS7; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1139:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-257' to '4294967039' [-Wsign-conversion] 1139 | mode->c_cflag = (mode->c_cflag & ~PARENB & ~CSIZE) | CS8; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1139:45: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-49' to '4294967247' [-Wsign-conversion] 1139 | mode->c_cflag = (mode->c_cflag & ~PARENB & ~CSIZE) | CS8; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1141:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-49' to '4294967247' [-Wsign-conversion] 1141 | mode->c_cflag = (mode->c_cflag & ~CSIZE) | CS7 | PARODD | PARENB; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1144:44: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-65' to '4294967231' [-Wsign-conversion] 1144 | mode->c_iflag = (mode->c_iflag | ICRNL) & ~INLCR & ~IGNCR; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1144:53: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-129' to '4294967167' [-Wsign-conversion] 1144 | mode->c_iflag = (mode->c_iflag | ICRNL) & ~INLCR & ~IGNCR; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1145:44: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-9' to '4294967287' [-Wsign-conversion] 1145 | mode->c_oflag = (mode->c_oflag | ONLCR) & ~OCRNL & ~ONLRET; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1145:53: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-33' to '4294967263' [-Wsign-conversion] 1145 | mode->c_oflag = (mode->c_oflag | ONLCR) & ~OCRNL & ~ONLRET; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1147:34: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-257' to '4294967039' [-Wsign-conversion] 1147 | mode->c_iflag = mode->c_iflag & ~ICRNL; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1148:45: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-5' to '4294967291' [-Wsign-conversion] 1148 | if (ONLCR) mode->c_oflag = mode->c_oflag & ~ONLCR; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1159:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-Wsign-conversion] 1159 | mode->c_lflag &= ~ICANON; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1162:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-49' to '4294967247' [-Wsign-conversion] 1162 | mode->c_cflag = (mode->c_cflag & ~CSIZE) | CS7 | PARENB; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1165:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-257' to '4294967039' [-Wsign-conversion] 1165 | mode->c_cflag = (mode->c_cflag & ~PARENB & ~CSIZE) | CS8; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1165:45: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-49' to '4294967247' [-Wsign-conversion] 1165 | mode->c_cflag = (mode->c_cflag & ~PARENB & ~CSIZE) | CS8; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1166:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-33' to '4294967263' [-Wsign-conversion] 1166 | mode->c_iflag &= ~ISTRIP; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1170:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-49' to '4294967247' [-Wsign-conversion] 1170 | mode->c_cflag = (mode->c_cflag & ~CSIZE) | CS7 | PARENB; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1174:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-257' to '4294967039' [-Wsign-conversion] 1174 | mode->c_cflag = (mode->c_cflag & ~PARENB & ~CSIZE) | CS8; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1174:45: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-49' to '4294967247' [-Wsign-conversion] 1174 | mode->c_cflag = (mode->c_cflag & ~PARENB & ~CSIZE) | CS8; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1175:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-33' to '4294967263' [-Wsign-conversion] 1175 | mode->c_iflag &= ~ISTRIP; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1176:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-2' to '4294967294' [-Wsign-conversion] 1176 | mode->c_oflag &= ~OPOST; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1195:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-2' to '4294967294' [-Wsign-conversion] 1195 | mode->c_oflag &= ~OPOST; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1196:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] 1196 | mode->c_lflag &= ~(ISIG | ICANON | XCASE); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1206:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-2049' to '4294965247' [-Wsign-conversion] 1206 | mode->c_iflag &= ~IXANY; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1212:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-6145' to '4294961151' [-Wsign-conversion] 1212 | mode->c_oflag = (mode->c_oflag & ~TABDLY) | TAB3; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1214:35: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-6145' to '4294961151' [-Wsign-conversion] 1214 | mode->c_oflag = (mode->c_oflag & ~TABDLY) | TAB0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1228:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-5' to '4294967291' [-Wsign-conversion] 1228 | mode->c_lflag &= ~XCASE; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1229:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-513' to '4294966783' [-Wsign-conversion] 1229 | mode->c_iflag &= ~IUCLC; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1230:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-Wsign-conversion] 1230 | mode->c_oflag &= ~OLCUC; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1245:28: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-2049' to '4294965247' [-Wsign-conversion] 1245 | if (IXANY) mode->c_iflag &= ~IXANY; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c: In function 'set_control_char_or_die': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1255:11: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 1255 | value = xatoul_range_sfx(arg, 0, 0xff, stty_suffixes); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1265:11: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 1265 | value = xatoul_range_sfx(arg, 0, 0xff, stty_suffixes); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c: In function 'stty_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1431:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1431 | G.max_col = get_terminal_width(STDOUT_FILENO); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1478:18: warning: conversion from 'long unsigned int' to 'cc_t' {aka 'unsigned char'} may change value [-Wconversion] 1478 | mode.c_line = xatoul_sfx(argnext, stty_suffixes); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1485:24: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 1485 | set_window_size(-1, xatoul_sfx(argnext, stty_suffixes)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/stty.c:1491:20: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 1491 | set_window_size(xatoul_sfx(argnext, stty_suffixes), -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/sum.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sum.c:32: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sum.c:32: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sum.c:32: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sum.c: In function 'sum_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sum.c:56:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 56 | size_t bytes_read = safe_read(fd, buf, COMMON_BUFSIZE); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sum.c:83:7: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 83 | r = (s & 0xffff) + ((s & 0xffffffff) >> 16); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sum.c:84:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 84 | s = (r & 0xffff) + (r >> 16); | ^ CC coreutils/sync.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sync.c:42: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sync.c:42: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sync.c:42: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sync.c: In function 'fsync_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/sync.c:136:13: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 136 | int opts = getopt32(argv, "^" "d" "\0" "-1"/*min 1 arg*/); | ^~~~~~~~ CC coreutils/tac.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tac.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tac.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tac.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tac.c: In function 'tac_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tac.c:87:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 87 | line = xrealloc(line, i + 0x7f + sizeof(int) + 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tac.c:88:22: warning: conversion from 'int' to 'char' may change value [-Wconversion] 88 | line->buf[i++] = ch; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tac.c:91:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 91 | line = xrealloc(line, i + sizeof(int)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tac.c:108:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 108 | xwrite(STDOUT_FILENO, line->buf, line->size); | ~~~~^~~~~~ CC coreutils/tail.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:70: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:70: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:70: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c: In function 'tail_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:143:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 143 | opt = getopt32(argv, IF_FEATURE_FANCY_TAIL("^") | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:166:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 166 | fds = xmalloc(sizeof(fds[0]) * (argc + 1)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:177:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 177 | nfiles = i = 0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:265:50: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 265 | while ((nread = tail_read(fd, buf, tailbufsize - taillen)) > 0) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:271:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 271 | nwrite -= (count - seen); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:271:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 271 | nwrite -= (count - seen); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:272:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 272 | seen += nread; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:284:50: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 284 | xwrite(STDOUT_FILENO, buf + nread - nwrite, nwrite); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:290:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 290 | taillen = count; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:310:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 310 | k = newlines_seen + newlines_in_buf + extra - count; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:310:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 310 | k = newlines_seen + newlines_in_buf + extra - count; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:319:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 319 | memmove(tailbuf, s, taillen); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:320:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 320 | newlines_seen = count - extra; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:320:23: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 320 | newlines_seen = count - extra; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:323:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 323 | tailbufsize = taillen + BUFSIZ; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:331:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 331 | xwrite(STDOUT_FILENO, tailbuf, taillen); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:333:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 333 | } while (++i < nfiles); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:396:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 396 | xwrite(STDOUT_FILENO, tailbuf, nread); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tail.c:398:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 398 | } while (++i < nfiles); | ^ CC coreutils/tee.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tee.c:55: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tee.c:55: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tee.c:55: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tee.c: In function 'tee_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tee.c:75:11: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'char' may change value [-Wconversion] 75 | retval = getopt32(argv, "ia"); /* 'a' must be 2nd */ | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tee.c:90:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 90 | fp = files = xzalloc(sizeof(FILE *) * (argc + 2)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tee.c:118:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 118 | fwrite(buf, 1, c, *fp); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tee.c:59:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 59 | int tee_main(int argc, char **argv) | ^~~~~~~~ CC coreutils/test.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c:78: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c:78: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c:78: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c: In function 'check_operator': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c:493:13: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-1' to '255' [-Wsign-conversion] 493 | .op_num = -1, | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c:494:14: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-1' to '255' [-Wsign-conversion] 494 | .op_type = -1 | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c: In function 'test_eaccess': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c:621:18: warning: conversion to '__mode_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 621 | if (st->st_mode & mode) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c: In function 'filstat': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c:654:27: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 654 | return test_eaccess(&s, i) == 0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c: In function 'test_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/test.c:823:32: warning: argument 'argv' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 823 | int test_main(int argc, char **argv) | ~~~~~~~^~~~ CC coreutils/test_ptr_hack.o CC coreutils/timeout.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/timeout.c:47: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/timeout.c:47: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/timeout.c:47: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/timeout.c: In function 'timeout_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/timeout.c:75:12: warning: conversion from 'duration_t' {aka 'double'} to 'int' may change value [-Wfloat-conversion] 75 | timeout = parse_duration_str(argv[optind++]); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/timeout.c:50:48: warning: argument 'argv' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 50 | int timeout_main(int argc UNUSED_PARAM, char **argv) | ~~~~~~~^~~~ CC coreutils/touch.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/touch.c:82: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/touch.c:82: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/touch.c:82: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/touch.c: In function 'touch_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/touch.c:106:20: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 106 | # define GETOPT32 getopt32long | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/touch.c:127:9: note: in expansion of macro 'GETOPT32' 127 | opts = GETOPT32(argv, "c" IF_FEATURE_TOUCH_SUSV3("r:d:t:") | ^~~~~~~~ CC coreutils/tr.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:63: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:63: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:63: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c: In function 'expand': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:143:21: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 143 | buffer[pos++] = i++; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:179:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 179 | tmp = xstrndup(arg, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:180:9: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 180 | j = index_in_strings(classes, tmp) + 1; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:189:23: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 189 | buffer[pos++] = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:193:23: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 193 | buffer[pos++] = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:197:23: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 197 | buffer[pos++] = i; | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:63: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:211:65: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 211 | if ((j == CLASS_punct && isprint_asciionly(i) && !isalnum(i) && !isspace(i)) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:2324:37: note: in definition of macro 'isalnum' 2324 | #define isalnum(a) bb_ascii_isalnum(a) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:2320:51: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 2320 | #define isspace(a) ({ unsigned char bb__isspace = (a) - 9; bb__isspace == (' ' - 9) || bb__isspace <= (13 - 9); }) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:211:72: note: in expansion of macro 'isspace' 211 | if ((j == CLASS_punct && isprint_asciionly(i) && !isalnum(i) && !isspace(i)) | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:2316:51: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 2316 | #define iscntrl(a) ({ unsigned char bb__iscntrl = (a); bb__iscntrl < ' ' || bb__iscntrl == 0x7f; }) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:212:32: note: in expansion of macro 'iscntrl' 212 | || (j == CLASS_cntrl && iscntrl(i)) | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:214:24: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 214 | buffer[pos++] = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:220:25: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 220 | buffer[pos + 6] = i | 0x20; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:221:23: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 221 | buffer[pos++] = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c: In function 'complement': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:261:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 261 | if (memchr(buffer, ch, buffer_len) == NULL) | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:266:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 266 | memcpy(buffer, conv, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c: In function 'tr_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:292:15: warning: conversion from 'int' to 'char' may change value [-Wconversion] 292 | vector[i] = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:302:9: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 302 | opts = getopt32(argv, "^+" "Ccds" "\0" "-1"); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:305:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 305 | str1_length = expand(*argv++, &str1); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:312:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 312 | str2_length = expand(*argv, &str2); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:313:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 313 | map(vector, str1, str1_length, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:314:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 314 | str2, str2_length); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tr.c:350:23: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 350 | str2[out_index++] = last = coded; | ^~~~ CC coreutils/true.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/true.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/true.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/true.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/truncate.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/truncate.c:29: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/truncate.c:29: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/truncate.c:29: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/truncate.c: In function 'truncate_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/truncate.c:32:20: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 32 | # define XATOU_SFX xatoull_sfx | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/truncate.c:62:9: note: in expansion of macro 'XATOU_SFX' 62 | size = XATOU_SFX(size_str, kMG_suffixes); | ^~~~~~~~~ CC coreutils/tty.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tty.c:35: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tty.c:35: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tty.c:35: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from : /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tty.c: In function 'tty_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tty.c:46:28: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 46 | IF_INCLUDE_SUSv2(silent = getopt32(argv, "s");) | ^~~~~~~~ ./include/autoconf.h:40:32: note: in definition of macro 'IF_INCLUDE_SUSv2' 40 | # define IF_INCLUDE_SUSv2(...) __VA_ARGS__ | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/tty.c:38:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 38 | int tty_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~ CC coreutils/uname.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uname.c:100: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uname.c:100: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uname.c:100: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uname.c: In function 'uname_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uname.c:126:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 126 | int uname_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | ^~~~~~~~~~ CC coreutils/uniq.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uniq.c:40: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uniq.c:40: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uniq.c:40: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uniq.c: In function 'uniq_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/uniq.c:43:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 43 | int uniq_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~ CC coreutils/unlink.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/unlink.c:24: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/unlink.c:24: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/unlink.c:24: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/wc.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/wc.c:56: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/wc.c:56: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/wc.c:56: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/wc.c: In function 'wc_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/wc.c:214:21: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 214 | counts[WC_WORDS] += in_word; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/wc.c:109:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 109 | int wc_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~ CC coreutils/who.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/who.c:87: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/who.c:87: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/who.c:87: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AR coreutils/lib.a LD coreutils/libcoreutils/built-in.o CC coreutils/libcoreutils/cp_mv_stat.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/cp_mv_stat.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/cp_mv_stat.c:21: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/cp_mv_stat.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC coreutils/libcoreutils/getopt_mk_fifo_nod.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/getopt_mk_fifo_nod.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/getopt_mk_fifo_nod.c:21: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/getopt_mk_fifo_nod.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/getopt_mk_fifo_nod.c: In function 'getopt_mk_fifo_nod': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/getopt_mk_fifo_nod.c:32:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 32 | opt = getopt32(argv, "m:" IF_SELINUX("Z:"), &smode IF_SELINUX(,&scontext)); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/coreutils/libcoreutils/getopt_mk_fifo_nod.c:34:10: warning: conversion to 'mode_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 34 | mode = bb_parse_mode(smode, mode); | ^~~~~~~~~~~~~ AR coreutils/libcoreutils/lib.a LD debianutils/built-in.o CC debianutils/start_stop_daemon.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c:121: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c:121: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c:121: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c: In function 'do_pidfile': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c:284:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 284 | check(pid); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c: In function 'do_procinit': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c:313:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 313 | pid = bb_strtou(entry->d_name, NULL, 10); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c: In function 'start_stop_daemon_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c:442:15: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 442 | signal_nr = get_signum(signame); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c:478:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 478 | user_id = bb_strtou(userspec, NULL, 10); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/start_stop_daemon.c:408:58: warning: argument 'argv' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 408 | int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv) | ~~~~~~~^~~~ CC debianutils/which.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/which.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/which.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/debianutils/which.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AR debianutils/lib.a LD klibc-utils/built-in.o AR klibc-utils/lib.a LD e2fsprogs/built-in.o AR e2fsprogs/lib.a LD editors/built-in.o CC editors/cmp.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/cmp.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/cmp.c:31: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/cmp.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/cmp.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/cmp.c: In function 'cmp_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:275:22: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 275 | # define XATOOFF(a) xatoull_range((a), 0, LLONG_MAX) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/cmp.c:67:12: note: in expansion of macro 'XATOOFF' 67 | skip1 = XATOOFF(*argv); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:275:22: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 275 | # define XATOOFF(a) xatoull_range((a), 0, LLONG_MAX) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/cmp.c:69:13: note: in expansion of macro 'XATOOFF' 69 | skip2 = XATOOFF(*argv); | ^~~~~~~ CC editors/sed.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:85: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:85: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:85: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c: In function 'parse_escapes': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:229:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 229 | len = strlen(string); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:235:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 235 | return d - dest; | ~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:245:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 245 | return d - dest; | ~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:249:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 249 | return d - dest; | ~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c: In function 'copy_parsing_escapes': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:255:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 255 | char *dest = xmalloc(len + 1); | ~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:260:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 260 | len = parse_escapes(dest, string, len, s[1], s[0]); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c: In function 'parse_subst_cmd': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:463:8: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 463 | idx += strlen(substr + idx); // same | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:463:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 463 | idx += strlen(substr + idx); // same | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c: In function 'parse_cmd_args': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:528:8: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 528 | idx = strchrnul(cmd_letters, sed_cmd->cmd) - cmd_letters; | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:552:50: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 552 | sed_cmd->string = copy_parsing_escapes(cmdstr, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:574:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 574 | length = strcspn(cmdstr, semicolon_whitespace); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:587:39: warning: conversion from 'int' to 'char' may change value [-Wconversion] 587 | parse_escapes(match, match, -1, i, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:587:42: warning: conversion from 'int' to 'char' may change value [-Wconversion] 587 | parse_escapes(match, match, -1, i, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:588:39: warning: conversion from 'int' to 'char' may change value [-Wconversion] 588 | parse_escapes(replace, replace, -1, i, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:588:42: warning: conversion from 'int' to 'char' may change value [-Wconversion] 588 | parse_escapes(replace, replace, -1, i, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c: In function 'pipe_putc': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:737:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 737 | G.pipeline.len + PIPE_GROW); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c: In function 'process_files': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1352:10: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1352 | len = strlen(pattern_space); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1353:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1353 | pattern_space = xrealloc(pattern_space, len + strlen(next_line) + 2); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1401:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1401 | pattern_space_size += strlen(pattern_space); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1401:27: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1401 | pattern_space_size += strlen(pattern_space); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1403:23: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1403 | hold_space_size = strlen(G.hold_space); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1405:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1405 | pattern_space_size + hold_space_size); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1425:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1425 | hold_space_size += strlen(G.hold_space); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1425:24: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1425 | hold_space_size += strlen(G.hold_space); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1427:26: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1427 | pattern_space_size = strlen(pattern_space); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1429:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1429 | hold_space_size + pattern_space_size); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c: In function 'sed_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1607:4: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] 1607 | fchown(nonstdoutfd, statbuf.st_uid, statbuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c: In function 'process_files': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1222:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 1222 | { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/sed.c:1235:3: note: here 1235 | case 'p': | ^~~~ CC editors/vi.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:180: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:180: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:180: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'place_cursor': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:588:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 588 | if (row >= rows) row = rows - 1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:421:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 421 | #define rows (G.rows ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:588:25: note: in expansion of macro 'rows' 588 | if (row >= rows) row = rows - 1; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:590:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 590 | if (col >= columns) col = columns - 1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:422:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 422 | #define columns (G.columns ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:590:28: note: in expansion of macro 'columns' 590 | if (col >= columns) col = columns - 1; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'go_bottom_and_clear_to_eol': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:604:20: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 604 | place_cursor(rows - 1, 0); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'begin_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:624:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 624 | p = memrchr(text, '\n', p - text); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'end_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:635:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 635 | p = memchr(p, '\n', end - p - 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'end_screen': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:676:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 676 | for (cnt = 0; cnt < rows - 2; cnt++) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'screen_erase': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:431:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 431 | #define screensize (G.screensize ) | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:722:22: note: in expansion of macro 'screensize' 722 | memset(screen, ' ', screensize); // clear new screen | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'new_screen': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:431:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 431 | #define screensize (G.screensize ) | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:731:23: note: in expansion of macro 'screensize' 731 | s = screen = xmalloc(screensize); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'sync_cursor': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:761:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 761 | if (cnt > (rows - 1) / 2) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:763:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 763 | for (cnt = 0; cnt < (rows - 1) / 2; cnt++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:774:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 774 | if (cnt > (rows - 1) / 2) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:787:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 787 | for (ro = 0; ro < rows - 1; ro++) { // drive "ro" to correct row | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:827:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 827 | if (co >= columns + offset) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:827:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 827 | if (co >= columns + offset) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:828:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 828 | offset = co - columns + 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:828:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 828 | offset = co - columns + 1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'format_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:851:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 851 | while (co < columns + tabstop) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:851:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 851 | while (co < columns + tabstop) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:880:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 880 | memmove(dest, dest + tabstop, co); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:894:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 894 | if (co < columns) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:895:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 895 | memset(&dest[co], ' ', columns - co); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'refresh': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:915:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 915 | full_screen |= (c - columns) | (r - rows); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:915:18: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 915 | full_screen |= (c - columns) | (r - rows); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:928:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 928 | for (li = 0; li < rows - 1; li++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:936:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 936 | char *t = memchr(tp, '\n', end - tp); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:422:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 422 | #define columns (G.columns ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:944:8: note: in expansion of macro 'columns' 944 | ce = columns - 1; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:945:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 945 | sp = &screen[li * columns]; // start of screen line | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:976:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 976 | if (ce > columns - 1) ce = columns - 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:422:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 422 | #define columns (G.columns ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:976:30: note: in expansion of macro 'columns' 976 | if (ce > columns - 1) ce = columns - 1; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:422:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 422 | #define columns (G.columns ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:977:31: note: in expansion of macro 'columns' 977 | if (cs > ce) { cs = 0; ce = columns - 1; } | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:981:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 981 | memcpy(sp+cs, out_buf+cs, ce-cs+1); | ~~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:984:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 984 | fwrite(&sp[cs], ce - cs + 1, 1, stdout); | ~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'readit': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1039:6: warning: conversion from 'int64_t' {aka 'long long int'} to 'int' may change value [-Wconversion] 1039 | c = read_key(STDIN_FILENO, readbuffer, /*timeout:*/ -1); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'get_one_char': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1075:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1075 | if (lmc_len >= ARRAY_SIZE(last_modifying_cmd) - 1) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1081:35: warning: conversion from 'int' to 'char' may change value [-Wconversion] 1081 | last_modifying_cmd[lmc_len++] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'get_input_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1103:6: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1103 | i = strlen(buf); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1116:13: warning: conversion from 'int' to 'char' may change value [-Wconversion] 1116 | buf[i] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'format_edit_status': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:422:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 422 | #define columns (G.columns ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1176:13: note: in expansion of macro 'columns' 1176 | trunc_at = columns < STATUS_BUFFER_LEN-1 ? | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1179:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1179 | ret = snprintf(status_buffer, trunc_at+1, | ~~~~~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'show_status_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1224:61: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1224 | if (((int)strlen(status_buffer) - (have_status_msg - 1)) > | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'status_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1242:2: warning: function 'status_line' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 1242 | vsnprintf(status_buffer, STATUS_BUFFER_LEN, format, args); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'status_line_bold': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1256:2: warning: function 'status_line_bold' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 1256 | ); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'text_hole_make': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:409:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 409 | #define text_size (G.text_size ) | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1395:29: note: in expansion of macro 'text_size' 1395 | new_text = xrealloc(text, text_size); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1396:10: warning: conversion to 'uintptr_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1396 | bias = (new_text - text); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1404:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1404 | for (i = 0; i < ARRAY_SIZE(mark); i++) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1411:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1411 | memmove(p + size, p, end - size - p); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1412:17: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1412 | memset(p, ' ', size); // clear new hole | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'text_hole_delete': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1441:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1441 | undo_push(p, hole_size, UNDO_DEL); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1444:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1444 | undo_push(p, hole_size, UNDO_DEL_CHAIN); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1448:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1448 | undo_push(p, hole_size, UNDO_DEL_QUEUED); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1461:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1461 | memmove(dest, src, cnt); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'undo_queue_commit': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:470:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 470 | #define undo_q (G.undo_q ) | ~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1482:4: note: in expansion of macro 'undo_q' 1482 | undo_q, | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'undo_push': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1588:23: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1588 | undo_entry->length = length; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1595:11: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1595 | u_type = (u_type & ~UNDO_USE_SPOS); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'undo_push_insert': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1611:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1611 | undo_push(p, len, UNDO_INS); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1614:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1614 | undo_push(p, len, UNDO_INS_CHAIN); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1618:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1618 | undo_push(p, len, UNDO_INS_QUEUED); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'undo_pop': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1647:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1647 | memcpy(u_start, undo_entry->undo_text, undo_entry->length); | ~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'file_insert': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1891:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1891 | cnt = full_read(fd, p, size); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'char_insert': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1987:7: warning: conversion from 'int' to 'char' may change value [-Wconversion] 1987 | c = get_one_char(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2034:30: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2034 | bias = text_hole_make(p, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2038:25: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2038 | undo_push_insert(p, len, undo); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'init_text_buffer': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:409:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 409 | #define text_size (G.text_size ) | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2058:43: note: in expansion of macro 'text_size' 2058 | screenbegin = dot = end = text = xzalloc(text_size); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'string_insert': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2093:6: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2093 | i = strlen(s); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2099:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2099 | memcpy(p, s, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'file_write': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2129:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2129 | charcnt = full_write(fd, first, cnt); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'setops': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2341:10: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2341 | int l = strlen(opname) - 1; // opname have + ' ' | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2344:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2344 | if (strncasecmp(a, opname, l) == 0 | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2348:17: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 2348 | vi_setops &= ~opt; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2350:17: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 2350 | vi_setops |= opt; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'colon': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2497:6: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2497 | i = strlen(cmd); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2522:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2522 | } else if (strncmp(cmd, "delete", i) == 0) { // delete lines | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2529:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2529 | } else if (strncmp(cmd, "edit", i) == 0) { // Edit a file | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2573:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2573 | } else if (strncmp(cmd, "file", i) == 0) { // what File is this | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2586:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2586 | } else if (strncmp(cmd, "features", i) == 0) { // what features are available | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2593:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2593 | } else if (strncmp(cmd, "list", i) == 0) { // literal print line | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2623:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2623 | } else if (strncmp(cmd, "quit", i) == 0 // quit | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2624:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2624 | || strncmp(cmd, "next", i) == 0 // edit next file | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2625:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2625 | || strncmp(cmd, "prev", i) == 0 // edit previous file | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2660:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2660 | } else if (strncmp(cmd, "read", i) == 0) { // read file into text[] | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2679:20: warning: conversion to 'uintptr_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2679 | uintptr_t ofs = q - text; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2699:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2699 | } else if (strncmp(cmd, "rewind", i) == 0) { // rewind cmd line args | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2708:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2708 | } else if (strncmp(cmd, "set", i) == 0) { // set or clear features | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2770:11: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2770 | len_F = R - F; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2775:11: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2775 | len_R = flags - R; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2816:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2816 | } else if (strncmp(cmd, "version", i) == 0) { // show software version | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2818:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2818 | } else if (strncmp(cmd, "write", i) == 0 // write text to file | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2819:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2819 | || strncmp(cmd, "wq", i) == 0 | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2820:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2820 | || strncmp(cmd, "wn", i) == 0 | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2876:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2876 | } else if (strncmp(cmd, "yank", i) == 0) { // yank lines | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'winch_handler': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:421:35: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 421 | #define rows (G.rows ) | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2967:13: note: in expansion of macro 'rows' 2967 | new_screen(rows, columns); // get memory for virtual screen | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:422:35: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 422 | #define columns (G.columns ) | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2967:19: note: in expansion of macro 'columns' 2967 | new_screen(rows, columns); // get memory for virtual screen | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'do_cmd': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3143:28: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3143 | dot = char_insert(dot, c, ALLOW_UNDO_CHAIN); // insert new char | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3153:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3153 | dot = char_insert(dot, c, ALLOW_UNDO_QUEUED); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3201:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3201 | buf[0] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3209:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3209 | dot_scroll(rows - 2, -1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3212:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3212 | dot_scroll((rows - 2) / 2, 1); | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3219:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3219 | dot_scroll(rows - 2, 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3253:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3253 | dot_scroll((rows - 2) / 2, -1); | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3277:12: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 3277 | YDreg = c1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3431:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3431 | buf[0] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3436:30: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3436 | last_search_pattern[0] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3496:32: warning: signed conversion from 'unsigned int' to 'int' changes value from '4294967295' to '-1' [-Wsign-conversion] 3496 | q = char_search(dot, "\n\n", ((unsigned)BACK << 1) | FULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3532:22: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3532 | find_range(&p, &q, c1); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3600:13: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3600 | buf[1] = (c1 >= 0 ? c1 : '*'); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3617:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3617 | if (cmdcnt > (rows - 1)) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3618:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3618 | cmdcnt = (rows - 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3656:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3656 | if (cmdcnt > (rows - 1)) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3657:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3657 | cmdcnt = (rows - 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3667:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3667 | for (cnt = 0; cnt < (rows-1) / 2; cnt++) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3774:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3774 | ml = find_range(&p, &q, c1); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3849:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3849 | dot = char_insert(dot, c1, ALLOW_UNDO_CHAIN); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3879:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3879 | cnt = (rows - 2) / 2; // put dot at center | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:421:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 421 | #define rows (G.rows ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3881:10: note: in expansion of macro 'rows' 3881 | cnt = rows - 2; // put dot at bottom | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3946:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3946 | check_context(c); // update the current context | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'edit_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:4183:7: warning: conversion to 'uint64_t' {aka 'long long unsigned int'} from 'int64_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 4183 | k = read_key(STDIN_FILENO, readbuffer, /*timeout_ms:*/ 100); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:4185:18: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 4185 | uint32_t rc = (k >> 32); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:421:35: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 421 | #define rows (G.rows ) | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:4195:13: note: in expansion of macro 'rows' 4195 | new_screen(rows, columns); // get memory for virtual screen | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:422:35: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 422 | #define columns (G.columns ) | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:4195:19: note: in expansion of macro 'columns' 4195 | new_screen(rows, columns); // get memory for virtual screen | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:4292:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4292 | start_new_cmd_q(c); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'undo_push': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1533:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 1533 | undo_queue_state = UNDO_DEL; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:1534:3: note: here 1534 | case UNDO_DEL: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'file_write': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:2130:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2130 | ftruncate(fd, charcnt); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c: In function 'do_cmd': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3383:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 3383 | last_forward_char = get_one_char(); // get the search char | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3388:2: note: here 3388 | case ';': // ;- look at rest of line for last forward char | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3559:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 3559 | dot_end(); // go to e-o-l | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3561:2: note: here 3561 | case 'a': // a- append after current char | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3627:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 3627 | dot_skip_over_ws(); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/editors/vi.c:3629:2: note: here 3629 | case 'i': // i- insert before current char | ^~~~ AR editors/lib.a LD findutils/built-in.o CC findutils/find.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:356: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:356: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:356: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'func_type': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:599:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 599 | return ((statbuf->st_mode & S_IFMT) == ap->type_mask); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'func_mtime': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:625:22: warning: conversion to 'time_t' {aka 'long int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 625 | time_t mtime_secs = ap->mtime_days * 24*60*60; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'func_mmin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:638:21: warning: conversion to 'time_t' {aka 'long int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 638 | time_t mmin_secs = ap->mmin_mins * 60; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'do_exec': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:699:58: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 699 | *pp++ = xmalloc_substitute_string(arg, ap->subst_count[i], "{}", fileName); | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'func_exec': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:729:16: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 729 | ap->file_len += strlen(fileName) + sizeof(char*) + 1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:729:19: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 729 | ap->file_len += strlen(fileName) + sizeof(char*) + 1; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:732:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 732 | if (ap->file_len >= G.max_argv_len) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'func_links': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:885:39: warning: comparison of integer expressions of different signedness: '__nlink_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 885 | case '-' : return (statbuf->st_nlink < ap->links_count); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:886:39: warning: comparison of integer expressions of different signedness: '__nlink_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 886 | case '+' : return (statbuf->st_nlink > ap->links_count); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:887:39: warning: comparison of integer expressions of different signedness: '__nlink_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 887 | default: return (statbuf->st_nlink == ap->links_count); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'alloc_action': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:996:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 996 | action *ap = xzalloc(sizeof_struct); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'parse_params': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1281:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1281 | ap->subst_count = xmalloc(ap->exec_argc * sizeof(int)); | ^ In file included from : /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1285:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1285 | IF_FEATURE_FIND_EXEC_PLUS(all_subst += ap->subst_count[i];) | ^~ ./include/autoconf.h:2496:41: note: in definition of macro 'IF_FEATURE_FIND_EXEC_PLUS' 2496 | # define IF_FEATURE_FIND_EXEC_PLUS(...) __VA_ARGS__ | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1285:44: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1285 | IF_FEATURE_FIND_EXEC_PLUS(all_subst += ap->subst_count[i];) | ^~ ./include/autoconf.h:2496:41: note: in definition of macro 'IF_FEATURE_FIND_EXEC_PLUS' 2496 | # define IF_FEATURE_FIND_EXEC_PLUS(...) __VA_ARGS__ | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1370:20: warning: conversion to 'mode_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1370 | ap->perm_mask = bb_parse_mode(arg1, ap->perm_mask); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1418:15: warning: conversion to 'uid_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 1418 | ap->uid = xuname2uid(arg1); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1428:15: warning: conversion to 'gid_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 1428 | ap->gid = xgroup2gid(arg1); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1440:19: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 1440 | #define XATOU_SFX xatoull_sfx | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1456:15: note: in expansion of macro 'XATOU_SFX' 1456 | ap->size = XATOU_SFX(plus_minus_num(arg1), find_suffixes); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1476:22: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 1476 | ap->links_count = xatoul(plus_minus_num(arg1)); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c: In function 'find_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1525:6: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1525 | i = getopt32(argv, "+HLP"); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1555:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1555 | G.xdev_dev = xzalloc(G.xdev_count * sizeof(G.xdev_dev[0])); | ^ In file included from : /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/find.c:1580:44: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 1580 | IF_FEATURE_FIND_EXEC_PLUS(G.exitstatus |= flush_exec_plus();) | ^~~~~~~~~~~~~~~ ./include/autoconf.h:2496:41: note: in definition of macro 'IF_FEATURE_FIND_EXEC_PLUS' 2496 | # define IF_FEATURE_FIND_EXEC_PLUS(...) __VA_ARGS__ | ^~~~~~~~~~~ CC findutils/grep.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:56: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:56: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:56: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c: In function 'grep_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:410:16: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 410 | found |= (gl->matched_range.rm_so == 0 | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:533:24: warning: conversion to 'unsigned int' from 'regoff_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 533 | unsigned start = gl->matched_range.rm_so; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:534:22: warning: conversion to 'unsigned int' from 'regoff_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 534 | unsigned end = gl->matched_range.rm_eo; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:550:31: warning: conversion to 'unsigned int' from 'regoff_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 550 | gl->matched_range.rm_so += end; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:550:34: warning: conversion to 'regoff_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 550 | gl->matched_range.rm_so += end; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:551:31: warning: conversion to 'unsigned int' from 'regoff_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 551 | gl->matched_range.rm_eo += end; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:551:34: warning: conversion to 'regoff_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 551 | gl->matched_range.rm_eo += end; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c: In function 'grep_dir': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:701:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 699 | /* recurse=yes */ ACTION_RECURSE | | ~~~~~~~~~~~~~~~~ 700 | /* followLinks=always */ ((option_mask32 & OPT_R) ? ACTION_FOLLOWLINKS : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 701 | /* followLinks=command line only */ ACTION_FOLLOWLINKS_L0 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 702 | /* depthFirst=yes */ ACTION_DEPTHFIRST, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c: In function 'grep_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:727:9: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 727 | opts = getopt32long(argv, "^" | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:747:17: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-Wsign-conversion] 747 | option_mask32 &= ~OPT_n; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:751:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 751 | if (lines_before > INT_MAX / sizeof(long long)) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/grep.c:754:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 754 | before_buf = xzalloc(lines_before * sizeof(before_buf[0])); | ^ CC findutils/xargs.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:77: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:77: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:77: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c: In function 'xargs_exec': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:237:22: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 237 | G.xargs_exitcode = status; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c: In function 'store_param': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:251:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 251 | G.args = xrealloc(G.args, sizeof(G.args[0]) * (G.idx + 0x100)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c: In function 'process_stdin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:244:54: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 244 | #define ISSPACE(a) ({ unsigned char xargs__isspace = (a) - 9; xargs__isspace == (' ' - 9) || xargs__isspace <= (13 - 9); }) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:298:8: note: in expansion of macro 'ISSPACE' 298 | if (ISSPACE(c)) { | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:309:10: warning: conversion from 'int' to 'char' may change value [-Wconversion] 309 | q = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:313:13: warning: conversion from 'int' to 'char' may change value [-Wconversion] 313 | *p++ = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c: In function 'process0_stdin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:418:10: warning: conversion from 'int' to 'char' may change value [-Wconversion] 418 | *p++ = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c: In function 'process_stdin_with_replace': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:474:10: warning: conversion from 'int' to 'char' may change value [-Wconversion] 474 | *p++ = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:479:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 479 | int count = count_strstr(arg, G.repl_str); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c: In function 'xargs_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:655:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 655 | n_max_chars = bb_arg_max(); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:665:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 665 | n_max_chars = xatou_range(max_chars, 1, INT_MAX); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:673:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 673 | n_max_chars -= n_chars; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:673:18: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 673 | n_max_chars -= n_chars; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:680:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 680 | buf = xzalloc(n_max_chars + 1); | ~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/findutils/xargs.c:684:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 684 | n_max_arg = xatou_range(max_args, 1, INT_MAX); | ^~~~~~~~~~~ AR findutils/lib.a LD init/built-in.o AR init/lib.a LD libbb/built-in.o CC libbb/appletlib.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from : include/applets.h: At top level: include/applets.h:134:31: warning: redundant redeclaration of 'chown_main' [-Wredundant-decls] 134 | IF_CHOWN(APPLET_NOEXEC(chown, chown, BB_DIR_BIN, BB_SUID_DROP, chown)) | ^~~~~ ./include/autoconf.h:1032:24: note: in definition of macro 'IF_CHOWN' 1032 | # define IF_CHOWN(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:134:10: note: in expansion of macro 'APPLET_NOEXEC' 134 | IF_CHOWN(APPLET_NOEXEC(chown, chown, BB_DIR_BIN, BB_SUID_DROP, chown)) | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1433:5: note: previous declaration of 'chown_main' was here 1433 | int chown_main(int argc, char **argv) IF_CHOWN(MAIN_EXTERNALLY_VISIBLE); | ^~~~~~~~~~ In file included from : include/applets.h:147:29: warning: redundant redeclaration of 'echo_main' [-Wredundant-decls] 147 | IF_ECHO(APPLET_NOFORK(echo, echo, BB_DIR_BIN, BB_SUID_DROP, echo)) | ^~~~ ./include/autoconf.h:1216:23: note: in definition of macro 'IF_ECHO' 1216 | # define IF_ECHO(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:147:9: note: in expansion of macro 'APPLET_NOFORK' 147 | IF_ECHO(APPLET_NOFORK(echo, echo, BB_DIR_BIN, BB_SUID_DROP, echo)) | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1420:5: note: previous declaration of 'echo_main' was here 1420 | int echo_main(int argc, char** argv) IF_ECHO(MAIN_EXTERNALLY_VISIBLE); | ^~~~~~~~~ In file included from : include/applets.h:163:25: warning: redundant redeclaration of 'ls_main' [-Wredundant-decls] 163 | IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls)) | ^~ ./include/autoconf.h:1344:21: note: in definition of macro 'IF_LS' 1344 | # define IF_LS(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:163:7: note: in expansion of macro 'APPLET_NOEXEC' 163 | IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls)) | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1435:5: note: previous declaration of 'ls_main' was here 1435 | int ls_main(int argc, char **argv) IF_LS(MAIN_EXTERNALLY_VISIBLE); | ^~~~~~~ In file included from : include/applets.h:167:39: warning: redundant redeclaration of 'md5_sha1_sum_main' [-Wredundant-decls] 167 | IF_SHA256SUM(APPLET_NOEXEC(sha256sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha256sum)) | ^~~~~~~~~~~~ ./include/autoconf.h:1436:28: note: in definition of macro 'IF_SHA256SUM' 1436 | # define IF_SHA256SUM(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:167:14: note: in expansion of macro 'APPLET_NOEXEC' 167 | IF_SHA256SUM(APPLET_NOEXEC(sha256sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha256sum)) | ^~~~~~~~~~~~~ include/applets.h:165:35: note: previous declaration of 'md5_sha1_sum_main' was here 165 | IF_SHA1SUM(APPLET_NOEXEC(sha1sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha1sum)) | ^~~~~~~~~~~~ ./include/autoconf.h:1428:26: note: in definition of macro 'IF_SHA1SUM' 1428 | # define IF_SHA1SUM(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:165:12: note: in expansion of macro 'APPLET_NOEXEC' 165 | IF_SHA1SUM(APPLET_NOEXEC(sha1sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha1sum)) | ^~~~~~~~~~~~~ include/applets.h:168:39: warning: redundant redeclaration of 'md5_sha1_sum_main' [-Wredundant-decls] 168 | IF_SHA512SUM(APPLET_NOEXEC(sha512sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha512sum)) | ^~~~~~~~~~~~ ./include/autoconf.h:1444:28: note: in definition of macro 'IF_SHA512SUM' 1444 | # define IF_SHA512SUM(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:168:14: note: in expansion of macro 'APPLET_NOEXEC' 168 | IF_SHA512SUM(APPLET_NOEXEC(sha512sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha512sum)) | ^~~~~~~~~~~~~ include/applets.h:167:39: note: previous declaration of 'md5_sha1_sum_main' was here 167 | IF_SHA256SUM(APPLET_NOEXEC(sha256sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha256sum)) | ^~~~~~~~~~~~ ./include/autoconf.h:1436:28: note: in definition of macro 'IF_SHA256SUM' 1436 | # define IF_SHA256SUM(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:167:14: note: in expansion of macro 'APPLET_NOEXEC' 167 | IF_SHA256SUM(APPLET_NOEXEC(sha256sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha256sum)) | ^~~~~~~~~~~~~ include/applets.h:181:33: warning: redundant redeclaration of 'printf_main' [-Wredundant-decls] 181 | IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf)) | ^~~~~~ ./include/autoconf.h:1564:25: note: in definition of macro 'IF_PRINTF' 1564 | # define IF_PRINTF(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:181:11: note: in expansion of macro 'APPLET_NOFORK' 181 | IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf)) | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1421:5: note: previous declaration of 'printf_main' was here 1421 | int printf_main(int argc, char **argv) IF_PRINTF(MAIN_EXTERNALLY_VISIBLE); | ^~~~~~~~~~~ In file included from : include/applets.h:202:29: warning: redundant redeclaration of 'test_main' [-Wredundant-decls] 202 | IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ^~~~ ./include/autoconf.h:1792:24: note: in definition of macro 'IF_TEST1' 1792 | # define IF_TEST1(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:202:10: note: in expansion of macro 'APPLET_NOFORK' 202 | IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1422:5: note: previous declaration of 'test_main' was here 1422 | int test_main(int argc, char **argv) | ^~~~~~~~~ In file included from : include/applets.h:203:29: warning: redundant redeclaration of 'test_main' [-Wredundant-decls] 203 | IF_TEST2(APPLET_NOFORK([[, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ^~~~ ./include/autoconf.h:1800:24: note: in definition of macro 'IF_TEST2' 1800 | # define IF_TEST2(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:203:10: note: in expansion of macro 'APPLET_NOFORK' 203 | IF_TEST2(APPLET_NOFORK([[, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ^~~~~~~~~~~~~ include/applets.h:202:29: note: previous declaration of 'test_main' was here 202 | IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ^~~~ ./include/autoconf.h:1792:24: note: in definition of macro 'IF_TEST1' 1792 | # define IF_TEST1(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:202:10: note: in expansion of macro 'APPLET_NOFORK' 202 | IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ^~~~~~~~~~~~~ include/applets.h:211:33: warning: redundant redeclaration of 'uname_main' [-Wredundant-decls] 211 | IF_BB_ARCH(APPLET_NOFORK(arch, uname, BB_DIR_BIN, BB_SUID_DROP, arch)) | ^~~~~ ./include/autoconf.h:1908:26: note: in definition of macro 'IF_BB_ARCH' 1908 | # define IF_BB_ARCH(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:211:12: note: in expansion of macro 'APPLET_NOFORK' 211 | IF_BB_ARCH(APPLET_NOFORK(arch, uname, BB_DIR_BIN, BB_SUID_DROP, arch)) | ^~~~~~~~~~~~~ include/applets.h:210:33: note: previous declaration of 'uname_main' was here 210 | IF_UNAME(APPLET_NOFORK( uname, uname, BB_DIR_BIN, BB_SUID_DROP, uname)) | ^~~~~ ./include/autoconf.h:1892:24: note: in definition of macro 'IF_UNAME' 1892 | # define IF_UNAME(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:210:10: note: in expansion of macro 'APPLET_NOFORK' 210 | IF_UNAME(APPLET_NOFORK( uname, uname, BB_DIR_BIN, BB_SUID_DROP, uname)) | ^~~~~~~~~~~~~ include/applets.h:241:32: warning: redundant redeclaration of 'grep_main' [-Wredundant-decls] 241 | IF_EGREP(APPLET_ODDNAME(egrep, grep, BB_DIR_BIN, BB_SUID_DROP, egrep)) | ^~~~ ./include/autoconf.h:2620:24: note: in definition of macro 'IF_EGREP' 2620 | # define IF_EGREP(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:241:10: note: in expansion of macro 'APPLET_ODDNAME' 241 | IF_EGREP(APPLET_ODDNAME(egrep, grep, BB_DIR_BIN, BB_SUID_DROP, egrep)) | ^~~~~~~~~~~~~~ include/applets.h:240:16: note: previous declaration of 'grep_main' was here 240 | IF_GREP(APPLET(grep, BB_DIR_BIN, BB_SUID_DROP)) | ^~~~ ./include/autoconf.h:2612:23: note: in definition of macro 'IF_GREP' 2612 | # define IF_GREP(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:240:9: note: in expansion of macro 'APPLET' 240 | IF_GREP(APPLET(grep, BB_DIR_BIN, BB_SUID_DROP)) | ^~~~~~ include/applets.h:242:32: warning: redundant redeclaration of 'grep_main' [-Wredundant-decls] 242 | IF_FGREP(APPLET_ODDNAME(fgrep, grep, BB_DIR_BIN, BB_SUID_DROP, fgrep)) | ^~~~ ./include/autoconf.h:2628:24: note: in definition of macro 'IF_FGREP' 2628 | # define IF_FGREP(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:242:10: note: in expansion of macro 'APPLET_ODDNAME' 242 | IF_FGREP(APPLET_ODDNAME(fgrep, grep, BB_DIR_BIN, BB_SUID_DROP, fgrep)) | ^~~~~~~~~~~~~~ include/applets.h:241:32: note: previous declaration of 'grep_main' was here 241 | IF_EGREP(APPLET_ODDNAME(egrep, grep, BB_DIR_BIN, BB_SUID_DROP, egrep)) | ^~~~ ./include/autoconf.h:2620:24: note: in definition of macro 'IF_EGREP' 2620 | # define IF_EGREP(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:241:10: note: in expansion of macro 'APPLET_ODDNAME' 241 | IF_EGREP(APPLET_ODDNAME(egrep, grep, BB_DIR_BIN, BB_SUID_DROP, egrep)) | ^~~~~~~~~~~~~~ include/applets.h:351:47: warning: redundant redeclaration of 'hostname_main' [-Wredundant-decls] 351 | IF_HOSTNAME( APPLET_NOEXEC(hostname, hostname, BB_DIR_BIN, BB_SUID_DROP, hostname )) | ^~~~~~~~ ./include/autoconf.h:4364:27: note: in definition of macro 'IF_HOSTNAME' 4364 | # define IF_HOSTNAME(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:351:18: note: in expansion of macro 'APPLET_NOEXEC' 351 | IF_HOSTNAME( APPLET_NOEXEC(hostname, hostname, BB_DIR_BIN, BB_SUID_DROP, hostname )) | ^~~~~~~~~~~~~ include/applets.h:350:47: note: previous declaration of 'hostname_main' was here 350 | IF_DNSDOMAINNAME(APPLET_NOEXEC(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname)) | ^~~~~~~~ ./include/autoconf.h:4372:32: note: in definition of macro 'IF_DNSDOMAINNAME' 4372 | # define IF_DNSDOMAINNAME(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:350:18: note: in expansion of macro 'APPLET_NOEXEC' 350 | IF_DNSDOMAINNAME(APPLET_NOEXEC(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname)) | ^~~~~~~~~~~~~ include/applets.h:357:34: warning: redundant redeclaration of 'ifupdown_main' [-Wredundant-decls] 357 | IF_IFDOWN(APPLET_ODDNAME(ifdown, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifdown)) | ^~~~~~~~ ./include/autoconf.h:4468:25: note: in definition of macro 'IF_IFDOWN' 4468 | # define IF_IFDOWN(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:357:11: note: in expansion of macro 'APPLET_ODDNAME' 357 | IF_IFDOWN(APPLET_ODDNAME(ifdown, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifdown)) | ^~~~~~~~~~~~~~ include/applets.h:356:34: note: previous declaration of 'ifupdown_main' was here 356 | IF_IFUP( APPLET_ODDNAME(ifup, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifup)) | ^~~~~~~~ ./include/autoconf.h:4460:23: note: in definition of macro 'IF_IFUP' 4460 | # define IF_IFUP(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:356:11: note: in expansion of macro 'APPLET_ODDNAME' 356 | IF_IFUP( APPLET_ODDNAME(ifup, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifup)) | ^~~~~~~~~~~~~~ include/applets.h:403:37: warning: redundant redeclaration of 'kill_main' [-Wredundant-decls] 403 | IF_KILL( APPLET_NOFORK(kill, kill, BB_DIR_BIN, BB_SUID_DROP, kill)) | ^~~~ ./include/autoconf.h:5280:23: note: in definition of macro 'IF_KILL' 5280 | # define IF_KILL(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:403:13: note: in expansion of macro 'APPLET_NOFORK' 403 | IF_KILL( APPLET_NOFORK(kill, kill, BB_DIR_BIN, BB_SUID_DROP, kill)) | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1427:5: note: previous declaration of 'kill_main' was here 1427 | int kill_main(int argc, char **argv) | ^~~~~~~~~ In file included from : include/applets.h:404:37: warning: redundant redeclaration of 'kill_main' [-Wredundant-decls] 404 | IF_KILLALL( APPLET_NOFORK(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall)) | ^~~~ ./include/autoconf.h:5288:26: note: in definition of macro 'IF_KILLALL' 5288 | # define IF_KILLALL(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:404:13: note: in expansion of macro 'APPLET_NOFORK' 404 | IF_KILLALL( APPLET_NOFORK(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall)) | ^~~~~~~~~~~~~ include/applets.h:403:37: note: previous declaration of 'kill_main' was here 403 | IF_KILL( APPLET_NOFORK(kill, kill, BB_DIR_BIN, BB_SUID_DROP, kill)) | ^~~~ ./include/autoconf.h:5280:23: note: in definition of macro 'IF_KILL' 5280 | # define IF_KILL(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:403:13: note: in expansion of macro 'APPLET_NOFORK' 403 | IF_KILL( APPLET_NOFORK(kill, kill, BB_DIR_BIN, BB_SUID_DROP, kill)) | ^~~~~~~~~~~~~ include/applets.h:405:37: warning: redundant redeclaration of 'kill_main' [-Wredundant-decls] 405 | IF_KILLALL5(APPLET_NOFORK(killall5, kill, BB_DIR_USR_SBIN, BB_SUID_DROP, killall5)) | ^~~~ ./include/autoconf.h:5296:27: note: in definition of macro 'IF_KILLALL5' 5296 | # define IF_KILLALL5(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:405:13: note: in expansion of macro 'APPLET_NOFORK' 405 | IF_KILLALL5(APPLET_NOFORK(killall5, kill, BB_DIR_USR_SBIN, BB_SUID_DROP, killall5)) | ^~~~~~~~~~~~~ include/applets.h:404:37: note: previous declaration of 'kill_main' was here 404 | IF_KILLALL( APPLET_NOFORK(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall)) | ^~~~ ./include/autoconf.h:5288:26: note: in definition of macro 'IF_KILLALL' 5288 | # define IF_KILLALL(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:404:13: note: in expansion of macro 'APPLET_NOFORK' 404 | IF_KILLALL( APPLET_NOFORK(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall)) | ^~~~~~~~~~~~~ include/applets.h:479:25: warning: redundant redeclaration of 'hexdump_main' [-Wredundant-decls] 479 | IF_HD(APPLET_NOEXEC(hd, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hd)) | ^~~~~~~ ./include/autoconf.h:3300:21: note: in definition of macro 'IF_HD' 3300 | # define IF_HD(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:479:7: note: in expansion of macro 'APPLET_NOEXEC' 479 | IF_HD(APPLET_NOEXEC(hd, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hd)) | ^~~~~~~~~~~~~ include/applets.h:478:35: note: previous declaration of 'hexdump_main' was here 478 | IF_HEXDUMP(APPLET_NOEXEC(hexdump, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hexdump)) | ^~~~~~~ ./include/autoconf.h:3284:26: note: in definition of macro 'IF_HEXDUMP' 3284 | # define IF_HEXDUMP(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:478:12: note: in expansion of macro 'APPLET_NOEXEC' 478 | IF_HEXDUMP(APPLET_NOEXEC(hexdump, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hexdump)) | ^~~~~~~~~~~~~ include/applets.h:514:35: warning: redundant redeclaration of 'setarch_main' [-Wredundant-decls] 514 | IF_LINUX64(APPLET_NOEXEC(linux64, setarch, BB_DIR_BIN, BB_SUID_DROP, linux64)) | ^~~~~~~ ./include/autoconf.h:3544:26: note: in definition of macro 'IF_LINUX64' 3544 | # define IF_LINUX64(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:514:12: note: in expansion of macro 'APPLET_NOEXEC' 514 | IF_LINUX64(APPLET_NOEXEC(linux64, setarch, BB_DIR_BIN, BB_SUID_DROP, linux64)) | ^~~~~~~~~~~~~ include/applets.h:513:35: note: previous declaration of 'setarch_main' was here 513 | IF_LINUX32(APPLET_NOEXEC(linux32, setarch, BB_DIR_BIN, BB_SUID_DROP, linux32)) | ^~~~~~~ ./include/autoconf.h:3536:26: note: in definition of macro 'IF_LINUX32' 3536 | # define IF_LINUX32(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:513:12: note: in expansion of macro 'APPLET_NOEXEC' 513 | IF_LINUX32(APPLET_NOEXEC(linux32, setarch, BB_DIR_BIN, BB_SUID_DROP, linux32)) | ^~~~~~~~~~~~~ include/applets.h:518:36: warning: redundant redeclaration of 'swap_on_off_main' [-Wredundant-decls] 518 | IF_SWAPOFF(APPLET_ODDNAME(swapoff, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapoff)) | ^~~~~~~~~~~ ./include/autoconf.h:3608:26: note: in definition of macro 'IF_SWAPOFF' 3608 | # define IF_SWAPOFF(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:518:12: note: in expansion of macro 'APPLET_ODDNAME' 518 | IF_SWAPOFF(APPLET_ODDNAME(swapoff, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapoff)) | ^~~~~~~~~~~~~~ include/applets.h:517:36: note: previous declaration of 'swap_on_off_main' was here 517 | IF_SWAPON( APPLET_ODDNAME(swapon, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapon)) | ^~~~~~~~~~~ ./include/autoconf.h:3592:25: note: in definition of macro 'IF_SWAPON' 3592 | # define IF_SWAPON(...) __VA_ARGS__ | ^~~~~~~~~~~ include/applets.h:517:12: note: in expansion of macro 'APPLET_ODDNAME' 517 | IF_SWAPON( APPLET_ODDNAME(swapon, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapon)) | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c: In function 'string_array_len': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:96:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 96 | return argv - start; | ~~~~~^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:109: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h: At top level: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:200:6: warning: redundant redeclaration of 'get_header_tar_xz' [-Wredundant-decls] 200 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/bb_archive.h:197:6: note: previous declaration of 'get_header_tar_xz' was here 197 | char get_header_tar_xz(archive_handle_t *archive_handle) FAST_FUNC; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c: In function 'find_applet_by_name': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:281:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 281 | return i; /* yes */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c: In function 'parse_config_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:409:12: warning: conversion from 'unsigned int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 409 | section = lc = 0; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:530:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 530 | unsigned idx = q - (mode_chars + 4*i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c: In function 'check_suid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:645:17: warning: unsigned conversion from 'int' to '__gid_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 645 | if (setresgid(-1, rgid, rgid)) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:655:17: warning: unsigned conversion from 'int' to '__uid_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 655 | if (setresuid(-1, uid, uid)) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c: In function 'busybox_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:831:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 831 | output_width = get_terminal_width(2); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:872:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 872 | int len2 = strlen(a) + 2; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c: In function 'run_applet_no_and_exit': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:967:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 967 | int argc = string_array_len(argv); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:999:23: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 999 | xfunc_error_retval = applet_main[applet_no](argc, argv); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c: In function 'check_suid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:691:3: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 691 | setgid(rgid); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/appletlib.c:692:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 692 | setuid(ruid); | ^~~~~~~~~~~~ CC libbb/ask_confirmation.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ask_confirmation.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ask_confirmation.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ask_confirmation.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ask_confirmation.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ask_confirmation.c: In function 'bb_ask_y_confirmation_FILE': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:2315:51: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 2315 | #define isblank(a) ({ unsigned char bb__isblank = (a); bb__isblank == ' ' || bb__isblank == '\t'; }) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ask_confirmation.c:21:22: note: in expansion of macro 'isblank' 21 | if (first == 0 && !isblank(c)) { | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ask_confirmation.c:22:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] 22 | first = c|0x20; | ^ CC libbb/auto_string.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/auto_string.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/auto_string.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/auto_string.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/bb_askpass.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_askpass.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_askpass.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_askpass.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_askpass.c: In function 'bb_ask_noecho': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_askpass.c:44:14: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-121' to '4294967175' [-Wsign-conversion] 44 | tio.c_lflag &= ~(ECHO|ECHOE|ECHOK|ECHONL); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_askpass.c:54:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 54 | alarm(timeout); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_askpass.c:65:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 65 | ret = xrealloc(ret, i + 2); | ~~^~~ CC libbb/bb_bswap_64.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_bswap_64.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_bswap_64.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_bswap_64.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/bb_cat.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_cat.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_cat.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_cat.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/bb_do_delay.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_do_delay.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_do_delay.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_do_delay.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_do_delay.c: In function 'bb_do_delay': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_do_delay.c:17:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 17 | sleep(seconds); | ^~~~~~~ CC libbb/bb_getgroups.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_getgroups.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_getgroups.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_getgroups.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_getgroups.c: In function 'bb_getgroups': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_getgroups.c:24:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 24 | group_array = xrealloc(group_array, (n+1) * sizeof(group_array[0])); | ^ CC libbb/bb_getsockname.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_getsockname.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_getsockname.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_getsockname.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/bb_pwd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c: In function 'xuname2uid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c:92:15: warning: conversion to 'long int' from '__uid_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 92 | return myuser->pw_uid; | ~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c: In function 'xgroup2gid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c:100:16: warning: conversion to 'long int' from '__gid_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 100 | return mygroup->gr_gid; | ~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c: In function 'get_ug_id': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_pwd.c:110:10: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 110 | return xname2id(s); | ^~~~~~~~~~~ CC libbb/bb_qsort.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_qsort.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_qsort.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_qsort.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/bb_strtonum.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c: In function 'bb_strtoll': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:85:30: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 85 | if (!isalnum(first)) return ret_ERANGE(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:88:6: warning: conversion to 'long long unsigned int' from 'long long int' may change the sign of the result [-Wsign-conversion] 88 | v = strtoll(arg, endp, base); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:89:9: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 89 | return handle_errors(v, endp); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c: In function 'bb_strtoul': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:101:31: warning: conversion from 'long long unsigned int' to 'long unsigned int' may change value [-Wconversion] 101 | if (!isalnum(arg[0])) return ret_ERANGE(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:104:9: warning: conversion from 'long long unsigned int' to 'long unsigned int' may change value [-Wconversion] 104 | return handle_errors(v, endp); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c: In function 'bb_strtol': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:117:30: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] 117 | if (!isalnum(first)) return ret_ERANGE(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:121:23: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 121 | return handle_errors(v, endp); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bb_strtonum.c:121:9: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] 121 | return handle_errors(v, endp); | ^~~~~~~~~~~~~~~~~~~~~~ CC libbb/bbunit.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bbunit.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bbunit.c:18: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/bbunit.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/capability.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/capability.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/capability.c:18: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/capability.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/capability.c: In function 'getcaps': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/capability.c:103:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 103 | for (i = 0; i < ARRAY_SIZE(versions); i++) { | ^ CC libbb/change_identity.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/change_identity.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/change_identity.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/change_identity.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/chomp.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/chomp.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/chomp.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/chomp.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/common_bufsiz.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/common_bufsiz.c:45: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/common_bufsiz.c:45: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/common_bufsiz.c:45: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/compare_string_array.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/compare_string_array.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/compare_string_array.c:5: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/compare_string_array.c:5: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/compare_string_array.c: In function 'is_suffixed_with': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/compare_string_array.c:38:21: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 38 | ssize_t len_diff = strlen(string) - key_len; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/compare_string_array.c: In function 'index_in_substrings': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/compare_string_array.c:98:18: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 98 | const int len = strlen(key); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/compare_string_array.c:103:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 103 | if (strncmp(strings, key, len) == 0) { | ^~~ CC libbb/concat_path_file.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/concat_path_file.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/concat_path_file.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/concat_path_file.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/concat_subpath_file.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/concat_subpath_file.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/concat_subpath_file.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/concat_subpath_file.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/copy_file.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c: In function 'copy_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:226:10: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 226 | ovr = ask_and_unlink(dest, flags); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:242:10: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 242 | ovr = ask_and_unlink(dest, flags); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:277:12: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 277 | ovr = ask_and_unlink(dest, flags); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:311:10: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 311 | ovr = ask_and_unlink(dest, flags); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:317:58: warning: conversion to 'int' from 'mode_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 317 | dst_fd = open3_or_warn(dest, O_WRONLY|O_CREAT|O_EXCL, new_mode); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:349:13: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 349 | retval = ioctl(dst_fd, BTRFS_IOC_CLONE, src_fd); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:383:9: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 383 | ovr = ask_and_unlink(dest, flags); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copy_file.c:434:24: warning: unsigned conversion from 'int' to '__mode_t' {aka 'unsigned int'} changes value from '-3073' to '4294964223' [-Wsign-conversion] 434 | source_stat.st_mode &= ~(S_ISUID | S_ISGID); | ^~ CC libbb/copyfd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copyfd.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copyfd.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copyfd.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copyfd.c: In function 'bb_full_fd_action': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copyfd.c:66:39: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 66 | size > sendfile_sz ? sendfile_sz : size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copyfd.c:91:37: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 91 | size > buffer_size ? buffer_size : size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/copyfd.c:103:44: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 103 | ssize_t wr = full_write(dst_fd, buffer, rd); | ^~ CC libbb/correct_password.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/correct_password.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/correct_password.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/correct_password.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/crc32.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/crc32.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/crc32.c:18: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/crc32.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/default_error_retval.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/default_error_retval.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/default_error_retval.c:14: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/default_error_retval.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/device_open.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/device_open.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/device_open.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/device_open.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/dump.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:13: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:13: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:13: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c: In function 'rewrite': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:245:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 245 | len = (p1 - fmtp) + 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:246:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 246 | pr->fmt = xstrndup(fmtp, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:256:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 256 | pr->fmt = d = xrealloc(pr->fmt, len + (p3 - p2) + 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c: In function 'get': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:369:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 369 | dumper->get__curp = xmalloc(blocksize); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:370:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 370 | dumper->get__savp = xzalloc(blocksize); /* need to be initialized */ | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:392:53: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 392 | && memcmp(dumper->get__curp, dumper->get__savp, nread) == 0 /* same data? */ | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:399:41: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 399 | memset(dumper->get__curp + nread, 0, need); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:404:42: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 404 | dumper->pub.dump_length == -1 ? need : MIN(dumper->pub.dump_length, need), stdin); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:403:7: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 403 | n = fread(dumper->get__curp + nread, sizeof(unsigned char), | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/dump.c:420:53: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 420 | || memcmp(dumper->get__curp, dumper->get__savp, blocksize) != 0 /* not same data? */ | ^~~~~~~~~ CC libbb/duration.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/duration.c:22: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/duration.c:22: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/duration.c:22: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/duration.c: In function 'parse_duration_str': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/duration.c:40:13: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 40 | int len = strspn(str, "0123456789."); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/duration.c: In function 'sleep_for_duration': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/duration.c:66:15: warning: conversion from 'duration_t' {aka 'double'} to '__time_t' {aka 'long int'} may change value [-Wfloat-conversion] 66 | ts.tv_sec = duration; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/duration.c:67:16: warning: conversion from 'duration_t' {aka 'double'} to '__syscall_slong_t' {aka 'long int'} may change value [-Wfloat-conversion] 67 | ts.tv_nsec = (duration - ts.tv_sec) * 1000000000; | ^ CC libbb/endofname.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/endofname.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/endofname.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/endofname.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/executable.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/executable.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/executable.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/executable.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/fclose_nonstdin.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fclose_nonstdin.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fclose_nonstdin.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fclose_nonstdin.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/fflush_stdout_and_exit.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fflush_stdout_and_exit.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fflush_stdout_and_exit.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fflush_stdout_and_exit.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fflush_stdout_and_exit.c: In function 'fflush_stdout_and_exit': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fflush_stdout_and_exit.c:16:23: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 16 | xfunc_error_retval = retval; | ^~~~~~ CC libbb/fgets_str.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c: In function 'xmalloc_fgets_internal': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:15:26: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 15 | const int term_length = strlen(terminating_string); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:32:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 32 | linebuf = xrealloc(linebuf, linebufsz); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:33:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 33 | if (idx >= maxsz) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:34:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] 34 | linebuf[idx] = ch; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:40:18: warning: conversion from 'int' to 'char' may change value [-Wconversion] 40 | linebuf[idx] = ch; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:46:63: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 46 | && memcmp(&linebuf[end_string_offset], terminating_string, term_length) == 0 | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:54:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 54 | linebuf = xrealloc(linebuf, idx + 1); | ~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/fgets_str.c:56:13: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 56 | *maxsz_p = idx; | ^~~ CC libbb/find_mount_point.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_mount_point.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_mount_point.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_mount_point.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/find_pid_by_name.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_pid_by_name.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_pid_by_name.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_pid_by_name.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_pid_by_name.c: In function 'comm_match': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_pid_by_name.c:61:13: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 61 | argv1idx = strlen(p->argv0) + 1; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_pid_by_name.c: In function 'find_pid_by_name': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_pid_by_name.c:100:19: warning: conversion to 'pid_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 100 | pidList[i++] = p->pid; | ^ CC libbb/find_root_device.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_root_device.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_root_device.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_root_device.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_root_device.c: In function 'find_block_device_in_dir': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_root_device.c:31:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 31 | len = strlen(ap->devpath); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/find_root_device.c:43:50: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 43 | safe_strncpy(ap->devpath + len, entry->d_name, rem); | ^~~ CC libbb/full_write.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/full_write.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/full_write.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/full_write.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/full_write.c: In function 'full_write': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/full_write.c:38:7: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 38 | len -= cc; | ^~ CC libbb/get_console.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_console.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_console.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_console.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/get_last_path_component.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_last_path_component.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_last_path_component.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_last_path_component.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/get_line_from_file.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_line_from_file.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_line_from_file.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_line_from_file.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/get_shell_name.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_shell_name.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_shell_name.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_shell_name.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/get_volsize.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_volsize.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_volsize.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_volsize.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_volsize.c: In function 'get_volume_size_in_bytes': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_volsize.c:24:24: warning: conversion to '__off64_t' {aka 'long long int'} from 'uoff_t' {aka 'long long unsigned int'} may change the sign of the result [-Wsign-conversion] 24 | if (lseek(fd, result - 1, SEEK_SET) != (off_t)-1) { | ~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/get_volsize.c:33:12: warning: conversion to 'uoff_t' {aka 'long long unsigned int'} from 'off_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 33 | result = xlseek(fd, 0, SEEK_END); | ^~~~~~ CC libbb/getopt32.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt32.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt32.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt32.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt32.c: In function 'vgetopt32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt32.c:430:23: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 430 | on_off->opt_char = l_o->val; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt32.c:527:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 527 | argc = 1 + string_array_len(argv + 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt32.c:564:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 564 | *(unsigned*)(on_off->optarg) = xatoi_positive(optarg); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt32.c:592:9: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 592 | return (int32_t)-1; | ^ CC libbb/getopt_allopts.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt_allopts.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt_allopts.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getopt_allopts.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/getpty.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getpty.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getpty.c:8: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/getpty.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/hash_md5_sha.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/hash_md5_sha.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/hash_md5_sha.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/hash_md5_sha.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/hash_md5_sha.c: In function 'sha256_process_block64': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/hash_md5_sha.c:11:21: warning: conversion from 'sha_K_int' {aka 'const long long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 11 | #define NEED_SHA512 (ENABLE_SHA512SUM || ENABLE_USE_BB_CRYPT_SHA) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/hash_md5_sha.c:665:18: note: in expansion of macro 'NEED_SHA512' 665 | uint32_t K_t = NEED_SHA512 ? (sha_K[t] >> 32) : sha_K[t]; | ^~~~~~~~~~~ CC libbb/herror_msg.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/herror_msg.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/herror_msg.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/herror_msg.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/human_readable.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/human_readable.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/human_readable.c:25: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/human_readable.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/human_readable.c: In function 'smart_ulltoa5': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/human_readable.c:97:6: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 97 | v = ul; // ullong divisions are expensive, avoid them | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/human_readable.c: In function 'smart_ulltoa4': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/human_readable.c:154:6: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 154 | v = ul; // ullong divisions are expensive, avoid them | ^~ CC libbb/in_ether.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/in_ether.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/in_ether.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/in_ether.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/inet_cksum.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inet_cksum.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inet_cksum.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inet_cksum.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/inet_common.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inet_common.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inet_common.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inet_common.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/inode_hash.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inode_hash.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inode_hash.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inode_hash.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inode_hash.c: In function 'add_to_ino_dev_hashtable': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inode_hash.c:29:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 29 | #define hash_inode(i) ((unsigned)(i) % HASH_SIZE) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/inode_hash.c:75:6: note: in expansion of macro 'hash_inode' 75 | i = hash_inode(statbuf->st_ino); | ^~~~~~~~~~ CC libbb/isdirectory.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/isdirectory.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/isdirectory.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/isdirectory.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/isqrt.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/isqrt.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/isqrt.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/isqrt.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/kernel_version.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/kernel_version.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/kernel_version.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/kernel_version.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/last_char_is.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/last_char_is.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/last_char_is.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/last_char_is.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/lineedit.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:41: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'BB_isspace': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:2320:51: warning: conversion from 'long int' to 'unsigned char' may change value [-Wconversion] 2320 | #define isspace(a) ({ unsigned char bb__isspace = (a) - 9; bb__isspace == (' ' - 9) || bb__isspace <= (13 - 9); }) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:75:31: note: in expansion of macro 'isspace' 75 | return ((unsigned)c < 256 && isspace(c)); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'load_string': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:234:53: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 234 | ssize_t len = mbstowcs(command_ps, src, S.maxsize - 1); | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/unicode.h:93:21: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 93 | # define mbstowcs bb_mbstowcs | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:234:17: note: in expansion of macro 'mbstowcs' 234 | ssize_t len = mbstowcs(command_ps, src, S.maxsize - 1); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:238:10: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 238 | return len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:241:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 241 | while (src[i] && i < S.maxsize - 1) { | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'save_string': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/unicode.h:94:21: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 94 | # define wcstombs bb_wcstombs | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:253:17: note: in expansion of macro 'wcstombs' 253 | ssize_t len = wcstombs(dst, command_ps, maxsize - 1); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:257:10: warning: conversion to 'unsigned int' from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 257 | return len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:194:26: warning: conversion from 'wchar_t' {aka 'long int'} to 'char' may change value [-Wconversion] 194 | #define command_ps (S.command_ps ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:293:20: note: in expansion of macro 'command_ps' 293 | while ((dst[i] = command_ps[i]) != 0) | ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'BB_PUTCHAR': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/unicode.h:95:21: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 95 | # define wcrtomb bb_wcrtomb | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:304:17: note: in expansion of macro 'wcrtomb' 304 | ssize_t len = wcrtomb(buf, c, &mbst); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'adjust_width_and_validate_wc': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:329:15: warning: conversion to 'unsigned int' from 'wchar_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 329 | w = wcwidth(wc); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'put_cur_glyph_and_inc_cursor': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:189:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 189 | #define cmdedit_x (S.cmdedit_x ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:388:17: note: in expansion of macro 'cmdedit_x' 388 | ofs_to_right = cmdedit_x - cmdedit_termw; | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'put_till_end_and_adv_cursor': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:432:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 432 | while (cursor < command_len) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'input_backward': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:478:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 478 | int n = num; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:481:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 481 | adjust_width_and_validate_wc(&num, command_ps[cursor + n]); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:319:50: note: in definition of macro 'adjust_width_and_validate_wc' 319 | ((*(width_adj))++, adjust_width_and_validate_wc(wc)) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:536:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 536 | lines_up = 1 + (num - 1) / cmdedit_termw; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:538:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 538 | cmdedit_y -= lines_up; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'draw_custom': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:558:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 558 | input_backward(back_cursor); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'input_delete': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:192:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 192 | #define cursor (S.cursor ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:579:10: note: in expansion of macro 'cursor' 579 | int j = cursor; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:598:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 598 | (command_len - j) * sizeof(command_ps[0])); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:603:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 603 | input_backward(cursor - j); /* back to old pos cursor */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'input_forward': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:637:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 637 | if (cursor < command_len) | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'add_match': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:200:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 200 | #define num_matches (S.num_matches ) /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:384:74: note: in definition of macro 'xrealloc_vector' 384 | xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:673:40: note: in expansion of macro 'num_matches' 673 | matches = xrealloc_vector(matches, 4, num_matches); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'path_parse': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:767:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 767 | *p = res = xmalloc(npth * sizeof(res[0])); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'build_match_prefix': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:940:6: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 940 | i = strlen(match_buf); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:969:18: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 969 | int_buf[i] = cur | QUOT; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1061:25: warning: conversion from 'int16_t' {aka 'short int'} to 'char' may change value [-Wconversion] 1061 | while ((match_buf[i] = int_buf[i]) != '\0') | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'showfiles': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:200:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 200 | #define num_matches (S.num_matches ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1077:15: note: in expansion of macro 'num_matches' 1077 | int nfiles = num_matches; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1083:7: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1083 | l = unicode_strwidth(matches[row]); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1088:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1088 | ncols = cmdedit_termw / column_width; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:188:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 188 | #define cmdedit_termw (S.cmdedit_termw ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1088:10: note: in expansion of macro 'cmdedit_termw' 1088 | ncols = cmdedit_termw / column_width; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1103:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1103 | (int)(column_width - unicode_strwidth(matches[n])), "" | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'input_tab': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:192:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 192 | #define cursor (S.cursor ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1154:21: note: in expansion of macro 'cursor' 1154 | int sav_cursor = cursor; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1179:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1179 | cursor_mb = strlen(match_buf); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1285:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1285 | int len = save_string(command, MAX_LINELEN); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1288:39: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1288 | if ((int)(len_found - match_pfx_len + len) < MAX_LINELEN) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1294:10: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1294 | len = load_string(command); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1297:18: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1297 | command_len = load_string(command); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:190:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 190 | #define cmdedit_y (S.cmdedit_y ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1302:11: note: in expansion of macro 'cmdedit_y' 1302 | redraw(cmdedit_y, pos >= 0 ? pos : 0); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'size_from_HISTFILESIZE': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1338:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1338 | return size; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'load_history': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1426:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1426 | for (idx = st_parm->cnt_history; idx > 0;) { | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1445:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1445 | if (idx == st_parm->max_history) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1454:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1454 | if (idx == st_parm->max_history) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1460:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1460 | for (i = 0; i < st_parm->max_history;) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1465:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1465 | if (idx == st_parm->max_history) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1472:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1472 | st_parm->cnt_history = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'save_history': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1533:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1533 | len = strlen(str); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1535:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1535 | len2 = full_write(fd, str, len + 1); | ~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1543:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1543 | if (state->cnt_history_in_file > state->max_history * 4) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:1566:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1566 | state->cnt_history_in_file = st_temp->cnt_history; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'parse_and_put_prompt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2027:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2027 | int n = strlen(pbuf); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2037:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2037 | cmdedit_prmt_len += n; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2041:57: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2041 | prmt_mem_ptr = strcat(xrealloc(prmt_mem_ptr, prmt_size+1), pbuf); | ~~~~~~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'cmdedit_setwidth': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2063:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2063 | cmdedit_termw = get_terminal_width(STDIN_FILENO); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2065:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2065 | new_y = (cursor + cmdedit_prmt_len) / cmdedit_termw; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2067:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2067 | redraw((new_y >= cmdedit_y ? new_y : cmdedit_y), command_len - cursor); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2067:31: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 2067 | redraw((new_y >= cmdedit_y ? new_y : cmdedit_y), command_len - cursor); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2067:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2067 | redraw((new_y >= cmdedit_y ? new_y : cmdedit_y), command_len - cursor); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2067:63: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2067 | redraw((new_y >= cmdedit_y ? new_y : cmdedit_y), command_len - cursor); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:50: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2067:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ~~~ ...... 2067 | redraw((new_y >= cmdedit_y ? new_y : cmdedit_y), command_len - cursor); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2067:63: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ~~~~~~~~~~~~~ ...... 2067 | redraw((new_y >= cmdedit_y ? new_y : cmdedit_y), command_len - cursor); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:50: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'lineedit_read_key': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2148:33: warning: conversion from 'int64_t' {aka 'long long int'} to 'char' may change value [-Wconversion] 2148 | unicode_buf[unicode_idx++] = ic; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2158:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2158 | read_key_ungets(read_key_buffer, unicode_buf + 1, unicode_idx - 1); | ~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2173:9: warning: conversion from 'int64_t' {aka 'long long int'} to 'int' may change value [-Wconversion] 2173 | return ic; | ^~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'reverse_i_search': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/unicode.h:95:21: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 95 | # define wcrtomb bb_wcrtomb | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2271:15: note: in expansion of macro 'wcrtomb' 2271 | int len = wcrtomb(buf, ic, &mbstate); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2274:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2274 | if (match_buf_len + len < sizeof(match_buf)) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2280:32: warning: conversion from 'int32_t' {aka 'int'} to 'char' may change value [-Wconversion] 2280 | match_buf[match_buf_len] = ic; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2296:20: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2296 | command_len = load_string(matched_history_line); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2297:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2297 | cursor = match - matched_history_line; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2316:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2316 | redraw(cmdedit_y, command_len - cursor); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:50: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:190:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 190 | #define cmdedit_y (S.cmdedit_y ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2316:10: note: in expansion of macro 'cmdedit_y' 2316 | redraw(cmdedit_y, command_len - cursor); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2316:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ~~~~~~~~~~~~~ ...... 2316 | redraw(cmdedit_y, command_len - cursor); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:50: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2321:17: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2321 | command_len = load_string(matched_history_line); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2326:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2326 | redraw(cmdedit_y, command_len - cursor); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:50: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:190:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 190 | #define cmdedit_y (S.cmdedit_y ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2326:9: note: in expansion of macro 'cmdedit_y' 2326 | redraw(cmdedit_y, command_len - cursor); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2326:32: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ~~~~~~~~~~~~~ ...... 2326 | redraw(cmdedit_y, command_len - cursor); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:50: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c: In function 'read_line_input': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2382:10: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2382 | len = strlen(command); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2418:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2418 | command_ps = xzalloc(maxsize * sizeof(command_ps[0])); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2446:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2446 | cmdedit_termw = get_terminal_width(STDIN_FILENO); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:192:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 192 | #define cursor (S.cursor ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2542:18: note: in expansion of macro 'cursor' 2542 | command_len = cursor; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2550:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2550 | draw_full(command_len - cursor); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:568:48: note: in definition of macro 'draw_full' 568 | #define draw_full(back_cursor) draw_custom(0, (back_cursor), 1) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2550:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 568 | #define draw_full(back_cursor) draw_custom(0, (back_cursor), 1) | ~~~~~~~~~~~~~ ...... 2550 | draw_full(command_len - cursor); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:568:48: note: in definition of macro 'draw_full' 568 | #define draw_full(back_cursor) draw_custom(0, (back_cursor), 1) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2572:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2572 | command_len -= cursor; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:192:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 192 | #define cursor (S.cursor ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2572:20: note: in expansion of macro 'cursor' 2572 | command_len -= cursor; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2574:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2574 | (command_len + 1) * sizeof(command_ps[0])); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:190:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 190 | #define cmdedit_y (S.cmdedit_y ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2575:12: note: in expansion of macro 'cmdedit_y' 2575 | redraw(cmdedit_y, command_len); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:192:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 192 | #define cursor (S.cursor ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2588:17: note: in expansion of macro 'cursor' 2588 | int nc, sc = cursor; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2590:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2590 | nc = cursor - sc; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:192:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 192 | #define cursor (S.cursor ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2590:9: note: in expansion of macro 'cursor' 2590 | nc = cursor - sc; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2591:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2591 | input_backward(nc); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:192:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 192 | #define cursor (S.cursor ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2598:13: note: in expansion of macro 'cursor' 2598 | int sc = cursor; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2600:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2600 | while (sc-- > cursor) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2761:18: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 2761 | command_len = load_string(state->history[state->cur_history] ? | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:190:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 190 | #define cmdedit_y (S.cmdedit_y ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:563:45: note: in definition of macro 'redraw' 563 | #define redraw(y, back_cursor) draw_custom((y), (back_cursor), 0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2764:11: note: in expansion of macro 'cmdedit_y' 2764 | redraw(cmdedit_y, (state->flags & VI_MODE) ? 9999 : 0); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:193:26: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 193 | #define command_len (S.command_len ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2807:18: note: in expansion of macro 'command_len' 2807 | break_out = command_len = -1; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2840:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2840 | if (cursor == (command_len - 1)) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:192:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 192 | #define cursor (S.cursor ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2849:14: note: in expansion of macro 'cursor' 2849 | int sc = cursor; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2852:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2852 | (command_len - sc) * sizeof(command_ps[0])); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2859:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2859 | input_backward(cursor - sc); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2894:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2894 | command_len = save_string(command, maxsize - 1); | ~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/lineedit.c:2894:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2894 | command_len = save_string(command, maxsize - 1); | ^~~~~~~~~~~ CC libbb/lineedit_ptr_hack.o CC libbb/llist.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/llist.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/llist.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/llist.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/login.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/login.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/login.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/login.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/login.c: In function 'print_login_issue': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/login.c:38:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] 38 | buf[0] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/login.c:120:14: warning: conversion from 'int' to 'char' may change value [-Wconversion] 120 | buf[0] = c; | ^ CC libbb/make_directory.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/make_directory.c:23: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/make_directory.c:23: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/make_directory.c:23: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/make_directory.c: In function 'bb_make_directory': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/make_directory.c:124:21: warning: conversion to '__mode_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 124 | if (chmod(path, mode) < 0) { | ^~~~ CC libbb/makedev.o CC libbb/match_fstype.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/match_fstype.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/match_fstype.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/match_fstype.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/messages.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/messages.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/messages.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/messages.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/missing_syscalls.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/missing_syscalls.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/missing_syscalls.c:8: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/missing_syscalls.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/mode_string.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/mode_string.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/mode_string.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/mode_string.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/mode_string.c: In function 'bb_mode_string': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/mode_string.c:100:13: warning: conversion to 'mode_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 100 | if (mode & m) { | ^ CC libbb/nuke_str.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/nuke_str.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/nuke_str.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/nuke_str.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/parse_config.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c:33: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c: In function 'get_line_with_continuation': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c:126:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 126 | if (parser->line_alloc < len + nlen + 1) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c:127:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 127 | parser->line_alloc = len + nlen + 1; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c:130:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 130 | memcpy(&line[len], parser->nline, nlen); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c: In function 'config_read': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_config.c:181:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 181 | memset(tokens, 0, sizeof(tokens[0]) * ntokens); | ^ CC libbb/parse_mode.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_mode.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_mode.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_mode.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_mode.c: In function 'bb_parse_mode': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_mode.c:50:10: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 50 | return tmp; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_mode.c:85:16: warning: unsigned conversion from 'int' to 'mode_t' {aka 'unsigned int'} changes value from '-4096' to '4294963200' [-Wsign-conversion] 85 | permlist = ~FILEMODEBITS; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/parse_mode.c:146:9: warning: conversion to 'int' from 'mode_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 146 | return new_mode; | ^~~~~~~~ CC libbb/percent_decode.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/percent_decode.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/percent_decode.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/percent_decode.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/percent_decode.c: In function 'hex_to_bin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/percent_decode.c:21:9: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] 21 | return ~0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/percent_decode.c: In function 'percent_decode_in_place': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/percent_decode.c:63:12: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 63 | *dst++ = v; | ^ CC libbb/perror_msg.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/perror_msg.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/perror_msg.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/perror_msg.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/perror_nomsg.o CC libbb/perror_nomsg_and_die.o CC libbb/pidfile.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pidfile.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pidfile.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pidfile.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pidfile.c: In function 'write_pidfile': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pidfile.c:35:21: warning: conversion to 'unsigned int' from '__pid_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 35 | end = utoa_to_buf(getpid(), buf, sizeof(buf)); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pidfile.c:37:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 37 | full_write(pid_fd, buf, end - buf + 1); | ~~~~~~~~~~^~~ CC libbb/platform.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/platform.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/platform.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/platform.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/print_flags.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/print_flags.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/print_flags.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/print_flags.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/print_numbered_lines.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/print_numbered_lines.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/print_numbered_lines.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/print_numbered_lines.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/printable.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable.c: In function 'visible': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable.c:55:11: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 55 | *buf++ = ch; | ^~ CC libbb/printable_string.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable_string.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable_string.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable_string.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable_string.c: In function 'printable_string2': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable_string.c:23:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 23 | stats->byte_count = (s - str); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable_string.c:24:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 24 | stats->unicode_count = (s - str); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/printable_string.c:25:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 25 | stats->unicode_width = (s - str); | ^ CC libbb/process_escape_sequence.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/process_escape_sequence.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/process_escape_sequence.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/process_escape_sequence.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/procps.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c: In function 'alloc_procps_scan': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:97:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 97 | unsigned n = getpagesize(); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c: In function 'fast_strtol_10': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:162:10: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 162 | return fast_strtoul_10(endptr); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c: In function 'procps_read_smaps': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:242:23: warning: conversion from 'long long unsigned int' to 'long unsigned int' may change value [-Wconversion] 242 | currec.smap_size = (fast_strtoull_16(&tp) - currec.smap_start) >> 10; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c: In function 'procps_scan': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:444:10: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 444 | tty = fast_strtoul_10(&cp); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:446:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 446 | sp->tty_minor = (tty & 0xff) | ((tty >> 12) & 0xfff00); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:464:27: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 464 | sp->last_seen_on_cpu = fast_strtoul_10(&cp); | ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:489:22: warning: conversion to 'pid_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 489 | procps_read_smaps(pid, &sp->smaps, NULL, NULL); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1919:20: note: in definition of macro 'procps_read_smaps' 1919 | procps_read_smaps(pid, total) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:557:20: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 557 | sp->argv_len = n; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c: In function 'read_cmdline': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:578:42: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 578 | sz = open_read_close(filename, buf, col - 1); | ~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:602:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 602 | comm_len = strlen(comm); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:609:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 609 | if (strncmp(base, comm, comm_len) != 0) { | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:612:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 612 | memmove(buf + comm_len, buf, col - comm_len); | ~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:613:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 613 | snprintf(buf, col, "{%s}", comm); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/procps.c:620:17: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 620 | snprintf(buf, col, "[%s]", comm ? comm : "?"); | ^~~ CC libbb/progress.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/progress.c:40: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/progress.c:40: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/progress.c:40: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/progress.c: In function 'bb_progress_update': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/progress.c:154:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 154 | memset(buf, ' ', barlength); | ^~~~~~~~~ CC libbb/ptr_to_globals.o CC libbb/pw_encrypt.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c: In function 'crypt_make_salt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:35:24: warning: conversion to 'long long unsigned int' from '__pid_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 35 | unsigned x = getpid() + monotonic_us(); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:35:15: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 35 | unsigned x = getpid() + monotonic_us(); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:46:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 46 | *p++ = i64c(x >> 16); | ~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:46:10: warning: conversion from 'int' to 'char' may change value [-Wconversion] 46 | *p++ = i64c(x >> 16); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:47:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 47 | *p++ = i64c(x >> 22); | ~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:47:10: warning: conversion from 'int' to 'char' may change value [-Wconversion] 47 | *p++ = i64c(x >> 22); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/pw_encrypt.c:50:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 50 | return x; | ^ CC libbb/read.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read.c: In function 'full_read': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read.c:58:7: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 58 | len -= cc; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read.c: In function 'read_close': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read.c:67:9: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 67 | size = full_read(fd, buf, size); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read.c:71:9: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 71 | return size; | ^~~~ CC libbb/read_key.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c: In function 'read_key': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:24:24: warning: unsigned conversion from 'int' to 'char' changes value from '-44' to '212' [-Wsign-conversion] 24 | '\x7f' |0x80,KEYCODE_ALT_BACKSPACE, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:25:24: warning: unsigned conversion from 'int' to 'char' changes value from '-44' to '212' [-Wsign-conversion] 25 | '\b' |0x80,KEYCODE_ALT_BACKSPACE, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:26:24: warning: unsigned conversion from 'int' to 'char' changes value from '-45' to '211' [-Wsign-conversion] 26 | 'd' |0x80,KEYCODE_ALT_D , | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:33:24: warning: unsigned conversion from 'int' to 'char' changes value from '-36' to '220' [-Wsign-conversion] 33 | 'f' |0x80,KEYCODE_ALT_RIGHT, | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:34:24: warning: unsigned conversion from 'int' to 'char' changes value from '-37' to '219' [-Wsign-conversion] 34 | 'b' |0x80,KEYCODE_ALT_LEFT, | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:35:24: warning: unsigned conversion from 'int' to 'char' changes value from '-2' to '254' [-Wsign-conversion] 35 | 'O','A' |0x80,KEYCODE_UP , | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:36:24: warning: unsigned conversion from 'int' to 'char' changes value from '-3' to '253' [-Wsign-conversion] 36 | 'O','B' |0x80,KEYCODE_DOWN , | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:37:24: warning: unsigned conversion from 'int' to 'char' changes value from '-4' to '252' [-Wsign-conversion] 37 | 'O','C' |0x80,KEYCODE_RIGHT , | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:38:24: warning: unsigned conversion from 'int' to 'char' changes value from '-5' to '251' [-Wsign-conversion] 38 | 'O','D' |0x80,KEYCODE_LEFT , | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:39:24: warning: unsigned conversion from 'int' to 'char' changes value from '-6' to '250' [-Wsign-conversion] 39 | 'O','H' |0x80,KEYCODE_HOME , | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:40:24: warning: unsigned conversion from 'int' to 'char' changes value from '-7' to '249' [-Wsign-conversion] 40 | 'O','F' |0x80,KEYCODE_END , | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:53:24: warning: unsigned conversion from 'int' to 'char' changes value from '-2' to '254' [-Wsign-conversion] 53 | '[','A' |0x80,KEYCODE_UP , | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:54:24: warning: unsigned conversion from 'int' to 'char' changes value from '-3' to '253' [-Wsign-conversion] 54 | '[','B' |0x80,KEYCODE_DOWN , | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:55:24: warning: unsigned conversion from 'int' to 'char' changes value from '-4' to '252' [-Wsign-conversion] 55 | '[','C' |0x80,KEYCODE_RIGHT , | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:56:24: warning: unsigned conversion from 'int' to 'char' changes value from '-5' to '251' [-Wsign-conversion] 56 | '[','D' |0x80,KEYCODE_LEFT , | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:64:24: warning: unsigned conversion from 'int' to 'char' changes value from '-6' to '250' [-Wsign-conversion] 64 | '[','H' |0x80,KEYCODE_HOME , /* xterm */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:65:24: warning: unsigned conversion from 'int' to 'char' changes value from '-7' to '249' [-Wsign-conversion] 65 | '[','F' |0x80,KEYCODE_END , /* xterm */ | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:68:24: warning: unsigned conversion from 'int' to 'char' changes value from '-6' to '250' [-Wsign-conversion] 68 | '[','1','~' |0x80,KEYCODE_HOME , /* vt100? linux vt? or what? */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:69:24: warning: unsigned conversion from 'int' to 'char' changes value from '-8' to '248' [-Wsign-conversion] 69 | '[','2','~' |0x80,KEYCODE_INSERT , | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:71:24: warning: unsigned conversion from 'int' to 'char' changes value from '-9' to '247' [-Wsign-conversion] 71 | '[','3','~' |0x80,KEYCODE_DELETE , | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:75:24: warning: unsigned conversion from 'int' to 'char' changes value from '-7' to '249' [-Wsign-conversion] 75 | '[','4','~' |0x80,KEYCODE_END , /* vt100? linux vt? or what? */ | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:76:24: warning: unsigned conversion from 'int' to 'char' changes value from '-10' to '246' [-Wsign-conversion] 76 | '[','5','~' |0x80,KEYCODE_PAGEUP , | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:80:24: warning: unsigned conversion from 'int' to 'char' changes value from '-11' to '245' [-Wsign-conversion] 80 | '[','6','~' |0x80,KEYCODE_PAGEDOWN, | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:81:24: warning: unsigned conversion from 'int' to 'char' changes value from '-6' to '250' [-Wsign-conversion] 81 | '[','7','~' |0x80,KEYCODE_HOME , /* vt100? linux vt? or what? */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:82:24: warning: unsigned conversion from 'int' to 'char' changes value from '-7' to '249' [-Wsign-conversion] 82 | '[','8','~' |0x80,KEYCODE_END , /* vt100? linux vt? or what? */ | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:105:29: warning: unsigned conversion from 'int' to 'char' changes value from '-68' to '188' [-Wsign-conversion] 105 | '[','1',';','5','C' |0x80,KEYCODE_CTRL_RIGHT, | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:106:29: warning: unsigned conversion from 'int' to 'char' changes value from '-69' to '187' [-Wsign-conversion] 106 | '[','1',';','5','D' |0x80,KEYCODE_CTRL_LEFT , | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:109:29: warning: unsigned conversion from 'int' to 'char' changes value from '-36' to '220' [-Wsign-conversion] 109 | '[','1',';','3','C' |0x80,KEYCODE_ALT_RIGHT, | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:110:29: warning: unsigned conversion from 'int' to 'char' changes value from '-37' to '219' [-Wsign-conversion] 110 | '[','1',';','3','D' |0x80,KEYCODE_ALT_LEFT , | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:150:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 150 | memmove(buffer, buffer + 1, n); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:153:17: warning: conversion from 'int' to 'char' may change value [-Wconversion] 153 | buffer[-1] = n; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:274:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 274 | buffer[-1] = n; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c: In function 'read_key_ungets': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_key.c:293:15: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 293 | buffer[0] += len; | ^~~ CC libbb/read_printf.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c: In function 'xmalloc_reads': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c:98:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 98 | *maxsz_p = p - buf; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c:100:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 100 | return xrealloc(buf, p - buf); | ~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c: In function 'xmalloc_read_with_initial_buf': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c:118:9: warning: conversion from '__off64_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 118 | size = (st.st_size | 0x3ff) + 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/read_printf.c:124:13: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 124 | rd_size = full_read(fd, buf + total, size); | ^~~~~~~~~ CC libbb/recursive_action.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c: In function 'recursive_action': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c:98:52: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 98 | return fileAction(fileName, &statbuf, userData, depth); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c:109:51: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 109 | return fileAction(fileName, &statbuf, userData, depth); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c:115:50: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 115 | return dirAction(fileName, &statbuf, userData, depth); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c:119:52: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 119 | status = dirAction(fileName, &statbuf, userData, depth); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/recursive_action.c:157:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 157 | if (!dirAction(fileName, &statbuf, userData, depth)) | ^~~~~ CC libbb/remove_file.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/remove_file.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/remove_file.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/remove_file.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/replace.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/replace.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/replace.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/replace.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/replace.c: In function 'xmalloc_substitute_string': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/replace.c:37:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 37 | buf = dst = xmalloc(strlen(src) + count * ((int)repl_len - (int)sub_len) + 1); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/replace.c:40:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 40 | dst = mempcpy(dst, src, end - src); | ~~~~^~~~~ CC libbb/run_shell.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/run_shell.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/run_shell.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/run_shell.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/run_shell.c: In function 'run_shell': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/run_shell.c:62:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 62 | args = xmalloc(sizeof(char*) * (2 + (args - additional_args))); | ^ CC libbb/safe_gethostname.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_gethostname.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_gethostname.c:25: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_gethostname.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/safe_poll.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_poll.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_poll.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_poll.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/safe_strncpy.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_strncpy.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_strncpy.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_strncpy.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/safe_write.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_write.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_write.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/safe_write.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/securetty.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/securetty.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/securetty.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/securetty.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/setup_environment.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/setup_environment.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/setup_environment.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/setup_environment.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/signals.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/signals.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/signals.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/signals.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/signals.c: In function 'record_signo': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/signals.c:18:18: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 18 | bb_got_signal = signo; | ^~~~~ CC libbb/simplify_path.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/simplify_path.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/simplify_path.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/simplify_path.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/single_argv.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/single_argv.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/single_argv.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/single_argv.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/skip_whitespace.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/skip_whitespace.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/skip_whitespace.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/skip_whitespace.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/speed_table.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/speed_table.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/speed_table.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/speed_table.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/str_tolower.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/str_tolower.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/str_tolower.c:6: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/str_tolower.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/strrstr.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/strrstr.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/strrstr.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/strrstr.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/strrstr.c: In function 'bbunit_strrstr_test': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/strrstr.c:54:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 54 | while (i < sizeof(test_array) / sizeof(test_array[0])) { | ^ CC libbb/sysconf.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/sysconf.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/sysconf.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/sysconf.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/sysconf.c: In function 'bb_arg_max': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/sysconf.c:22:9: warning: conversion to 'unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 22 | return r; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/sysconf.c: In function 'bb_clk_tck': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/sysconf.c:29:9: warning: conversion to 'unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 29 | return sysconf(_SC_CLK_TCK); | ^~~~~~~~~~~~~~~~~~~~ CC libbb/time.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c: In function 'parse_datestr': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:123:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 123 | unsigned cur_year = ptm->tm_year; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:167:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 167 | ptm->tm_year += (cur_year / 100) * 100; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:167:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 167 | ptm->tm_year += (cur_year / 100) * 100; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:169:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 169 | if (ptm->tm_year < cur_year - 50) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:172:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 172 | if (ptm->tm_year > cur_year + 50) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c: In function 'monotonic_ns': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:292:19: warning: conversion to 'long long unsigned int' from '__time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 292 | return tv.tv_sec * 1000000000ULL + tv.tv_usec * 1000; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:292:35: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 292 | return tv.tv_sec * 1000000000ULL + tv.tv_usec * 1000; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c: In function 'monotonic_us': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:298:19: warning: conversion to 'long long unsigned int' from '__time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 298 | return tv.tv_sec * 1000000ULL + tv.tv_usec; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:298:32: warning: conversion to 'long long unsigned int' from '__suseconds_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 298 | return tv.tv_sec * 1000000ULL + tv.tv_usec; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c: In function 'monotonic_ms': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:304:19: warning: conversion to 'long long unsigned int' from '__time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 304 | return tv.tv_sec * 1000ULL + tv.tv_usec / 1000; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:304:29: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 304 | return tv.tv_sec * 1000ULL + tv.tv_usec / 1000; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c: In function 'monotonic_sec': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/time.c:308:9: warning: conversion to 'unsigned int' from 'time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 308 | return time(NULL); | ^~~~~~~~~~ CC libbb/trim.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/trim.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/trim.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/trim.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/trim.c: In function 'trim': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/trim.c:25:8: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 25 | len -= (nws - s); | ^~ CC libbb/u_signal_names.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/u_signal_names.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/u_signal_names.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/u_signal_names.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/u_signal_names.c: In function 'get_signum': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/u_signal_names.c:162:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 162 | return i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/u_signal_names.c:167:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 167 | return i; | ^ CC libbb/ubi.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ubi.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ubi.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ubi.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ubi.c: In function 'ubi_get_volid_by_name': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/ubi.c:41:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 41 | return i; | ^ CC libbb/udp_io.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/udp_io.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/udp_io.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/udp_io.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/unicode.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c: In function 'wcrtomb_internal': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:91:15: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'wchar_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 91 | uint32_t v = wc; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:94:8: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'char' may change value [-Wconversion] 94 | *s = v; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:117:10: warning: conversion from 'long int' to 'char' may change value [-Wconversion] 117 | s[i] = (wc & 0x3f) | 0x80; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:121:9: warning: conversion from 'long int' to 'char' may change value [-Wconversion] 121 | s[0] = wc | (uint8_t)(0x3f00 >> n); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:122:9: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 122 | return n; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c: In function 'bb_wcrtomb': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:127:8: warning: conversion from 'wchar_t' {aka 'long int'} to 'char' may change value [-Wconversion] 127 | *s = wc; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c: In function 'bb_wcstombs': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:140:14: warning: conversion from 'wchar_t' {aka 'long int'} to 'char' may change value [-Wconversion] 140 | *dest++ = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c: In function 'mbstowc_internal': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:181:10: warning: conversion to 'wchar_t' {aka 'long int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 181 | *res = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:223:9: warning: conversion to 'wchar_t' {aka 'long int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 223 | *res = c; | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c: In function 'bb_iswspace': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:2320:51: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 2320 | #define isspace(a) ({ unsigned char bb__isspace = (a) - 9; bb__isspace == (' ' - 9) || bb__isspace <= (13 - 9); }) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:260:33: note: in expansion of macro 'isspace' 260 | return (unsigned)wc <= 0x7f && isspace(wc); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c: In function 'bb_iswalnum': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:265:41: warning: conversion from 'bb_wint_t' {aka 'int'} to 'unsigned char' may change value [-Wconversion] 265 | return (unsigned)wc <= 0x7f && isalnum(wc); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:2324:37: note: in definition of macro 'isalnum' 2324 | #define isalnum(a) bb_ascii_isalnum(a) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c: In function 'bb_wcwidth': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:610:11: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-129' to '4294967167' [-Wsign-conversion] 610 | if ((ucs & ~0x80) < 0x20 || ucs == 0x7f) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c: In function 'unicode_conv_to_printable2': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:1033:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1033 | d = dst = xstrndup(src, width); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:1042:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1042 | stats->byte_count = (d - dst); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:1043:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1043 | stats->unicode_count = (d - dst); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:1044:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1044 | stats->unicode_width = (d - dst); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:1090:15: warning: conversion to 'unsigned int' from 'wchar_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 1090 | w = wcwidth(wc); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:1099:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1099 | width -= w; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:1104:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1104 | width += w; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/unicode.c:1109:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1109 | uni_width += w; | ^~ CC libbb/utmp.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/utmp.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/utmp.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/utmp.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/utmp.c: In function 'write_new_utmp': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/utmp.c:25:18: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 25 | utent.ut_type = new_type; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/utmp.c: In function 'update_utmp': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/utmp.c:113:18: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 113 | utent.ut_type = new_type; | ^~~~~~~~ CC libbb/uuencode.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c: In function 'decode_base64': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:127:21: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 127 | six_bit[count] = ch; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:141:13: warning: conversion from 'int' to 'char' may change value [-Wconversion] 141 | *dst++ = six_bit[0] << 2 | six_bit[1] >> 4; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:143:13: warning: conversion from 'int' to 'char' may change value [-Wconversion] 143 | *dst++ = six_bit[1] << 4 | six_bit[2] >> 2; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:145:13: warning: conversion from 'int' to 'char' may change value [-Wconversion] 145 | *dst++ = six_bit[2] << 6 | six_bit[3]; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c: In function 'read_base64': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:198:25: warning: conversion from 'int' to 'char' may change value [-Wconversion] 198 | in_buf[in_count++] = ch; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:209:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 209 | fwrite(out_buf, (out_tail - out_buf), 1, dst_stream); | ~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:220:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 220 | in_count = strlen(in_tail); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/uuencode.c:221:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 221 | memmove(in_buf, in_tail, in_count); | ^~~~~~~~ CC libbb/verror_msg.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c: In function 'bb_verror_msg': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:32:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 32 | applet_len = strlen(applet_name) + 2; /* "applet: " */ | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:33:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 33 | strerr_len = strerr ? strlen(strerr) : 0; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:34:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 34 | msgeol_len = strlen(msg_eol); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:45:67: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 45 | used = vsnprintf(stack_msg + applet_len, (int)sizeof(stack_msg) - applet_len, s, p2); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:45:3: warning: function 'bb_verror_msg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 45 | used = vsnprintf(stack_msg + applet_len, (int)sizeof(stack_msg) - applet_len, s, p2); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:53:2: warning: function 'bb_verror_msg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 53 | used = vasprintf(&msg, s, p); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:65:66: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 65 | msg1 = realloc(msg, applet_len + used + strerr_len + msgeol_len + 3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:72:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 72 | memmove(msg + applet_len, msg, used); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/verror_msg.c:92:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 92 | full_write(STDERR_FILENO, msg, used); | ^~~~ CC libbb/vfork_daemon_rexec.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/vfork_daemon_rexec.c:17: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/vfork_daemon_rexec.c:17: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/busybox.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/vfork_daemon_rexec.c:17: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/warn_ignoring_args.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/warn_ignoring_args.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/warn_ignoring_args.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/warn_ignoring_args.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/wfopen.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c: In function 'xfdopen_helper': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c:43:34: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 43 | FILE* fp = fdopen(fd_and_rw_bit >> 1, fd_and_rw_bit & 1 ? "w" : "r"); | ~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c: In function 'xfdopen_for_read': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c:50:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 50 | return xfdopen_helper(fd << 1); | ~~~^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c: In function 'xfdopen_for_write': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen.c:54:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 54 | return xfdopen_helper((fd << 1) + 1); | ~~~~~~~~~~^~~ CC libbb/wfopen_input.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen_input.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen_input.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/wfopen_input.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/write.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/write.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/write.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/write.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/xatonum.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum_template.c: In function 'xstrtoll_range_sfx': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c:12:23: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 12 | #define xstrtou(rest) xstrtoull##rest | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum_template.c:140:6: note: in expansion of macro 'xstrtou' 140 | r = xstrtou(_range_sfx)(p, base, 0, u, suffixes); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum_template.c: In function 'xstrtol_range_sfx': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c:24:23: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 24 | #define xstrtou(rest) xstrtoul##rest | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum_template.c:140:6: note: in expansion of macro 'xstrtou' 140 | r = xstrtou(_range_sfx)(p, base, 0, u, suffixes); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c: In function 'xatoi_positive': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c:63:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 63 | return xatou_range(numstr, 0, INT_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c: In function 'xatou16': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xatonum.c:68:9: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 68 | return xatou_range(numstr, 0, 0xffff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/xconnect.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:17: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:17: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:17: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c: In function 'bb_lookup_port': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:135:26: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 135 | port_nr = ntohs(tserv->s_port); | ~~~~~^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c: In function 'set_nport': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:166:21: warning: conversion from 'unsigned int' to 'in_port_t' {aka 'short unsigned int'} may change value [-Wconversion] 166 | sin6->sin6_port = port; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:172:19: warning: conversion from 'unsigned int' to 'in_port_t' {aka 'short unsigned int'} may change value [-Wconversion] 172 | sin->sin_port = port; | ^~~~ In file included from /usr/include/stdlib.h:568, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:32, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:17: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c: In function 'str2sockaddr': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:233:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 233 | host = safe_strncpy(alloca(sz), host, sz); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:233:41: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 233 | host = safe_strncpy(alloca(sz), host, sz); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:240:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 240 | port = bb_strtou(cp, NULL, 10); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:312:28: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 312 | set_nport(&r->u.sa, htons(port)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c: In function 'xsocket_type': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:377:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 377 | lsa = xzalloc(LSA_LEN_SIZE + len); | ~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:378:13: warning: conversion to 'socklen_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 378 | lsa->len = len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:379:24: warning: conversion from 'int' to 'sa_family_t' {aka 'short unsigned int'} may change value [-Wconversion] 379 | lsa->u.sa.sa_family = family; | ^~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c: In function 'create_and_bind_or_die': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:400:31: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 400 | set_nport(&lsa->u.sa, htons(port)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c: In function 'create_and_bind_to_netlink': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:427:14: warning: conversion to '__u32' {aka 'unsigned int'} from '__pid_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 427 | sa.nl_pid = getpid(); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:428:17: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 428 | sa.nl_groups = grp; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:435:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 435 | setsockopt_SOL_SOCKET_int(fd, SO_RCVBUF, rcvbuf); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xconnect.c:436:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 436 | setsockopt_SOL_SOCKET_int(fd, SO_RCVBUFFORCE, rcvbuf); | ^~~~~~ CC libbb/xfunc_die.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfunc_die.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfunc_die.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfunc_die.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/xfuncs.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:23: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:23: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:23: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c: In function 'utoa_to_buf': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:86:14: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 86 | *buf++ = '0' + res; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c: In function 'hex2bin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:160:11: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 160 | val |= c - '0'; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:162:11: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 162 | val |= (c|0x20) - ('a' - 10); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c: In function 'get_terminal_width_height': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:290:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 290 | *height = wh_helper(win.ws_row, 24, "LINES", &err); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:292:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 292 | *width = wh_helper(win.ws_col, 80, "COLUMNS", &err); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c: In function 'get_terminal_width': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:303:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 303 | return width; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c: In function 'get_termios_and_make_raw': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:324:19: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-75' to '4294967221' [-Wsign-conversion] 324 | newterm->c_lflag &= ~(ICANON | ECHO | ECHONL); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:327:20: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-2' to '4294967294' [-Wsign-conversion] 327 | newterm->c_lflag &= ~ISIG; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:345:20: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-1281' to '4294966015' [-Wsign-conversion] 345 | newterm->c_iflag &= ~(IXON | ICRNL); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:349:20: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-5' to '4294967291' [-Wsign-conversion] 349 | newterm->c_oflag &= ~(ONLCR); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs.c:374:20: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-16195' to '4294951101' [-Wsign-conversion] 374 | newterm->c_iflag &= ~(IXOFF|IXON|IXANY|BRKINT|INLCR|ICRNL|IUCLC|IMAXBEL); | ^~ CC libbb/xfuncs_printf.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:21: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c: In function 'xstrndup': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:101:17: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 101 | t = strndup(s, n); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c: In function 'xmemdup': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:111:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 111 | return memcpy(xmalloc(n), s, n); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:111:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 111 | return memcpy(xmalloc(n), s, n); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c: In function 'bb_unsetenv': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:351:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 351 | unsigned sz = tp - var; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:358:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 358 | var = tp = xstrndup(var, sz); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c: In function 'generate_uuid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:644:8: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 644 | srand(monotonic_us()); /* pulls in printf */ | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:648:14: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 648 | buf[i] ^= rand() >> 5; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:651:9: warning: conversion to 'unsigned int' from 'pid_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 651 | srand(pid); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:656:19: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 656 | buf[4 + 2 ] = (buf[4 + 2 ] & 0x0f) | 0x40; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:658:19: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 658 | buf[4 + 2 + 2] = (buf[4 + 2 + 2] & 0x3f) | 0x80; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:638:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 638 | read(i, buf, 16); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c: In function 'selinux_or_die': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xfuncs_printf.c:506:16: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 506 | void FAST_FUNC selinux_or_die(void) | ^~~~~~~~~~~~~~ CC libbb/xgetcwd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xgetcwd.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xgetcwd.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xgetcwd.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/xgethostbyname.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xgethostbyname.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xgethostbyname.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xgethostbyname.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libbb/xreadlink.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:8: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:8: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c: In function 'xmalloc_readlink': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:29:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 29 | buf = xrealloc(buf, bufsize); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:30:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 30 | readsize = readlink(path, buf, bufsize); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c: In function 'xmalloc_follow_symlinks': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:80:12: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 80 | bufsize += strlen(linkpath); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:80:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 80 | bufsize += strlen(linkpath); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:81:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 81 | buf = xrealloc(buf, bufsize); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xreadlink.c:89:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 89 | bufsize = strlen(buf) + 1; | ^~~~~~ CC libbb/xrealloc_vector.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xrealloc_vector.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xrealloc_vector.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xrealloc_vector.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xrealloc_vector.c: In function 'xrealloc_vector_helper': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xrealloc_vector.c:41:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 41 | vector = xrealloc(vector, sizeof_and_shift * (idx + mask + 1)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xrealloc_vector.c:42:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 42 | memset((char*)vector + (sizeof_and_shift * idx), 0, sizeof_and_shift * (mask + 1)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xrealloc_vector.c:42:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 42 | memset((char*)vector + (sizeof_and_shift * idx), 0, sizeof_and_shift * (mask + 1)); | ^ CC libbb/xregcomp.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xregcomp.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xregcomp.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xregcomp.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xregcomp.c: In function 'regcomp_or_errmsg': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xregcomp.c:17:18: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 17 | int errmsgsz = regerror(ret, preg, NULL, 0); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xregcomp.c:18:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 18 | char *errmsg = xmalloc(errmsgsz); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libbb/xregcomp.c:19:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 19 | regerror(ret, preg, errmsg, errmsgsz); | ^~~~~~~~ AR libbb/lib.a LD libpwdgrp/built-in.o CC libpwdgrp/uidgid_get.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libpwdgrp/uidgid_get.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libpwdgrp/uidgid_get.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libpwdgrp/uidgid_get.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdlib.h:568, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:32, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libpwdgrp/uidgid_get.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libpwdgrp/uidgid_get.c: In function 'get_uidgid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libpwdgrp/uidgid_get.c:42:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 42 | user = alloca(sz); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/libpwdgrp/uidgid_get.c:44:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 44 | safe_strncpy(user, ug, sz); | ^~ AR libpwdgrp/lib.a LD loginutils/built-in.o CC loginutils/getty.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:47: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:47: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:47: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'bcode': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:151:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 151 | int value = bb_strtou(s, NULL, 10); /* yes, int is intended! */ | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:154:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 154 | return tty_value_to_baud(value); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:154:9: warning: conversion to 'int' from 'speed_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 154 | return tty_value_to_baud(value); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'parse_args': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:182:10: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 182 | flags = getopt32(argv, "^" OPT_STR "\0" "-2"/* at least 2 args*/, | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'init_tty_attrs': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:274:28: warning: conversion to 'speed_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 274 | cfsetspeed(&G.tty_attrs, speed); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'auto_baud': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:447:31: warning: conversion to 'speed_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 447 | cfsetspeed(&G.tty_attrs, speed); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'get_logname': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:524:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 524 | } else if ((int)(bp - G.line_buf) < sizeof(G.line_buf) - 1) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'getty_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:721:37: warning: conversion to 'speed_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 721 | cfsetspeed(&G.tty_attrs, G.speeds[baud_index]); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'open_tty': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:224:3: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | fchown(0, 0, 0); /* 0:0 */ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'get_logname': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:518:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 518 | if (G.numspeed > 1) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:521:4: note: here 521 | default: | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c: In function 'getty_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/getty.c:550:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 550 | int getty_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~ CC loginutils/sulogin.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/sulogin.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/sulogin.c:25: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/sulogin.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/sulogin.c: In function 'sulogin_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/sulogin.c:52:3: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | dup(xopen(argv[0], O_RDWR)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/loginutils/sulogin.c:54:3: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | dup(0); | ^~~~~~ AR loginutils/lib.a LD mailutils/built-in.o AR mailutils/lib.a LD miscutils/built-in.o CC miscutils/bc.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:161: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:161: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:161: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'lex_allowed_in_bc_expr': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:604:11: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 604 | return m & (1UL << i); | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zbc_num_ulong_abs': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:1355:24: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1355 | result = result * 10 + n->num[--i]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'bc_num_ulong2num': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:1398:12: warning: conversion from 'long unsigned int' to 'BcDig' {aka 'signed char'} may change value [-Wconversion] 1398 | *ptr++ = val % 10; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'bc_num_compare': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:1428:12: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1428 | return -i; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:1429:11: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1429 | return i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zbc_num_k': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:1858:19: warning: conversion to 'unsigned int' from 'BcDig' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 1858 | unsigned in = c->num[i + j]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'xc_read_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:2562:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2562 | bc_vec_string(vec, n, line_buf); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:2588:32: warning: conversion from 'int' to 'char' may change value [-Wconversion] 2588 | bad_chars |= bad_input_byte(c); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'xc_num_strValid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:2619:13: warning: conversion to 'BcDig' {aka 'signed char'} from 'char' may change the sign of the result [-Wsign-conversion] 2619 | BcDig c = *val++; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'bc_num_parseDecimal': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:2661:18: warning: conversion from 'unsigned int' to 'BcDig' {aka 'signed char'} may change value [-Wconversion] 2661 | n->num[1] = c/10; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:2664:17: warning: conversion from 'unsigned int' to 'BcDig' {aka 'signed char'} may change value [-Wconversion] 2664 | n->num[0] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:2672:22: warning: conversion to 'BcDig' {aka 'signed char'} from 'char' may change the sign of the result [-Wsign-conversion] 2672 | n->num[n->len] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zbc_lex_identifier': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3043:12: warning: conversion from 'unsigned int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 3043 | p->lex = BC_LEX_KEY_1st_keyword + i; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3062:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 3062 | unsigned len = strchrnul(buf, '\n') - buf; | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'parse_lex_by_checking_eq_sign': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3106:11: warning: conversion from 'unsigned int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 3106 | p->lex = (with_and_without & 0xff); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'bc_vec_pushIndex': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3559:22: warning: conversion from 'size_t' {aka 'unsigned int'} to 'char' may change value [-Wconversion] 3559 | bc_vec_pushByte(v, idx); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3572:45: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3572 | bc_vec_pushByte(v, (SMALL_INDEX_LIMIT - 1) + amt); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zbc_parse_params': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3825:10: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 3825 | flags = (flags & ~(BC_PARSE_PRINT | BC_PARSE_REL)) | BC_PARSE_ARRAY; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zbc_parse_name': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3911:13: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 3911 | flags &= ~(BC_PARSE_PRINT | BC_PARSE_REL); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zbc_parse_builtin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3969:10: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 3969 | flags = (flags & ~(BC_PARSE_PRINT | BC_PARSE_REL)) | BC_PARSE_ARRAY; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zbc_parse_scale': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:4001:11: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 4001 | flags &= ~(BC_PARSE_PRINT | BC_PARSE_REL); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zbc_parse_expr': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:4843:36: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 4843 | s = zbc_parse_name(&prev, flags & ~BC_PARSE_NOCALL); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:3939:45: note: in definition of macro 'zbc_parse_name' 3939 | #define zbc_parse_name(...) (zbc_parse_name(__VA_ARGS__) COMMA_SUCCESS) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'xc_program_print': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:5714:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 5714 | G.prog.nchars += printf("%s", str); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c: In function 'zxc_program_exec': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:6617:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 6617 | if (IS_DC) { // end of '?' reached | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:6623:3: note: here 6623 | case BC_INST_RET0: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:6627:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 6627 | case BC_INST_JUMP_ZERO: { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/bc.c:6641:3: note: here 6641 | case BC_INST_JUMP: { | ^~~~ CC miscutils/hexedit.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:16: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:16: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:16: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c: In function 'sig_catcher': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:75:19: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 75 | bb_got_signal = sig; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c: In function 'redraw': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:146:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 146 | pos = format_line(buf, data, offset); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c: In function 'move_mapping_further': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:44:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 44 | #define G (*ptr_to_globals) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:218:8: note: in expansion of macro 'G' 218 | pos = G.current_byte - G.baseaddr; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c: In function 'move_mapping_lower': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:44:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 44 | #define G (*ptr_to_globals) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:242:8: note: in expansion of macro 'G' 242 | pos = G.current_byte - G.baseaddr; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c: In function 'hexedit_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:303:10: warning: conversion from 'int64_t' {aka 'long long int'} to 'int32_t' {aka 'int'} may change value [-Wconversion] 303 | key = read_key(STDIN_FILENO, G.read_key_buffer, -1); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:336:22: warning: conversion from 'int32_t' {aka 'int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 336 | *G.current_byte = byte + key; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:440:10: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 440 | t = bb_strtoull(buf, NULL, 0); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:446:16: warning: conversion from 'off_t' {aka 'long long int'} to 'unsigned int' may change value [-Wconversion] 446 | cursor = t = 0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:362:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 362 | cnt = G.height; | ~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:363:3: note: here 363 | case KEYCODE_DOWN: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:409:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 409 | cnt = G.height; | ~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:410:3: note: here 410 | case KEYCODE_UP: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:433:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 433 | { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/hexedit.c:460:3: note: here 460 | case CTRL('X'): | ^~~~ CC miscutils/inotifyd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/inotifyd.c:68: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/inotifyd.c:68: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/inotifyd.c:68: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/inotifyd.c: In function 'inotifyd_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/inotifyd.c:178:59: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 178 | ie = buf = (len <= COMMON_BUFSIZE) ? eventbuf : xmalloc(len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/inotifyd.c:179:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 179 | len = full_read(pfd.fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/inotifyd.c:215:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 215 | i = sizeof(struct inotify_event) + ie->len; | ^~~~~~ CC miscutils/lsscsi.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/lsscsi.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/lsscsi.c:26: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/lsscsi.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/lsscsi.c: In function 'get_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/lsscsi.c:44:10: warning: conversion to 'unsigned int' from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 44 | bufsize -= sz; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/lsscsi.c: In function 'lsscsi_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/lsscsi.c:103:50: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 103 | || (type_name = nth_string(scsi_device_types, type))[0] == '\0' | ^~~~ CC miscutils/partprobe.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/partprobe.c:19: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/partprobe.c:19: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/partprobe.c:19: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC miscutils/setfattr.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/setfattr.c:19: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/setfattr.c:19: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/setfattr.c:19: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/setfattr.c: In function 'setfattr_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/setfattr.c:42:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 42 | opt = getopt32(argv, "^" | ^~~~~~~~ CC miscutils/ubirename.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/ubirename.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/ubirename.c:26: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/ubirename.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/ubirename.c: In function 'ubirename_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/ubirename.c:74:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | if (argc > ARRAY_SIZE(rnvol->ents)) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/ubirename.c:86:29: warning: conversion from 'size_t' {aka 'unsigned int'} to 'int16_t' {aka 'short int'} may change value [-Wconversion] 86 | rnvol->ents[n].name_len = strnlen(argv[1], sizeof(rnvol->ents[n].name)); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/miscutils/ubirename.c:87:31: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'unsigned int' [-Wsign-compare] 87 | if (rnvol->ents[n].name_len >= sizeof(rnvol->ents[n].name)) | ^~ AR miscutils/lib.a LD modutils/built-in.o AR modutils/lib.a LD networking/built-in.o CC networking/arp.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c:44: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c:44: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c:44: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c: In function 'arp_del': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c:85:20: warning: conversion from 'int' to 'sa_family_t' {aka 'short unsigned int'} may change value [-Wconversion] 85 | #define hw (G.hw ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c:126:26: note: in expansion of macro 'hw' 126 | req.arp_ha.sa_family = hw->type; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c: In function 'arp_show': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c:465:60: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 465 | hostname = ap->sprint(&sa, (option_mask32 & ARP_OPT_n) | 0x8000); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c:44: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:210:28: warning: ignoring return value of 'fgets_unlocked' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | # define fgets(s,n,stream) fgets_unlocked(s,n,stream) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arp.c:431:2: note: in expansion of macro 'fgets' 431 | fgets(line, sizeof(line), fp); | ^~~~~ CC networking/arping.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arping.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arping.c:41: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arping.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arping.c: In function 'send_pack': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arping.c:139:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 139 | err = sendto(sock_fd, buf, p - buf, 0, (struct sockaddr *) HE, sizeof(*HE)); | ~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arping.c: In function 'recv_pack': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/arping.c:219:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 219 | || (len < (int)(sizeof(*ah) + 2 * (4 + ah->ar_hln))) | ^ CC networking/brctl.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:70: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:70: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:70: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c: In function 'str_to_jiffies': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:104:9: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] 104 | return dd; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c: In function 'write_uint': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:197:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 197 | if (write(fd, filedata, n) < 0) | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:70: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c: In function 'read_bridge_forward_db': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:384:73: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 384 | xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:244:9: note: in expansion of macro 'xrealloc_vector' 244 | fdb = xrealloc_vector(fdb, 4, nentries); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c: In function 'show_bridge_timer': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:296:20: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 296 | unsigned tv_sec = centisec / 100; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:297:21: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 297 | unsigned tv_csec = centisec % 100; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c: In function 'show_bridge_state': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:312:34: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 312 | return nth_string(state_names, state); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c: In function 'brctl_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:618:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 618 | onoff = (unsigned)onoff / 4; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:619:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 619 | write_uint(br, "bridge/stp_state", onoff); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:643:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 643 | write_uint(br, "bridge/priority", xatoi_positive(*argv)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:664:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 664 | xatoi_positive(argv[1]) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:674:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 674 | ifr.ifr_ifindex = if_nametoindex(*argv); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c: In function 'show_bridge': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:163:5: warning: array subscript -4 is outside array bounds of 'char[42]' [-Warray-bounds] 163 | sfx[-4] = 'f'; sfx[-3] = '\0'; | ~~~^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:134:7: note: while referencing 'pathbuf' 134 | char pathbuf[IFNAMSIZ + sizeof("/bridge/bridge_id") + 8]; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:163:20: warning: array subscript -3 is outside array bounds of 'char[42]' [-Warray-bounds] 163 | sfx[-4] = 'f'; sfx[-3] = '\0'; | ~~~^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:134:7: note: while referencing 'pathbuf' 134 | char pathbuf[IFNAMSIZ + sizeof("/bridge/bridge_id") + 8]; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c: In function 'brctl_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:479:11: warning: array subscript -4 is outside array bounds of 'char[54]' [-Warray-bounds] 479 | sfx[-4] = 'f'; sfx[-3] = '\0'; | ~~~~~~~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:398:7: note: while referencing 'pathbuf' 398 | char pathbuf[IFNAMSIZ + sizeof("/bridge/topology_change_timer") + 8]; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:479:26: warning: array subscript -3 is outside array bounds of 'char[54]' [-Warray-bounds] 479 | sfx[-4] = 'f'; sfx[-3] = '\0'; | ~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/brctl.c:398:7: note: while referencing 'pathbuf' 398 | char pathbuf[IFNAMSIZ + sizeof("/bridge/topology_change_timer") + 8]; | ^~~~~~~ CC networking/hostname.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/hostname.c:48: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/hostname.c:48: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/hostname.c:48: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC networking/ifupdown.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ifupdown.c:142: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ifupdown.c:142: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ifupdown.c:142: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ifupdown.c: In function 'set_environ': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ifupdown.c:1134:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1134 | G.my_environ = xzalloc(sizeof(char *) * (iface->n_options + 7)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ifupdown.c: In function 'open_new_state_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ifupdown.c:1367:10: warning: conversion to '__useconds_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1367 | usleep(cnt); | ^~~ CC networking/inetd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:243: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:243: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:243: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'xzalloc_lsa': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:471:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 471 | lsa = xzalloc(LSA_LEN_SIZE + sz); | ~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:472:13: warning: conversion to 'socklen_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 472 | lsa->len = sz; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:473:24: warning: conversion from 'int' to 'sa_family_t' {aka 'short unsigned int'} may change value [-Wconversion] 473 | lsa->u.sa.sa_family = family; | ^~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:243: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'reread_config_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1062:17: warning: conversion from 'unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1062 | port = htons(n); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1074:12: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1074 | port = sp->s_port; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1081:23: warning: conversion to 'sa_family_t' {aka 'short unsigned int'} from 'family_t' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 1081 | ntohs(port), sep->se_family); | ~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'inetd_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1232:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1232 | opt = getopt32(argv, "R:+feq:+", &max_concurrency, &global_queuelen); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'echo_stream': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1558:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 1558 | xwrite(s, line, sz); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'echo_dg': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1583:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1583 | sendto(s, buf, sz, 0, &lsa->u.sa, lsa->len); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'init_ring': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1627:17: warning: conversion from 'int' to 'char' may change value [-Wconversion] 1627 | *end_ring++ = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'chargen_stream': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1650:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1650 | memmove(text, rs, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1651:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1651 | memmove(text + len, ring, LINESIZ - len); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'chargen_dg': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1680:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1680 | memmove(text, ring_pos, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1681:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1681 | memmove(text + len, ring, LINESIZ - len); | ^ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:243: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'machtime': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1705:36: warning: conversion to 'long unsigned int' from '__time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 1705 | return htonl((uint32_t)(tv.tv_sec + 2208988800U)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c: In function 'inetd_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1215:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 1215 | int inetd_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1218:13: warning: variable 'sep' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1218 | servtab_t *sep, *sep2; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1220:16: warning: variable 'grp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1220 | struct group *grp = grp; /* for compiler */ | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1293:7: warning: variable 'ready_fd_cnt' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1293 | int ready_fd_cnt; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1294:7: warning: variable 'ctrl' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1294 | int ctrl, accepted_fd, new_udp_fd; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1294:13: warning: variable 'accepted_fd' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1294 | int ctrl, accepted_fd, new_udp_fd; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/inetd.c:1294:26: warning: variable 'new_udp_fd' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1294 | int ctrl, accepted_fd, new_udp_fd; | ^~~~~~~~~~ CC networking/interface.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:33: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c: In function 'get_name': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:418:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 418 | memcpy(name, namestart, nameend - namestart); | ~~~~~~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c: In function 'if_readconf': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:520:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 520 | ifc.ifc_len = sizeof(struct ifreq) * numreqs; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:520:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 520 | ifc.ifc_len = sizeof(struct ifreq) * numreqs; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:521:42: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 521 | ifc.ifc_buf = xrealloc(ifc.ifc_buf, ifc.ifc_len); | ~~~^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:524:49: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 524 | if (ifc.ifc_len == (int)(sizeof(struct ifreq) * numreqs)) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:533:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 533 | for (n = 0; n < ifc.ifc_len; n += sizeof(struct ifreq)) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:533:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 533 | for (n = 0; n < ifc.ifc_len; n += sizeof(struct ifreq)) { | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c: In function 'if_fetch': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:613:14: warning: conversion to 'short int' from 'sa_family_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 613 | ife->type = ifr.ifr_hwaddr.sa_family; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c: In function 'ife_print6': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:877:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 877 | switch (scope & IPV6_ADDR_SCOPE_MASK) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c: In function 'in_ib': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:1113:19: warning: conversion from 'int' to 'sa_family_t' {aka 'short unsigned int'} may change value [-Wconversion] 1113 | sap->sa_family = ib_hwtype.type; | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c: In function 'if_readlist_proc': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:210:28: warning: ignoring return value of 'fgets_unlocked' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | # define fgets(s,n,stream) fgets_unlocked(s,n,stream) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:554:2: note: in expansion of macro 'fgets' 554 | fgets(buf, sizeof buf, fh); /* eat line */ | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:210:28: warning: ignoring return value of 'fgets_unlocked' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | # define fgets(s,n,stream) fgets_unlocked(s,n,stream) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/interface.c:555:2: note: in expansion of macro 'fgets' 555 | fgets(buf, sizeof buf, fh); | ^~~~~ CC networking/ip.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ip.c:326: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ip.c:326: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ip.c:326: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ip.c:328: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ CC networking/ipcalc.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ipcalc.c:52: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ipcalc.c:52: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ipcalc.c:52: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ipcalc.c: In function 'ipcalc_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ipcalc.c:141:6: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-33' to '4294967263' [-Wsign-conversion] 141 | opt &= ~SILENT; | ^~ CC networking/nameif.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nameif.c:75: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nameif.c:75: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nameif.c:75: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC networking/netstat.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:43: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c: In function 'extract_socket_inode': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:259:11: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 259 | inode = bb_strtoul(lname + sizeof("socket:[")-1, (char**)&lname, 0); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:264:11: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 264 | inode = bb_strtoul(lname + sizeof("[0000]:")-1, NULL, 0); | ^~~~~~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c: In function 'get_sname': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:390:20: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 390 | return itoa(ntohs(port)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c: In function 'ip_port_str': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:406:55: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 406 | host_port = xasprintf("%s:%s", host, get_sname(htons(port), proto, numeric)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c: In function 'print_inet_line': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:475:57: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 475 | printf("%."PROGNAME_WIDTH_STR"s", prg_cache_get(param->inode)); | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c: In function 'unix_do_one': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:649:51: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 649 | printf("%-"PROGNAME_WIDTH_STR"s", prg_cache_get(inode)); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c: In function 'netstat_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:694:12: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 694 | flags &= ~NETSTAT_CONNECTED; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:726:12: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 726 | flags &= ~NETSTAT_ALLPROTO; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/netstat.c:727:12: warning: conversion from 'unsigned int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 727 | flags |= opt; | ^~~ CC networking/nslookup.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:41: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c: In function 'parse_reply': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:353:24: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 353 | if (ns_initparse(msg, len, &handle) != 0) { | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:416:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 416 | n = ns_get16(ns_rr_rdata(rr)); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:434:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 434 | memcpy(dname, ns_rr_rdata(rr) + 1, n); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c: In function 'send_queries': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:542:18: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 542 | tstart = tcur = monotonic_ms(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:551:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 551 | for (qn = 0; qn < G.query_count; qn++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:563:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 563 | servfail_retry = 2 * G.query_count; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:567:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 567 | if (poll(&pfd, 1, retry_interval - (tcur - tsent)) <= 0) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:574:11: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 574 | tcur = monotonic_ms(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:601:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 601 | if (++qn >= G.query_count) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:628:10: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 628 | tcur = monotonic_ms(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:638:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 638 | switch (parse_reply(reply, recvlen)) { | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:651:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 651 | if (n_replies >= G.query_count) | ^~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c: In function 'add_ns': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:384:73: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 384 | xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:688:13: note: in expansion of macro 'xrealloc_vector' 688 | G.server = xrealloc_vector(G.server, /*8=2^3:*/ 3, count); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:691:34: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 691 | ns->lsa = xhost2sockaddr(addr, G.default_port); | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c: In function 'add_query': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:384:73: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 384 | xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:766:12: note: in expansion of macro 'xrealloc_vector' 766 | G.query = xrealloc_vector(G.query, /*4=2^2:*/ 2, count); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:777:16: warning: conversion to 'unsigned int' from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 777 | new_q->qlen = qlen; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c: In function 'nslookup_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 958 | for (c = 0; c < ARRAY_SIZE(qtypes); c++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:964:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | for (rc = 0; rc < G.serv_count;) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:982:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 982 | if (rc >= G.serv_count) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:1007:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1007 | for (rc = 0; rc < G.query_count; rc++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c: In function 'send_queries': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/nslookup.c:620:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 620 | write(pfd.fd, G.query[qn].query, G.query[qn].qlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC networking/parse_pasv_epsv.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/parse_pasv_epsv.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/parse_pasv_epsv.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/parse_pasv_epsv.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/parse_pasv_epsv.c: In function 'parse_pasv_epsv': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/parse_pasv_epsv.c:46:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 46 | port = xatou_range(ptr + 1, 0, 255); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/parse_pasv_epsv.c:51:8: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 51 | port += xatou_range(ptr + 1, 0, 255) * 256; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/parse_pasv_epsv.c:51:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 51 | port += xatou_range(ptr + 1, 0, 255) * 256; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/parse_pasv_epsv.c:62:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 62 | port = xatou_range(ptr + 1, 0, 65535); | ^~~~~~~~~~~ CC networking/ping.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:123: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:123: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:123: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'print_stats_and_exit': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:414:22: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 414 | #define tsum (G.tsum ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:456:19: note: in expansion of macro 'tsum' 456 | unsigned tavg = tsum / (nrecv + G.nrepeats); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'sendping_tail': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:432:32: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 432 | #define CLR(bit) (BYTE(bit) &= (~MASK(bit))) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:470:2: note: in expansion of macro 'CLR' 470 | CLR((uint16_t)G.ntransmitted % MAX_DUP_CHK); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:473:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 473 | size_pkt += datalen; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:408:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 408 | #define datalen (G.datalen ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:473:14: note: in expansion of macro 'datalen' 473 | size_pkt += datalen; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:483:39: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 483 | sz = xsendto(pingsock, G.snd_packet, size_pkt, &pingaddr.sa, sizeof(pingaddr)); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:404:11: warning: conversion to '__time_t' {aka 'long int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 404 | #define G (*(struct globals*)bb_common_bufsiz1) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:494:23: note: in expansion of macro 'G' 494 | i.it_value.tv_sec = G.interval_us / 1000000; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:404:11: warning: conversion to '__suseconds_t' {aka 'long int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 404 | #define G (*(struct globals*)bb_common_bufsiz1) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:495:24: note: in expansion of macro 'G' 495 | i.it_value.tv_usec = G.interval_us % 1000000; | ^ In file included from /usr/include/netinet/ip_icmp.h:125, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:122: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'sendping4': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:523:25: warning: conversion from 'long unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 523 | pkt->icmp_seq = htons(G.ntransmitted); /* don't ++ here, it can be a macro */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:531:43: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 531 | *(uint32_t*)&pkt->icmp_dun = G.cur_us = monotonic_us(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:533:57: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 533 | pkt->icmp_cksum = inet_cksum((uint16_t *) pkt, datalen + ICMP_MINLEN); | ^ In file included from /usr/include/netinet/ip_icmp.h:125, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:122: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'sendping6': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:546:26: warning: conversion from 'long unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 546 | pkt->icmp6_seq = htons(G.ntransmitted); /* don't ++ here, it can be a macro */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:550:63: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 550 | *(bb__aliased_uint32_t*)(&pkt->icmp6_data8[4]) = G.cur_us = monotonic_us(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'unpack_tail': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:617:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 617 | triptime = (int32_t) ((uint32_t)monotonic_us() - *tp); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'unpack4': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:654:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 654 | if (sz < (datalen + ICMP_MINLEN)) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:669:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 669 | if (sz >= ICMP_MINLEN + sizeof(uint32_t)) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'unpack6': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:690:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 690 | if (sz < (datalen + sizeof(struct icmp6_hdr))) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:701:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 701 | if (sz >= sizeof(struct icmp6_hdr) + sizeof(uint32_t)) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'ping4': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:735:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 735 | sockopt = (datalen * 2) + 7 * 1024; /* giving it a bit of extra room */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:410:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 410 | #define opt_ttl (G.opt_ttl ) | ~~^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:739:48: note: in expansion of macro 'opt_ttl' 739 | setsockopt_int(pingsock, IPPROTO_IP, IP_TTL, opt_ttl); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:410:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 410 | #define opt_ttl (G.opt_ttl ) | ~~^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:741:58: note: in expansion of macro 'opt_ttl' 741 | setsockopt_int(pingsock, IPPROTO_IP, IP_MULTICAST_TTL, opt_ttl); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'ping6': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:804:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 804 | sockopt = (datalen * 2) + 7 * 1024; /* giving it a bit of extra room */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:405:22: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 405 | #define if_index (G.if_index ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:815:33: note: in expansion of macro 'if_index' 815 | pingaddr.sin6.sin6_scope_id = if_index; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'common_ping_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:903:6: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 903 | opt |= getopt32(argv, "^" | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:903:9: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 903 | opt |= getopt32(argv, "^" | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:912:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 912 | if_index = if_nametoindex(str_I); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:920:15: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 920 | G.pattern = xstrtou_range(str_p, 16, 0, 255); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:923:19: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 923 | G.deadline_us = 1 | ((d * 1000000) + monotonic_us()); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:928:18: warning: conversion from 'duration_t' {aka 'double'} to 'unsigned int' may change value [-Wfloat-conversion] 928 | G.interval_us = interval * 1000000; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'ping_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:959:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 959 | int ping_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c: In function 'ping6_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ping.c:971:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 971 | int ping6_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~ CC networking/ssl_client.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ssl_client.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ssl_client.c:21: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ssl_client.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ssl_client.c: In function 'ssl_client_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/ssl_client.c:33:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 33 | opt = getopt32(argv, "es:+r:+n:", &tls->ofd, &tls->ifd, &sni); | ^~~~~~~~ CC networking/telnet.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:74: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:74: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:74: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'iac_flush': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:156:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 156 | full_write(netfd, G.iacbuf, G.iaclen); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'handle_net_output': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:256:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 256 | full_write(netfd, outbuf, dst - outbuf); | ~~~~^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'handle_net_input': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:279:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 279 | full_write(STDOUT_FILENO, G.buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:350:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 350 | full_write(STDOUT_FILENO, G.buf, cstart); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'put_iac': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:360:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 360 | G.iacbuf[iaclen] = c; /* "... & 0xff" is implicit */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'put_iac2_msb_lsb': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:366:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 366 | put_iac(x_y >> 8); /* "... & 0xff" is implicit */ | ~~~~^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:367:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 367 | put_iac(x_y); /* "... & 0xff" is implicit */ | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'put_iac_subopt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:376:85: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 376 | #define put_iac4_x_y_z_t(x,y,z,t) put_iac4_msb_lsb(((x)<<24) + ((y)<<16) + ((z)<<8) + (t)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:388:2: note: in expansion of macro 'put_iac4_x_y_z_t' 388 | put_iac4_x_y_z_t(IAC, SB, c, 0); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'put_iac_subopt_autologin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:376:85: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-383232' to '4294584064' [-Wsign-conversion] 376 | #define put_iac4_x_y_z_t(x,y,z,t) put_iac4_msb_lsb(((x)<<24) + ((y)<<16) + ((z)<<8) + (t)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:402:2: note: in expansion of macro 'put_iac4_x_y_z_t' 402 | put_iac4_x_y_z_t(IAC, SB, TELOPT_NEW_ENVIRON, TELQUAL_IS); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'put_iac_naws': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:419:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 419 | put_iac4_msb_lsb((x << 16) + y); | ~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'do_linemode': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:458:16: warning: conversion from 'int' to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 458 | G.telflags &= ~(UF_ECHO | UF_SGA); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'telopt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:567:20: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 567 | put_iac_naws(c, G.win_width, G.win_height); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:567:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 567 | put_iac_naws(c, G.win_width, G.win_height); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'telnet_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:648:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 648 | port = *argv ? bb_lookup_port(*argv++, "tcp", 23) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'handle_net_input': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:296:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 296 | if (c == '\0') | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:300:3: note: here 300 | case TS_COPY: /* Prev char was ordinary */ | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c: In function 'telnet_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnet.c:617:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 617 | int telnet_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~~ CC networking/telnetd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:118: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:118: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:118: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c: In function 'safe_write_to_pty_decode_iac': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:180:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 180 | wr = MIN(BUFSIZE - ts->wridx1, ts->size1); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:202:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 202 | wr = found - buf; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:209:8: warning: conversion to 'ssize_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 209 | rc = wr; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:213:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 213 | rc = safe_write(ts->ptyfd, buf, rc); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:216:10: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 216 | if (rc < wr /* don't look past available data */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:314:10: warning: conversion to 'ssize_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 314 | rc = wr; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:318:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 318 | ws.ws_col = (buf[3] << 8) | buf[4]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:319:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 319 | ws.ws_row = (buf[5] << 8) | buf[6]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:353:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 353 | wr = ts->wridx1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:354:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 354 | if (wr != 0 && wr < ts->rdidx1) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:359:44: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 359 | memmove(TS_BUF1(ts), TS_BUF1(ts) + wr, ts->size1); | ~~^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:360:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 360 | ts->rdidx1 -= wr; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:360:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 360 | ts->rdidx1 -= wr; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c: In function 'safe_write_double_iac': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:380:9: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 380 | rc = safe_write(fd, IACIAC, 2); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:393:9: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 393 | wr = IACptr - buf; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:394:8: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 394 | rc = safe_write(fd, buf, wr); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c: In function 'make_new_session': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:544:18: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-4097' to '4294963199' [-Wsign-conversion] 544 | termbuf.c_iflag &= ~IXOFF; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c: In function 'telnetd_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:713:60: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 713 | master_fd = create_and_bind_stream_or_die(opt_bindaddr, portnbr); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:842:87: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 842 | count = safe_write_double_iac(ts->sockfd_write, (void*)(TS_BUF2(ts) + ts->wridx2), count); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:842:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 842 | count = safe_write_double_iac(ts->sockfd_write, (void*)(TS_BUF2(ts) + ts->wridx2), count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:862:65: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 862 | count = safe_read(ts->sockfd_read, TS_BUF1(ts) + ts->rdidx1, count); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:883:59: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 883 | count = safe_read(ts->ptyfd, TS_BUF2(ts) + ts->rdidx2, count); | ^~~~~ In file included from : /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c: In function 'make_new_session': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/telnetd.c:422:37: warning: argument 'sock' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 422 | IF_FEATURE_TELNETD_STANDALONE(int sock) | ~~~~^~~~ ./include/autoconf.h:4904:45: note: in definition of macro 'IF_FEATURE_TELNETD_STANDALONE' 4904 | # define IF_FEATURE_TELNETD_STANDALONE(...) __VA_ARGS__ | ^~~~~~~~~~~ CC networking/tls.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:22: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:22: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:22: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'get24be': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:300:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 300 | return 0x100*(0x100*p[0] + p[1]) + p[2]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'tls_get_random': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:354:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'ssize_t' {aka 'int'} [-Wsign-compare] 354 | if (len != open_read_close("/dev/urandom", buf, len)) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'tls_get_outbuf': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:666:39: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 666 | tls->outbuf = xrealloc(tls->outbuf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'tls_get_zeroed_outbuf': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:674:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 674 | memset(record, 0, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'xwrite_encrypted_and_hmac_signed': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:691:15: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 691 | xhdr->type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:695:19: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 695 | xhdr->len16_hi = size >> 8; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:747:20: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 747 | xhdr->len16_hi = size >> 8; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:828:19: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 828 | xhdr->len16_hi = size >> 8; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'xwrite_encrypted_aesgcm': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:863:15: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 863 | xhdr->type = type; /* do it here so that "type" param no longer used */ | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:865:11: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 865 | aad[8] = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:868:12: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 868 | aad[11] = size >> 8; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:907:19: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 907 | xhdr->len16_hi = size >> 8; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'xwrite_handshake_record': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:933:19: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 933 | xhdr->len16_hi = size >> 8; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'tls_aesgcm_decrypt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1004:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1004 | remaining = size; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'tls_xread_record': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1037:58: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1037 | memmove(tls->inbuf, tls->inbuf + tls->ofs_to_buffered, total); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1073:41: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1073 | tls->inbuf = xrealloc(tls->inbuf, tls->inbuf_size); | ~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1075:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1075 | sz = safe_read(tls->ifd, tls->inbuf + total, rem); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1121:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1121 | p + AES_BLOCK_SIZE, sz, /* ciphertext */ | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1131:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1131 | sz -= tls->min_encrypted_len_on_read; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1131:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1131 | sz -= tls->min_encrypted_len_on_read; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1176:62: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1176 | hash_handshake(tls, "<< hash:%s", tls->inbuf + RECHDR_LEN, sz); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:388:38: note: in definition of macro 'hash_handshake' 388 | hash_handshake(tls, buffer, len) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'binary_to_pstm': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1186:42: warning: conversion to 'int32' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1186 | pstm_read_unsigned_bin(pstm_n, bin_ptr, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'find_key_in_der_cert': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1443:39: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 1443 | tls->hsd->server_rsa_pub_key.size = pstm_unsigned_bin_size(&tls->hsd->server_rsa_pub_key.N); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'fill_handshake_record_hdr': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1479:12: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1479 | h->type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1480:17: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1480 | h->len24_hi = len >> 16; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1481:17: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1481 | h->len24_mid = len >> 8; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'send_client_hello_and_alloc_hsd': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1589:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1589 | int sni_len = sni ? strnlen(sni, 127 - 5) : 0; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1593:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1593 | ext_len += sizeof(supported_groups); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1593:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1593 | ext_len += sizeof(supported_groups); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1598:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1598 | len = sizeof(*record) + 2 + ext_len; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1598:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1598 | len = sizeof(*record) + 2 + ext_len; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1601:60: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1601 | fill_handshake_record_hdr(record, HANDSHAKE_CLIENT_HELLO, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1613:11: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1613 | *ptr++ = ext_len >> 8; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1614:11: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1614 | *ptr++ = ext_len; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1619:12: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1619 | ptr[3] = sni_len + 5; //list len | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1621:12: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1621 | ptr[5] = sni_len + 3; //len of 1st SNI | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1624:12: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1624 | ptr[8] = sni_len; //name len | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1625:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1625 | ptr = mempcpy(&ptr[9], sni, sni_len); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1641:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1641 | xwrite_and_update_handshake_hash(tls, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'get_server_hello': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1743:19: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1743 | tls->cipher_id = 0x100 * cipherid[0] + cipherid1; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'get_server_cert': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1816:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1816 | len1 = get24be(certbuf + 1); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1819:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1819 | len1 = get24be(certbuf + 4); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1822:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1822 | len1 = get24be(certbuf + 7); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'process_server_key': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1876:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1876 | len1 = get24be(keybuf + 1); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'send_client_key_exchange': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1951:20: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1951 | record->key[0] = len >> 8; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1952:20: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1952 | record->key[1] = len & 0xff; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1967:35: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1967 | privkey[CURVE25519_KEYSIZE-1] = ((privkey[CURVE25519_KEYSIZE-1] & 0x7f) | 0x40); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1977:20: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1977 | record->key[0] = len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1985:22: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1985 | record->len24_mid = len >> 8; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1986:22: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1986 | record->len24_lo = len & 0xff; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:1990:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1990 | xwrite_and_update_handshake_hash(tls, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:2004:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2004 | premaster, premaster_size, | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'tls_xwrite': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:2297:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2297 | xwrite_encrypted(tls, len, RECORD_TYPE_APPLICATION_DATA); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c: In function 'tls_run_copy_loop': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:2332:41: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2332 | nread = safe_read(STDIN_FILENO, buf, inbuf_size); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.c:2374:51: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2374 | xwrite(STDOUT_FILENO, tls->inbuf + RECHDR_LEN, nread); | ^~~~~ CC networking/tls_aes.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:41: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:41: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c: In function 'Subword': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:123:2: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 120 | return (sbox[(x >> 24) ] << 24) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | | (sbox[(x >> 16) & 255] << 16) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 122 | | (sbox[(x >> 8 ) & 255] << 8 ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 123 | | (sbox[(x ) & 255] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c: In function 'KeyExpansion': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:144:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 144 | words_key = key_len / 4; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:145:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 145 | rounds = 6 + (key_len / 4); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:146:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 146 | words_RoundKey = 28 + key_len; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c: In function 'aes_setkey': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:348:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 348 | aes->rounds = KeyExpansion(aes->key, key, key_len); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c: In function 'aes_encrypt_one_block': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:363:11: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 363 | ct[i] = astate[i]; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c: In function 'aes_cbc_encrypt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:386:22: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 386 | iv2[i] = ct[i] = astate[i]; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c: In function 'aes_cbc_decrypt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:451:17: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 451 | ivnext[i] = astate[i] = ct[i]; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aes.c:454:13: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 454 | pt[i] = astate[i] ^ ivbuf[i]; | ^~~~~~ CC networking/tls_aesgcm.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aesgcm.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aesgcm.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aesgcm.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aesgcm.c: In function 'RIGHTSHIFTX': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aesgcm.c:82:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 82 | for (i = 0; i < AES_BLOCK_SIZE/sizeof(long); i++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aesgcm.c: In function 'GMULT': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_aesgcm.c:112:22: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 112 | uint32_t y = 0x800000 | Y[i]; | ^~~~~~~~ CC networking/tls_fe.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:6: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c: In function 'lm_sub': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:263:10: warning: conversion from 'word32' {aka 'unsigned int'} to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 263 | r[i] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:273:10: warning: conversion from 'word32' {aka 'unsigned int'} to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 273 | r[i] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c: In function 'fe_mul__distinct': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:320:10: warning: conversion from 'word32' {aka 'unsigned int'} to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 320 | r[i] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:328:10: warning: conversion from 'word32' {aka 'unsigned int'} to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 328 | r[i] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c: In function 'fe_mul_c': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:351:10: warning: conversion from 'word32' {aka 'unsigned int'} to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 351 | r[i] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:360:10: warning: conversion from 'word32' {aka 'unsigned int'} to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 360 | r[i] = c; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c: In function 'curve25519': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:597:27: warning: conversion from 'int' to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 597 | fe_select(xm1, xm1, xm, bit); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:598:27: warning: conversion from 'int' to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 598 | fe_select(zm1, zm1, zm, bit); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:599:26: warning: conversion from 'int' to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 599 | fe_select(xm, xm, xms, bit); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_fe.c:600:26: warning: conversion from 'int' to 'byte' {aka 'unsigned char'} may change value [-Wconversion] 600 | fe_select(zm, zm, zms, bit); | ^~~ CC networking/tls_pstm.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:6: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_init_size': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:72:13: warning: conversion to 'int' from 'uint32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 72 | a->alloc = size; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_grow': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:142:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 142 | tmp = xrealloc(a->dp, sizeof (pstm_digit) * size);//bbox | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_init_for_read_unsigned_bin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:396:33: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 396 | return pstm_init_size(pool, a, size); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_read_unsigned_bin': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:423:22: warning: conversion to 'unsigned int' from 'int32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 423 | uint32 excess = c - (PSTM_MAX_SIZE * sizeof(pstm_digit)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:424:6: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 424 | c -= excess; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:424:9: warning: conversion to 'int32' {aka 'int'} from 'uint32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 424 | c -= excess; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:427:17: warning: conversion to 'unsigned int' from 'int32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 427 | a->used = ((c + sizeof(pstm_digit) - 1)/sizeof(pstm_digit)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:427:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 427 | a->used = ((c + sizeof(pstm_digit) - 1)/sizeof(pstm_digit)); | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:103, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_mul_2d': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.h:96:21: warning: conversion to 'pstm_digit' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 96 | #define DIGIT_BIT 32 | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:963:11: note: in expansion of macro 'DIGIT_BIT' 963 | shift = DIGIT_BIT - b; | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_init_copy': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1227:37: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1227 | if ((res = pstm_init_size(pool, a, x)) != PSTM_OKAY) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_div': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1344:40: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1344 | if ((res = pstm_init_size(pool, &t1, a->alloc)) != PSTM_OKAY) { | ~^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1356:46: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1356 | if ((res = pstm_init_size(pool, &y, b->used * 3)) != PSTM_OKAY) { | ~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1385:44: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1385 | if ((res = pstm_init_size(pool, &q, n - t + 1)) != PSTM_OKAY) { | ~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_mod': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1550:39: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1550 | if ((err = pstm_init_size(pool, &t, b->alloc)) != PSTM_OKAY) { | ~^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_mulmod': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1586:40: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1586 | if ((res = pstm_init_size(pool, &tmp, size)) != PSTM_OKAY) { | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c: In function 'pstm_exptmod': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1627:54: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1627 | if ((err = pstm_init_size(pool, &res, (P->used * 2) + 1)) != PSTM_OKAY) { | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1643:44: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1643 | if ((err = pstm_init_size(pool, &M[1], res.used)) != PSTM_OKAY) { | ~~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1664:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1664 | paDlen = ((M[1].used + 3) * 2) * sizeof(pstm_digit); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1687:66: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1687 | if ((err = pstm_init_size(pool, &M[x], M[1<<(winsize-1)].alloc + 1)) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:84:58: note: in definition of macro 'pstm_init_size' 84 | #define pstm_init_size(pool, a, size) (pstm_init_size(a, size), PSTM_OKAY) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.c:1729:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1729 | y = (pstm_digit)(buf >> (DIGIT_BIT - 1)) & 1; | ^ CC networking/tls_pstm_montgomery_reduce.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_montgomery_reduce.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_montgomery_reduce.c:6: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_montgomery_reduce.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_montgomery_reduce.c: In function 'pstm_montgomery_reduce': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_montgomery_reduce.c:356:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 356 | if (paD && paDlen >= (uint32)2*pa+1) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_montgomery_reduce.c:360:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 360 | c = xzalloc(2*pa+1);//bbox | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_montgomery_reduce.c:420:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 420 | if (paDlen < (uint32)2*pa+1) { | ^ CC networking/tls_pstm_mul_comba.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_mul_comba.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_mul_comba.c:6: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_mul_comba.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_mul_comba.c: In function 'pstm_mul_comba_gen': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_mul_comba.c:252:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 252 | if (paDlen < (sizeof(pstm_digit) * pa)) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_mul_comba.c:254:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 254 | dst = xzalloc(sizeof(pstm_digit) * pa);//bbox | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_mul_comba.c:260:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 260 | dst = xzalloc(sizeof(pstm_digit) * pa);//bbox | ^ CC networking/tls_pstm_sqr_comba.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_sqr_comba.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_sqr_comba.c:6: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_sqr_comba.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_sqr_comba.c: In function 'pstm_sqr_comba_gen': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_sqr_comba.c:473:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 473 | if (paDlen < (sizeof(pstm_digit) * pa)) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_sqr_comba.c:475:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 475 | dst = xzalloc(sizeof(pstm_digit) * pa);//bbox | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm_sqr_comba.c:481:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 481 | dst = xzalloc(sizeof(pstm_digit) * pa);//bbox | ^ CC networking/tls_rsa.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:6: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c: In function 'pkcs1Pad': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:23:14: warning: conversion to 'int32' {aka 'int'} from 'uint32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 23 | randomLen = outlen - 3 - inlen; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:56:9: warning: conversion to 'int32' {aka 'int'} from 'uint32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 56 | return outlen; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c: In function 'psRsaCrypt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:83:56: warning: conversion to 'int32' {aka 'int'} from 'uint32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 83 | if (pstm_read_unsigned_bin(&tmp, (unsigned char *)in, inlen) != PS_SUCCESS){ | ^~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:103, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:94:42: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 94 | if (pstm_init_size(pool, &tmpa, key->p.alloc) != PS_SUCCESS) { | ~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.h:150:33: note: in definition of macro 'pstm_init_size' 150 | pstm_init_size( a, size) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:98:42: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 98 | if (pstm_init_size(pool, &tmpb, key->q.alloc) != PS_SUCCESS) { | ~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.h:150:33: note: in definition of macro 'pstm_init_size' 150 | pstm_init_size( a, size) | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:147:6: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 147 | x = pstm_unsigned_bin_size(&key->N); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls.h:103, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:6: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:164:45: warning: conversion to 'uint32' {aka 'unsigned int'} from 'int32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 164 | if (pstm_to_unsigned_bin(pool, &tmp, out+(x-pstm_unsigned_bin_size(&tmp))) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_pstm.h:241:39: note: in definition of macro 'pstm_to_unsigned_bin' 241 | pstm_to_unsigned_bin( a, b) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c: In function 'psRsaEncryptPub': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/tls_rsa.c:212:9: warning: conversion to 'int32' {aka 'int'} from 'uint32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 212 | return size; | ^~~~ CC networking/traceroute.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:319: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:319: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:319: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c: In function 'wait_for_reply': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:437:7: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 437 | t = monotonic_us(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:438:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 438 | *left_ms -= (t - *timestamp_us) / 1000; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:438:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 438 | *left_ms -= (t - *timestamp_us) / 1000; | ^ In file included from /usr/include/arpa/inet.h:22, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:303: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c: In function 'send_probe': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:456:23: warning: conversion to '__uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 456 | pkt->seq6 = htonl(seq); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:461:18: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 461 | outdata->seq = seq; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:462:18: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 462 | outdata->ttl = ttl; | ^~~ In file included from /usr/include/arpa/inet.h:22, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:303: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:467:30: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 467 | outicmp->icmp_seq = htons(seq); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:525:41: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 525 | set_nport(&dest_lsa->u.sa, htons(port + seq)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:528:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 528 | res = xsendto(sndsock, out, len, &dest_lsa->u.sa, dest_lsa->len); | ^~~ In file included from /usr/include/arpa/inet.h:22, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:303: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c: In function 'packet4_ok': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:407:21: warning: conversion from 'uint32_t' {aka 'unsigned int'} to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 407 | #define ident (G.ident ) | ~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:616:30: note: in expansion of macro 'ident' 616 | && icp->icmp_id == htons(ident) | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:617:31: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 617 | && icp->icmp_seq == htons(seq) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:407:21: warning: conversion from 'uint32_t' {aka 'unsigned int'} to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 407 | #define ident (G.ident ) | ~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:625:32: note: in expansion of macro 'ident' 625 | && hicmp->icmp_id == htons(ident) | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:626:33: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 626 | && hicmp->icmp_seq == htons(seq) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:638:31: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 638 | && up->dest == htons(port + seq) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:654:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 654 | for (i = 4; i < read_len; i += sizeof(*lp)) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:654:34: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 654 | for (i = 4; i < read_len; i += sizeof(*lp)) | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c: In function 'packet_ok': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:703:25: warning: comparison of integer expressions of different signedness: '__uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 703 | && ntohl(pkt->seq6) == seq | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:729:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 729 | read_len -= sizeof(struct icmp6_hdr); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:729:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 729 | read_len -= sizeof(struct icmp6_hdr); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c: In function 'print': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:792:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 792 | read_len -= sizeof(struct ip6_hdr); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:792:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 792 | read_len -= sizeof(struct ip6_hdr); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c: In function 'common_traceroute_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:850:5: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 850 | op |= getopt32(argv, "^" | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:850:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 850 | op |= getopt32(argv, "^" | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:864:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 864 | tos = xatou_range(tos_str, 0, 255); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:867:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 867 | max_ttl = xatou_range(max_ttl_str, 1, 255); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:871:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 871 | nprobes = xatou_range(nprobes_str, 1, INT_MAX); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:881:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 881 | waittime = xatou_range(waittime_str, 1, 24 * 60 * 60); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:885:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 885 | first_ttl = xatou_range(first_ttl_str, 1, max_ttl); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:885:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 885 | first_ttl = xatou_range(first_ttl_str, 1, max_ttl); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:912:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 912 | packlen = xatoul_range(argv[1], minpacket, 32 * 1024); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:912:13: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 912 | packlen = xatoul_range(argv[1], minpacket, 32 * 1024); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:405:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 405 | #define packlen (G.packlen ) | ~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:969:18: note: in expansion of macro 'packlen' 969 | outip = xzalloc(packlen); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:971:10: warning: conversion to 'uint32_t' {aka 'unsigned int'} from '__pid_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 971 | ident = getpid(); | ^~~~~~ In file included from /usr/include/arpa/inet.h:22, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:303: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:407:21: warning: conversion from 'uint32_t' {aka 'unsigned int'} to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 407 | #define ident (G.ident ) | ~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:977:29: note: in expansion of macro 'ident' 977 | outicmp->icmp_id = htons(ident); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:1055:44: warning: conversion to 'int' from 'socklen_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1055 | from_lsa = xmemdup(dest_lsa, LSA_LEN_SIZE + dest_lsa->len); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/traceroute.c:1078:14: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 1078 | t2 = t1 = monotonic_us(); | ^~~~~~~~~~~~ CC networking/wget.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:165: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:165: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:165: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'progress_meter': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:313:5: warning: conversion to 'uoff_t' {aka 'long long unsigned int'} from 'off_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 313 | G.beg_range, | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:314:5: warning: conversion to 'uoff_t' {aka 'long long unsigned int'} from 'off_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 314 | G.transferred, | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:315:35: warning: conversion to 'uoff_t' {aka 'long long unsigned int'} from 'off_t' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] 315 | (G.chunked || !G.got_clen) ? 0 : G.beg_range + G.transferred + G.content_len | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'base64enc': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:372:31: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 372 | bb_uuencode(G.wget_buf, str, len, bb_uuenc_tbl_base64); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'spawn_ssl_client': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:763:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 763 | tls_run_copy_loop(tls, flags); | ^~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:165: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'prepare_ftp_session': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:276:23: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 276 | # define BB_STRTOOFF bb_strtoull | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:829:19: note: in expansion of macro 'BB_STRTOOFF' 829 | G.content_len = BB_STRTOOFF(G.wget_buf + 4, NULL, 10); | ^~~~~~~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:165: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:848:30: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 848 | set_nport(&lsa->u.sa, htons(port)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'retrieve_file_data': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:938:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 938 | n = fread(G.wget_buf, 1, rdsz, dfp); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:941:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 941 | xwrite(G.output_fd, G.wget_buf, n); | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:165: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:277:20: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 277 | # define STRTOOFF strtoull | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1007:19: note: in expansion of macro 'STRTOOFF' 1007 | G.content_len = STRTOOFF(G.wget_buf, NULL, 16); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'download_one_url': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1349:10: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 1349 | key = index_in_strings(keywords, G.wget_buf) + 1; | ^~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:165: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:276:23: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 276 | # define BB_STRTOOFF bb_strtoull | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1351:21: note: in expansion of macro 'BB_STRTOOFF' 1351 | G.content_len = BB_STRTOOFF(str, NULL, 10); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'wget_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1525:9: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1525 | size += strlen(ll->data) + 2; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1525:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1525 | size += strlen(ll->data) + 2; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1528:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1528 | G.extra_headers = hdr = xmalloc(size + 1); | ~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1540:24: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 1540 | G.user_headers |= bit; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1556:18: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-2' to '4294967294' [-Wsign-conversion] 1556 | option_mask32 &= ~WGET_OPT_CONTINUE; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'prepare_ftp_session': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:818:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 818 | if (ftpcmd("PASS ", pass, sfp) == 230) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:821:2: note: here 821 | default: | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c: In function 'retrieve_file_data': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/wget.c:1043:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1043 | ftruncate(G.output_fd, pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ AR networking/lib.a LD networking/libiproute/built-in.o CC networking/libiproute/ip_parse_common_args.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_parse_common_args.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_parse_common_args.c:14: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_parse_common_args.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_parse_common_args.c:15: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ CC networking/libiproute/ipaddress.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:14: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:17: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c: In function 'print_link_flags': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:60:8: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-65' to '4294967231' [-Wsign-conversion] 60 | flags &= ~IFF_RUNNING; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:72:57: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 72 | flags = print_flags_separated(flag_masks, flag_labels, flags, ","); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:72:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 72 | flags = print_flags_separated(flag_masks, flag_labels, flags, ","); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c: In function 'print_linkinfo': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:105:12: warning: conversion to 'int' from '__u32' {aka 'const unsigned int'} may change the sign of the result [-Wsign-conversion] 105 | int len = n->nlmsg_len; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:110:6: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 110 | len -= NLMSG_LENGTH(sizeof(*ifi)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:110:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 110 | len -= NLMSG_LENGTH(sizeof(*ifi)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:184:4: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 184 | fputs(ll_addr_n2a(RTA_DATA(tb[IFLA_ADDRESS]), | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:194:4: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 194 | fputs(ll_addr_n2a(RTA_DATA(tb[IFLA_BROADCAST]), | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c: In function 'print_addrinfo': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:219:12: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 219 | int len = n->nlmsg_len; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:224:6: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 224 | len -= NLMSG_LENGTH(sizeof(*ifa)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:224:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 224 | len -= NLMSG_LENGTH(sizeof(*ifa)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:234:59: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 234 | parse_rtattr(rta_tb, IFA_MAX, IFA_RTA(ifa), n->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa))); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:241:43: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 241 | if (G_filter.ifindex && G_filter.ifindex != ifa->ifa_index) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:252:32: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 252 | label = ll_index_to_name(ifa->ifa_index); | ~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:269:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 269 | if (NLMSG_ALIGN(G_filter.flushp) + n->nlmsg_len > G_filter.flushe) { | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:269:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 269 | if (NLMSG_ALIGN(G_filter.flushp) + n->nlmsg_len > G_filter.flushe) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:273:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 273 | fn = (struct nlmsghdr*)(G_filter.flushb + NLMSG_ALIGN(G_filter.flushp)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:287:56: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 287 | printf("%u: %s", ifa->ifa_index, ll_index_to_name(ifa->ifa_index)); | ~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:326:21: warning: conversion from 'int' to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 326 | ifa->ifa_flags &= ~IFA_F_SECONDARY; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:330:21: warning: conversion from 'int' to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 330 | ifa->ifa_flags &= ~IFA_F_TENTATIVE; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:334:21: warning: conversion from 'int' to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 334 | ifa->ifa_flags &= ~IFA_F_DADFAILED; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:338:21: warning: conversion from 'int' to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 338 | ifa->ifa_flags &= ~IFA_F_DEPRECATED; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:344:21: warning: conversion from 'int' to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 344 | ifa->ifa_flags &= ~IFA_F_PERMANENT; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c: In function 'print_selected_addrinfo': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:384:22: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 384 | if (ifa->ifa_index != ifindex | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c: In function 'ipaddr_reset_filter': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:417:21: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 417 | G_filter.oneline = _oneline; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c: In function 'ipaddr_list_or_flush': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:447:25: warning: conversion from 'int' to 'smalluint' {aka 'const unsigned char'} may change value [-Wconversion] 447 | const smalluint key = index_in_strings(option, *argv); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:45:18: warning: conversion to 'family_t' {aka 'signed char'} from 'uint8_t' {aka 'unsigned char'} may change the sign of the result [-Wsign-conversion] 45 | #define G_filter (*(filter_t*)bb_common_bufsiz1) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:452:23: note: in expansion of macro 'G_filter' 452 | G_filter.family = G_filter.pfx.family; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:465:21: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 465 | G_filter.scope = scope; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:529:24: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 529 | if (ifa->ifa_index != ifi->ifi_index | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:541:46: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 541 | parse_rtattr(tb, IFA_MAX, IFA_RTA(ifa), IFA_PAYLOAD(n)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:558:36: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 558 | label = ll_index_to_name(ifa->ifa_index); | ~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c: In function 'ipaddr_modify': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:626:22: warning: conversion from 'int' to '__u16' {aka 'short unsigned int'} may change value [-Wconversion] 626 | req.n.nlmsg_flags = NLM_F_REQUEST | flags; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:627:21: warning: conversion from 'int' to '__u16' {aka 'short unsigned int'} may change value [-Wconversion] 627 | req.n.nlmsg_type = cmd; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:628:23: warning: conversion to '__u8' {aka 'unsigned char'} from 'family_t' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 628 | req.ifa.ifa_family = preferred_family; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:631:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 631 | unsigned arg = index_in_strings(option, *argv); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:646:28: warning: conversion from 'int16_t' {aka 'short int'} to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 646 | req.ifa.ifa_prefixlen = peer.bitlen; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:679:24: warning: conversion from 'uint32_t' {aka 'unsigned int'} to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 679 | req.ifa.ifa_scope = scope; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:685:59: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 685 | addattr_l(&req.n, sizeof(req), IFA_LABEL, l, strlen(l) + 1); | ~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:714:27: warning: conversion from 'int16_t' {aka 'short int'} to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 714 | req.ifa.ifa_prefixlen = lcl.bitlen; | ^~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:726:28: warning: conversion to '__uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 726 | brd.data[0] |= htonl(1<<(31-i)); | ~^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:728:29: warning: conversion to '__uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 728 | brd.data[0] &= ~htonl(1<<(31-i)); | ~^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:735:23: warning: conversion from 'int' to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 735 | req.ifa.ifa_scope = default_scope(&lcl); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipaddress.c:741:22: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 741 | req.ifa.ifa_index = xll_name_to_index(d); | ^~~~~~~~~~~~~~~~~ CC networking/libiproute/iplink.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:14: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:16: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c: In function 'do_chflags': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:81:21: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 81 | if ((ifr.ifr_flags ^ flags) & mask) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:82:17: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 82 | ifr.ifr_flags &= ~mask; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:82:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'short int' may change value [-Wconversion] 82 | ifr.ifr_flags &= ~mask; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:83:17: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 83 | ifr.ifr_flags |= mask & flags; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:83:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'short int' may change value [-Wconversion] 83 | ifr.ifr_flags |= mask & flags; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c: In function 'set_master': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:145:21: warning: conversion to 'unsigned char' from 'family_t' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 145 | req.i.ifi_family = preferred_family; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c: In function 'parse_address': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:189:30: warning: conversion from 'int' to 'sa_family_t' {aka 'short unsigned int'} may change value [-Wconversion] 189 | ifr->ifr_hwaddr.sa_family = hatype; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c: In function 'do_set': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:250:9: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 250 | key = index_in_substrings(keywords, *argv); | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:256:10: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-2' to '4294967294' [-Wsign-conversion] 256 | flags &= ~IFF_UP; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:264:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 264 | mtu = get_unsigned(*argv, "mtu"); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:270:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 270 | qlen = get_unsigned(*argv, "qlen"); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:299:12: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-4097' to '4294963199' [-Wsign-conversion] 299 | flags &= ~IFF_MULTICAST; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:305:12: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-129' to '4294967167' [-Wsign-conversion] 305 | flags &= ~IFF_NOARP; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:315:12: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-257' to '4294967039' [-Wsign-conversion] 315 | flags &= ~IFF_PROMISC; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c: In function 'vlan_parse_opt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:519:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 519 | addattr_l(n, size, IFLA_VLAN_ID, &id, sizeof(id)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:529:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 529 | addattr_l(n, size, IFLA_VLAN_PROTOCOL, &proto, sizeof(proto)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:537:17: warning: unsigned conversion from 'int' to '__u32' {aka 'unsigned int'} changes value from '-2' to '4294967294' [-Wsign-conversion] 537 | flags.flags &= ~VLAN_FLAG_REORDER_HDR; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:542:17: warning: unsigned conversion from 'int' to '__u32' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-Wsign-conversion] 542 | flags.flags &= ~VLAN_FLAG_GVRP; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:547:17: warning: unsigned conversion from 'int' to '__u32' {aka 'unsigned int'} changes value from '-9' to '4294967287' [-Wsign-conversion] 547 | flags.flags &= ~VLAN_FLAG_MVRP; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:552:17: warning: unsigned conversion from 'int' to '__u32' {aka 'unsigned int'} changes value from '-5' to '4294967291' [-Wsign-conversion] 552 | flags.flags &= ~VLAN_FLAG_LOOSE_BINDING; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:561:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 561 | addattr_l(n, size, IFLA_VLAN_FLAGS, &flags, sizeof(flags)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c: In function 'vrf_parse_opt': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:579:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 579 | addattr_l(n, size, IFLA_VRF_TABLE, &table, sizeof(table)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c: In function 'do_add_or_delete': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:615:21: warning: conversion from 'unsigned int' to '__u16' {aka 'short unsigned int'} may change value [-Wconversion] 615 | req.n.nlmsg_type = rtm; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:616:21: warning: conversion to 'unsigned char' from 'family_t' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 616 | req.i.ifi_family = preferred_family; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:623:9: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 623 | arg = index_in_substrings(keywords, *argv); | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:660:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 660 | strlen(type_str)); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:671:20: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 671 | data->rta_len = (void *)NLMSG_TAIL(&req.n) - (void *)data; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:674:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 674 | linkinfo->rta_len = (void *)NLMSG_TAIL(&req.n) - (void *)linkinfo; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iplink.c:706:57: warning: conversion to 'int' from 'size_t' {aka 'const unsigned int'} may change the sign of the result [-Wsign-conversion] 706 | addattr_l(&req.n, sizeof(req), IFLA_IFNAME, name_str, name_len); | ^~~~~~~~ CC networking/libiproute/ipneigh.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c: In function 'print_neigh': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:96:12: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 96 | int len = n->nlmsg_len; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:104:6: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 104 | len -= NLMSG_LENGTH(sizeof(*r)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:104:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 104 | len -= NLMSG_LENGTH(sizeof(*r)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:124:53: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 124 | parse_rtattr(tb, NDA_MAX, NDA_RTA(r), n->nlmsg_len - NLMSG_LENGTH(sizeof(*r))); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:144:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 144 | if (NLMSG_ALIGN(G_filter.flushp) + n->nlmsg_len > G_filter.flushe) { | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:144:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 144 | if (NLMSG_ALIGN(G_filter.flushp) + n->nlmsg_len > G_filter.flushe) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:148:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 148 | fn = (struct nlmsghdr*)(G_filter.flushb + NLMSG_ALIGN(G_filter.flushp)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:171:7: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 171 | RTA_PAYLOAD(tb[NDA_LLADDR]), | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:183:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 183 | int hz = get_hz(); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:187:40: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 187 | printf(" used %d/%d/%d", ci->ndm_used/hz, | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:188:27: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 188 | ci->ndm_confirmed/hz, ci->ndm_updated/hz); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:188:47: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 188 | ci->ndm_confirmed/hz, ci->ndm_updated/hz); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c: In function 'ipneigh_list_or_flush': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:265:13: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] 265 | state = ~0; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:267:12: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-65' to '4294967231' [-Wsign-conversion] 267 | state &= ~NUD_NOARP; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:273:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 273 | G_filter.state |= state; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:273:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 273 | G_filter.state |= state; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:46:18: warning: conversion from 'int' to '__u8' {aka 'unsigned char'} may change value [-Wconversion] 46 | #define G_filter (*(filter_t*)bb_common_bufsiz1) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ipneigh.c:325:19: note: in expansion of macro 'G_filter' 325 | ndm.ndm_family = G_filter.family; | ^~~~~~~~ CC networking/libiproute/iproute.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:15: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c: In function 'print_route': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:71:12: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 71 | int len = n->nlmsg_len; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:85:6: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 85 | len -= NLMSG_LENGTH(sizeof(*r)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:85:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 85 | len -= NLMSG_LENGTH(sizeof(*r)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:128:38: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 128 | if (G_filter.tb > 0 && G_filter.tb != tid) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:215:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 215 | if (NLMSG_ALIGN(G_filter.flushp) + n->nlmsg_len > G_filter.flushe) { | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:215:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 215 | if (NLMSG_ALIGN(G_filter.flushp) + n->nlmsg_len > G_filter.flushe) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:219:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 219 | fn = (void*)(G_filter.flushb + NLMSG_ALIGN(G_filter.flushp)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:281:40: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 281 | printf("table %s ", rtnl_rttable_n2a(tid)); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:323:46: warning: conversion to 'unsigned int' from '__s32' {aka 'int'} may change the sign of the result [-Wsign-conversion] 323 | printf(" expires %dsec", ci->rta_expires / get_hz()); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c: In function 'iproute_modify': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:397:22: warning: conversion from 'unsigned int' to '__u16' {aka 'short unsigned int'} may change value [-Wconversion] 397 | req.n.nlmsg_flags = NLM_F_REQUEST | flags; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:398:21: warning: conversion from 'int' to '__u16' {aka 'short unsigned int'} may change value [-Wconversion] 398 | req.n.nlmsg_type = cmd; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:399:21: warning: conversion to 'unsigned char' from 'family_t' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 399 | req.r.rtm_family = preferred_family; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:457:22: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 457 | req.r.rtm_scope = scope; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:464:25: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 464 | req.r.rtm_protocol = prot; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:478:23: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 478 | req.r.rtm_table = tid; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:502:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 502 | req.r.rtm_type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:513:24: warning: conversion from 'int16_t' {aka 'short int'} to 'unsigned char' may change value [-Wconversion] 513 | req.r.rtm_dst_len = dst.bitlen; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:683:44: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 683 | addattr32(&req.n, sizeof(req), RTA_OIF, idx); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:691:64: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 691 | addattr_l(&req.n, sizeof(req), RTA_METRICS, RTA_DATA(mxrta), RTA_PAYLOAD(mxrta)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c: In function 'rtnl_rtcache_request': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:742:23: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 742 | req.rtm.rtm_family = family; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c: In function 'iproute_list_or_flush': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:845:19: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 845 | G_filter.tb = tid; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:864:21: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 864 | G_filter.scope = scope; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c: In function 'iproute_get': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:984:21: warning: conversion to 'unsigned char' from 'family_t' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 984 | req.r.rtm_family = preferred_family; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1007:25: warning: conversion from 'int16_t' {aka 'short int'} to 'unsigned char' may change value [-Wconversion] 1007 | req.r.rtm_src_len = addr.bitlen; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1037:25: warning: conversion from 'int16_t' {aka 'short int'} to 'unsigned char' may change value [-Wconversion] 1037 | req.r.rtm_dst_len = addr.bitlen; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1056:44: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1056 | addattr32(&req.n, sizeof(req), RTA_IIF, idx); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1060:44: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1060 | addattr32(&req.n, sizeof(req), RTA_OIF, idx); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1074:13: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1074 | int len = req.n.nlmsg_len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1082:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1082 | len -= NLMSG_LENGTH(sizeof(*r)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1082:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1082 | len -= NLMSG_LENGTH(sizeof(*r)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1092:21: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 1092 | r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:15: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:56:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 56 | #define NEXT_ARG() do { argv = next_arg(argv); } while (0) | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1026:5: note: in expansion of macro 'NEXT_ARG' 1026 | NEXT_ARG(); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iproute.c:1027:4: note: here 1027 | default: | ^~~~~~~ CC networking/libiproute/iprule.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:23: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:23: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:23: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c: In function 'print_rule': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:55:12: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 55 | int len = n->nlmsg_len; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:62:6: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 62 | len -= NLMSG_LENGTH(sizeof(*r)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:62:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 62 | len -= NLMSG_LENGTH(sizeof(*r)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:130:41: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 130 | printf("lookup %s ", rtnl_rttable_n2a(*(uint32_t*)RTA_DATA(tb[RTA_TABLE]))); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:137:12: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 137 | int pl = *(uint32_t*)RTA_DATA(tb[FRA_SUPPRESS_PREFIXLEN]); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:142:13: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 142 | int grp = *(uint32_t*)RTA_DATA(tb[FRA_SUPPRESS_IFGROUP]); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:153:22: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 153 | rtnl_rtrealm_n2a(from)); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:156:21: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 156 | rtnl_rtrealm_n2a(to)); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c: In function 'iprule_modify': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:213:21: warning: conversion from 'int' to '__u16' {aka 'short unsigned int'} may change value [-Wconversion] 213 | req.n.nlmsg_type = cmd; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:216:21: warning: conversion to 'unsigned char' from 'family_t' {aka 'signed char'} may change the sign of the result [-Wsign-conversion] 216 | req.r.rtm_family = preferred_family; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:230:9: warning: conversion from 'int' to 'smalluint' {aka 'unsigned char'} may change value [-Wconversion] 230 | key = index_in_substrings(keywords, *argv) + 1; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:237:24: warning: conversion from 'int16_t' {aka 'short int'} to 'unsigned char' may change value [-Wconversion] 237 | req.r.rtm_src_len = dst.bitlen; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:243:24: warning: conversion from 'int16_t' {aka 'short int'} to 'unsigned char' may change value [-Wconversion] 243 | req.r.rtm_dst_len = dst.bitlen; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:258:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 258 | req.r.rtm_tos = tos; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:284:23: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 284 | req.r.rtm_table = tid; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:290:20: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 290 | prefix_length = get_u32(*argv, keyword_suppress_prefixlength); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:291:59: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 291 | addattr32(&req.n, sizeof(req), FRA_SUPPRESS_PREFIXLEN, prefix_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:295:10: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 295 | grp = get_u32(*argv, keyword_suppress_ifgroup); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:296:57: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 296 | addattr32(&req.n, sizeof(req), FRA_SUPPRESS_IFGROUP, grp); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:301:64: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 301 | addattr_l(&req.n, sizeof(req), RTA_IIF, *argv, strlen(*argv)+1); | ~~~~~~~~~~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iprule.c:318:21: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 318 | req.r.rtm_type = type; | ^~~~ CC networking/libiproute/iptunnel.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:64: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:64: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:64: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:66: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c: In function 'parse_args': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:297:18: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 297 | p->iph.ttl = uval; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:308:18: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 308 | p->iph.tos = uval; | ^~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ip_common.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:64: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c: In function 'do_tunnels_list': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:210:28: warning: ignoring return value of 'fgets_unlocked' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | # define fgets(s,n,stream) fgets_unlocked(s,n,stream) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:477:2: note: in expansion of macro 'fgets' 477 | fgets(buf, sizeof(buf), fp); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:210:28: warning: ignoring return value of 'fgets_unlocked' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | # define fgets(s,n,stream) fgets_unlocked(s,n,stream) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/iptunnel.c:478:2: note: in expansion of macro 'fgets' 478 | fgets(buf, sizeof(buf), fp); | ^~~~~ CC networking/libiproute/libnetlink.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:13: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:13: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:13: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'xrtnl_open': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:34:13: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 34 | rth->seq = time(NULL); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'xrtnl_wilddump_request': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:45:23: warning: conversion from 'int' to '__u16' {aka 'short unsigned int'} may change value [-Wconversion] 45 | req.nlh.nlmsg_type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:49:23: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 49 | req.g.rtgen_family = family; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'rtnl_send_check': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:63:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 63 | status = write(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:77:10: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 77 | h = NLMSG_NEXT(h, status) | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:77:10: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'rtnl_dump_request': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:99:60: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 99 | struct iovec iov[2] = { { &s.nlh, sizeof(s.nlh) }, { req, len } }; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:113:20: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 113 | s.nlh.nlmsg_len = NLMSG_LENGTH(len); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:114:21: warning: conversion from 'int' to '__u16' {aka 'short unsigned int'} may change value [-Wconversion] 114 | s.nlh.nlmsg_type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'rtnl_dump_filter': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:201:8: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 201 | h = NLMSG_NEXT(h, status); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:201:8: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'rtnl_talk': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:295:14: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 295 | int len = h->nlmsg_len; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:296:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 296 | int l = len - sizeof(*h); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:296:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 296 | int l = len - sizeof(*h); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:343:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 343 | status -= NLMSG_ALIGN(len); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:343:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 343 | status -= NLMSG_ALIGN(len); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:343:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 343 | status -= NLMSG_ALIGN(len); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:344:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 344 | h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len)); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'addattr32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:366:37: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 366 | if ((int)(NLMSG_ALIGN(n->nlmsg_len + len)) > maxlen) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:370:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 370 | rta->rta_type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:371:17: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 371 | rta->rta_len = len; | ^~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:373:42: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 373 | n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len + len); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'addattr_l': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:379:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 379 | int len = RTA_LENGTH(alen); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:379:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:382:37: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 382 | if ((int)(NLMSG_ALIGN(n->nlmsg_len + len)) > maxlen) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:386:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 386 | rta->rta_type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:387:17: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 387 | rta->rta_len = len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:388:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 388 | memcpy(RTA_DATA(rta), data, alen); | ^~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:8, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:389:42: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 389 | n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len + len); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'rta_addattr32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:398:6: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 398 | if (RTA_ALIGN(rta->rta_len + len) > maxlen) { | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:398:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 398 | if (RTA_ALIGN(rta->rta_len + len) > maxlen) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:402:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 402 | subrta->rta_type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:403:20: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 403 | subrta->rta_len = len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:405:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 405 | rta->rta_len = NLMSG_ALIGN(rta->rta_len + len); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:405:17: warning: conversion from 'unsigned int' to 'short unsigned int' may change value [-Wconversion] /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'rta_addattr_l': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:412:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 412 | int len = RTA_LENGTH(alen); | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:412:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:414:6: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 414 | if (RTA_ALIGN(rta->rta_len + len) > maxlen) { | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:414:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 414 | if (RTA_ALIGN(rta->rta_len + len) > maxlen) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:418:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 418 | subrta->rta_type = type; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:419:20: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 419 | subrta->rta_len = len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:420:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 420 | memcpy(RTA_DATA(subrta), data, alen); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:421:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 421 | rta->rta_len = NLMSG_ALIGN(rta->rta_len + len); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:421:17: warning: conversion from 'unsigned int' to 'short unsigned int' may change value [-Wconversion] /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c: In function 'parse_rtattr': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:428:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 428 | memset(tb, 0, (max + 1) * sizeof(tb[0])); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:434:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 434 | rta = RTA_NEXT(rta, len); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.c:434:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] CC networking/libiproute/ll_addr.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c: In function 'll_addr_n2a': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c:24:40: warning: conversion to 'socklen_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 24 | return inet_ntop(AF_INET, addr, buf, blen); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c:29:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 29 | snprintf(buf + l, blen, ":%02x"+1, addr[i]); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c:33:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 33 | snprintf(buf + l, blen, ":%02x", addr[i]); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c: In function 'll_addr_a2n': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_addr.c:69:15: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 69 | lladdr[i] = temp; | ^~~~ CC networking/libiproute/ll_map.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c:12: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c:13: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c: In function 'll_remember_index': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c:55:44: warning: conversion to 'int' from '__u32' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 55 | parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), IFLA_PAYLOAD(n)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c:76:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 76 | im->alen = alen = RTA_PAYLOAD(tb[IFLA_ADDRESS]); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c:79:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 79 | memcpy(im->addr, RTA_DATA(tb[IFLA_ADDRESS]), alen); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c: In function 'xll_name_to_index': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_map.c:166:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 166 | ret = if_nametoindex(name); | ^~~~~~~~~~~~~~ CC networking/libiproute/ll_proto.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c: In function 'll_proto_n2a': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c:159:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 159 | return nth_string(llproto_names, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c:161:16: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 161 | snprintf(buf, len, "[%u]", id); | ^~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c: In function 'll_proto_a2n': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_proto.c:181:14: warning: conversion from 'unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 181 | *id = htons(i); | ^ CC networking/libiproute/ll_types.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_types.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_types.c:14: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/ll_types.c:14: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC networking/libiproute/rt_names.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rt_names.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rt_names.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rt_names.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC networking/libiproute/rtm_map.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rtm_map.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rtm_map.c:10: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rtm_map.c:10: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rtm_map.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rtm_map.c: In function 'rtnl_rtntype_a2n': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rtm_map.c:57:24: warning: conversion from 'int' to 'smalluint' {aka 'const unsigned char'} may change value [-Wconversion] 57 | const smalluint key = index_in_substrings(keywords, arg) + 1; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/rtm_map.c:88:8: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 88 | *id = res; | ^~~ CC networking/libiproute/utils.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.h:5, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:12: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h: In function 'rtnl_send': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/libnetlink.h:51:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | xwrite(rth->fd, buf, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c: In function 'get_u16': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:76:11: warning: conversion from 'long unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 76 | return res; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c: In function 'get_addr_1': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:90:18: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 90 | addr->family = family; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:125:33: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 125 | ((uint8_t*)addr->data)[i] = n; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c: In function 'get_prefix_1': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:152:17: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 152 | dst->family = family; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:170:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int16_t' {aka 'short int'} [-Wsign-compare] 170 | if ((errno || plen > dst->bitlen) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:186:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int16_t' {aka 'short int'} [-Wsign-compare] 186 | if (plen > dst->bitlen) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:190:18: warning: conversion from 'unsigned int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 190 | dst->bitlen = plen; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c: In function 'inet_addr_match': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/libiproute/utils.c:261:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 261 | if (memcmp(a1, a2, words << 2)) | ~~~~~~^~~~ AR networking/libiproute/lib.a LD networking/udhcp/built-in.o CC networking/udhcp/arpping.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/arpping.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/arpping.c:11: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/arpping.c:11: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/arpping.c: In function 'arpping': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/arpping.c:93:23: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 93 | unsigned prevTime = monotonic_ms(); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/arpping.c:124:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 124 | timeout_ms -= (unsigned)monotonic_ms() - prevTime + 1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/arpping.c:124:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 124 | timeout_ms -= (unsigned)monotonic_ms() - prevTime + 1; | ^ CC networking/udhcp/common.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c: In function 'udhcp_option_idx': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:205:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 205 | return n; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:215:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 215 | d = buf = xzalloc(s - option_strings); | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c: In function 'udhcp_add_binary_option': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:335:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 335 | unsigned end = udhcp_end_option(optionptr); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c: In function 'attach_option': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:446:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 446 | new->data = xmalloc(length + OPT_DATA); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:448:25: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 448 | new->data[OPT_LEN] = length; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:449:41: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 449 | memcpy(new->data + OPT_DATA, buffer, length); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:451:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 451 | new->data = xmalloc(length + D6_OPT_DATA); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:454:28: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 454 | new->data[D6_OPT_LEN] = length >> 8; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:455:32: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 455 | new->data[D6_OPT_LEN + 1] = length & 0xff; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:457:6: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 457 | length); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:475:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 475 | if (old_len + length < 255) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:478:69: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 478 | existing->data = xrealloc(existing->data, OPT_DATA + 1 + old_len + length); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:490:56: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 490 | memcpy(existing->data + OPT_DATA + old_len, buffer, length); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:491:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 491 | existing->data[OPT_LEN] = old_len + length; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:491:30: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 491 | existing->data[OPT_LEN] = old_len + length; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c: In function 'udhcp_str2optset': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:528:26: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 528 | userdef_optflag.code = optcode; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:570:13: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 570 | length = strnlen(val, 254); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:583:16: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'char' may change value [-Wconversion] 583 | buffer[0] = bb_strtou32(val, NULL, 0); | ^~~~~~~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:591:24: warning: conversion from 'uint32_t' {aka 'unsigned int'} to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 591 | *result_u16 = htons(tmp); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:609:24: warning: conversion to '__uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 609 | *result_u32 = htonl(tmp); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:621:17: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 621 | buffer[0] = mask = bb_strtou(slash + 1, NULL, 10); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.c:626:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 626 | length = ((mask + 7) >> 3) + 5; | ^ CC networking/udhcp/d6_dhcpc.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:57: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:57: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:57: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:57: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'new_env': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:213:78: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 213 | client6_data.env_ptr = xrealloc_vector(client6_data.env_ptr, 3, client6_data.env_idx); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:384:74: note: in definition of macro 'xrealloc_vector' 384 | xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'string_option_to_env': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:238:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 238 | val_len = (option[2] << 8) | option[3]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'option_to_env': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:352:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 352 | *new_env() = dlist = xmalloc(4 + addrs * 40 - 1); | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'random_xid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:477:22: warning: conversion to '__uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 477 | uint32_t t = rand() & htonl(0x00ffffff); | ^ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:57: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'init_d6_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:503:46: warning: conversion from 'unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 503 | *((uint16_t*)ptr) = (secs < 0xffff) ? htons(secs) : 0xffff; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'add_d6_client_options': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:521:13: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 521 | ptr[0] = (option >> 8); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:522:13: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 522 | ptr[1] = option; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:530:14: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 530 | start[2] = ((ptr - start - 4) >> 8); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:531:14: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 531 | start[3] = (ptr - start - 4); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:541:9: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 541 | len = (curr->data[D6_OPT_LEN] << 8) | curr->data[D6_OPT_LEN + 1]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'd6_mcast_from_client_data_ifindex': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:562:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 562 | packet, (end - (uint8_t*) packet), | ~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'send_d6_discover': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:707:29: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 707 | client6_data.ia_na->len = len - 4; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:708:54: warning: conversion to 'bb__aliased_uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 708 | *(bb__aliased_uint32_t*)client6_data.ia_na->data = rand(); /* IAID */ | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:725:29: warning: conversion from 'unsigned int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 725 | client6_data.ia_pd->len = len - 4; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:726:54: warning: conversion to 'bb__aliased_uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 726 | *(bb__aliased_uint32_t*)client6_data.ia_pd->data = rand(); /* IAID */ | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'send_d6_renew': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:868:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 868 | &packet, (opt_ptr - (uint8_t*) &packet), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'send_d6_release': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:897:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 897 | &packet, (opt_ptr - (uint8_t*) &packet), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'd6_recv_raw_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:923:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 923 | if (bytes < sizeof(packet.ip6) + ntohs(packet.ip6.ip6_plen)) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:961:8: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 961 | bytes -= sizeof(packet.ip6) + sizeof(packet.udp); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:961:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 961 | bytes -= sizeof(packet.ip6) + sizeof(packet.udp); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:962:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 962 | memcpy(d6_pkt, &packet.data, bytes); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'change_listen_mode': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1081:28: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 1081 | client_data.listen_mode = new_mode; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'udhcpc6_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1232:8: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 1232 | srand(monotonic_us()); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1267:17: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-33' to '4294967263' [-Wsign-conversion] 1267 | option_mask32 &= ~OPT_r; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1271:18: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-33' to '4294967263' [-Wsign-conversion] 1271 | option_mask32 &= ~OPT_r; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1292:35: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1292 | client_data.opt_mask[n >> 3] |= 1 << (n & 7); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1298:37: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1298 | client_data.opt_mask[n >> 3] |= 1 << (n & 7); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1379:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1379 | tv = timeout - already_waited_sec; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1379:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1379 | tv = timeout - already_waited_sec; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1440:18: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-131075' to '4294836221' [-Wsign-conversion] 1440 | opt = ((opt & ~(OPT_b|OPT_n)) | OPT_f); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1582:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1582 | sleep(discover_timeout); /* 3 seconds by default */ | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1819:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1819 | timeout = (prefix_timeout < address_timeout ? prefix_timeout : address_timeout) / 2; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1840:9: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-3' to '4294967293' [-Wsign-conversion] 1840 | opt &= ~OPT_n; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1845:18: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-131073' to '4294836223' [-Wsign-conversion] 1845 | opt = ((opt & ~OPT_b) | OPT_f); | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:57: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:270:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 270 | # define log1s(msg) do { if (dhcp_verbose >= 1) bb_simple_info_msg(msg); } while (0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1478:5: note: in expansion of macro 'log1s' 1478 | log1s("entering renew state"); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1480:4: note: here 1480 | case RENEW_REQUESTED: /* manual (SIGUSR1) renew */ | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1502:23: warning: this statement may fall through [-Wimplicit-fallthrough=] 1502 | client_data.state = REBINDING; /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1504:4: note: here 1504 | case REBINDING: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1602:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 1602 | if (packet.d6_msg_type == D6_MSG_ADVERTISE) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1608:3: note: here 1608 | case REQUESTING: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c: In function 'perform_renew': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1099:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 1099 | change_listen_mode(LISTEN_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1100:2: note: here 1100 | case RENEWING: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1105:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 1105 | d6_run_script_no_option("deconfig"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_dhcpc.c:1106:2: note: here 1106 | case REQUESTING: | ^~~~ CC networking/udhcp/d6_packet.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c: In function 'd6_recv_kernel_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:42:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 42 | if (bytes < offsetof(struct d6_packet, d6_options)) { | ^ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c: In function 'd6_send_raw_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:92:28: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 92 | packet.udp.source = htons(source_port); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:93:26: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 93 | packet.udp.dest = htons(dest_port); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:95:47: warning: conversion from 'unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 95 | packet.udp.len = htons(sizeof(struct udphdr) + d6_pkt_size); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:107:50: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 107 | offsetof(struct ip6_udp_d6_packet, data) - 4 + d6_pkt_size | ^ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c: In function 'd6_send_kernel_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:149:23: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 149 | sa.sin6_port = htons(source_port); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:158:23: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 158 | sa.sin6_port = htons(dest_port); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_packet.c:160:21: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 160 | sa.sin6_scope_id = ifindex; | ^~~~~~~ CC networking/udhcp/d6_socket.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c:7: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c: In function 'd6_read_interface': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c:89:27: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 89 | ((uint32_t*)mac)[0] = rand(); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c:90:27: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 90 | ((uint16_t*)mac)[2] = rand(); | ^~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c:7: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c: In function 'd6_listen_socket': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/d6_socket.c:126:25: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 126 | addr.sin6_port = htons(port); | ^~~~ CC networking/udhcp/dhcpc.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'xmalloc_optname_optval': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:240:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 240 | memcpy(dest, option, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:249:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 249 | safe_strncpy(dest, "bad", len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:275:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 275 | bytes = (mask + 7) / 8; /* 0 -> 0, 1..8 -> 1, 9..16 -> 2 etc */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'fill_envp': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:401:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 401 | #define BMASK(i) (1 << (i & (sizeof(BITMAP) * 8 - 1))) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:430:22: note: in expansion of macro 'BMASK' 430 | FOUND_OPTS(i) |= BMASK(i); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:434:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 434 | curr = envp = xzalloc(sizeof(envp[0]) * envc); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:509:6: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 509 | i += BBITS; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:400:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 400 | #define BBITS (sizeof(BITMAP) * 8) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:509:9: note: in expansion of macro 'BBITS' 509 | i += BBITS; | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:401:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 401 | #define BMASK(i) (1 << (i & (sizeof(BITMAP) * 8 - 1))) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:512:16: note: in expansion of macro 'BMASK' 512 | if (bitmap & BMASK(i)) { | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:521:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 521 | ofs = sprintf(*curr, "opt%u=", i); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:522:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 522 | *bin2hex(*curr + ofs, (void*) temp, len) = '\0'; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'random_xid': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:558:9: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 558 | return rand(); | ^~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'init_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:575:41: warning: conversion from 'unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 575 | packet->secs = (secs < 0xffff) ? htons(secs) : 0xffff; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'add_client_options': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:595:44: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 595 | packet->options[end + OPT_DATA + len] = i; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:601:36: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 601 | packet->options[end + OPT_LEN] = len; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'udhcp_recv_raw_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:891:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 891 | || ntohs(packet.udp.len) != (uint16_t)(bytes - sizeof(packet.ip)) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:900:38: warning: taking address of packed member of 'struct ip_udp_dhcp_packet' may result in an unaligned pointer value [-Waddress-of-packed-member] 900 | if (check != inet_cksum((uint16_t *)&packet.ip, sizeof(packet.ip))) { | ^~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:925:2: warning: converting a packed 'struct ip_udp_dhcp_packet' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 925 | if (check && check != inet_cksum((uint16_t *)&packet, bytes)) { | ^~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:55:8: note: defined here 55 | struct ip_udp_dhcp_packet { | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:939:8: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 939 | bytes -= sizeof(packet.ip) + sizeof(packet.udp); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:939:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 939 | bytes -= sizeof(packet.ip) + sizeof(packet.udp); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:940:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 940 | memcpy(dhcp_pkt, &packet.data, bytes); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'change_listen_mode': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1063:28: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 1063 | client_data.listen_mode = new_mode; | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'alloc_dhcp_option': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1132:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1132 | int len = strnlen(str, 255); | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1133:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1133 | storage = xzalloc(len + extra + OPT_DATA); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1134:22: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1134 | storage[OPT_CODE] = code; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1135:21: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1135 | storage[OPT_LEN] = len + extra; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1136:42: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1136 | memcpy(storage + extra + OPT_DATA, str, len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'udhcpc_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1295:35: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1295 | client_data.opt_mask[n >> 3] |= 1 << (n & 7); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1301:37: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1301 | client_data.opt_mask[n >> 3] |= 1 << (n & 7); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1357:8: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 1357 | srand(monotonic_us()); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1388:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1388 | tv = timeout - already_waited_sec; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1388:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1388 | tv = timeout - already_waited_sec; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1446:18: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2097217' to '4292870079' [-Wsign-conversion] 1446 | opt = ((opt & ~(OPT_b|OPT_n)) | OPT_f); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1596:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1596 | sleep(discover_timeout); /* 3 seconds by default */ | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1747:15: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1747 | timeout = lease_seconds / 2; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1750:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1750 | timeout = already_waited_sec = 0; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1759:9: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-65' to '4294967231' [-Wsign-conversion] 1759 | opt &= ~OPT_n; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1764:18: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2097153' to '4292870143' [-Wsign-conversion] 1764 | opt = ((opt & ~OPT_b) | OPT_f); | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:270:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 270 | # define log1s(msg) do { if (dhcp_verbose >= 1) bb_simple_info_msg(msg); } while (0) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1484:5: note: in expansion of macro 'log1s' 1484 | log1s("entering renew state"); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1486:4: note: here 1486 | case RENEW_REQUESTED: /* manual (SIGUSR1) renew */ | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1518:23: warning: this statement may fall through [-Wimplicit-fallthrough=] 1518 | client_data.state = REBINDING; /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1520:4: note: here 1520 | case REBINDING: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c: In function 'perform_renew': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1081:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 1081 | change_listen_mode(LISTEN_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1082:2: note: here 1082 | case RENEWING: | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1087:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 1087 | udhcp_run_script(NULL, "deconfig"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/dhcpc.c:1088:2: note: here 1088 | case REQUESTING: | ^~~~ CC networking/udhcp/domain_codec.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c:18: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c: In function 'dname_dec': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c:51:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 51 | while (crtpos < clen) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c:56:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 56 | if (crtpos + 2 > clen) /* no offset to jump to? abort */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c:61:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 61 | crtpos = ((c[0] & 0x3f) << 8) | c[1]; /* jump */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c:64:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 64 | if (crtpos + *c + 1 > clen) /* label too long? abort */ | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c: In function 'convert_dname': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/domain_codec.c:135:14: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 135 | *lenptr = len; | ^~~ CC networking/udhcp/packet.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c: In function 'udhcp_recv_kernel_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:92:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 92 | if (bytes < offsetof(struct dhcp_packet, options) | ^ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c: In function 'udhcp_send_raw_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:25:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 25 | #define DHCP_OPTIONS_BUFSIZE 308 | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:154:12: note: in expansion of macro 'DHCP_OPTIONS_BUFSIZE' 154 | padding = DHCP_OPTIONS_BUFSIZE - 1 - udhcp_end_option(packet.data.options); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:161:28: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 161 | packet.udp.source = htons(source_port); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:162:26: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 162 | packet.udp.dest = htons(dest_port); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:164:39: warning: conversion from 'unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 164 | packet.udp.len = htons(UDP_DHCP_SIZE - padding); | ~~~~~~~~~~~~~~^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:168:4: warning: converting a packed 'struct ip_udp_dhcp_packet' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 168 | IP_UDP_DHCP_SIZE - padding); | ^~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:55:8: note: defined here 55 | struct ip_udp_dhcp_packet { | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:168:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 168 | IP_UDP_DHCP_SIZE - padding); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:170:45: warning: conversion from 'unsigned int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 170 | packet.ip.tot_len = htons(IP_UDP_DHCP_SIZE - padding); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:174:43: warning: taking address of packed member of 'struct ip_udp_dhcp_packet' may result in an unaligned pointer value [-Waddress-of-packed-member] 174 | packet.ip.check = inet_cksum((uint16_t *)&packet.ip, sizeof(packet.ip)); | ^~~~~~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c: In function 'udhcp_send_kernel_packet': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:209:22: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 209 | sa.sin_port = htons(source_port); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:218:22: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 218 | sa.sin_port = htons(dest_port); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:25:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 25 | #define DHCP_OPTIONS_BUFSIZE 308 | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/packet.c:226:12: note: in expansion of macro 'DHCP_OPTIONS_BUFSIZE' 226 | padding = DHCP_OPTIONS_BUFSIZE - 1 - udhcp_end_option(dhcp_pkt->options); | ^~~~~~~~~~~~~~~~~~~~ CC networking/udhcp/signalpipe.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/signalpipe.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/signalpipe.c:21: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/signalpipe.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/signalpipe.c: In function 'signal_handler': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/signalpipe.c:29:21: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 29 | unsigned char ch = sig; /* use char, avoid dealing with partial writes */ | ^~~ CC networking/udhcp/socket.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/socket.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/socket.c:25: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/socket.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/netdb.h:27, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:20, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/common.h:11, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/socket.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/socket.c: In function 'udhcp_listen_socket': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/networking/udhcp/socket.c:105:24: warning: conversion from 'int' to '__uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 105 | addr.sin_port = htons(port); | ^~~~ AR networking/udhcp/lib.a LD printutils/built-in.o AR printutils/lib.a LD procps/built-in.o CC procps/fuser.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c:31: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c: In function 'scan_proc_net_or_maps': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c:149:20: warning: conversion to '__ino64_t' {aka 'long long unsigned int'} from 'long long int' may change the sign of the result [-Wsign-conversion] 149 | statbuf.st_ino = uint64_inode; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c:151:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 151 | r = strlen(addr); | ^~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c:31: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c:160:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 160 | statbuf.st_dev = makedev(major, minor); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1742:33: note: in definition of macro 'makedev' 1742 | #define makedev(a,b) bb_makedev(a,b) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/fuser.c:160:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 160 | statbuf.st_dev = makedev(major, minor); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1742:35: note: in definition of macro 'makedev' 1742 | #define makedev(a,b) bb_makedev(a,b) | ^ CC procps/kill.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/kill.c:80: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/kill.c:80: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/kill.c:80: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/kill.c: In function 'kill_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/kill.c:150:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 150 | signo = bb_strtou(arg, NULL, 10); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/kill.c:254:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'pid_t' {aka 'int'} [-Wsign-compare] 254 | if (p->pid == omit) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/kill.c:257:10: warning: conversion to '__pid_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 257 | kill(p->pid, signo); | ~^~~~~ CC procps/lsof.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/lsof.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/lsof.c:25: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/lsof.c:25: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/lsof.c: In function 'lsof_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/lsof.c:56:16: warning: comparison of integer expressions of different signedness: '__pid_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 56 | if (getpid() == proc->pid) | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/lsof.c:59:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 59 | baseofs = sprintf(name, "/proc/%u/fd/", proc->pid); | ^~~~~~~ CC procps/pidof.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pidof.c:68: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pidof.c:68: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pidof.c:68: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pidof.c: In function 'pidof_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pidof.c:142:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 142 | return first; /* 1 (failure) - no processes found */ | ^~~~~ CC procps/ps.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:112: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:112: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:112: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'get_uptime': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:128:13: warning: conversion to 'long unsigned int' from '__kernel_long_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 128 | return info.uptime; | ~~~~^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'func_user': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:215:54: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 215 | safe_strncpy(buf, get_cached_username(ps->uid), size+1); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'func_group': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:233:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 233 | safe_strncpy(buf, get_cached_groupname(ps->gid), size+1); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'func_comm': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:238:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 238 | safe_strncpy(buf, ps->comm, size+1); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'func_state': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:243:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 243 | safe_strncpy(buf, ps->state, size+1); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'func_tty': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:295:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 295 | snprintf(buf, size+1, "%u,%u", ps->tty_major, ps->tty_minor); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'func_rgroup': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:301:56: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 301 | safe_strncpy(buf, get_cached_groupname(ps->rgid), size+1); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'func_ruser': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:305:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 305 | safe_strncpy(buf, get_cached_username(ps->ruid), size+1); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'format_time': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:330:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 330 | snprintf(buf, size+1, "%2u:%02u", (unsigned)tt, ff); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:336:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 336 | snprintf(buf, size+1, "%2uh%02u", (unsigned)tt, ff); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:342:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 342 | snprintf(buf, size+1, "%2ud%02u", (unsigned)tt, ff); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:345:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 345 | snprintf(buf, size+1, "%4lud", tt); | ~~~~^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'parse_o': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:464:17: warning: conversion from 'size_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 464 | new->width = strlen(new->header); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'alloc_line_buffer': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:481:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 481 | if ((int)(width - terminal_width) > 0) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:492:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 492 | buffer = xmalloc(width + 1); /* for trailing \0 */ | ~~~~~~^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'format_process': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:531:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 531 | len = strlen(p); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c: In function 'ps_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:595:3: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 595 | getopt32(argv, "Zo:*aAdefl"IF_FEATURE_SHOW_THREADS("T"), &opt_o); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/ps.c:625:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 625 | terminal_width = get_terminal_width(0); | ^~~~~~~~~~~~~~~~~~ CC procps/pstree.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:28: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:28: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c: In function 'ensure_buffer_capacity': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:96:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 96 | if (bufindex >= G.capacity) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c: In function 'dump_tree': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:82:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 82 | #define G (*ptr_to_globals) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:255:8: note: in expansion of macro 'G' 255 | i = G.width[lvl] + 1; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:82:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 82 | #define G (*ptr_to_globals) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:285:11: note: in expansion of macro 'G' 285 | offset = G.cur_x; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:295:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 295 | G.width[level] = comm_len + G.cur_x - offset + add; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:295:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 295 | G.width[level] = comm_len + G.cur_x - offset + add; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:295:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 295 | G.width[level] = comm_len + G.cur_x - offset + add; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c: In function 'mread_proc': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:367:28: warning: conversion to 'pid_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 367 | handle_thread(p->comm, p->pid, parent, p->uid); | ~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:371:23: warning: conversion to 'pid_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 371 | add_proc(p->comm, p->pid, p->ppid, p->uid/*, 0*/); | ~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:371:31: warning: conversion to 'pid_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 371 | add_proc(p->comm, p->pid, p->ppid, p->uid/*, 0*/); | ~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:373:13: warning: conversion to 'pid_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 373 | parent = p->pid; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c: In function 'pstree_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:387:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 387 | G.output_width = get_terminal_width(0); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/pstree.c:405:30: warning: conversion to 'uid_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 405 | dump_by_user(find_proc(1), uid); | ^~~ CC procps/sysctl.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c:43: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c:43: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c: In function 'sysctl_handle_preload_file': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1572:63: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1572 | config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c:293:9: note: in expansion of macro 'config_read' 293 | while (config_read(parser, token, 2, 2, ";#=", parse_flags)) { | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c: In function 'sysctl_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c:317:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 317 | opt = getopt32(argv, "+" OPTION_STR); /* '+' - stop on first non-option */ | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/sysctl.c:320:18: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 320 | option_mask32 = opt; | ^~~ CC procps/top.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:118: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:118: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:118: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'pid_sort': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:237:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 237 | return (Q->pid - P->pid); | ~~~~~~~~^~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:118: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'get_jiffy_counts': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:213:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 213 | #define num_cpus (G.num_cpus ) /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:384:74: note: in definition of macro 'xrealloc_vector' 384 | xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:326:42: note: in expansion of macro 'num_cpus' 326 | cpu_jif = xrealloc_vector(cpu_jif, 1, num_cpus); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:348:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 348 | for (i = 0; i < num_cpus; i++) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'do_stats': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:366:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 366 | new_hist = xmalloc(sizeof(new_hist[0]) * ntop); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:379:9: warning: conversion to 'pid_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 379 | pid = cur->pid; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:201:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 201 | #define ntop (G.ntop ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:405:20: note: in expansion of macro 'ntop' 405 | prev_hist_count = ntop; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'fmt_100percent_8': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:424:12: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 424 | pbuf[1] = t ? t + '0' : ' '; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:425:12: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 425 | pbuf[2] = '0' + (value / 10); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:427:12: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 427 | pbuf[4] = '0' + (value % 10); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'display_cpus': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:204:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 204 | #define smp_cpu_info (G.smp_cpu_info ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:471:16: note: in expansion of macro 'smp_cpu_info' 471 | n_cpu_lines = smp_cpu_info ? num_cpus : 1; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:495:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 495 | (smp_cpu_info ? utoa(i) : ""), | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:491:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 491 | snprintf(scrbuf, scr_width, | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'display_header': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:578:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 578 | snprintf(scrbuf, scr_width, | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'display_process_list': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:209:26: warning: conversion from 'long long unsigned int' to 'unsigned int' may change value [-Wconversion] 209 | #define cur_jif (G.cur_jif ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:653:14: note: in expansion of macro 'cur_jif' 653 | busy_jifs = cur_jif.busy - prev_jif.busy; | ^~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:695:51: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 632 | # define CALC_STAT(name, val) div_t name = div((val), 10) | ~~~~~ ...... 695 | CALC_STAT(pmem, (s->vsz*pmem_scale + pmem_half) >> pmem_shift); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:632:49: note: in definition of macro 'CALC_STAT' 632 | # define CALC_STAT(name, val) div_t name = div((val), 10) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:697:52: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 632 | # define CALC_STAT(name, val) div_t name = div((val), 10) | ~~~~~ ...... 697 | CALC_STAT(pcpu, (s->pcpu*pcpu_scale + pcpu_half) >> pcpu_shift); /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:632:49: note: in definition of macro 'CALC_STAT' 632 | # define CALC_STAT(name, val) div_t name = div((val), 10) | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:702:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 702 | col = snprintf(line_buf, scr_width, | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:702:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 702 | col = snprintf(line_buf, scr_width, | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:713:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 713 | if ((int)(scr_width - col) > 1) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:714:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 714 | read_cmdline(line_buf + col, scr_width - col, s->pid, s->comm); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:714:43: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 714 | read_cmdline(line_buf + col, scr_width - col, s->pid, s->comm); | ~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'topmem_sort': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:780:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 780 | n = offsetof(topmem_status_t, vsz) + (sort_field * sizeof(mem_t)); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:780:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 780 | n = offsetof(topmem_status_t, vsz) + (sort_field * sizeof(mem_t)); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'display_topmem_process_list': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:865:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 865 | read_cmdline(&line_buf[8*6], scr_width - MIN_WIDTH, s->pid, s->comm); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:865:43: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 865 | read_cmdline(&line_buf[8*6], scr_width - MIN_WIDTH, s->pid, s->comm); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'handle_input': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:916:52: warning: conversion from 'duration_t' {aka 'double'} to 'int' may change value [-Wfloat-conversion] 916 | c = read_key(STDIN_FILENO, G.kbd_input, interval * 1000); | ~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:916:7: warning: conversion from 'int64_t' {aka 'long long int'} to 'int32_t' {aka 'int'} may change value [-Wconversion] 916 | c = read_key(STDIN_FILENO, G.kbd_input, interval * 1000); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:942:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 942 | G_scroll_ofs = ntop - G.lines / 2; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:201:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 201 | #define ntop (G.ntop ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:942:19: note: in expansion of macro 'ntop' 942 | G_scroll_ofs = ntop - G.lines / 2; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:946:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 946 | G_scroll_ofs -= G.lines / 2; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:199:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 199 | #define G (*ptr_to_globals) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:946:20: note: in expansion of macro 'G' 946 | G_scroll_ofs -= G.lines / 2; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:950:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 950 | G_scroll_ofs += G.lines / 2; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:199:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 199 | #define G (*ptr_to_globals) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:950:20: note: in expansion of macro 'G' 950 | G_scroll_ofs += G.lines / 2; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1008:17: warning: conversion from 'int' to 'smallint' {aka 'signed char'} may change value [-Wconversion] 1008 | sort_field = (sort_field + 1) % NUM_SORT_FIELD; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'top_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1141:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1141 | iterations = xatou(str_iterations); | ^~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1198:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1198 | while ((p = procps_scan(p, scan_mask)) != NULL) { | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:201:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 201 | #define ntop (G.ntop ) | ~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1251:15: note: in expansion of macro 'ntop' 1251 | qsort(top, ntop, sizeof(top_status_t), (void*)mult_lvl_cmp); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:201:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 201 | #define ntop (G.ntop ) | ~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1258:18: note: in expansion of macro 'ntop' 1258 | qsort(topmem, ntop, sizeof(topmem_status_t), (void*)topmem_sort); | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1263:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1263 | display_process_list(G.lines, col); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1263:34: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1263 | display_process_list(G.lines, col); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1267:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1267 | display_topmem_process_list(G.lines, col); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:1267:41: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1267 | display_topmem_process_list(G.lines, col); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c: In function 'display_process_list': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:632:44: warning: function call has aggregate value [-Waggregate-return] 632 | # define CALC_STAT(name, val) div_t name = div((val), 10) | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:695:3: note: in expansion of macro 'CALC_STAT' 695 | CALC_STAT(pmem, (s->vsz*pmem_scale + pmem_half) >> pmem_shift); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:632:44: warning: function call has aggregate value [-Waggregate-return] 632 | # define CALC_STAT(name, val) div_t name = div((val), 10) | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/procps/top.c:697:3: note: in expansion of macro 'CALC_STAT' 697 | CALC_STAT(pcpu, (s->pcpu*pcpu_scale + pcpu_half) >> pcpu_shift); | ^~~~~~~~~ AR procps/lib.a LD runit/built-in.o CC runit/sv.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:194: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:194: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:194: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:194: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c: In function 'svstatus_print': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:216:23: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 216 | # define SWAP_LE32(x) (x) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:318:8: note: in expansion of macro 'SWAP_LE32' 318 | pid = SWAP_LE32(svstatus.pid_le32); | ^~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:212:22: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] 212 | #define tnow (G.tnow ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:328:9: note: in expansion of macro 'tnow' 328 | diff = tnow - timestamp; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c: In function 'status': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:349:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 349 | r = svstatus_print(*service); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:360:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 360 | r = svstatus_print("log"); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c: In function 'control': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:473:6: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 473 | l = strlen(a); | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:474:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 474 | r = write(fd, a, l); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c: In function 'sv': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:526:20: warning: conversion to 'long long unsigned int' from 'time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 526 | tnow = time(NULL) + 0x400000000000000aULL; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:212:22: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] 212 | #define tnow (G.tnow ) | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:651:10: note: in expansion of macro 'tnow' 651 | diff = tnow - tstart; | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:669:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 669 | if (diff >= waitsec) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:688:21: warning: conversion to 'long long unsigned int' from 'time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] 688 | tnow = time(NULL) + 0x400000000000000aULL; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:690:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 690 | return rc > 99 ? 99 : rc; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:556:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 556 | if (str_equal(action, "try-restart")) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:560:2: note: here 560 | case 'c': | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:561:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 561 | if (str_equal(action, "check")) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:566:2: note: here 566 | case 'u': case 'd': case 'o': case 'p': case 'h': | ^~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:616:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 616 | if (str_equal(action, "force-stop")) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/runit/sv.c:621:2: note: here 621 | default: | ^~~~~~~ AR runit/lib.a LD selinux/built-in.o AR selinux/lib.a LD shell/built-in.o AR shell/lib.a LD sysklogd/built-in.o CC sysklogd/syslogd_and_logger.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/syslogd_and_logger.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/syslogd_and_logger.c:9: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/syslogd_and_logger.c:9: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/syslogd_and_logger.c:62: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/logger.c: In function 'logger_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/logger.c:108:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 108 | opt = getopt32(argv, "p:st:", &str_p, &str_t); | ^~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/logger.c:133:8: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 133 | len += strlen(*argv) + 1; | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/logger.c:133:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 133 | len += strlen(*argv) + 1; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/sysklogd/logger.c:134:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 134 | message = xrealloc(message, len + 1); | ~~~~^~~ AR sysklogd/lib.a LD util-linux/built-in.o CC util-linux/blkdiscard.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/blkdiscard.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/blkdiscard.c:30: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/blkdiscard.c:30: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC util-linux/dmesg.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/dmesg.c:59: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/dmesg.c:59: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/dmesg.c:59: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:183:5: warning: redundant redeclaration of 'klogctl' [-Wredundant-decls] 183 | int klogctl(int type, char *b, int len); | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/dmesg.c:58: /usr/include/sys/klog.h:29:12: note: previous declaration of 'klogctl' was here 29 | extern int klogctl (int __type, char *__bufp, int __len) __THROW; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/dmesg.c:59: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/dmesg.c: In function 'dmesg_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/dmesg.c:88:16: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 88 | buf = xmalloc(len); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/dmesg.c:116:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 116 | full_write(STDOUT_FILENO, buf, len); | ^~~ CC util-linux/fallocate.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fallocate.c:72: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fallocate.c:72: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fallocate.c:72: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fallocate.c: In function 'fallocate_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fallocate.c:88:8: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 88 | ofs = xatoull_sfx(str_o, kmg_i_suffixes); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fallocate.c:89:8: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 89 | len = xatoull_sfx(str_l, kmg_i_suffixes); | ^~~~~~~~~~~ CC util-linux/flock.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/flock.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/flock.c:26: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/flock.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/flock.c: In function 'flock_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/flock.c:49:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 49 | opt = getopt32long(argv, "^+" "sxnu" "\0" "-1", flock_longopts); | ^~~~~~~~~~~~ CC util-linux/fsfreeze.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fsfreeze.c:24: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fsfreeze.c:24: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/fsfreeze.c:24: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC util-linux/getopt.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/getopt.c:111: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/getopt.c:111: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/getopt.c:111: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/getopt.c: In function 'generate_output': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/getopt.c:274:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 274 | idx = optind; | ^~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/getopt.c: In function 'add_long_options': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/getopt.c:300:10: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 300 | tlen = strlen(tokptr); | ^~~~~~ CC util-linux/hexdump.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump.c:65: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump.c:65: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump.c:65: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump.c: In function 'hexdump_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump.c:146:24: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 146 | dumper->dump_skip = xstrtoull_range_sfx( | ^~~~~~~~~~~~~~~~~~~ CC util-linux/hexdump_xxd.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump_xxd.c:55: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump_xxd.c:55: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump_xxd.c:55: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump_xxd.c: In function 'xxd_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump_xxd.c:85:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 85 | dumper->dump_length = xstrtou_range( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/hexdump_xxd.c:92:23: warning: conversion to 'off_t' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 92 | dumper->dump_skip = xstrtoull_range( | ^~~~~~~~~~~~~~~ CC util-linux/mountpoint.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/mountpoint.c:36: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/mountpoint.c:36: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/mountpoint.c:36: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/mountpoint.c: In function 'mountpoint_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/mountpoint.c:46:8: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 46 | opt = getopt32(argv, "^" "qdxn" "\0" "=1"); | ^~~~~~~~ CC util-linux/nsenter.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/nsenter.c:56: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/nsenter.c:56: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/nsenter.c:56: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/nsenter.c: In function 'nsenter_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/nsenter.c:261:11: warning: conversion to 'gid_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 261 | xsetgid(gid); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/nsenter.c:264:11: warning: conversion to 'uid_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 264 | xsetuid(uid); | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/nsenter.c:155:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 155 | int nsenter_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~~~ CC util-linux/setarch.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setarch.c:57: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setarch.c:57: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setarch.c:57: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setarch.c: In function 'setarch_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setarch.c:65:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 65 | int setarch_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~~~ CC util-linux/setpriv.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:93: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:93: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:93: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c: In function 'set_inh_caps': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:162:45: warning: conversion to '__u32' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 162 | caps.data[CAP_TO_INDEX(cap)].inheritable &= ~CAP_TO_MASK(cap); | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c: In function 'dump': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:236:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 236 | unsigned idx = CAP_TO_INDEX(i); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:242:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 242 | printf_cap(fmt, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:256:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 256 | printf_cap(fmt, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:272:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 272 | printf_cap(fmt, i); | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c: In function 'setpriv_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setpriv.c:305:9: warning: conversion to 'int' from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 305 | opts = getopt32long(argv, "+" | ^~~~~~~~~~~~ CC util-linux/setsid.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setsid.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setsid.c:33: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/setsid.c:33: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC util-linux/swaponoff.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/swaponoff.c:77: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/swaponoff.c:77: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/swaponoff.c:77: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/swaponoff.c: In function 'swap_on_off_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/swaponoff.c:332:32: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-2' to '4294967294' [-Wsign-conversion] 332 | option_mask32 = option_mask32 & ~OPT_a; | ^ CC util-linux/switch_root.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/switch_root.c:59: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/switch_root.c:59: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/switch_root.c:59: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/switch_root.c: In function 'switch_root_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/switch_root.c:184:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 184 | int switch_root_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~~~~~~~ CC util-linux/uevent.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/uevent.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/uevent.c:26: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/uevent.c:26: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/uevent.c: In function 'uevent_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/uevent.c:47:5: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 47 | int uevent_main(int argc UNUSED_PARAM, char **argv) | ^~~~~~~~~~~ CC util-linux/unshare.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/unshare.c:73: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/unshare.c:73: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/unshare.c:73: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/unshare.c: In function 'unshare_main': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/unshare.c:296:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 296 | read(fdp.rd, ns_ctx_list, 1); /* ...using bogus buffer */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AR util-linux/lib.a LD util-linux/volume_id/built-in.o CC util-linux/volume_id/bcache.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/bcache.c:17: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/bcache.c:17: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/bcache.c:17: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC util-linux/volume_id/get_devname.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/get_devname.c:20: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/get_devname.c:20: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/get_devname.c:20: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC util-linux/volume_id/minix.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/minix.c:27: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/minix.c:27: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/minix.c:27: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC util-linux/volume_id/ubifs.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/ubifs.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/ubifs.c:18: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/ubifs.c:18: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC util-linux/volume_id/util.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:21: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:21: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c: In function 'volume_id_set_unicode16': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:31:8: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 31 | c = (buf[i+1] << 8) | buf[i]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:33:8: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 33 | c = (buf[i] << 8) | buf[i+1]; | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c: In function 'volume_id_get_buffer': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:195:15: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 195 | small_off = off; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:199:10: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 199 | len += off; | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:219:15: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 219 | small_off = off - id->seekbuf_off; /* can't overflow */ | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:231:20: warning: conversion to '__off64_t' {aka 'long long int'} from 'uint64_t' {aka 'long long unsigned int'} may change the sign of the result [-Wsign-conversion] 231 | if (lseek(id->fd, off, SEEK_SET) != off) { | ^~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:231:35: warning: comparison of integer expressions of different signedness: '__off64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 231 | if (lseek(id->fd, off, SEEK_SET) != off) { | ^~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/util.c:236:15: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 236 | if (read_len != len) { | ^~ CC util-linux/volume_id/volume_id.o In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id.c:23: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:181:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] 181 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/platform.h:330, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:13, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id.c:23: /usr/include/unistd.h:556:15: note: previous declaration of 'environ' was here 556 | extern char **environ; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/libbb.h:1028, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id_internal.h:21, from /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id.c:23: /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h: In function 'bb_strtoi32': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/include/xatonum.h:178:9: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 178 | return BUG_bb_strtou32_unimplemented(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id.c: In function 'volume_id_probe_all': /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id.c:184:17: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 184 | for (i = 0; i < ARRAY_SIZE(raid1); i++) { | ^ /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/util-linux/volume_id/volume_id.c:192:16: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 192 | for (i = 0; i < ARRAY_SIZE(raid2); i++) { | ^ AR util-linux/volume_id/lib.a LINK busybox_unstripped Trying libraries: crypt m resolv rt tirpc Library crypt is needed, can't exclude it (yet) Library m is not needed, excluding it Library resolv is needed, can't exclude it (yet) Library rt is not needed, excluding it Library tirpc is not needed, excluding it Library crypt is needed, can't exclude it (yet) Library resolv is needed, can't exclude it (yet) Final link with: crypt resolv DOC busybox.pod DOC BusyBox.txt /bin/sh: pod2text: command not found make[1]: [/usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/Makefile.custom:159: docs/BusyBox.txt] Error 127 (ignored) DOC busybox.1 /bin/sh: pod2man: command not found make[1]: [/usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/Makefile.custom:164: docs/busybox.1] Error 127 (ignored) /bin/sh: pod2html: command not found make[1]: [/usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream/Makefile.custom:174: docs/busybox.net/BusyBox.html] Error 127 (ignored) DOC BusyBox.html make[1]: Leaving directory '/usr/src/RPM/BUILD/make-initrd-2.18.0/.build/obj/external/busybox' make -C ".build/obj/external/busybox" install make[1]: Entering directory '/usr/src/RPM/BUILD/make-initrd-2.18.0/.build/obj/external/busybox' make -C /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream O=/usr/src/RPM/BUILD/make-initrd-2.18.0/.build/obj/external/busybox install Using /usr/src/RPM/BUILD/make-initrd-2.18.0/external/busybox/upstream as source for busybox GEN /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/obj/external/busybox/Makefile /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/[ -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/[[ -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/arch -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/basename -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/bc -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/blkdiscard -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/cat -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/chgrp -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/chmod -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/chown -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/clear -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/cmp -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/comm -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/cp -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/cut -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/date -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/dd -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/df -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/dmesg -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/dnsdomainname -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/du -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/echo -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/egrep -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/env -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/factor -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/fallocate -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/false -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/fgrep -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/find -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/flock -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/fold -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/fsync -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/fuser -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/getopt -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/grep -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/groups -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/hd -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/head -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/hexdump -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/hexedit -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/hostname -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/install -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/ipcalc -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/kill -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/killall -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/linux32 -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/linux64 -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/ln -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/logger -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/ls -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/lsof -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/lsscsi -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/mkdir -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/mkfifo -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/mknod -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/mktemp -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/mountpoint -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/mv -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/netstat -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/nice -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/nl -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/nohup -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/nproc -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/nsenter -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/nslookup -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/od -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/paste -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/pidof -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/ping -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/ping6 -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/printenv -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/printf -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/ps -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/pstree -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/pwd -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/readlink -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/realpath -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/reset -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/rm -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/rmdir -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/sed -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/seq -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/setfattr -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/setpriv -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/setsid -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/sha1sum -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/sha256sum -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/sha512sum -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/shred -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/sleep -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/sort -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/split -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/ssl_client -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/stat -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/stty -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/sum -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/svc -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/tac -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/tail -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/tar -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/tee -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/telnet -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/timeout -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/top -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/touch -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/tr -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/traceroute -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/traceroute6 -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/true -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/truncate -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/tty -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/udhcpc6 -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/uname -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/uniq -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/unit -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/unlink -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/unshare -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/vi -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/w -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/wc -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/wget -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/which -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/xargs -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//bin/xxd -> busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/arp -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/arping -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/brctl -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/chroot -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/fsfreeze -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/getty -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/ifdown -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/ifup -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/inetd -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/inotifyd -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/ip -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/ipaddr -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/iplink -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/ipneigh -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/iproute -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/iprule -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/iptunnel -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/killall5 -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/nameif -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/partprobe -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/start-stop-daemon -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/sulogin -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/swapoff -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/swapon -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/switch_root -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/sysctl -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/telnetd -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/ubirename -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/udhcpc -> ../bin/busybox /usr/src/RPM/BUILD/make-initrd-2.18.0/.build/dest/lib/initrd//sbin/uevent -> ../bin/busybox -------------------------------------------------- You will probably need to make your busybox binary setuid root to ensure all configured applets will work properly. -------------------------------------------------- make[1]: Leaving directory '/usr/src/RPM/BUILD/make-initrd-2.18.0/.build/obj/external/busybox' SLINK .build/dest/lib/initrd/bin/showenv SLINK .build/dest/lib/initrd/bin/reboot SLINK .build/dest/lib/initrd/bin/poweroff SED .build/dest/usr/share/make-initrd/mk/config.mk SED .build/dest/usr/share/make-initrd/mk/functions.mk SED .build/dest/usr/share/make-initrd/mk/make-initrd.mk MAN .build/dest/usr/share/man/man1/depinfo.1 MAN .build/dest/usr/share/man/man1/initrd-diff.1 MAN .build/dest/usr/share/man/man1/initrd-ls.1 MAN .build/dest/usr/share/man/man1/initrd-put.1 MAN .build/dest/usr/share/man/man1/initrd-scanmod.1 MAN .build/dest/usr/share/man/man1/make-initrd.1 make: Leaving directory '/usr/src/RPM/BUILD/make-initrd-2.18.0' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.92170 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/make-initrd-buildroot + : + /bin/rm -rf -- /usr/src/tmp/make-initrd-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd make-initrd-2.18.0 + make 'INSTALL=/usr/libexec/rpm-build/install -p' DESTDIR=/usr/src/tmp/make-initrd-buildroot install make: Entering directory '/usr/src/RPM/BUILD/make-initrd-2.18.0' make: Leaving directory '/usr/src/RPM/BUILD/make-initrd-2.18.0' + mkdir -p /usr/src/tmp/make-initrd-buildroot/usr/share/make-initrd/features/kickstart/data/root + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/make-initrd-buildroot (auto) removed './usr/share/make-initrd/features/syslog/data/etc/syslog.d/.gitignore' removed './usr/share/make-initrd/features/network/data/.initrd/uevent/queues/network/.tmp/.gitignore' removed './usr/share/make-initrd/features/network/data/.initrd/online/.gitignore' removed './usr/share/make-initrd/features/mdadm/data/.initrd/uevent/queues/md-raid-member/.tmp/.gitignore' removed './usr/share/make-initrd/features/kickstart/data/root/.gitignore' removed './usr/share/make-initrd/features/kbd/data/.initrd/uevent/queues/console/.tmp/.gitignore' Verifying and fixing files in /usr/src/tmp/make-initrd-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/make-initrd-buildroot/ (default) Compressing files in /usr/src/tmp/make-initrd-buildroot (auto) Adjusting library links in /usr/src/tmp/make-initrd-buildroot ./usr/share/make-initrd/features/raid/data/lib: (from :0) ./usr/share/make-initrd/features/plymouth/data/lib: (from :0) ./usr/share/make-initrd/features/pipeline/data/lib: (from :0) ./usr/share/make-initrd/features/nfsroot/data/lib: (from :0) ./usr/share/make-initrd/features/network/data/lib: (from :0) ./usr/share/make-initrd/features/mdadm/data/lib: (from :0) ./usr/share/make-initrd/features/lvm/data/lib: (from :0) ./usr/share/make-initrd/features/luks/data/lib: (from :0) ./usr/share/make-initrd/features/kickstart/data/lib: (from :0) ./usr/share/make-initrd/features/kbd/data/lib: (from :0) ./usr/share/make-initrd/features/fsck/data/lib: (from :0) ./usr/share/make-initrd/data/lib: (from :0) ./lib: (from :0) 056-debuginfo.brp: WARNING: You have 1 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./lib/initrd/bin/busybox Verifying ELF objects in /usr/src/tmp/make-initrd-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/sbin/initrd-scanmod: uses non-LFS functions: __fxstat fts_close fts_open fts_read mmap open verify-elf: WARNING: ./usr/sbin/initrd-ls: uses non-LFS functions: __xstat mmap open verify-elf: WARNING: ./usr/sbin/initrd-extract: uses non-LFS functions: __xstat fopen mmap open verify-elf: WARNING: ./usr/sbin/depinfo: uses non-LFS functions: __fxstat __xstat fopen mmap open verify-elf: WARNING: ./usr/bin/initrd-put: uses non-LFS functions: __lxstat creat fopen fts_close fts_open fts_read lseek open posix_fadvise posix_fallocate pread sendfile verify-elf: WARNING: ./usr/bin/gen_init_cpio: uses non-LFS functions: __fxstat fopen open verify-elf: WARNING: ./lib/initrd/bin/spawn-shell: uses non-LFS functions: open verify-elf: WARNING: ./lib/initrd/bin/resume: uses non-LFS functions: __xstat fopen open readdir verify-elf: WARNING: ./lib/initrd/bin/nfsmount: uses non-LFS functions: __xstat fopen verify-elf: WARNING: ./lib/initrd/bin/md_run: uses non-LFS functions: __xstat fopen open readdir verify-elf: WARNING: ./lib/initrd/bin/halt: uses non-LFS functions: open readdir verify-elf: WARNING: ./lib/initrd/bin/environ: uses non-LFS functions: __fxstat mmap open Processing files: make-initrd-2.18.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.88241 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd make-initrd-2.18.0 + DOCDIR=/usr/src/tmp/make-initrd-buildroot/usr/share/doc/make-initrd-2.18.0 + export DOCDIR + rm -rf /usr/src/tmp/make-initrd-buildroot/usr/share/doc/make-initrd-2.18.0 + /bin/mkdir -p /usr/src/tmp/make-initrd-buildroot/usr/share/doc/make-initrd-2.18.0 + cp -prL Documentation/BootParameters.md Documentation/BootRuntime.md Documentation/Configuration.md Documentation/Contributing.md Documentation/DeviceSpec.md Documentation/FAQ.md Documentation/Features.md Documentation/HowItWorks.md Documentation/InitramfsServices.md Documentation/MakeInitrdArguments.md Documentation/NewFeature.md Documentation/README.md Documentation/UeventDetails.md /usr/src/tmp/make-initrd-buildroot/usr/share/doc/make-initrd-2.18.0 + chmod -R go-w /usr/src/tmp/make-initrd-buildroot/usr/share/doc/make-initrd-2.18.0 + chmod -R a+rX /usr/src/tmp/make-initrd-buildroot/usr/share/doc/make-initrd-2.18.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nMheqS find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NnBGES find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Provides: make-initrd(crc32c) = 1, mkinitrd = 2:2.18.0-alt1, make-initrd2 = 2.18.0-alt1, kinit-utils = 2.18.0-alt1, make-initrd-busybox = 2.18.0-alt1 Requires: bash, libshell, make, sed, module-init-tools, coreutils, findutils, grep, glibc-utils, chrooted-resolv, service, pciutils, libkmod >= 8-alt1, tar, udev >= 167-alt1, util-linux >= 2.17.2-alt1, /bin/sh, /lib/ld-linux.so.2, libbz2.so.1 >= set:igvOXRQuy1, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.1), libc.so.6(GLIBC_2.1.2), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.14), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.2.3), libc.so.6(GLIBC_2.2.4), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.30), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libcrypt.so.1 >= set:ihuTa, libcrypt.so.1(XCRYPT_2.0), libelf.so.1 >= set:kgEGaVzThZnAwL7Ik7x6Sj1, libelf.so.1(ELFUTILS_1.0), libelf.so.1(ELFUTILS_1.5), libkmod.so.2 >= set:kfgzHORtvdyrWdbaCIH0yWbbJuinOMXo8RgiZKGJwOVtAM3RRiI2, libkmod.so.2(LIBKMOD_5), libkmod.so.2(LIBKMOD_6), liblzma.so.5 >= set:kiyIzkMQO02, liblzma.so.5(XZ_5.0), libresolv.so.2(GLIBC_2.2), libresolv.so.2(GLIBC_2.9), libz.so.1 >= set:kic14qvxaG5, libzstd.so.1 >= set:lhWHZ7X1stTJNVsGUU6Wsyk32, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Obsoletes: make-initrd2, kinit-utils, make-initrd-busybox Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zTtWtT Creating make-initrd-debuginfo package Processing files: make-initrd-devmapper-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.j6Lr2S find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UV1aaV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, dmsetup >= 1.02.44-alt3 Processing files: make-initrd-lvm-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.skYUnT find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LkVnWT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, make-initrd-devmapper = 2.18.0-alt1, lvm2 Processing files: make-initrd-luks-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RQHPlV find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.e9J6kR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, make-initrd-devmapper = 2.18.0-alt1, cryptsetup Processing files: make-initrd-nfs-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Gp9bqV find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3rfpbV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Processing files: make-initrd-multipath-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RLp7vT find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ou3kGS find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, make-initrd-devmapper = 2.18.0-alt1, multipath-tools Processing files: make-initrd-plymouth-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gOufhS find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.r4DjrU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, plymouth, plymouth-plugin-label, fonts-ttf-dejavu, fontconfig Processing files: make-initrd-mdadm-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8johuT find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.F9kEFT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, mdadm Processing files: make-initrd-ucode-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ztmEER find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6gnqeR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, iucode_tool, firmware-intel-ucode, linux-firmware, cpio Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RlSKHR Processing files: make-initrd-iscsi-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.m72AMU find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oZE7OS find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, open-iscsi Processing files: make-initrd-kickstart-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ytsQXU find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yUf2gT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd = 2.18.0-alt1, btrfs-progs, coreutils, cpio, e2fsprogs, eject, mount, rsync, sfdisk, tar, unzip, util-linux, wget Processing files: make-initrd-debuginfo-2.18.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1PYruS find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uovoKS find-requires: running scripts (debuginfo) Requires: make-initrd = 2.18.0-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libbz2.so.1), debug(libc.so.6), debug(libelf.so.1), debug(libkmod.so.2), debug(liblzma.so.5), debug(libz.so.1), debug(libzstd.so.1) Adding to make-initrd-devmapper a strict dependency on make-initrd Adding to make-initrd-lvm a strict dependency on make-initrd Adding to make-initrd-luks a strict dependency on make-initrd Adding to make-initrd-multipath a strict dependency on make-initrd Adding to make-initrd-plymouth a strict dependency on make-initrd Adding to make-initrd-mdadm a strict dependency on make-initrd Adding to make-initrd-ucode a strict dependency on make-initrd Adding to make-initrd-iscsi a strict dependency on make-initrd Adding to make-initrd-kickstart a strict dependency on make-initrd Adding to make-initrd-debuginfo a strict dependency on make-initrd Adding to make-initrd-lvm a strict dependency on make-initrd-devmapper Adding to make-initrd-luks a strict dependency on make-initrd-devmapper Adding to make-initrd-multipath a strict dependency on make-initrd-devmapper Removing 3 extra deps from make-initrd-kickstart due to repentancy on make-initrd Removing 1 extra deps from make-initrd-lvm due to repentancy on make-initrd-devmapper Removing 1 extra deps from make-initrd-luks due to repentancy on make-initrd-devmapper Removing 1 extra deps from make-initrd-multipath due to repentancy on make-initrd-devmapper Wrote: /usr/src/RPM/RPMS/i586/make-initrd-2.18.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-devmapper-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-lvm-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-luks-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-nfs-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-multipath-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-plymouth-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-mdadm-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/make-initrd-ucode-2.18.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-iscsi-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-kickstart-2.18.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/make-initrd-debuginfo-2.18.0-alt1.i586.rpm (w2.lzdio) 164.33user 57.54system 6:21.58elapsed 58%CPU (0avgtext+0avgdata 45232maxresident)k 0inputs+0outputs (0major+8304655minor)pagefaults 0swaps 175.49user 65.62system 6:38.85elapsed 60%CPU (0avgtext+0avgdata 105184maxresident)k 1424inputs+0outputs (0major+8927349minor)pagefaults 0swaps