Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/BitchX.spec'], chrootPath='/var/lib/mock/f40-build-55649193-6537036/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ep1zyfs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ep1zyfs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '52745138fb864aa6acfd4baa32abe967', '-D', '/var/lib/mock/f40-build-55649193-6537036/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ep1zyfs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/BitchX.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1705881600 Wrote: /builddir/build/SRPMS/BitchX-1.2.1-36.fc40.src.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/BitchX.spec'], chrootPath='/var/lib/mock/f40-build-55649193-6537036/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ep1zyfs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ep1zyfs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bf00b43822724026b9f8753637cdf609', '-D', '/var/lib/mock/f40-build-55649193-6537036/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ep1zyfs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/BitchX.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1705881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SGOGmg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf BitchX-1.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/BitchX-1.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd BitchX-1.2.1 + rm -rf /builddir/build/BUILD/BitchX-1.2.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/BitchX-1.2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (format-security.patch): + echo 'Patch #0 (format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dll/fserv/fserv.c patching file dll/nap/napsend.c patching file source/dcc.c patching file source/translat.c Patch #1 (configure_openssl_SSLeay.patch): + echo 'Patch #1 (configure_openssl_SSLeay.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file configure.in Patch #2 (remove-duplicate-symbols.patch): + echo 'Patch #2 (remove-duplicate-symbols.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file source/commands.c patching file source/modules.c patching file source/numbers.c Patch #3 (expr2_static_inline.patch): + echo 'Patch #3 (expr2_static_inline.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file source/expr2.c Patch #4 (BitchX-configure-c99.patch): + echo 'Patch #4 (BitchX-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file configure.in Patch #5 (BitchX-aim-c99.patch): + echo 'Patch #5 (BitchX-aim-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dll/aim/toc/interface.c Patch #6 (BitchX-arcfourc-c99.patch): + echo 'Patch #6 (BitchX-arcfourc-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dll/arcfour/md5.c Patch #7 (BitchX-possum-c99.patch): + echo 'Patch #7 (BitchX-possum-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dll/possum/llist.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xqBeT5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd BitchX-1.2.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-12-15 14:19:38.384079045 +0000 +++ ./configure 2024-12-15 14:19:38.406079227 +0000 @@ -6630,7 +6630,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -6932,7 +6932,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -7134,7 +7134,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -7232,7 +7232,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -7395,7 +7395,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -7558,7 +7558,7 @@ #if defined (__stub_inet_aton) || defined (__stub___inet_aton) choke me #else -char (*f) () = inet_aton; +__attribute__ ((used)) char (*f) () = inet_aton; #endif #ifdef __cplusplus } @@ -13199,7 +13199,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -14351,7 +14351,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -15113,7 +15113,7 @@ #if defined (__stub_mlock) || defined (__stub___mlock) choke me #else -char (*f) () = mlock; +__attribute__ ((used)) char (*f) () = mlock; #endif #ifdef __cplusplus } @@ -15826,7 +15826,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -16588,7 +16588,7 @@ #if defined (__stub_mlock) || defined (__stub___mlock) choke me #else -char (*f) () = mlock; +__attribute__ ((used)) char (*f) () = mlock; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-plugins --with-ssl --enable-ipv6 Welcome to the BitchX-1.2.1 configuration checking for aarch64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether ln -s works... yes checking for gmake... gmake checking whether gmake sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for library containing strerror... none required checking for AIX... no checking for gawk... gawk checking whether compiler understands -fno-strict-aliasing... yes checking for getpwnam in -lsun... no checking for inet_addr in -ldgc... no checking for crypt in -lcrypt... yes checking for pow in -lm... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 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 sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking for net/if.h... yes checking for arpa/inet.h... yes checking for resolv.h... yes checking for stpcpy in string.h... yes checking for getpgid in unistd.h... no checking for killpg in signal.h... yes checking for getpass in unistd.h... yes checking for errno in errno.h... no checking for struct linger in sys/socket.h... yes checking for sun_len in sys/un.h... no checking for bcopy in string.h... yes checking whether strsignal is declared... yes checking whether sys_siglist is declared... no checking whether _sys_siglist is declared... no checking for an ANSI C-conforming const... 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... yes checking return type of signal handlers... void checking whether time.h and sys/time.h may both be included... yes checking for unsigned int... yes checking size of unsigned int... 4 checking library required for resolver functions... none required checking for the iphlpapi library... no checking for working alloca.h... yes checking for alloca... yes checking whether getpgrp requires zero arguments... yes checking whether setpgrp takes no argument... yes checking for strftime... yes checking for socket... yes checking for gethostname... yes checking for gettimeofday... yes checking for strtoul... yes checking for strlcpy... yes checking for strlcat... yes checking for stpcpy... yes checking for vsnprintf... yes checking for snprintf... yes checking for setsid... yes checking for strerror... yes checking for uname... yes checking for getrusage... yes checking for sysconf... yes checking for getpgid... yes checking for killpg... yes checking for getlogin... yes checking for realpath... yes checking for fchdir... yes checking for getpass... yes checking for fpathconf... yes checking for getpwent... yes checking for setvbuf... yes checking for select... yes checking for mkstemp... yes checking for memmove... yes checking for scandir... yes checking for gethostbyname... yes checking for connect... yes checking for inet_aton... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking for non-blocking type... posix checking for a list of signal names... strsignal checking whether to enable GTK support... no checking whether to enable Win32 GUI support... no checking whether to enable OS/2 PM support... no checking whether to enable sound support... no checking whether to enable SSL support... yes checking for ERR_get_error in -lcrypto... yes checking for SSL_accept in -lssl... yes checking whether to use use tgetent or setupterm... setupterm checking for setupterm in -lncurses... yes checking for tparm in ncurses.h... yes checking for tparm in -lncurses... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/termcap.h usability... yes checking ncurses/termcap.h presence... yes checking for ncurses/termcap.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking for tputs in ncurses/termcap.h... yes checking for tputs in termcap.h... (cached) yes checking for tputs in -lncurses... yes checking whether to enable Tcl support... no checking for unix mail directory... /var/spool/mail checking for default server list... none checking whether to enable IPv6 support... yes (native) checking whether to enable SOCKS support... no checking whether to enable CD-ROM support... no checking whether to enable dmalloc debugging support... no checking whether to enable plugin support... yes checking for dlopen in -ldl... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for system version... Linux-6.11.8-300.fc41.aarch64 checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no checking for mysql_query in -lmysqlclient... no checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for mlock... yes checking which plugins to build... abot acro aim arcfour autocycle blowfish cavlink encrypt fserv hint identd nap pkga possum qbx qmail wavplay configure: creating ./config.status config.status: creating Makefile config.status: creating bx-conf/Makefile config.status: creating doc/BitchX.bat config.status: creating doc/Makefile config.status: creating dll/Makefile config.status: creating dll/abot/Makefile config.status: creating dll/acro/Makefile config.status: creating dll/aim/Makefile config.status: creating dll/aim/toc/Makefile config.status: creating dll/amp/Makefile config.status: creating dll/arcfour/Makefile config.status: creating dll/autocycle/Makefile config.status: creating dll/blowfish/Makefile config.status: creating dll/cavlink/Makefile config.status: creating dll/cdrom/Makefile config.status: creating dll/encrypt/Makefile config.status: creating dll/europa/Makefile config.status: creating dll/fserv/Makefile config.status: creating dll/hint/Makefile config.status: creating dll/identd/Makefile config.status: creating dll/nap/Makefile config.status: creating dll/nicklist/Makefile config.status: creating dll/pkga/Makefile config.status: creating dll/possum/Makefile config.status: creating dll/qbx/Makefile config.status: creating dll/qmail/Makefile config.status: creating dll/wavplay/Makefile config.status: creating dll/xmms/Makefile config.status: creating source/Makefile config.status: creating include/defs.h config.status: executing default commands BitchX (c) 1996-2012 Colten Edwards et al ---------------------------------------------------------- The configuration script has finished. You should look through "include/config.h" and make any changes you would like to make. Now type "gmake" to compile BitchX. + gmake V=1 cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' all gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/source' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c alias.c alias.c: In function ‘pmatch_cmd_alias’: alias.c:1787:17: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] 1787 | int len; | ^~~ alias.c: In function ‘pmatch_assign_alias’: alias.c:1823:17: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] 1823 | int len; | ^~~ alias.c: In function ‘do_stack_alias’: alias.c:2392:25: warning: variable ‘my_which’ set but not used [-Wunused-but-set-variable] 2392 | int my_which = 0; | ^~~~~~~~ In file included from alias.c:2232: expr2.c: In function ‘op’: expr2.c:1043:50: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 1043 | case DANDEQ: IMPLIED((long)(c && d)) | ~~~^~~~~ expr2.c:818:17: note: ‘c’ was declared here 818 | BooL c, d; | ^ expr2.c:1043:50: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized] 1043 | case DANDEQ: IMPLIED((long)(c && d)) | ~~~^~~~~ expr2.c:818:20: note: ‘d’ was declared here 818 | BooL c, d; | ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c alist.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c array.c array.c: In function ‘insert_index’: array.c:235:24: warning: operation on ‘*index’ may be undefined [-Wsequence-point] 235 | *index = (long *)RESIZE(*index, long, *size + 1); array.c: In function ‘delete_array’: array.c:351:33: warning: operation on ‘array_info.item’ may be undefined [-Wsequence-point] 351 | array_info.item = (char**)RESIZE(array_info.item, char *, array_info.size); array.c:352:34: warning: operation on ‘array_info.index’ may be undefined [-Wsequence-point] 352 | array_info.index = (long *)RESIZE(array_info.index, long, array_info.size); array.c: In function ‘function_setitem’: array.c:669:61: warning: operation on ‘array->item’ may be undefined [-Wsequence-point] 669 | array->item = (char **)RESIZE(array->item, char *, (array->size + 1)); array.c:694:73: warning: operation on ‘array_info.item’ may be undefined [-Wsequence-point] 694 | array_info.item = (char **)RESIZE(array_info.item, char *, (array_info.size + 1)); array.c: In function ‘function_delitem’: array.c:895:53: warning: operation on ‘array->item’ may be undefined [-Wsequence-point] 895 | array->item = (char**)RESIZE(array->item, char *, array->size); array.c:896:54: warning: operation on ‘array->index’ may be undefined [-Wsequence-point] 896 | array->index = (long*)RESIZE(array->index, long, array->size); gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c art.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c banlist.c banlist.c: In function ‘userhost_ban’: banlist.c:398:15: warning: variable ‘temp’ set but not used [-Wunused-but-set-variable] 398 | char *temp; | ^~~~ banlist.c: In function ‘multkick’: banlist.c:474:17: warning: variable ‘filter’ set but not used [-Wunused-but-set-variable] 474 | int filter = 0; | ^~~~~~ banlist.c: In function ‘massop’: banlist.c:673:17: warning: variable ‘all’ set but not used [-Wunused-but-set-variable] 673 | all = 0, | ^~~ banlist.c:672:17: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] 672 | i, | ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c bot_link.c bot_link.c: In function ‘chanout_but’: bot_link.c:119:26: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 119 | DCC_int *n; | ^ bot_link.c: In function ‘tell_who’: bot_link.c:482:10: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 482 | DCC_int *n; | ^ bot_link.c: In function ‘send_whom’: bot_link.c:574:5: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 574 | int found = 0; | ^~~~~ bot_link.c: In function ‘tand_priv’: bot_link.c:601:12: warning: variable ‘from’ set but not used [-Wunused-but-set-variable] 601 | char *to, *from, *p, *i_dx; | ^~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c cdcc.c cdcc.c: In function ‘do_local_send’: cdcc.c:398:13: warning: variable ‘tdcc’ set but not used [-Wunused-but-set-variable] 398 | int tdcc = 0; | ^~~~ cdcc.c: In function ‘r_list’: cdcc.c:657:15: warning: variable ‘type_msg’ set but not used [-Wunused-but-set-variable] 657 | char *type_msg; | ^~~~~~~~ cdcc.c: In function ‘l_load’: cdcc.c:1181:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1181 | fgets(buffer, BIG_BUFFER_SIZE, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cdcc.c:1199:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1199 | fgets(buffer, BIG_BUFFER_SIZE, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cdcc.c:1205:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1205 | fgets(buffer, BIG_BUFFER_SIZE, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c cdns.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c chelp.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c commands.c commands.c: In function ‘find_dll_command’: commands.c:936:25: warning: variable ‘min’ set but not used [-Wunused-but-set-variable] 936 | int min, | ^~~ commands.c: In function ‘do_scan’: commands.c:1587:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1587 | if (fget_string_var(FORMAT_NAMES_FOOTER_FSET)) | ^~ In file included from commands.c:99: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:453:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 453 | #define clear_sorted_nicklist (*(void (*)(NickList **))global[CLEAR_SORTED_NICKLIST]) | ^ commands.c:1593:9: note: in expansion of macro ‘clear_sorted_nicklist’ 1593 | clear_sorted_nicklist(&snick); | ^~~~~~~~~~~~~~~~~~~~~ commands.c: In function ‘e_channel’: commands.c:2593:17: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] 2593 | int len; | ^~~ commands.c: In function ‘away’: commands.c:3168:17: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] 3168 | int len; | ^~~ commands.c: In function ‘quotecmd’: commands.c:3365:35: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] 3365 | protocol_command *p; | ^ commands.c: In function ‘back.part.0’: commands.c:3138:80: warning: ‘%s’ directive output may be truncated writing up to 2048 bytes into a region of size 2028 [-Wformat-truncation=] 3138 | "PRIVMSG %%s :ACTION %s", fset); | ^~ ~~~~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from commands.c:14: In function ‘snprintf’, inlined from ‘back.part.0’ at commands.c:3137:6: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 22 and 2070 bytes into a destination of size 2048 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c commands2.c commands2.c: In function ‘check_mode_lock’: commands2.c:407:43: warning: the address of ‘buffer’ will always evaluate as ‘true’ [-Waddress] 407 | if (chan && chan->have_op && buffer) | ^~ commands2.c: In function ‘handle_reconnect’: commands2.c:2471:63: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 2471 | if (n < 0 || getpeername(n, (struct sockaddr *)&addr, &len) < 0) | ^~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from commands2.c:8: /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ commands2.c:2530:28: warning: the comparison will always evaluate as ‘true’ for the address of ‘termid’ will never be NULL [-Waddress] 2530 | term_init((parm.termid && *parm.termid) ? parm.termid : NULL); | ^~~~ commands2.c:2451:17: note: ‘termid’ declared here 2451 | char termid[81]; | ^~~~~~ commands2.c:2520:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2520 | write(n, &parm, sizeof(struct param)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c: In function ‘close_detach_fd’: commands2.c:2647:9: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2647 | freopen("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c:2648:9: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2648 | freopen("/dev/null", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c:2649:9: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2649 | freopen("/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c: In function ‘create_ipc_socket’: commands2.c:2598:17: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2598 | chown(buf, getuid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c:2600:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2600 | write(u, connect_cookie, strlen(connect_cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c:2601:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2601 | write(u, "\n", 1); | ^~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c compat.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c cset.c In file included from cset.c:47: cset.c: In function ‘get_cset’: cset.c:564:33: warning: the address of ‘s’ will always evaluate as ‘true’ [-Waddress] 564 | return m_strdup(s && *s ? s : empty_string); | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ctcp.c ctcp.c: In function ‘do_notice_ctcp’: ctcp.c:1370:26: warning: pointer targets in passing argument 1 of ‘stripansi’ differ in signedness [-Wpointer-sign] 1370 | tbuf = stripansi(str); | ^~~ | | | char * In file included from ctcp.c:45: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:78:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 78 | char *stripansi (unsigned char *); | ^~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c dcc.c dcc.c: In function ‘find_dcc_pending’: dcc.c:420:15: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable] 420 | unsigned long flags; | ^~~~~ dcc.c: In function ‘BX_dcc_create’: dcc.c:571:71: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 571 | if ((getpeername(new_s, (struct sockaddr *) &remaddr, &rl)) != -1) | ^~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from dcc.c:14: /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ dcc.c: In function ‘start_dcc_get’: dcc.c:2094:5: warning: variable ‘tdcc’ set but not used [-Wunused-but-set-variable] 2094 | int tdcc = 0; | ^~~~ dcc.c:2093:15: warning: variable ‘type’ set but not used [-Wunused-but-set-variable] 2093 | unsigned long type; | ^~~~ dcc.c: In function ‘dcc_glist’: dcc.c:2494:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2494 | if (do_hook(DCC_STAT_LIST, "%d %s %s %s %s %s %s", | ^~ dcc.c:2512:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2512 | continue; | ^~~~~~~~ dcc.c: In function ‘dcc_exempt_save’: dcc.c:3038:13: warning: the address of ‘dcc_no_flood’ will always evaluate as ‘true’ [-Waddress] 3038 | if (dcc_no_flood) | ^~~~~~~~~~~~ dcc.c:3048:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘dcc_no_flood’ will never be NULL [-Waddress] 3048 | if (dcc_no_flood) | ^~~~~~~~~~~~ dcc.c:75:11: note: ‘dcc_no_flood’ declared here 75 | HashEntry dcc_no_flood[DCC_HASHSIZE]; | ^~~~~~~~~~~~ dcc.c: In function ‘output_reject_ctcp’: dcc.c:3066:18: warning: variable ‘nickname_requested’ set but not used [-Wunused-but-set-variable] 3066 | char *nickname_requested; | ^~~~~~~~~~~~~~~~~~ dcc.c: In function ‘open_listen_port’: dcc.c:3699:59: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] 3699 | if (getsockname(s, (struct sockaddr *)&data_addr, &len) < 0) | ^~~~ | | | int * /usr/include/sys/socket.h:117:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ dcc.c:3710:58: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] 3710 | getsockname(data, (struct sockaddr *)&data_addr, &len); | ^~~~ | | | int * /usr/include/sys/socket.h:117:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ dcc.c: In function ‘start_ftp’: dcc.c:3790:69: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 3790 | if (getpeername(snum, (struct sockaddr *) &remaddr, &rl) != -1) | ^~~ | | | int * /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ dcc.c: In function ‘open_ftpget’: dcc.c:3832:13: warning: variable ‘sock’ set but not used [-Wunused-but-set-variable] 3832 | SocketList *sock; | ^~~~ dcc.c: In function ‘dcc_ftpcommand’: dcc.c:3954:83: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 3954 | s1 = accept(sock, (struct sockaddr *) &data_addr, &len); | ^~~~ | | | int * /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ dcc.c: In function ‘new_dcc_message_transmit’: dcc.c:1051:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1051 | write(s->is_read, tmp, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dcc.c: In function ‘real_file_send’: dcc.c:1913:17: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1913 | getcwd(FileBuf, BIG_BUFFER_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcc.c: In function ‘read_ftp_file’: dcc.c:3685:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3685 | write(n->file, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35: In function ‘read’, inlined from ‘process_dcc_send1’ at dcc.c:1726:15: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘process_dcc_send1’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘read_ftp_file’ at dcc.c:3674:8: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘read_ftp_file’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c debug.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c encrypt.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c exec.c exec.c: In function ‘execcmd’: exec.c:573:25: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 573 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ exec.c:574:25: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 574 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ exec.c: In function ‘text_to_process’: exec.c:1029:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1029 | write(proc->p_stdin, my_buffer, strlen(my_buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c files.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c flood.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c fset.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c functions.c functions.c: In function ‘get_builtins’: functions.c:947:7: warning: variable ‘last_match’ set but not used [-Wunused-but-set-variable] 947 | char *last_match = NULL; | ^~~~~~~~~~ functions.c: In function ‘function_decode’: functions.c:1703:16: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 1703 | return result; /* DONT USE RETURN_STR HERE! */ | ^~~~~~ functions.c: In function ‘function_channelnicks’: functions.c:2643:25: warning: variable ‘sort_type’ set but not used [-Wunused-but-set-variable] 2643 | int sort_type = NICKSORT_NORMAL; | ^~~~~~~~~ functions.c: In function ‘function_chr’: functions.c:3396:30: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 3396 | unsigned char *ack = aboo; | ^~~~ In file included from functions.c:47: functions.c:1255:41: warning: the address of ‘aboo’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:3403:9: note: in expansion of macro ‘RETURN_STR’ 3403 | RETURN_STR(aboo); | ^~~~~~~~~~ functions.c: In function ‘function_ascii’: functions.c:3409:28: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 3409 | unsigned char *w = word; | ^~~~ functions.c: In function ‘function_truncate’: functions.c:1255:41: warning: the address of ‘buffer’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:3821:9: note: in expansion of macro ‘RETURN_STR’ 3821 | RETURN_STR(buffer); | ^~~~~~~~~~ functions.c: In function ‘function_tdiff2’: functions.c:1255:41: warning: the address of ‘tmp’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:3878:9: note: in expansion of macro ‘RETURN_STR’ 3878 | RETURN_STR(tmp); | ^~~~~~~~~~ functions.c: In function ‘function_stripansi’: functions.c:3901:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 3901 | for (cp = input; *cp; cp++) | ^ functions.c: In function ‘function_stripc’: functions.c:3920:29: warning: pointer targets in passing argument 1 of ‘(u_char * (*)(u_char *, const u_char *))*(global + 600)’ differ in signedness [-Wpointer-sign] 3920 | strcpy_nocolorcodes(retval, input); | ^~~~~~ | | | char * functions.c:3920:29: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ functions.c:3920:37: warning: pointer targets in passing argument 2 of ‘(u_char * (*)(u_char *, const u_char *))*(global + 600)’ differ in signedness [-Wpointer-sign] 3920 | strcpy_nocolorcodes(retval, input); | ^~~~~ | | | char * functions.c:3920:37: note: expected ‘const u_char *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ functions.c: In function ‘function_uptime’: functions.c:1255:41: warning: the address of ‘buffer’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:4295:9: note: in expansion of macro ‘RETURN_STR’ 4295 | RETURN_STR(buffer); | ^~~~~~~~~~ functions.c: In function ‘function_rot13’: functions.c:1255:41: warning: the address of ‘temp’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:4405:9: note: in expansion of macro ‘RETURN_STR’ 4405 | RETURN_STR(temp); | ^~~~~~~~~~ functions.c: In function ‘function_isvoice’: functions.c:1255:41: warning: the address of ‘zero’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:4934:25: note: in expansion of macro ‘RETURN_STR’ 4934 | RETURN_STR(Nick ? (nick_isvoice(Nick) ? one : zero) : zero); | ^~~~~~~~~~ functions.c: In function ‘function_writeserver’: functions.c:5066:49: warning: pointer targets in passing argument 2 of ‘(int (*)(int, unsigned char *, int, int))*(global + 2384)’ differ in signedness [-Wpointer-sign] 5066 | len = write_sockets(socket_num, word, strlen(word), 1); | ^~~~ | | | char * functions.c:5066:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ functions.c: In function ‘function_countansi’: functions.c:5317:38: warning: pointer targets in passing argument 1 of ‘(int (*)(const unsigned char *, int, int))*(global + 2472)’ differ in signedness [-Wpointer-sign] 5317 | RETURN_INT(output_with_count(input, 0, 0)); | ^~~~~ | | | char * /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:5317:9: note: in expansion of macro ‘RETURN_INT’ 5317 | RETURN_INT(output_with_count(input, 0, 0)); | ^~~~~~~~~~ functions.c:5317:38: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 5317 | RETURN_INT(output_with_count(input, 0, 0)); | ^~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:5317:9: note: in expansion of macro ‘RETURN_INT’ 5317 | RETURN_INT(output_with_count(input, 0, 0)); | ^~~~~~~~~~ functions.c: In function ‘function_regerror’: functions.c:1255:41: warning: the address of ‘error_buf’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:5689:9: note: in expansion of macro ‘RETURN_STR’ 5689 | RETURN_STR(error_buf); | ^~~~~~~~~~ functions.c: In function ‘function_leftpc’: functions.c:5769:36: warning: pointer targets in passing argument 1 of ‘(unsigned char ** (*)(const unsigned char *, int, int *, int))*(global + 2424)’ differ in signedness [-Wpointer-sign] 5769 | prepared = prepare_display(word, count, &lines, PREPARE_NOWRAP); | ^~~~ | | | char * functions.c:5769:36: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ functions.c: In function ‘function_uname’: functions.c:1255:41: warning: the address of ‘tmp’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:5834:9: note: in expansion of macro ‘RETURN_STR’ 5834 | RETURN_STR(tmp); | ^~~~~~~~~~ functions.c: In function ‘function_mask’: functions.c:1255:41: warning: the address of ‘stuff’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:6026:9: note: in expansion of macro ‘RETURN_STR’ 6026 | RETURN_STR(stuff); | ^~~~~~~~~~ functions.c: In function ‘function_numlines’: functions.c:6359:44: warning: pointer targets in passing argument 1 of ‘(unsigned char ** (*)(const unsigned char *, int))*(global + 2456)’ differ in signedness [-Wpointer-sign] 6359 | for (lines = split_up_line(s, cols + 1); *lines; lines++) | ^ | | | char * functions.c:6359:44: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ functions.c: In function ‘function_servgroup’: functions.c:1255:41: warning: the address of ‘empty_string’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:6585:9: note: in expansion of macro ‘RETURN_STR’ 6585 | RETURN_STR(s ? s : empty_string); | ^~~~~~~~~~ functions.c: In function ‘function_realpath’: functions.c:1255:41: warning: the address of ‘resolvedname’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:7265:17: note: in expansion of macro ‘RETURN_STR’ 7265 | RETURN_STR(resolvedname); | ^~~~~~~~~~ functions.c: In function ‘function_stat’: functions.c:1255:41: warning: the address of ‘retval’ will always evaluate as ‘true’ [-Waddress] 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) | ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro ‘m_strdup’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:7336:9: note: in expansion of macro ‘RETURN_STR’ 7336 | RETURN_STR(retval); | ^~~~~~~~~~ functions.c: In function ‘function_ftime’: functions.c:5461:25: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5461 | getcwd(FileBuf, BIG_BUFFER_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function ‘function_fsize’: functions.c:4133:25: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4133 | getcwd(FileBuf, BIG_BUFFER_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function ‘function_fexist’: functions.c:4084:25: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4084 | getcwd(FileBuf, BIG_BUFFER_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c funny.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c glob.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c hash.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c hebrew.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c help.c help.c: In function ‘help_put_it’: help.c:756:39: warning: pointer targets in passing argument 1 of ‘(void (*)(unsigned char *))*(global + 2448)’ differ in signedness [-Wpointer-sign] 756 | add_to_screen(putbuf); | ^~~~~~ | | | char * help.c:756:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ help.c: In function ‘help_me’: help.c:437:25: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 437 | chdir(path); | ^~~~~~~~~~~ help.c:450:25: warning: ignoring return value of ‘fchdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 450 | fchdir(cwd); | ^~~~~~~~~~~ help.c: In function ‘help_prompt.part.0’: help.c:199:43: warning: ‘Help? ’ directive writing 6 bytes into a region of size between 1 and 2049 [-Wformat-overflow=] 199 | sprintf(tmp, "%s%sHelp? ", help_topic_list, | ^~~~~~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from help.c:30: In function ‘sprintf’, inlined from ‘help_prompt.part.0’ at help.c:199:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 7 or more bytes (assuming 2055) into a destination of size 2049 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c history.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c hook.c hook.c: In function ‘find_numeric_list’: hook.c:1759:28: warning: variable ‘last’ set but not used [-Wunused-but-set-variable] 1759 | NumericList *tmp, *last = NULL; | ^~~~ hook.c: In function ‘do_stack_on’: hook.c:1644:67: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1644 | sprintf(nptr->name, "%3.3u", -which); | ^ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from hook.c:11: In function ‘sprintf’, inlined from ‘do_stack_on’ at hook.c:1644:6, inlined from ‘do_stack_on’ at hook.c:1556:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hook.c: In function ‘add_dll_hook’: hook.c:418:39: warning: ‘%3.3u’ directive writing 10 bytes into a region of size 4 [-Wformat-overflow=] 418 | sprintf(entry->name, "%3.3u", numeric); | ^~~~~ In function ‘add_numeric_dll_hook’, inlined from ‘add_dll_hook’ at hook.c:441:3: hook.c:418:38: note: directive argument in the range [-2147483648, -1] 418 | sprintf(entry->name, "%3.3u", numeric); | ^~~~~~~ In function ‘sprintf’, inlined from ‘add_numeric_dll_hook’ at hook.c:418:3, inlined from ‘add_dll_hook’ at hook.c:441:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 11 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hook.c: In function ‘oncmd’: hook.c:770:36: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 770 | sprintf(buf, "%3.3u", numeric); | ^ In function ‘sprintf’, inlined from ‘show_numeric_list’ at hook.c:770:3, inlined from ‘show_numeric_list’ at hook.c:761:12, inlined from ‘oncmd’ at hook.c:1448:10: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hook.c: In function ‘oncmd’: hook.c:381:44: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 381 | sprintf(entry->name, "%3.3u", numeric); | ^ In function ‘sprintf’, inlined from ‘add_numeric_hook’ at hook.c:381:3, inlined from ‘add_hook’ at hook.c:467:3, inlined from ‘oncmd’ at hook.c:1395:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 4 and 5 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c if.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ignore.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c input.c input.c: In function ‘BX_update_input’: input.c:246:50: warning: pointer targets in passing argument 1 of ‘(unsigned char * (*)(const unsigned char *))*(global + 2568)’ differ in signedness [-Wpointer-sign] 246 | ptr = (char *)strip_ansi(ptr); | ^~~ | | | char * input.c:246:50: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ input.c:103:47: warning: pointer targets in passing argument 1 of ‘(int (*)(const unsigned char *, int, int))*(global + 2472)’ differ in signedness [-Wpointer-sign] 103 | #define INPUT_PROMPT current_screen->input_prompt | ^ | | | char * input.c:262:70: note: in expansion of macro ‘INPUT_PROMPT’ 262 | INPUT_PROMPT_LEN = output_with_count(INPUT_PROMPT, 0, 0); | ^~~~~~~~~~~~ input.c:103:47: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 103 | #define INPUT_PROMPT current_screen->input_prompt | ^ input.c:262:70: note: in expansion of macro ‘INPUT_PROMPT’ 262 | INPUT_PROMPT_LEN = output_with_count(INPUT_PROMPT, 0, 0); | ^~~~~~~~~~~~ input.c:103:47: warning: pointer targets in passing argument 1 of ‘(int (*)(const unsigned char *, int, int))*(global + 2472)’ differ in signedness [-Wpointer-sign] 103 | #define INPUT_PROMPT current_screen->input_prompt | ^ | | | char * input.c:392:51: note: in expansion of macro ‘INPUT_PROMPT’ 392 | output_with_count(INPUT_PROMPT, 0, 1); | ^~~~~~~~~~~~ input.c:103:47: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 103 | #define INPUT_PROMPT current_screen->input_prompt | ^ input.c:392:51: note: in expansion of macro ‘INPUT_PROMPT’ 392 | output_with_count(INPUT_PROMPT, 0, 1); | ^~~~~~~~~~~~ input.c: In function ‘input_delete_to_previous_space’: input.c:709:17: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] 709 | char c; | ^ input.c: In function ‘BX_lookup_nickcompletion’: input.c:1157:50: warning: pointer targets in passing argument 1 of ‘(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)’ differ in signedness [-Wpointer-sign] 1157 | else if (!ntmp && my_strnstr(nick->nick, possible, strlen(possible))) | ~~~~^~~~~~ | | | char * input.c:1157:50: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ input.c:1157:58: warning: pointer targets in passing argument 2 of ‘(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)’ differ in signedness [-Wpointer-sign] 1157 | else if (!ntmp && my_strnstr(nick->nick, possible, strlen(possible))) | ^~~~~~~~ | | | char * input.c:1157:58: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ input.c: In function ‘edit_char’: input.c:1363:53: warning: pointer targets in passing argument 2 of ‘oldprompt->func’ differ in signedness [-Wpointer-sign] 1363 | (*oldprompt->func)(oldprompt->data, key_); | ^~~~ | | | unsigned char * input.c:1363:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ input.c: In function ‘BX_getchannick’: input.c:1839:110: warning: pointer targets in passing argument 1 of ‘(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)’ differ in signedness [-Wpointer-sign] 1839 | if (!my_strnicmp(cnick->nick, nick, strlen(nick)) || my_strnstr(cnick->nick, nick, strlen(nick))) | ~~~~~^~~~~~ | | | char * input.c:1839:110: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ input.c:1839:118: warning: pointer targets in passing argument 2 of ‘(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)’ differ in signedness [-Wpointer-sign] 1839 | if (!my_strnicmp(cnick->nick, nick, strlen(nick)) || my_strnstr(cnick->nick, nick, strlen(nick))) | ^~~~ | | | char * input.c:1839:118: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ input.c:1855:69: warning: pointer targets in passing argument 1 of ‘(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)’ differ in signedness [-Wpointer-sign] 1855 | if (my_strnstr(cnick->nick, nick, strlen(nick))) | ~~~~~^~~~~~ | | | char * input.c:1855:69: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ input.c:1855:77: warning: pointer targets in passing argument 2 of ‘(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)’ differ in signedness [-Wpointer-sign] 1855 | if (my_strnstr(cnick->nick, nick, strlen(nick))) | ^~~~ | | | char * input.c:1855:77: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ input.c: In function ‘get_completions’: input.c:2209:5: warning: variable ‘numglobs’ set but not used [-Wunused-but-set-variable] 2209 | int numglobs = 0, i; | ^~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing \ -DIRCLIB=\"/usr/lib64/bx\" -DIRCPATH=\"~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx\" -c ./irc.c ./irc.c: In function ‘BX_irc_exit’: ./irc.c:487:29: warning: the address of ‘buffer’ will always evaluate as ‘true’ [-Waddress] 487 | put_it("%s", buffer ? buffer : reason ? reason : empty_string); | ^ ./irc.c: In function ‘parse_args’: ./irc.c:1183:13: warning: the address of ‘nickname’ will always evaluate as ‘true’ [-Waddress] 1183 | if (!nickname || !*nickname) | ^ ./irc.c:713:26: warning: unused variable ‘hp’ [-Wunused-variable] 713 | struct hostent * hp; | ^~ ./irc.c: In function ‘BX_io’: ./irc.c:1246:25: warning: variable ‘first_time’ set but not used [-Wunused-but-set-variable] 1246 | static int first_time = 1, | ^~~~~~~~~~ ./irc.c: In function ‘munge_term_env_var’: ./irc.c:317:1: warning: control reaches end of non-void function [-Wreturn-type] 317 | } | ^ ./irc.c: In function ‘check_pid’: ./irc.c:1454:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1454 | fgets(buffer, 10, t); | ^~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing \ -DIRCLIB=\"/usr/lib64/bx\" -DSHLIB_SUFFIX=\".so\" -c ./ircaux.c ./ircaux.c: In function ‘BX_my_strnstr’: ./ircaux.c:776:50: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 776 | if (!strncasecmp(p, str2, strlen(str2))) | ^~~~ | | | const unsigned char * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./ircaux.c:10: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./ircaux.c:776:37: warning: pointer targets in passing argument 2 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 776 | if (!strncasecmp(p, str2, strlen(str2))) | ^~~~ | | | const unsigned char * In file included from /usr/include/string.h:462: /usr/include/strings.h:120:55: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./ircaux.c: In function ‘BX_ircpanic’: ./ircaux.c:1331:67: warning: the address of ‘cx_function’ will always evaluate as ‘true’ [-Waddress] 1331 | yell("Panic: [%s:%s %s]", irc_version, buffer, cx_function?cx_function:empty_string); | ^ ./ircaux.c: In function ‘BX_mangle_line’: ./ircaux.c:2963:37: warning: pointer targets in passing argument 1 of ‘(unsigned char * (*)(const unsigned char *))*(global + 2568)’ differ in signedness [-Wpointer-sign] 2963 | output = strip_ansi(incoming); | ^~~~~~~~ | | | char * ./ircaux.c:2963:37: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ ./ircaux.c:2963:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 2963 | output = strip_ansi(incoming); | ^ ./ircaux.c:2985:62: warning: pointer targets in passing argument 1 of ‘(const unsigned char * (*)(const unsigned char *, int *, int *, int))*(global + 2560)’ differ in signedness [-Wpointer-sign] 2985 | end = (char *)skip_ctl_c_seq(s, &lhs, &rhs, 0); | ^ | | | char * ./ircaux.c:2985:62: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ ./ircaux.c: In function ‘open_compression’: ./ircaux.c:1392:25: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1392 | setuid (getuid ()); | ^~~~~~~~~~~~~~~~~~ ./ircaux.c:1393:25: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1393 | setgid (getgid ()); | ^~~~~~~~~~~~~~~~~~ ./ircaux.c: In function ‘init_socketpath’: ./ircaux.c:2882:32: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2882 | (void) chown(socket_path, getuid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ircaux.c: In function ‘randd’: ./ircaux.c:3226:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3226 | read(random_fd, (void *)&value, sizeof(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ircsig.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c keys.c keys.c: In function ‘snew_key’: keys.c:429:34: warning: pointer targets in passing argument 1 of ‘lookup_function’ differ in signedness [-Wpointer-sign] 429 | if ((j = lookup_function(what, &i)) == 1) | ^~~~ | | | char * keys.c:38:44: note: expected ‘const uc *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 38 | static int lookup_function (const uc *name, int *lf_index); | ~~~~~~~~~~^~~~ keys.c: In function ‘snew_key_from_str’: keys.c:450:29: warning: pointer targets in passing argument 1 of ‘lookup_function’ differ in signedness [-Wpointer-sign] 450 | if (lookup_function(what, &i) == 1) | ^~~~ | | | char * keys.c:38:44: note: expected ‘const uc *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 38 | static int lookup_function (const uc *name, int *lf_index); | ~~~~~~~~~~^~~~ keys.c: In function ‘parsekeycmd’: keys.c:681:50: warning: pointer targets in passing argument 1 of ‘lookup_function’ differ in signedness [-Wpointer-sign] 681 | int keyval = lookup_function(arg, &i); | ^~~ | | | char * keys.c:38:44: note: expected ‘const uc *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 38 | static int lookup_function (const uc *name, int *lf_index); | ~~~~~~~~~~^~~~ keys.c: In function ‘rbindcmd’: keys.c:717:33: warning: pointer targets in passing argument 1 of ‘lookup_function’ differ in signedness [-Wpointer-sign] 717 | switch (lookup_function(arg, &f)) | ^~~ | | | char * keys.c:38:44: note: expected ‘const uc *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 38 | static int lookup_function (const uc *name, int *lf_index); | ~~~~~~~~~~^~~~ keys.c: In function ‘grok_meta’: keys.c:753:26: warning: pointer targets in passing argument 1 of ‘(int (*)(const char *, const char *, size_t))*(global + 200)’ differ in signedness [-Wpointer-sign] 753 | if (!my_strnicmp(ptr, "META", 4)) | ^~~ | | | const uc * {aka const unsigned char *} keys.c:753:26: note: expected ‘const char *’ but argument is of type ‘const uc *’ {aka ‘const unsigned char *’} keys.c:758:49: warning: pointer targets in passing argument 1 of ‘(int (*)(const char *, const char *, size_t))*(global + 200)’ differ in signedness [-Wpointer-sign] 758 | if (*ptr == '_' && !my_strnicmp(ptr, "_CHARACTER", 10)) | ^~~ | | | const uc * {aka const unsigned char *} keys.c:758:49: note: expected ‘const char *’ but argument is of type ‘const uc *’ {aka ‘const unsigned char *’} keys.c:762:29: warning: pointer targets in passing argument 1 of ‘atol’ differ in signedness [-Wpointer-sign] 762 | meta = atol(str); | ^~~ | | | const uc * {aka const unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from keys.c:13: /usr/include/stdlib.h:486:1: note: expected ‘const char *’ but argument is of type ‘const uc *’ {aka ‘const unsigned char *’} 486 | __NTH (atol (const char *__nptr)) | ^~~~~ In file included from /usr/include/stdlib.h:706, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109: keys.c: In function ‘parse_key’: keys.c:891:30: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 891 | copy = alloca(strlen(sequence) + 4); | ^~~~~~~~ | | | const uc * {aka const unsigned char *} In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘const uc *’ {aka ‘const unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ keys.c:893:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 893 | end = copy + strlen(copy) - 1; | ^~~~ | | | uc * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ keys.c:970:67: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 970 | yell("SOME_CHARACTERS := [%s] (%d)", copy, strlen(copy)); | ^~~~ | | | uc * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ keys.c:1003:62: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1003 | yell("COPY: [%s] (%d)", copy, strlen(copy)); | ^~~~ | | | uc * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ keys.c: In function ‘bindcmd’: keys.c:1086:18: warning: pointer targets in assignment from ‘char *’ to ‘uc *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 1086 | if ((key = new_next_arg(args, &args)) == NULL) | ^ keys.c:1097:38: warning: pointer targets in passing argument 1 of ‘(int (*)(const char *, const char *, size_t))*(global + 200)’ differ in signedness [-Wpointer-sign] 1097 | if (!my_strnicmp(key + 1, "DEFAULTS", 1)) | ~~~~^~~ | | | uc * {aka unsigned char *} keys.c:1097:38: note: expected ‘const char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} keys.c:1112:38: warning: pointer targets in passing argument 1 of ‘get_term_capability’ differ in signedness [-Wpointer-sign] 1112 | newkey = get_term_capability(key, 0, 1); | ^~~ | | | uc * {aka unsigned char *} In file included from keys.c:26: /builddir/build/BUILD/BitchX-1.2.1/include/ircterm.h:741:50: note: expected ‘char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} 741 | char * get_term_capability (char *, int, int); | ^~~~~~ keys.c:1112:16: warning: pointer targets in assignment from ‘char *’ to ‘uc *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 1112 | newkey = get_term_capability(key, 0, 1); | ^ keys.c:1122:23: warning: pointer targets in assignment from ‘char *’ to ‘uc *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 1122 | if ((function = next_arg(args, &args)) == NULL) | ^ keys.c: In function ‘lookup_function’: /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:172:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 172 | #define LOCAL_COPY(y) strcpy(alloca(strlen((y)) + 1), y) | ^~~ | | | const uc * {aka const unsigned char *} keys.c:1195:27: note: in expansion of macro ‘LOCAL_COPY’ 1195 | breakage = name = LOCAL_COPY(orig_name); | ^~~~~~~~~~ /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘const uc *’ {aka ‘const unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/alist.h:10, from /builddir/build/BUILD/BitchX-1.2.1/include/struct.h:18, from keys.c:16: keys.c:1195:38: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 1195 | breakage = name = LOCAL_COPY(orig_name); | ^~~~~~~~~ | | | const uc * {aka const unsigned char *} /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:172:55: note: in definition of macro ‘LOCAL_COPY’ 172 | #define LOCAL_COPY(y) strcpy(alloca(strlen((y)) + 1), y) | ^ /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘const uc *’ {aka ‘const unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ keys.c:1195:25: warning: pointer targets in assignment from ‘char *’ to ‘uc *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 1195 | breakage = name = LOCAL_COPY(orig_name); | ^ keys.c:1196:15: warning: pointer targets in passing argument 1 of ‘(char * (*)(char *))*(global + 144)’ differ in signedness [-Wpointer-sign] 1196 | upper(name); | ^~~~ | | | uc * {aka unsigned char *} keys.c:1196:15: note: expected ‘char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} keys.c:1197:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1197 | len = strlen(name); | ^~~~ | | | uc * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ keys.c:1202:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 1202 | if (!strncmp(name, "META", 4)) | ^~~~ | | | uc * {aka unsigned char *} /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ keys.c:1218:29: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 1218 | if (strncmp(name, key_names[i].name, len) == 0) | ^~~~ | | | uc * {aka unsigned char *} /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ keys.c:1227:20: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1227 | if (strcmp(name, key_names[*lf_index].name) == 0) | ^~~~ | | | uc * {aka unsigned char *} /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘uc *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ keys.c:1187:25: warning: variable ‘breakage’ set but not used [-Wunused-but-set-variable] 1187 | uc *name, *breakage; | ^~~~~~~~ keys.c: In function ‘convert_to_keystr’: keys.c:1269:31: warning: pointer targets in passing argument 1 of ‘lookup_function’ differ in signedness [-Wpointer-sign] 1269 | ret = lookup_function(key, &loc); | ^~~ | | | char * keys.c:1182:44: note: expected ‘const uc *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1182 | static int lookup_function (const uc *orig_name, int *lf_index) | ~~~~~~~~~~^~~~~~~~~ keys.c: In function ‘init_keys2’: keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1488:9: note: in expansion of macro ‘LKEY’ 1488 | LKEY(key_up, BACKWARD_HISTORY) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1489:9: note: in expansion of macro ‘LKEY’ 1489 | LKEY(key_down, FORWARD_HISTORY) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1490:9: note: in expansion of macro ‘LKEY’ 1490 | LKEY(key_left, BACKWARD_CHARACTER) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1491:9: note: in expansion of macro ‘LKEY’ 1491 | LKEY(key_right, FORWARD_CHARACTER) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1492:9: note: in expansion of macro ‘LKEY’ 1492 | LKEY(key_ppage, SCROLL_BACKWARD) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1493:9: note: in expansion of macro ‘LKEY’ 1493 | LKEY(key_npage, SCROLL_FORWARD) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1494:9: note: in expansion of macro ‘LKEY’ 1494 | LKEY(key_home, SCROLL_START) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1495:9: note: in expansion of macro ‘LKEY’ 1495 | LKEY(key_end, SCROLL_END) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1496:9: note: in expansion of macro ‘LKEY’ 1496 | LKEY(key_ic, TOGGLE_INSERT_MODE) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1498:9: note: in expansion of macro ‘LKEY’ 1498 | LKEY(key_f1, CHELP) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1499:9: note: in expansion of macro ‘LKEY’ 1499 | LKEY(key_f2, CHANNEL_CHOPS) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1500:9: note: in expansion of macro ‘LKEY’ 1500 | LKEY(key_f3, CHANNEL_NONOPS) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1502:9: note: in expansion of macro ‘LKEY’ 1502 | LKEY(key_f4, CDCC_PLIST) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1504:9: note: in expansion of macro ‘LKEY’ 1504 | LKEY(key_f5, DCC_PLIST) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1505:9: note: in expansion of macro ‘LKEY’ 1505 | LKEY(key_f6, DCC_STATS) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c:1482:35: warning: pointer targets in passing argument 1 of ‘snew_key_from_str’ differ in signedness [-Wpointer-sign] 1482 | snew_key_from_str(l, #y); \ | ^ | | | char * keys.c:1506:9: note: in expansion of macro ‘LKEY’ 1506 | LKEY(key_dc, TOGGLE_CLOAK) | ^~~~ keys.c:437:40: note: expected ‘uc *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 437 | static void snew_key_from_str (uc *string, char *what) | ~~~~^~~~~~ keys.c: In function ‘show_binding’: keys.c:505:40: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 505 | sprintf(meta_str, "META%d-", meta); | ^~ keys.c:505:35: note: directive argument in the range [1, 2147483646] 505 | sprintf(meta_str, "META%d-", meta); | ^~~~~~~~~ In file included from /usr/include/stdio.h:980: In function ‘sprintf’, inlined from ‘show_binding’ at keys.c:505:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 16 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ keys.c: In function ‘save_bindings’: keys.c:563:48: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 563 | sprintf(meta_str, "META%d-", meta); | ^~ keys.c:563:43: note: directive argument in the range [0, 2147483646] 563 | sprintf(meta_str, "META%d-", meta); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘save_bindings’ at keys.c:563:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 16 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ keys.c: In function ‘convert_to_keystr’: keys.c:1286:72: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 1286 | sprintf(meta_str, "META%d-", i); | ^~ keys.c:1286:67: note: directive argument in the range [1, 2147483646] 1286 | sprintf(meta_str, "META%d-", i); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘convert_to_keystr’ at keys.c:1286:7: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 16 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c lastlog.c lastlog.c: In function ‘logmsg’: lastlog.c:613:47: warning: pointer targets in passing argument 1 of ‘(unsigned char ** (*)(const unsigned char *, int))*(global + 2456)’ differ in signedness [-Wpointer-sign] 613 | lines = split_up_line(stripansicodes(convert_output_format(format, "%s %s %s %s", type, timestr, from, msglog_buffer)), 80); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * lastlog.c:613:47: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ lastlog.c:617:50: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 617 | int len = strlen(*lines) * 2 + 1; | ^~~~~~ | | | unsigned char * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from lastlog.c:12: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ lastlog.c:620:52: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 620 | strcpy(local_copy, *lines); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35: /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c list.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c log.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c mail.c mail.c: In function ‘check_mail’: mail.c:185:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 185 | return (char *)(*check_ext_mail)(); | ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c misc.c In file included from misc.c:46: misc.c: In function ‘stripansi’: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: warning: pointer targets in passing argument 1 of ‘(char * (*)(const char *, const char *, const char *, const int))*(global + 632)’ differ in signedness [-Wpointer-sign] 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ | | | unsigned char * misc.c:1085:19: note: in expansion of macro ‘m_strdup’ 1085 | newline = m_strdup(line); | ^~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ misc.c:1085:19: note: in expansion of macro ‘m_strdup’ 1085 | newline = m_strdup(line); | ^~~~~~~~ misc.c:1085:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1085 | newline = m_strdup(line); | ^ misc.c: In function ‘randreason’: misc.c:1772:20: warning: variable ‘min’ set but not used [-Wunused-but-set-variable] 1772 | int count, min, i; | ^~~ misc.c: In function ‘ar_send_res_msg’: misc.c:2405:20: warning: RES_PRIMARY is deprecated 2405 | if (_res.options & RES_PRIMARY) | ^~~~~~~~~~~~~~~~~~~~ misc.c: In function ‘ar_query_name’: misc.c:2488:25: warning: pointer targets in passing argument 8 of ‘res_mkquery’ differ in signedness [-Wpointer-sign] 2488 | buf, sizeof(buf)); | ^~~ | | | char * In file included from misc.c:2017: /usr/include/resolv.h:197:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 197 | unsigned char *, int) __THROW; | ^~~~~~~~~~~~~~~ misc.c: In function ‘ar_procanswer’: misc.c:2689:35: warning: pointer targets in passing argument 1 of ‘dn_skipname’ differ in signedness [-Wpointer-sign] 2689 | cp += dn_skipname(cp, eob) + QFIXEDSZ; | ^~ | | | char * /usr/include/resolv.h:252:30: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 252 | int dn_skipname (const unsigned char *, const unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~ misc.c:2689:39: warning: pointer targets in passing argument 2 of ‘dn_skipname’ differ in signedness [-Wpointer-sign] 2689 | cp += dn_skipname(cp, eob) + QFIXEDSZ; | ^~~ | | | char * /usr/include/resolv.h:252:53: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 252 | int dn_skipname (const unsigned char *, const unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~ misc.c:2695:31: warning: pointer targets in passing argument 1 of ‘dn_expand’ differ in signedness [-Wpointer-sign] 2695 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); | ^~~ | | | char * /usr/include/resolv.h:275:28: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 275 | int dn_expand (const unsigned char *, const unsigned char *, | ^~~~~~~~~~~~~~~~~~~~~ misc.c:2695:36: warning: pointer targets in passing argument 2 of ‘dn_expand’ differ in signedness [-Wpointer-sign] 2695 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); | ^~~ | | | char * /usr/include/resolv.h:275:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 275 | int dn_expand (const unsigned char *, const unsigned char *, | ^~~~~~~~~~~~~~~~~~~~~ misc.c:2695:41: warning: pointer targets in passing argument 3 of ‘dn_expand’ differ in signedness [-Wpointer-sign] 2695 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); | ^~ | | | char * /usr/include/resolv.h:276:28: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 276 | const unsigned char *, char *, int) __THROW; | ^~~~~~~~~~~~~~~~~~~~~ misc.c:2730:44: warning: pointer targets in passing argument 1 of ‘dn_expand’ differ in signedness [-Wpointer-sign] 2730 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, | ^~~ | | | char * /usr/include/resolv.h:275:28: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 275 | int dn_expand (const unsigned char *, const unsigned char *, | ^~~~~~~~~~~~~~~~~~~~~ misc.c:2730:49: warning: pointer targets in passing argument 2 of ‘dn_expand’ differ in signedness [-Wpointer-sign] 2730 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, | ^~~ | | | char * /usr/include/resolv.h:275:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 275 | int dn_expand (const unsigned char *, const unsigned char *, | ^~~~~~~~~~~~~~~~~~~~~ misc.c:2730:54: warning: pointer targets in passing argument 3 of ‘dn_expand’ differ in signedness [-Wpointer-sign] 2730 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, | ^~ | | | char * /usr/include/resolv.h:276:28: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 276 | const unsigned char *, char *, int) __THROW; | ^~~~~~~~~~~~~~~~~~~~~ misc.c:2665:26: warning: variable ‘hp’ set but not used [-Wunused-but-set-variable] 2665 | struct hent *hp; | ^~ misc.c:2664:22: warning: variable ‘ttl’ set but not used [-Wunused-but-set-variable] 2664 | unsigned int ttl, dr, *adr; | ^~~ misc.c: In function ‘nslookup’: misc.c:3117:18: warning: variable ‘hostname’ set but not used [-Wunused-but-set-variable] 3117 | *hostname, | ^~~~~~~~ In file included from /usr/include/stdlib.h:706, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from misc.c:4: misc.c: In function ‘BX_write_sockets’: misc.c:3602:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 3602 | buf = alloca(strlen(str)+4); | ^~~ | | | unsigned char * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ misc.c:3603:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 3603 | strcpy(buf, str); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35: /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ misc.c:3603:29: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 3603 | strcpy(buf, str); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ misc.c:3604:24: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 3604 | strcat(buf, "\r\n"); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ misc.c: In function ‘read_netfinger’: misc.c:3671:29: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 3671 | register unsigned char *p = tmpstr; | ^~~~~~ misc.c: In function ‘netfinger’: misc.c:3746:42: warning: pointer targets in passing argument 2 of ‘(int (*)(int, unsigned char *, int, int))*(global + 2384)’ differ in signedness [-Wpointer-sign] 3746 | write_sockets(s, name, strlen(name), 1); | ^~~~ | | | char * misc.c:3746:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ misc.c: In function ‘handle_socket_connect’: misc.c:3795:57: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 3795 | if ((getpeername(rc, (struct sockaddr *) &addr, &address_len)) != -1) | ^~~~~~~~~~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63: /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ misc.c: In function ‘char_fucknut’: misc.c:4415:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 4415 | int total = strlen(crap), allchar = 0; | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ misc.c: In function ‘convert_output_format2’: misc.c:4781:17: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 4781 | strlcpy(buffer2, str, RAW_BUFFER_SIZE); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:150:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ misc.c:4782:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4782 | copy = tmpc = buffer2; | ^ misc.c:4795:41: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] 4795 | strlcat(s, convert_output_format(new_str, NULL, NULL), RAW_BUFFER_SIZE); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:167:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: warning: pointer targets in passing argument 1 of ‘(char * (*)(const char *, const char *, const char *, const int))*(global + 632)’ differ in signedness [-Wpointer-sign] 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ | | | unsigned char * misc.c:4808:16: note: in expansion of macro ‘m_strdup’ 4808 | return m_strdup(buffer); | ^~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ misc.c:4808:16: note: in expansion of macro ‘m_strdup’ 4808 | return m_strdup(buffer); | ^~~~~~~~ misc.c: In function ‘ar_init.part.0’: misc.c:2111:23: warning: ‘__strncat_chk’ output may be truncated copying 98 bytes from a string of length 255 [-Wstringop-truncation] 2111 | (void)strncat(ar_domainname, _res.defdname, HOSTLEN-2); | ^ misc.c: In function ‘putlog’: misc.c:1259:34: warning: ‘%s’ directive writing up to 2048 bytes into a region of size between 2007 and 2046 [-Wformat-overflow=] 1259 | sprintf(s2,"[%s] %s",s1,s); | ^~ ~ In file included from /usr/include/stdio.h:980: In function ‘sprintf’, inlined from ‘putlog’ at misc.c:1259:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 4 and 2091 bytes into a destination of size 2049 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ misc.c: In function ‘userhost_ignore’: misc.c:3917:45: warning: argument 1 null where non-null expected [-Wnonnull] 3917 | user = host; host = strchr(host, '@'); *host++ = 0; | ^~~~~~~~~~~~~~~~~ /usr/include/string.h:246:14: note: in a call to function ‘strchr’ declared ‘nonnull’ 246 | extern char *strchr (const char *__s, int __c) | ^~~~~~ misc.c:3969:42: warning: ‘%s’ directive writing up to 2048 bytes into a region of size 2040 [-Wformat-overflow=] 3969 | sprintf(tmp, "%s ^IGNORE %s NONE", arg, ignorebuf); | ^~ ~~~~~~~~~ In function ‘sprintf’, inlined from ‘userhost_ignore’ at misc.c:3969:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 15 or more bytes (assuming 2063) into a destination of size 2049 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing \ -DPLUGINDIR=\"/usr/lib64/bx/plugins\" -DSHLIB_SUFFIX=\".so\" -c ./modules.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c names.c names.c: In function ‘BX_do_compress_modes’: names.c:627:42: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses] 627 | else if (!add & isvoiced) | ^~~~ names.c: In function ‘list_channels’: names.c:1495:17: warning: variable ‘no’ set but not used [-Wunused-but-set-variable] 1495 | no = 1; | ^~ names.c: In function ‘BX_recreate_mode’: names.c:478:11: warning: storing the address of local variable ‘buffer’ in ‘s.1’ [-Wdangling-pointer=] 478 | s = buffer; | ~~^~~~~~~~ names.c:474:17: note: ‘buffer’ declared here 474 | char buffer[BIG_BUFFER_SIZE + 1]; | ^~~~~~ names.c:473:26: note: ‘s.1’ declared here 473 | static char *s; | ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c network.c network.c: In function ‘BX_connect_by_number’: network.c:484:63: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] 484 | if (getsockname(fd, (struct sockaddr *)&name, &length)) | ^~~~~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from network.c:9: /usr/include/sys/socket.h:117:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ network.c:503:33: warning: unused variable ‘hp’ [-Wunused-variable] 503 | struct hostent *hp; | ^~ network.c: In function ‘my_accept’: network.c:787:34: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 787 | retval = accept(s, addr, addrlen); | ^~~~~~~ | | | int * /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ network.c: In function ‘socks5_connect’: network.c:274:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 274 | read(s, tmpbuf, 4); | ^~~~~~~~~~~~~~~~~~ network.c:276:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 276 | read(s, tmpbuf, 2); | ^~~~~~~~~~~~~~~~~~ network.c:284:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 284 | read(s, tmpbuf, 1); | ^~~~~~~~~~~~~~~~~~ network.c:287:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 287 | read(s, tmpbuf, tmpI); | ^~~~~~~~~~~~~~~~~~~~~ network.c:290:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 290 | read(s, tmpbuf, 2); | ^~~~~~~~~~~~~~~~~~ network.c:297:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 297 | read(s, tmpbuf, 18); | ^~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c newio.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing \ -DSCRIPT_PATH=\"/usr/lib64/bx/script\" -c ./notice.c ./notice.c: In function ‘handle_oper_vision’: ./notice.c:125:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 125 | if (q && *q) | ^~ In file included from ./notice.c:41: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:134:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 134 | #define chop (*(char * (*)(char *, int))global[CHOP]) | ^ ./notice.c:126:38: note: in expansion of macro ‘chop’ 126 | q++; chop(q, 1); | ^~~~ ./notice.c:79:13: warning: variable ‘dcount’ set but not used [-Wunused-but-set-variable] 79 | int dcount; | ^~~~~~ ./notice.c: In function ‘parse_server_notice’: ./notice.c:624:39: warning: variable ‘for_’ set but not used [-Wunused-but-set-variable] 624 | char *for_; | ^~~~ ./notice.c: In function ‘parse_notice’: ./notice.c:748:47: warning: pointer targets in passing argument 1 of ‘stripansi’ differ in signedness [-Wpointer-sign] 748 | free_me = newline = stripansi(line); | ^~~~ | | | char * In file included from ./notice.c:33: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:78:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 78 | char *stripansi (unsigned char *); | ^~~~~~~~~~~~~~~ ./notice.c: In function ‘got_initial_version_28’: ./notice.c:879:35: warning: variable ‘user_modes’ set but not used [-Wunused-but-set-variable] 879 | char *server, *sversion, *user_modes, *channel_modes; | ^~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c notify.c notify.c: In function ‘rebuild_notify_ison’: notify.c:52:15: warning: variable ‘stuff’ set but not used [-Wunused-but-set-variable] 52 | char *stuff; | ^~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c numbers.c numbers.c: In function ‘numbered_command’: numbers.c:1451:37: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1451 | ArgSpace[0] = '\0'; | ~~~~~~~~~~~~^~~~~~ In file included from /usr/include/stdlib.h:706, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from numbers.c:14: numbers.c:1450:36: note: destination object of size 0 allocated by ‘alloca’ 1450 | ArgSpace = alloca(len + 1); | ^~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c output.c output.c: In function ‘put_echo’: output.c:163:23: warning: pointer targets in passing argument 1 of ‘(void (*)(unsigned char *))*(global + 2448)’ differ in signedness [-Wpointer-sign] 163 | add_to_screen(str); | ^~~ | | | char * output.c:163:23: note: expected ‘unsigned char *’ but argument is of type ‘char *’ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c parse.c parse.c: In function ‘annoy_kicks’: parse.c:190:34: warning: pointer targets in passing argument 1 of ‘char_fucknut’ differ in signedness [-Wpointer-sign] 190 | if (char_fucknut(ptr, '\002', 12)) | ^~~ | | | char * In file included from parse.c:44: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:192:39: warning: pointer targets in passing argument 1 of ‘char_fucknut’ differ in signedness [-Wpointer-sign] 192 | else if (char_fucknut(ptr, '\007', 1)) | ^~~ | | | char * /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:194:39: warning: pointer targets in passing argument 1 of ‘char_fucknut’ differ in signedness [-Wpointer-sign] 194 | else if (char_fucknut(ptr, '\003', 12)) | ^~~ | | | char * /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:196:39: warning: pointer targets in passing argument 1 of ‘char_fucknut’ differ in signedness [-Wpointer-sign] 196 | else if (char_fucknut(ptr, '\037', 0)) | ^~~ | | | char * /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:198:39: warning: pointer targets in passing argument 1 of ‘char_fucknut’ differ in signedness [-Wpointer-sign] 198 | else if (char_fucknut(ptr, '\026', 12)) | ^~~ | | | char * /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:200:39: warning: pointer targets in passing argument 1 of ‘caps_fucknut’ differ in signedness [-Wpointer-sign] 200 | else if (caps_fucknut(ptr)) | ^~~ | | | char * /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:100:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 100 | int caps_fucknut (register unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c: In function ‘p_wallops’: parse.c:411:26: warning: variable ‘high’ set but not used [-Wunused-but-set-variable] 411 | char *high; | ^~~~ parse.c: In function ‘p_privmsg’: parse.c:582:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 582 | if (do_hook(ENCRYPTED_PRIVMSG_LIST,"%s %s %s",from, to, ptr)) | ^~ parse.c:584:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 584 | sed = 0; | ^~~ parse.c:455:32: warning: variable ‘com_lines’ set but not used [-Wunused-but-set-variable] 455 | static int com_do_log, com_lines = 0; | ^~~~~~~~~ parse.c:455:20: warning: variable ‘com_do_log’ set but not used [-Wunused-but-set-variable] 455 | static int com_do_log, com_lines = 0; | ^~~~~~~~~~ parse.c:453:18: warning: variable ‘high’ set but not used [-Wunused-but-set-variable] 453 | *high; | ^~~~ parse.c: In function ‘add_user_who’: parse.c:966:22: warning: variable ‘chan’ set but not used [-Wunused-but-set-variable] 966 | ChannelList *chan; | ^~~~ parse.c: In function ‘p_channel’: parse.c:1153:55: warning: variable ‘user’ set but not used [-Wunused-but-set-variable] 1153 | char *user, *host; | ^~~~ parse.c: In function ‘p_invite’: parse.c:1214:18: warning: variable ‘high’ set but not used [-Wunused-but-set-variable] 1214 | char *high; | ^~~~ parse.c: In function ‘check_bitch_mode’: parse.c:1449:8: warning: variable ‘right_now’ set but not used [-Wunused-but-set-variable] 1449 | time_t right_now; | ^~~~~~~~~ parse.c: In function ‘parse_server’: parse.c:1910:27: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable] 1910 | protocol_command *retval; | ^~~~~~ parse.c: In function ‘p_authenticate’: parse.c:949:17: warning: ‘strlcpy’ writing 512 bytes into a region of size 511 overflows the destination [-Wstringop-overflow=] 949 | strlcpy(buf + strlen(nick) + 1, nick, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:928:14: note: at offset [1, 512] into destination object ‘buf’ of size 512 928 | char buf[512]; | ^~~ In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from parse.c:11: /usr/include/bits/string_fortified.h:150:1: note: in a call to function ‘strlcpy’ declared with attribute ‘access (write_only, 1, 3)’ 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ parse.c:950:17: warning: ‘strlcpy’ writing 512 bytes into a region of size 510 overflows the destination [-Wstringop-overflow=] 950 | strlcpy(buf + strlen(nick) * 2 + 2, pass, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:928:14: note: at offset [2, 512] into destination object ‘buf’ of size 512 928 | char buf[512]; | ^~~ /usr/include/bits/string_fortified.h:150:1: note: in a call to function ‘strlcpy’ declared with attribute ‘access (write_only, 1, 3)’ 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c queue.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c readlog.c readlog.c: In function ‘show_log’: readlog.c:136:18: warning: variable ‘old_window’ set but not used [-Wunused-but-set-variable] 136 | Window *old_window; | ^~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c reg.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing \ -DWSERV_PATH=\"/usr/lib64/bx/wserv\" -c ./screen.c ./screen.c: In function ‘BX_skip_incoming_mirc’: ./screen.c:99:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 99 | for (i=0;ioutput_func’ differ in signedness [-Wpointer-sign] 182 | target_window->output_func(target_window, out); | ^~~ | | | char * ./screen.c:182:59: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ ./screen.c:188:61: warning: pointer targets in passing argument 2 of ‘current_window->output_func’ differ in signedness [-Wpointer-sign] 188 | current_window->output_func(current_window, out); | ^~~ | | | char * ./screen.c:188:61: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ ./screen.c: In function ‘BX_add_to_window’: ./screen.c:209:33: warning: pointer targets in passing argument 3 of ‘redirect_text’ differ in signedness [-Wpointer-sign] 209 | str, NULL, 0, 0); | ^~~ | | | const unsigned char * In file included from ./screen.c:20: /builddir/build/BUILD/BitchX-1.2.1/include/commands.h:31:51: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 31 | void redirect_text (int, const char *, const char *, char *, int, int); | ^~~~~~~~~~~~ ./screen.c:215:47: warning: pointer targets in passing argument 3 of ‘(void (*)(FILE *, time_t, const char *, int))*(global + 32)’ differ in signedness [-Wpointer-sign] 215 | add_to_log(window->log_fp, 0, str, window->mangler); | ^~~ | | | const unsigned char * ./screen.c:215:47: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ ./screen.c:216:40: warning: pointer targets in passing argument 2 of ‘add_to_lastlog’ differ in signedness [-Wpointer-sign] 216 | add_to_lastlog(window, str); | ^~~ | | | const unsigned char * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/window.h:17, from /builddir/build/BUILD/BitchX-1.2.1/include/screen.h:16, from ./screen.c:21: /builddir/build/BUILD/BitchX-1.2.1/include/lastlog.h:70:43: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 70 | void add_to_lastlog (Window *, const char *); | ^~~~~~~~~~~~ ./screen.c:245:59: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 245 | if (window->beep_always && strchr(str, '\007')) | ^~~ | | | const unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ./screen.c: In function ‘BX_prepare_display’: ./screen.c:389:25: warning: pointer targets in initialization of ‘u_char *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 389 | *cont = empty_string, | ^~~~~~~~~~~~ ./screen.c:403:15: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 403 | words = (char *)get_string_var(WORD_BREAK_VAR); | ^ ./screen.c:406:23: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 406 | words = ", "; | ^ ./screen.c:407:24: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 407 | if (!(cont_ptr = (char *)get_string_var(CONTINUED_LINE_VAR))) | ^ ./screen.c:408:26: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 408 | cont_ptr = (char *)empty_string; | ^ ./screen.c:414:26: warning: pointer targets in assignment from ‘char *’ to ‘const unsigned char *’ differ in signedness [-Wpointer-sign] 414 | orig_str = space; | ^ ./screen.c:574:59: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 574 | if (*ptr == ' ' || strchr(words, *ptr)) | ^~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from ./screen.c:42: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of ‘(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)’ differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | u_char * {aka unsigned char *} ./screen.c:654:25: note: in expansion of macro ‘malloc_strcpy’ 654 | malloc_strcpy((char **)&(output[line++]), buffer); | ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ ./screen.c:654:25: note: in expansion of macro ‘malloc_strcpy’ 654 | malloc_strcpy((char **)&(output[line++]), buffer); | ^~~~~~~~~~~~~ ./screen.c:659:49: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 659 | (strlen(cont_ptr) < indent)) | ^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./screen.c:662:41: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 662 | sprintf(cont, "%-*s", indent, cont_ptr); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ In file included from /usr/include/stdlib.h:706, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22: ./screen.c:670:50: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 670 | pos_copy = alloca(strlen(buffer) + strlen(cont) + 20); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./screen.c:670:67: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 670 | pos_copy = alloca(strlen(buffer) + strlen(cont) + 20); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./screen.c:671:32: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 671 | strcpy(pos_copy, buffer+word_break); | ^~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./screen.c:671:48: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 671 | strcpy(pos_copy, buffer+word_break); | ~~~~~~^~~~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./screen.c:673:33: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 673 | strcpy (buffer, cont); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./screen.c:673:41: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 673 | strcpy (buffer, cont); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./screen.c:674:33: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 674 | strcat (buffer, pos_copy); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:128:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./screen.c:674:41: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 674 | strcat (buffer, pos_copy); | ^~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./screen.c:675:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 675 | col = pos = strlen(buffer); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of ‘(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)’ differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | u_char * {aka unsigned char *} ./screen.c:692:17: note: in expansion of macro ‘malloc_strcpy’ 692 | malloc_strcpy((char **)&(output[line++]),buffer); | ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ ./screen.c:692:17: note: in expansion of macro ‘malloc_strcpy’ 692 | malloc_strcpy((char **)&(output[line++]),buffer); | ^~~~~~~~~~~~~ ./screen.c:366:17: warning: variable ‘gchar_mode’ set but not used [-Wunused-but-set-variable] 366 | int gchar_mode; | ^~~~~~~~~~ ./screen.c: In function ‘add_to_scratch_window_display_list’: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of ‘(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)’ differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | const unsigned char * ./screen.c:756:9: note: in expansion of macro ‘malloc_strcpy’ 756 | malloc_strcpy(&my_line->line, str); | ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ ./screen.c:756:9: note: in expansion of macro ‘malloc_strcpy’ 756 | malloc_strcpy(&my_line->line, str); | ^~~~~~~~~~~~~ ./screen.c: In function ‘add_to_display_list’: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of ‘(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)’ differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | const unsigned char * ./screen.c:811:9: note: in expansion of macro ‘malloc_strcpy’ 811 | malloc_strcpy(&window->display_ip->line, str); | ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ ./screen.c:811:9: note: in expansion of macro ‘malloc_strcpy’ 811 | malloc_strcpy(&window->display_ip->line, str); | ^~~~~~~~~~~~~ ./screen.c: In function ‘BX_repaint_window’: ./screen.c:1432:39: warning: pointer targets in passing argument 2 of ‘rite’ differ in signedness [-Wpointer-sign] 1432 | rite(window, curr_line->line); | ~~~~~~~~~^~~~~~ | | | char * ./screen.c:885:47: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 885 | int rite(Window *window, const unsigned char *str) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./screen.c: In function ‘BX_create_additional_screen’: ./screen.c:1550:18: warning: variable ‘oldscreen’ set but not used [-Wunused-but-set-variable] 1550 | Screen *oldscreen, *new; | ^~~~~~~~~ ./screen.c: In function ‘do_screens’: ./screen.c:1871:43: warning: pointer targets in passing argument 1 of ‘(int (*)(char *, int, int, int, void *))*(global + 2416)’ differ in signedness [-Wpointer-sign] 1871 | if (dgets(buffer, screen->fdin, 0, IO_BUFFER_SIZE, NULL)) | ^~~~~~ | | | unsigned char * ./screen.c:1871:43: note: expected ‘char *’ but argument is of type ‘unsigned char *’ ./screen.c:1873:59: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1873 | *(buffer + strlen(buffer) - 1) = '\0'; | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./screen.c:1875:66: warning: pointer targets in passing argument 2 of ‘(void (*)(const char *, char *, const char *, int, int, int))*(global + 3344)’ differ in signedness [-Wpointer-sign] 1875 | parse_line(NULL, buffer, empty_string, 1, 0, 1); | ^~~~~~ | | | unsigned char * ./screen.c:1875:66: note: expected ‘char *’ but argument is of type ‘unsigned char *’ ./screen.c:1877:66: warning: pointer targets in passing argument 2 of ‘(void (*)(const char *, char *, const char *, int, int, int))*(global + 3344)’ differ in signedness [-Wpointer-sign] 1877 | parse_line(NULL, buffer, NULL, 1, 0, 1); | ^~~~~~ | | | unsigned char * ./screen.c:1877:66: note: expected ‘char *’ but argument is of type ‘unsigned char *’ ./screen.c: In function ‘BX_strip_ansi’: ./screen.c:2332:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 2332 | maxpos = strlen(str); | ^~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./screen.c: In function ‘BX_create_additional_screen’: ./screen.c:1625:25: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1625 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ./screen.c:1626:25: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1626 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c server.c server.c: In function ‘do_server’: server.c:477:71: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 477 | if (getpeername(des, (struct sockaddr *) &sa, &salen) != -1) | ^~~~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from server.c:16: /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ server.c: In function ‘connect_to_server_direct’: server.c:1300:69: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] 1300 | getsockname(new_des, (struct sockaddr *) localaddr, &address_len); | ^~~~~~~~~~~~ | | | int * /usr/include/sys/socket.h:117:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ server.c: In function ‘BX_set_server_away’: server.c:1951:41: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1951 | if (p) | ^~ In file included from server.c:45: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:117:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 117 | #define new_free(x) (*(x) = ((void * (*)(void *, const char *, const char *, int))global[NEW_FREE])(*(x),MODULENAME, __FILE__,__LINE__)) | ^ server.c:1954:49: note: in expansion of macro ‘new_free’ 1954 | new_free(&p); | ^~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c stack.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c status.c status.c: In function ‘convert_sub_format’: status.c:290:17: warning: variable ‘dont_got_it’ set but not used [-Wunused-but-set-variable] 290 | int dont_got_it = 1; | ^~~~~~~~~~~ status.c: In function ‘fix_status_buffer’: status.c:476:26: warning: pointer targets in passing argument 1 of ‘(unsigned char * (*)(const unsigned char *))*(global + 2568)’ differ in signedness [-Wpointer-sign] 476 | str = strip_ansi(buffer); | ^~~~~~ | | | char * status.c:476:26: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ status.c:598:24: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 598 | strcpy(buffer, lhs_buffer); | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from status.c:12: /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ status.c:599:25: warning: pointer targets in passing argument 2 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 599 | strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); | ^~~~~~~~~~ | | | unsigned char * status.c:599:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ status.c:450:17: warning: variable ‘in_rhs’ set but not used [-Wunused-but-set-variable] 450 | int in_rhs = 0, | ^~~~~~ status.c: In function ‘stat_convert_format’: status.c:650:33: warning: pointer targets in passing argument 1 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 650 | strmcat(buffer, (status_expandos[i].callback_function)(win), BIG_BUFFER_SIZE); | ^~~~~~ | | | unsigned char * status.c:650:33: note: expected ‘char *’ but argument is of type ‘unsigned char *’ status.c:651:38: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 651 | pos = strlen(buffer); | ^~~~~~ | | | unsigned char * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ status.c:657:32: warning: pointer targets in passing argument 2 of ‘fix_status_buffer’ differ in signedness [-Wpointer-sign] 657 | fix_status_buffer(win, buffer, 0); | ^~~~~~ | | | unsigned char * status.c:438:43: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 438 | void fix_status_buffer(Window *win, char *buffer, int in_status) | ~~~~~~^~~~~~ In file included from status.c:38: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: warning: pointer targets in passing argument 1 of ‘(char * (*)(const char *, const char *, const char *, const int))*(global + 632)’ differ in signedness [-Wpointer-sign] 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ | | | unsigned char * status.c:658:16: note: in expansion of macro ‘m_strdup’ 658 | return m_strdup(buffer); | ^~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ status.c:658:16: note: in expansion of macro ‘m_strdup’ 658 | return m_strdup(buffer); | ^~~~~~~~ status.c: In function ‘make_status’: status.c:746:26: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 746 | snprintf(str, BIG_BUFFER_SIZE - 1, | ^~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ status.c:778:44: warning: pointer targets in passing argument 1 of ‘(char * (*)(const char *, const char *, int *, char **))*(global + 3320)’ differ in signedness [-Wpointer-sign] 778 | str = expand_alias(buffer, empty_string, &af, NULL); | ^~~~~~ | | | u_char * {aka unsigned char *} status.c:778:44: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:778:29: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 778 | str = expand_alias(buffer, empty_string, &af, NULL); | ^ status.c:779:33: warning: pointer targets in passing argument 1 of ‘(char * (*)(char *, const char *, int))*(global + 224)’ differ in signedness [-Wpointer-sign] 779 | strmcpy(buffer, str, BIG_BUFFER_SIZE); | ^~~~~~ | | | u_char * {aka unsigned char *} status.c:779:33: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:779:41: warning: pointer targets in passing argument 2 of ‘(char * (*)(char *, const char *, int))*(global + 224)’ differ in signedness [-Wpointer-sign] 779 | strmcpy(buffer, str, BIG_BUFFER_SIZE); | ^~~ | | | u_char * {aka unsigned char *} status.c:779:41: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:903:41: warning: pointer targets in passing argument 1 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 903 | strmcat(lhs_buffer, lhs_fillchar, | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} status.c:903:41: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:903:53: warning: pointer targets in passing argument 2 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 903 | strmcat(lhs_buffer, lhs_fillchar, | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} status.c:903:53: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:915:41: warning: pointer targets in passing argument 1 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 915 | strmcat(lhs_buffer, lhs_fillchar, | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} status.c:915:41: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:915:53: warning: pointer targets in passing argument 2 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 915 | strmcat(lhs_buffer, lhs_fillchar, | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} status.c:915:53: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:919:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 919 | strcpy(buffer, lhs_buffer); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ status.c:919:32: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 919 | strcpy(buffer, lhs_buffer); | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ status.c:920:25: warning: pointer targets in passing argument 1 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 920 | strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); | ^~~~~~ | | | u_char * {aka unsigned char *} status.c:920:25: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:920:33: warning: pointer targets in passing argument 2 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 920 | strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} status.c:920:33: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:921:25: warning: pointer targets in passing argument 1 of ‘(char * (*)(char *, const char *, int))*(global + 232)’ differ in signedness [-Wpointer-sign] 921 | strmcat(buffer, ALL_OFF_STR, BIG_BUFFER_SIZE); | ^~~~~~ | | | u_char * {aka unsigned char *} status.c:921:25: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} status.c:935:32: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 935 | strcmp(buffer, win->wset->status_line[status_line])) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of ‘(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)’ differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | u_char * {aka unsigned char *} status.c:939:25: note: in expansion of macro ‘malloc_strcpy’ 939 | malloc_strcpy(&win->wset->status_line[status_line], buffer); | ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ status.c:939:25: note: in expansion of macro ‘malloc_strcpy’ 939 | malloc_strcpy(&win->wset->status_line[status_line], buffer); | ^~~~~~~~~~~~~ status.c:951:37: warning: pointer targets in passing argument 1 of ‘(int (*)(const unsigned char *))*(global + 2464)’ differ in signedness [-Wpointer-sign] 951 | output_line(st); | ^~ | | | char * status.c:951:37: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ status.c:725:25: warning: variable ‘in_rhs’ set but not used [-Wunused-but-set-variable] 725 | int in_rhs = 0, | ^~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c struct.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c tcl_public.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./term.c ./term.c: In function ‘term_init’: ./term.c:879:31: warning: unused variable ‘tmp’ [-Wunused-variable] 879 | char *tmp = termcap2; | ^~~ ./term.c: In function ‘control_mangle’: ./term.c:1859:24: warning: pointer targets in returning ‘u_char *’ {aka ‘unsigned char *’} from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 1859 | return retval; | ^~~~~~ ./term.c:1878:16: warning: pointer targets in returning ‘u_char *’ {aka ‘unsigned char *’} from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 1878 | return retval; | ^~~~~~ ./term.c: In function ‘get_term_capability’: ./term.c:1913:56: warning: pointer targets in passing argument 1 of ‘control_mangle’ differ in signedness [-Wpointer-sign] 1913 | control_mangle(*(char **)t->ptr) : | ^~~~~~~~~~~~~~~~ | | | char * ./term.c:1852:40: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1852 | char * control_mangle (unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c timer.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing \ -DTRANSLATION_PATH=\"/usr/lib64/bx/translation\" -c ./translat.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c user.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c userlist.c userlist.c: In function ‘real_check_auto’: userlist.c:906:14: warning: variable ‘this_server’ set but not used [-Wunused-but-set-variable] 906 | int this_server = from_server; | ^~~~~~~~~~~ userlist.c: In function ‘check_channel_match’: userlist.c:1446:19: warning: variable ‘q’ set but not used [-Wunused-but-set-variable] 1446 | char *p, *q, *chan = NULL; | ^ userlist.c: In function ‘savelists’: userlist.c:1677:9: warning: pointer ‘outfile_105’ may be used after ‘fclose’ [-Wuse-after-free] 1677 | save_formats(outfile); | ^~~~~~~~~~~~~~~~~~~~~ userlist.c:1672:9: note: call to ‘fclose’ here 1672 | fclose(outfile); | ^~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c vars.c vars.c: In function ‘do_stack_set’: vars.c:1056:30: warning: variable ‘prev’ set but not used [-Wunused-but-set-variable] 1056 | AliasStack1 *prev = NULL; | ^~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c who.c who.c: In function ‘whoreply’: who.c:402:22: warning: variable ‘chan’ set but not used [-Wunused-but-set-variable] 402 | ChannelList *chan = NULL; | ^~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c whowas.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c window.c window.c: In function ‘BX_resize_window’: window.c:695:17: warning: variable ‘after’ set but not used [-Wunused-but-set-variable] 695 | int after, | ^~~~~ window.c: In function ‘window_describe’: window.c:3002:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3002 | if (window->bind_channel) | ^~ window.c:3005:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3005 | say("\tQuery User: %s %s", | ^~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c words.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o BitchX alias.o alist.o array.o art.o banlist.o bot_link.o cdcc.o cdns.o chelp.o commands.o commands2.o compat.o cset.o ctcp.o dcc.o debug.o encrypt.o exec.o files.o flood.o fset.o functions.o funny.o glob.o hash.o hebrew.o help.o history.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o misc.o modules.o names.o network.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o readlog.o reg.o screen.o server.o stack.o status.o struct.o tcl_public.o term.o timer.o translat.o user.o userlist.o vars.o who.o whowas.o window.o words.o -ldl -lncurses -lssl -lcrypto -lm -lcrypt server.c:761:12: warning: type of ‘default_swatch’ does not match original declaration [-Wlto-type-mismatch] 761 | extern int default_swatch; | ^ ./notice.c:46:15: note: type ‘long unsigned int’ should match type ‘int’ 46 | unsigned long default_swatch = -1; | ^ ./notice.c:46:15: note: ‘default_swatch’ was previously declared here ./notice.c:46:15: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used /builddir/build/BUILD/BitchX-1.2.1/include/module.h:84:25: warning: type of ‘dll_numeric_list’ does not match original declaration [-Wlto-type-mismatch] 84 | extern NumericFunction *dll_numeric_list; | ^ hook.c:67:14: note: type ‘struct NumericList’ should match type ‘struct NumericFunction’ 67 | NumericList *dll_numeric_list = NULL; | ^ hook.c:67:14: note: ‘dll_numeric_list’ was previously declared here hook.c:67:14: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ./modules.c:46:24: warning: type of ‘dcc_dllcommands’ does not match original declaration [-Wlto-type-mismatch] 46 | extern DCC_dllcommands dcc_dllcommands; | ^ dcc.c:198:18: note: ‘dcc_dllcommands’ was previously declared here 198 | DCC_dllcommands *dcc_dllcommands = NULL; | ^ dcc.c:198:18: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used In function ‘read’, inlined from ‘read_ftp_file’ at dcc.c:3674:8: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘read_ftp_file’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘process_dcc_send1’ at dcc.c:1726:15: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘process_dcc_send1’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ numbers.c: In function ‘numbered_command’: numbers.c:1451:37: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1451 | ArgSpace[0] = '\0'; | ^ numbers.c:1450:36: note: destination object of size 0 allocated by ‘__builtin_alloca’ 1450 | ArgSpace = alloca(len + 1); | ^ gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/source' cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' wserv gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/source' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c wserv.c wserv.c: In function ‘main’: wserv.c:97:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 97 | write(s, buffer, nread); | ^~~~~~~~~~~~~~~~~~~~~~~ wserv.c:104:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 104 | write(1, buffer, nread); | ^~~~~~~~~~~~~~~~~~~~~~~ wserv.c: In function ‘ignore’: wserv.c:117:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 117 | write(s, &foo, 1); | ^~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DWTERM_C -c ./term.c -o wterm.o gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DWTERM_C -c ./network.c -o wnetwork.o ./network.c: In function ‘BX_connect_by_number’: ./network.c:484:63: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] 484 | if (getsockname(fd, (struct sockaddr *)&name, &length)) | ^~~~~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from ./network.c:9: /usr/include/sys/socket.h:117:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./network.c:503:33: warning: unused variable ‘hp’ [-Wunused-variable] 503 | struct hostent *hp; | ^~ ./network.c: In function ‘my_accept’: ./network.c:787:34: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 787 | retval = accept(s, addr, addrlen); | ^~~~~~~ | | | int * /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DWTERM_C -c ./ircsig.c -o bircsig.o gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DWTERM_C -c ./compat.c -o bcompat.o gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o wserv wserv.o wterm.o bircsig.o wnetwork.o bcompat.o -ldl -lncurses -lssl -lcrypto -lm -lcrypt gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/source' cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' scr-bx gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/source' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DSTERM_C -c ./term.c -o sterm.o ./term.c: In function ‘term_init’: ./term.c:879:31: warning: unused variable ‘tmp’ [-Wunused-variable] 879 | char *tmp = termcap2; | ^~~ ./term.c: In function ‘control_mangle’: ./term.c:1859:24: warning: pointer targets in returning ‘u_char *’ {aka ‘unsigned char *’} from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 1859 | return retval; | ^~~~~~ ./term.c:1878:16: warning: pointer targets in returning ‘u_char *’ {aka ‘unsigned char *’} from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 1878 | return retval; | ^~~~~~ ./term.c: In function ‘get_term_capability’: ./term.c:1913:56: warning: pointer targets in passing argument 1 of ‘control_mangle’ differ in signedness [-Wpointer-sign] 1913 | control_mangle(*(char **)t->ptr) : | ^~~~~~~~~~~~~~~~ | | | char * ./term.c:1852:40: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1852 | char * control_mangle (unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c scr-bx.c scr-bx.c: In function ‘get_cookie’: scr-bx.c:382:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 382 | fread(cookie, 40, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ scr-bx.c: In function ‘reattach_tty’: scr-bx.c:467:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 467 | write(s, &parm, sizeof(struct param)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scr-bx.c:510:41: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 510 | write(s, chr_c, 1); | ^~~~~~~~~~~~~~~~~~ scr-bx.c:526:41: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 526 | write(s, buffer, len); | ^~~~~~~~~~~~~~~~~~~~~ scr-bx.c:531:41: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 531 | write(1, buffer, len); | ^~~~~~~~~~~~~~~~~~~~~ scr-bx.c: In function ‘main’: scr-bx.c:646:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 646 | chdir(getenv("HOME")); | ^~~~~~~~~~~~~~~~~~~~~ scr-bx.c: In function ‘init_socketpath’: scr-bx.c:581:35: warning: ‘%s’ directive writing up to 499 bytes into a region of size 496 [-Wformat-overflow=] 581 | sprintf(ap, "/%%d.%s.%s", stripdev(attach_ttyname), host); | ^~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from scr-bx.c:14: In function ‘sprintf’, inlined from ‘init_socketpath’ at scr-bx.c:581:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 2553 bytes into a destination of size 500 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o scr-bx scr-bx.o sterm.o bircsig.o bcompat.o -ldl -lncurses -lssl -lcrypto -lm -lcrypt gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/source' cd dll \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' all gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./autobot.c gcc -shared autobot.o ../dllinit.o -fPIC -o autobot.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./acro.c ./acro.c: In function ‘acro_main’: ./acro.c:54:52: warning: passing argument 5 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ from incompatible pointer type [-Wincompatible-pointer-types] 54 | add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", args[0]), NULL, NULL, "acro"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *) ./acro.c:54:52: note: expected ‘int (*)(void *, char *)’ but argument is of type ‘int (*)(void *)’ ./acro.c:54:111: warning: passing argument 8 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ makes integer from pointer without a cast [-Wint-conversion] 54 | add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", args[0]), NULL, NULL, "acro"); | ^~~~ | | | void * ./acro.c:54:111: note: expected ‘int’ but argument is of type ‘void *’ ./acro.c: In function ‘warn_acro’: ./acro.c:82:44: warning: passing argument 5 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ from incompatible pointer type [-Wincompatible-pointer-types] 82 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *) ./acro.c:82:44: note: expected ‘int (*)(void *, char *)’ but argument is of type ‘int (*)(void *)’ ./acro.c:82:101: warning: passing argument 8 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ makes integer from pointer without a cast [-Wint-conversion] 82 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~ | | | void * ./acro.c:82:101: note: expected ‘int’ but argument is of type ‘void *’ ./acro.c: In function ‘start_vote’: ./acro.c:92:52: warning: passing argument 5 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ from incompatible pointer type [-Wincompatible-pointer-types] 92 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))warn_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *) ./acro.c:92:52: note: expected ‘int (*)(void *, char *)’ but argument is of type ‘int (*)(void *)’ ./acro.c:92:108: warning: passing argument 8 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ makes integer from pointer without a cast [-Wint-conversion] 92 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))warn_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~ | | | void * ./acro.c:92:108: note: expected ‘int’ but argument is of type ‘void *’ ./acro.c:97:52: warning: passing argument 5 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ from incompatible pointer type [-Wincompatible-pointer-types] 97 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *) ./acro.c:97:52: note: expected ‘int (*)(void *, char *)’ but argument is of type ‘int (*)(void *)’ ./acro.c:97:109: warning: passing argument 8 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ makes integer from pointer without a cast [-Wint-conversion] 97 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~ | | | void * ./acro.c:97:109: note: expected ‘int’ but argument is of type ‘void *’ ./acro.c: In function ‘warn_vote’: ./acro.c:112:44: warning: passing argument 5 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ from incompatible pointer type [-Wincompatible-pointer-types] 112 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))end_voting, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *) ./acro.c:112:44: note: expected ‘int (*)(void *, char *)’ but argument is of type ‘int (*)(void *)’ ./acro.c:112:101: warning: passing argument 8 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ makes integer from pointer without a cast [-Wint-conversion] 112 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))end_voting, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~ | | | void * ./acro.c:112:101: note: expected ‘int’ but argument is of type ‘void *’ ./acro.c: In function ‘end_voting’: ./acro.c:140:52: warning: passing argument 5 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ from incompatible pointer type [-Wincompatible-pointer-types] 140 | add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *) ./acro.c:140:52: note: expected ‘int (*)(void *, char *)’ but argument is of type ‘int (*)(void *)’ ./acro.c:140:108: warning: passing argument 8 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ makes integer from pointer without a cast [-Wint-conversion] 140 | add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", chan), NULL, NULL, "acro"); | ^~~~ | | | void * ./acro.c:140:108: note: expected ‘int’ but argument is of type ‘void *’ gcc -shared acro.o ../dllinit.o -fPIC -o acro.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[3]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c toc.c toc.c: In function ‘roast_password’: toc.c:305:16: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 305 | return rp; | ^~ toc.c: In function ‘toc_callback’: toc.c:452:23: warning: variable ‘name’ set but not used [-Wunused-but-set-variable] 452 | char *name; | ^~~~ toc.c:595:25: warning: variable ‘w’ set but not used [-Wunused-but-set-variable] 595 | int id, w; | ^ toc.c: In function ‘parse_toc_buddy_list’: toc.c:714:25: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 714 | strncpy(current,c+2, sizeof(current)); | ^ toc.c: In function ‘toc_signon’: toc.c:139:9: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 139 | strncpy(aim_username, username, sizeof(aim_username)); | ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c network.c In file included from /usr/include/strings.h:144, from /usr/include/string.h:462, from network.c:33: In function ‘bcopy’, inlined from ‘get_address’ at network.c:52:3: /usr/include/bits/strings_fortified.h:25:10: warning: ‘__memmove_chk’ forming offset [4, 7] is out of the bounds [0, 4] [-Warray-bounds=] 25 | (void) __builtin___memmove_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c util.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c server.c server.c: In function ‘serv_set_dir’: server.c:434:49: warning: ‘%s’ directive output may be truncated writing up to 2047 bytes into a region of size 2036 [-Wformat-truncation=] 434 | snprintf(buf, sizeof(buf), "toc_set_dir %s", buf2); | ^~ ~~~~ In file included from /usr/include/stdio.h:980, from server.c:2: In function ‘snprintf’, inlined from ‘serv_set_dir’ at server.c:434:2: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 13 and 2060 bytes into a destination of size 2048 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c interface.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c buddy.c buddy.c: In function ‘add_group’: buddy.c:76:9: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 76 | strncpy(g->name, group, sizeof(g->name)); | ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ll.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c misc.c ar cru libtoc.a toc.o network.o util.o server.o interface.o buddy.o ll.o misc.o gmake[3]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./toc.c ./toc.c: In function ‘toc_add_input_stream’: ./toc.c:37:57: warning: passing argument 5 of ‘(int (*)(int, int, long unsigned int, char *, void (*)(int), void (*)(int)))*(global + 2296)’ from incompatible pointer type [-Wincompatible-pointer-types] 37 | sock_read_id = add_socketread(fd, 0, 0, "bleh", func, func); | ^~~~ | | | int (*)(int) ./toc.c:37:57: note: expected ‘void (*)(int)’ but argument is of type ‘int (*)(int)’ ./toc.c:37:63: warning: passing argument 6 of ‘(int (*)(int, int, long unsigned int, char *, void (*)(int), void (*)(int)))*(global + 2296)’ from incompatible pointer type [-Wincompatible-pointer-types] 37 | sock_read_id = add_socketread(fd, 0, 0, "bleh", func, func); | ^~~~ | | | int (*)(int) ./toc.c:37:63: note: expected ‘void (*)(int)’ but argument is of type ‘int (*)(int)’ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./util.c ./util.c: In function ‘statusput’: ./util.c:63:31: warning: pointer targets in passing argument 1 of ‘(void (*)(unsigned char *))*(global + 2448)’ differ in signedness [-Wpointer-sign] 63 | add_to_screen(buf); | ^~~ | | | char * ./util.c:63:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./cmd.c In file included from ./cmd.c:30: ./cmd.c: In function ‘achat’: ./aim.h:13:24: warning: the address of ‘current_chat’ will always evaluate as ‘true’ [-Waddress] 13 | #define VALID_ARG(x) !(!x || ! *x || ! strcasecmp(x,"")) | ^ ./cmd.c:443:22: note: in expansion of macro ‘VALID_ARG’ 443 | if ( VALID_ARG(current_chat) ) { | ^~~~~~~~~ ./cmd.c:528:21: warning: variable ‘anon’ set but not used [-Wunused-but-set-variable] 528 | int anon = 0; | ^~~~ ./cmd.c: In function ‘aaway’: ./cmd.c:640:15: warning: variable ‘loc’ set but not used [-Wunused-but-set-variable] 640 | char *loc; | ^~~ ./cmd.c: In function ‘aquery’: ./cmd.c:688:30: warning: passing argument 1 of ‘(void (*)(int))*(global + 1720)’ makes integer from pointer without a cast [-Wint-conversion] 688 | update_input(tmp); | ^~~ | | | Window * {aka struct WindowStru *} ./cmd.c:688:30: note: expected ‘int’ but argument is of type ‘Window *’ {aka ‘struct WindowStru *’} In file included from /usr/include/string.h:548, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./cmd.c:13: In function ‘strncpy’, inlined from ‘asignon’ at ./cmd.c:76:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__strncpy_chk’ forming offset 512 is out of the bounds [0, 512] of object ‘aim_host’ with type ‘char[512]’ [-Warray-bounds=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./cmd.c:29: ./toc/toc.h: In function ‘asignon’: ./toc/toc.h:222:13: note: ‘aim_host’ declared here 222 | extern char aim_host[512]; | ^~~~~~~~ In function ‘strncpy’, inlined from ‘asignon’ at ./cmd.c:80:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__strncpy_chk’ forming offset 512 is out of the bounds [0, 512] of object ‘login_host’ with type ‘char[512]’ [-Warray-bounds=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./toc/toc.h: In function ‘asignon’: ./toc/toc.h:224:13: note: ‘login_host’ declared here 224 | extern char login_host[512]; | ^~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./aim.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing \ -c ../../source/compat.c gcc -shared toc.o util.o cmd.o aim.o compat.o -fPIC -o aim.so -Ltoc -ltoc In function ‘bcopy’, inlined from ‘get_address’ at toc/network.c:52:3: /usr/include/bits/strings_fortified.h:25:10: warning: ‘__builtin___memmove_chk’ writing 8 bytes into a region of size 4 overflows the destination [-Wstringop-overflow=] 25 | (void) __builtin___memmove_chk (__dest, __src, __len, | ^ In function ‘strncpy’, inlined from ‘asignon’ at ./cmd.c:76:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin___strncpy_chk’ writing 513 bytes into a region of size 512 overflows the destination [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^ In function ‘strncpy’, inlined from ‘asignon’ at ./cmd.c:80:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin___strncpy_chk’ writing 513 bytes into a region of size 512 overflows the destination [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^ gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./arcfour.c ./arcfour.c: In function ‘init_box’: ./arcfour.c:80:32: warning: pointer targets in passing argument 2 of ‘MD5Update’ differ in signedness [-Wpointer-sign] 80 | MD5Update(&md5context, buf, sizeof(buf)); | ^~~ | | | char * In file included from ./arcfour.c:30: ./md5.h:13:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 13 | void MD5Update(MD5_CTX *, unsigned char *, unsigned int); | ^~~~~~~~~~~~~~~ ./arcfour.c:86:36: warning: pointer targets in passing argument 2 of ‘arcfourInit’ differ in signedness [-Wpointer-sign] 86 | arcfourInit(key, md5context.digest, 16); | ~~~~~~~~~~^~~~~~~ | | | unsigned char * In file included from ./arcfour.c:29: ./arcfour.h:8:42: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 8 | static inline void arcfourInit(arckey *, char *, unsigned short); | ^~~~~~ ./arcfour.c: In function ‘arcfourInit’: ./arcfour.c:96:23: warning: operation on ‘x’ may be undefined [-Wsequence-point] 96 | while((S[x] = --x)); /* Initialize S-box, backwards */ | ^~~ ./arcfour.c: In function ‘start_dcc_crypt’: ./arcfour.c:212:50: warning: passing argument 2 of ‘(char * (*)(char *, char **))*(global + 672)’ from incompatible pointer type [-Wincompatible-pointer-types] 212 | arcfourInit(tmpbox->inbox, next_arg(buf, &buf), 16); | ^~~~ | | | char (*)[2049] ./arcfour.c:212:50: note: expected ‘char **’ but argument is of type ‘char (*)[2049]’ ./arcfour.c: In function ‘start_dcc_chat’: ./arcfour.c:250:57: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 250 | new_s = accept(s, (struct sockaddr *) &remaddr, &sra); | ^~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from ./arcfour.c:10: /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./arcfour.c:253:74: warning: passing argument 5 of ‘(int (*)(int, int, long unsigned int, char *, void (*)(int), void (*)(int)))*(global + 2296)’ from incompatible pointer type [-Wincompatible-pointer-types] 253 | if ((add_socketread(new_s, ntohs(remaddr.sin_port), flags, nick, get_dcc_encrypt, NULL)) < 0) | ^~~~~~~~~~~~~~~ | | | int (*)(int, int, char *, int, int) ./arcfour.c:253:74: note: expected ‘void (*)(int)’ but argument is of type ‘int (*)(int, int, char *, int, int)’ ./arcfour.c: In function ‘dcc_sdcc’: ./arcfour.c:282:18: warning: variable ‘new_sdcc’ set but not used [-Wunused-but-set-variable] 282 | DCC_int *new_sdcc; | ^~~~~~~~ ./arcfour.c: In function ‘send_dcc_encrypt’: ./arcfour.c:168:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 168 | write(sock, buf, len); | ^~~~~~~~~~~~~~~~~~~~~ ./arcfour.c: In function ‘start_dcc_crypt’: ./arcfour.c:207:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 207 | write(s, buf, len); | ^~~~~~~~~~~~~~~~~~ ./arcfour.c: In function ‘init_box’: ./arcfour.c:69:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 69 | read(fd, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./arcfour.c: At top level: ./arcfour.c:53:21: warning: ‘arc_ver’ defined but not used [-Wunused-const-variable=] 53 | static const double arc_ver = 1.0; | ^~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./md5.c gcc -shared arcfour.o md5.o ../dllinit.o -fPIC -o arcfour.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./autocycle.c ./autocycle.c: In function ‘auto_cycle’: ./autocycle.c:24:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | int netsplit = (int)next_arg(args, &args); | ^ gcc -shared autocycle.o ../dllinit.o -fPIC -o autocycle.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./blowfish.c ./blowfish.c: In function ‘blowfish_init’: ./blowfish.c:161:34: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 161 | strncpy(blowbox[bx].key, key, keybytes); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./blowfish.h:1, from ./blowfish.c:10: /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ./blowfish.c: In function ‘encrypt_string’: ./blowfish.c:237:23: warning: pointer targets in passing argument 1 of ‘blowfish_init’ differ in signedness [-Wpointer-sign] 237 | blowfish_init(key, strlen(key)); | ^~~ | | | char * ./blowfish.c:104:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 104 | static void blowfish_init (UBYTE_08bits * key, short keybytes) ./blowfish.c: In function ‘decrypt_string’: ./blowfish.c:282:23: warning: pointer targets in passing argument 1 of ‘blowfish_init’ differ in signedness [-Wpointer-sign] 282 | blowfish_init(key, strlen(key)); | ^~~ | | | char * ./blowfish.c:104:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 104 | static void blowfish_init (UBYTE_08bits * key, short keybytes) gcc -shared blowfish.o ../dllinit.o -fPIC -o blowfish.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./cavlink.c ./cavlink.c: In function ‘cav_say’: ./cavlink.c:72:39: warning: pointer targets in passing argument 1 of ‘(void (*)(unsigned char *))*(global + 2448)’ differ in signedness [-Wpointer-sign] 72 | add_to_screen(cavbuf); | ^~~~~~ | | | char * ./cavlink.c:72:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ ./cavlink.c: In function ‘cattack’: ./cavlink.c:161:7: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 161 | char *tmp, *times = "6", *target = NULL, *q; | ^~~ ./cavlink.c: In function ‘cav_away’: ./cavlink.c:825:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 825 | for (tmp = tabkey_array;tmp; tmp = tmp->next); | ^~~ ./cavlink.c:826:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 826 | { | ^ ./cavlink.c: In function ‘handle_msg’: ./cavlink.c:836:7: warning: variable ‘to’ set but not used [-Wunused-but-set-variable] 836 | char *to, *nick, *host, *str; | ^~ ./cavlink.c: In function ‘cavlink_handler’: ./cavlink.c:857:5: warning: variable ‘count’ set but not used [-Wunused-but-set-variable] 857 | int count = 0; | ^~~~~ gcc -shared cavlink.o ../dllinit.o -fPIC -o cavlink.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./encrypt.c ./encrypt.c: In function ‘func_encode’: ./encrypt.c:28:38: warning: pointer targets in passing argument 3 of ‘(void (*)(char *, int, char *))*(global + 1640)’ differ in signedness [-Wpointer-sign] 28 | my_encrypt(new, strlen(new), encode_string); | ^~~~~~~~~~~~~ | | | unsigned char * ./encrypt.c:28:38: note: expected ‘char *’ but argument is of type ‘unsigned char *’ ./encrypt.c: In function ‘func_decode’: ./encrypt.c:38:38: warning: pointer targets in passing argument 3 of ‘(void (*)(char *, int, char *))*(global + 1648)’ differ in signedness [-Wpointer-sign] 38 | my_decrypt(new, strlen(new), encode_string); | ^~~~~~~~~~~~~ | | | unsigned char * ./encrypt.c:38:38: note: expected ‘char *’ but argument is of type ‘unsigned char *’ ./encrypt.c: In function ‘Encrypt_Init’: ./encrypt.c:56:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 56 | encode_string = (char *)new_malloc(512); | ^ gcc -shared encrypt.o ../dllinit.o -fPIC -o encrypt.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./fserv.c ./fserv.c: In function ‘scan_mp3_dir’: ./fserv.c:599:60: warning: pointer targets in passing argument 3 of ‘get_bitrate’ differ in signedness [-Wpointer-sign] 599 | new->bitrate = get_bitrate(fn, &new->time, &new->freq, &new->id3, &new->filesize, &new->stereo); | ^~~~~~~~~~ | | | int * ./fserv.c:462:66: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 462 | long get_bitrate(char *filename, time_t *mp3_time, unsigned int *freq_rate, int *id3, unsigned long *filesize, int *stereo) | ~~~~~~~~~~~~~~^~~~~~~~~ ./fserv.c: In function ‘impress_me’: ./fserv.c:980:53: warning: passing argument 5 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ from incompatible pointer type [-Wincompatible-pointer-types] 980 | add_timer(0, empty_string, timer * 1000, 1, impress_me, NULL, NULL, -1, "fserv"); | ^~~~~~~~~~ | | | void (*)(void *) ./fserv.c:980:53: note: expected ‘int (*)(void *, char *)’ but argument is of type ‘void (*)(void *)’ ./fserv.c: In function ‘Fserv_Init’: ./fserv.c:1165:69: warning: passing argument 5 of ‘(char * (*)(int, char *, double, long int, int (*)(void *, char *), char *, char *, int, char *))*(global + 2272)’ from incompatible pointer type [-Wincompatible-pointer-types] 1165 | add_timer(0, empty_string, get_dllint_var("fserv_time"), 1, impress_me, NULL, NULL, -1, "fserv"); | ^~~~~~~~~~ | | | void (*)(void *) ./fserv.c:1165:69: note: expected ‘int (*)(void *, char *)’ but argument is of type ‘void (*)(void *)’ ./fserv.c: In function ‘fserv_read’: ./fserv.c:1057:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1057 | fgets(buff, IRCD_BUFFER_SIZE, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fserv.c:1088:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1088 | fgets(buff, IRCD_BUFFER_SIZE, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared fserv.o ../dllinit.o -fPIC -o fserv.so /usr/bin/ld: /tmp/ccKxmhHz.ltrans0.ltrans.o: in function `make_temp_list': /builddir/build/BUILD/BitchX-1.2.1/dll/fserv/./fserv.c:732:(.text+0x33e0): warning: the use of `tmpnam' is dangerous, better use `mkstemp' gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./hint.c ./hint.c: In function ‘show_hint’: ./hint.c:56:25: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 56 | fgets(hint_buf, HINT_MAX_LEN, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared hint.o ../dllinit.o -fPIC -o hint.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./identd.c ./identd.c: In function ‘identd_handler’: ./identd.c:63:61: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 63 | if ((sock = accept(s, (struct sockaddr *) &remaddr, &sra)) > -1) | ^~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from ./identd.c:11: /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -shared identd.o ../dllinit.o -fPIC -o identd.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./nap.c ./nap.c: In function ‘connectbynumber’: ./nap.c:259:63: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] 259 | if (getsockname(fd, (struct sockaddr *)&name, &length)) | ^~~~~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from ./nap.c:10: /usr/include/sys/socket.h:117:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./nap.c: In function ‘nap_say’: ./nap.c:413:39: warning: pointer targets in passing argument 1 of ‘(void (*)(unsigned char *))*(global + 2448)’ differ in signedness [-Wpointer-sign] 413 | add_to_screen(napbuf); | ^~~~~~ | | | char * ./nap.c:413:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ ./nap.c: In function ‘nap_put’: ./nap.c:440:39: warning: pointer targets in passing argument 1 of ‘(void (*)(unsigned char *))*(global + 2448)’ differ in signedness [-Wpointer-sign] 440 | add_to_screen(napbuf); | ^~~~~~ | | | char * ./nap.c:440:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ ./nap.c: In function ‘cmd_fileinfo’: ./nap.c:1600:7: warning: variable ‘checksum’ set but not used [-Wunused-but-set-variable] 1600 | char *checksum; | ^~~~~~~~ ./nap.c:1597:7: warning: variable ‘ip’ set but not used [-Wunused-but-set-variable] 1597 | char *ip; | ^~ ./nap.c:1596:7: warning: variable ‘nick’ set but not used [-Wunused-but-set-variable] 1596 | char *nick; | ^~~~ ./nap.c: In function ‘naplink_connectserver’: ./nap.c:1214:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1214 | read(s, tmp, sizeof(tmpstr)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nap.c: In function ‘nap_search’: ./nap.c:1773:56: warning: ‘%s’ directive writing up to 2048 bytes into a region of size 2038 [-Wformat-overflow=] 1773 | sprintf(buff + buf_len, "%s CONTAINS \"%s\"", sound_ex[soundex], soundex ? s_buff : args); | ^~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35: In function ‘sprintf’, inlined from ‘nap_search’ at ./nap.c:1773:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 13 or more bytes (assuming 2061) into a destination of size 2049 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./nap.c: In function ‘nap_search’: ./nap.c:1771:56: warning: ‘%s’ directive writing up to 2048 bytes into a region of size 2038 [-Wformat-overflow=] 1771 | sprintf(buff + buf_len, "%s CONTAINS \"%s\" MAX_RESULTS %d", sound_ex[soundex], soundex ? s_buff : args, n); | ^~ ./nap.c:1771:41: note: using the range [-2147483648, 2147483647] for directive argument 1771 | sprintf(buff + buf_len, "%s CONTAINS \"%s\" MAX_RESULTS %d", sound_ex[soundex], soundex ? s_buff : args, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘nap_search’ at ./nap.c:1771:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 27 or more bytes (assuming 2075) into a destination of size 2049 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./napsend.c ./napsend.c: In function ‘get_bitrate’: ./napsend.c:630:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 630 | if (!strcmp(tmp, "PK\003\004")) /* zip magic */ | ^~~ | | | unsigned char * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:632:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 632 | if (!strcmp(tmp, "PE") || !strcmp(tmp, "MZ")) /* windows Exe magic */ | ^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:632:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 632 | if (!strcmp(tmp, "PE") || !strcmp(tmp, "MZ")) /* windows Exe magic */ | ^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:634:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 634 | if (!strcmp(tmp, "\037\235")) /* gzip/compress */ | ^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:636:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 636 | if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ | ^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:636:49: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 636 | if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ | ^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:636:77: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 636 | if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ | ^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:638:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 638 | if (!strcmp(tmp, "\177ELF")) /* elf binary */ | ^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c: In function ‘scan_mp3_dir’: ./napsend.c:825:59: warning: pointer targets in passing argument 3 of ‘get_bitrate’ differ in signedness [-Wpointer-sign] 825 | new->bitrate = get_bitrate(r, &new->time, &new->freq, &new->filesize, &new->stereo, &id3, &new->type); | ^~~~~~~~~~ | | | int * ./napsend.c:608:60: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 608 | long get_bitrate(int fdes, time_t *mp3_time, unsigned int *freq_rate, unsigned long *filesize, int *stereo, long *id3, int *mime_type) | ~~~~~~~~~~~~~~^~~~~~~~~ ./napsend.c: In function ‘nap_firewall_start’: ./napsend.c:1536:32: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1536 | if (*buffer && !strcmp(buffer, "SEND")) | ^~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c: In function ‘napfile_read’: ./napsend.c:1564:22: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1564 | args = &buff[0]; | ^ ./napsend.c:1565:39: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1565 | if (!*args || !strcmp(buff, "FILE NOT FOUND") || !strcmp(buff, "INVALID REQUEST")) | ^~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:1565:74: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1565 | if (!*args || !strcmp(buff, "FILE NOT FOUND") || !strcmp(buff, "INVALID REQUEST")) | ^~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./napsend.c:1575:32: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 1575 | strcpy(fbuff, filename); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35: /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./napsend.c:1576:41: warning: pointer targets in passing argument 1 of ‘convertnap_unix’ differ in signedness [-Wpointer-sign] 1576 | convertnap_unix(fbuff); | ^~~~~ | | | unsigned char * ./napsend.c:171:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 171 | static char *convertnap_unix(char *arg) | ~~~~~~^~~ ./napsend.c:1579:86: warning: pointer targets in passing argument 5 of ‘find_in_getfile’ differ in signedness [-Wpointer-sign] 1579 | || !(gf = find_in_getfile(&napster_sendqueue, 0, nick, NULL, fbuff, -1, NAP_UPLOAD)) | ^~~~~ | | | unsigned char * In file included from ./napsend.c:22: ./napster.h:402:59: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 402 | GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); | ^~~~~~ ./napsend.c:1584:41: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1584 | sprintf(buff, "0INVALID REQUEST"); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ./napsend.c:1587:41: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1587 | sprintf(buff, "0FILE NOT FOUND"); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ./napsend.c:1588:94: warning: pointer targets in passing argument 5 of ‘find_in_getfile’ differ in signedness [-Wpointer-sign] 1588 | if ((gf = find_in_getfile(&napster_sendqueue, 1, nick, NULL, fbuff, -1, NAP_UPLOAD))) | ^~~~~ | | | unsigned char * ./napster.h:402:59: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 402 | GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); | ^~~~~~ ./napsend.c:1591:50: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1591 | write(snum, buff, strlen(buffer)); | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./napsend.c:1598:81: warning: pointer targets in passing argument 5 of ‘find_in_getfile’ differ in signedness [-Wpointer-sign] 1598 | gf = find_in_getfile(&napster_sendqueue, 1, nick, NULL, fbuff, -1, NAP_UPLOAD); | ^~~~~ | | | unsigned char * ./napster.h:402:59: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 402 | GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); | ^~~~~~ ./napsend.c:1606:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1606 | sprintf(buff, "%lu", gf->filesize); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ./napsend.c:1607:42: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1607 | write(snum, buff, strlen(buff)); | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./napsend.c: In function ‘naplink_handleconnect’: ./napsend.c:1653:27: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 1653 | else if (!strncmp(buff, "GET", 3)) | ^~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./napsend.c:1660:27: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 1660 | else if (!strncmp(buff, "SEND", 4)) | ^~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./napsend.c: In function ‘naplink_handlelink’: ./napsend.c:1675:64: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 1675 | if ((sock = accept(snum, (struct sockaddr *) &remaddr, &sra)) > -1) | ^~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63: /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./napsend.c: In function ‘get_bitrate’: ./napsend.c:628:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 628 | read(fdes, tmp, 4); | ^~~~~~~~~~~~~~~~~~ ./napsend.c: In function ‘cmd_firewall_request’: ./napsend.c:1342:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1342 | write(getfd, "1", 1); | ^~~~~~~~~~~~~~~~~~~~ ./napsend.c: In function ‘napfile_read’: ./napsend.c:1591:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1591 | write(snum, buff, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./napsend.c:1607:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1607 | write(snum, buff, strlen(buff)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./napsend.c: In function ‘naplink_handleconnect’: ./napsend.c:1649:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1649 | read(snum, buff, 1); | ^~~~~~~~~~~~~~~~~~~ ./napsend.c:1656:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1656 | read(snum, buff, 3); | ^~~~~~~~~~~~~~~~~~~ ./napsend.c:1663:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1663 | read(snum, buff, 4); | ^~~~~~~~~~~~~~~~~~~ ./napsend.c: In function ‘naplink_handlelink’: ./napsend.c:1679:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1679 | write(sock, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~ ./napsend.c: In function ‘napfile_read’: ./napsend.c:1591:25: warning: ‘buffer’ may be used uninitialized [-Wmaybe-uninitialized] 1591 | write(snum, buff, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:407:15: note: by argument 1 of type ‘const char *’ to ‘strlen’ declared here 407 | extern size_t strlen (const char *__s) | ^~~~~~ ./napsend.c:1545:15: note: ‘buffer’ declared here 1545 | unsigned char buffer[NAP_BUFFER_SIZE+1]; | ^~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./nap_file.c ./nap_file.c: In function ‘cmd_getfile’: ./nap_file.c:742:5: warning: variable ‘speed’ set but not used [-Wunused-but-set-variable] 742 | int speed; | ^~~~~ ./nap_file.c: In function ‘nap_getfile’: ./nap_file.c:577:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 577 | write(gf->write, indata, rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nap_file.c: In function ‘nap_firewall_get’: ./nap_file.c:693:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 693 | write(snum, indata, strlen(indata)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nap_file.c: In function ‘cmd_getfileinfo’: ./nap_file.c:724:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 724 | write(gf->socket, "GET", 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nap_file.c:726:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 726 | write(gf->socket, indata, strlen(indata)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./napfunc.c ./napfunc.c: In function ‘func_connected’: ./napfunc.c:114:71: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 114 | if (getpeername(nap_socket, (struct sockaddr *)&name, &len)) | ^~~~ | | | int * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, from ./napfunc.c:2: /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./napfunc.c: In function ‘func_raw’: ./napfunc.c:160:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 160 | write(nap_socket, &n_data, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./napother.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./md5.c ./md5.c: In function ‘MD5Final’: ./md5.c:182:26: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 182 | memset(ctx, 0, sizeof(ctx)); | ^ ./md5.c: In function ‘MD5Update’: ./md5.c:106:1: warning: ‘MD5Transform’ reading 128 bytes from a region of size 64 [-Wstringop-overread] 106 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./md5.c:106:1: note: referencing argument 2 of type ‘const uint32[16]’ ./md5.c:204:6: note: in a call to function ‘MD5Transform’ 204 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ ./md5.c:120:1: warning: ‘MD5Transform’ reading 128 bytes from a region of size 64 [-Wstringop-overread] 120 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./md5.c:120:1: note: referencing argument 2 of type ‘const uint32[16]’ ./md5.c:204:6: note: in a call to function ‘MD5Transform’ 204 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ ./md5.c: In function ‘MD5Final’: ./md5.c:161:1: warning: ‘MD5Transform’ reading 128 bytes from a region of size 64 [-Wstringop-overread] 161 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./md5.c:161:1: note: referencing argument 2 of type ‘const uint32[16]’ ./md5.c:204:6: note: in a call to function ‘MD5Transform’ 204 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ ./md5.c:179:5: warning: ‘MD5Transform’ reading 128 bytes from a region of size 64 [-Wstringop-overread] 179 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./md5.c:179:5: note: referencing argument 2 of type ‘const uint32[16]’ ./md5.c:204:6: note: in a call to function ‘MD5Transform’ 204 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing \ -c ../../source/compat.c gcc -shared nap.o napsend.o nap_file.o napfunc.o napother.o md5.o compat.o -fPIC -o nap.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./pkga.c ./pkga.c: In function ‘new_dcc_output’: ./pkga.c:126:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 126 | write(s, buf, len); | ^~~~~~~~~~~~~~~~~~ gcc -shared pkga.o ../dllinit.o -fPIC -o pkga.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./possum.c ./possum.c: In function ‘parse_header’: ./possum.c:105:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 105 | fgets((char *)s, MAX_FBUFFER_SIZE, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./possum.c:123:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 123 | fgets((char *)s, MAX_FBUFFER_SIZE, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./possum.c: In function ‘read_mbox’: ./possum.c:149:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 149 | fgets(buf, MAX_FBUFFER_SIZE, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./possum.c: In function ‘pm_mailbox’: ./possum.c:166:5: warning: ‘strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 166 | strncpy(MBOX.filename, tmp, MAX_FNAME_LENGTH); | ^ In file included from /usr/include/stdio.h:980, from ./possum.c:3: In function ‘fgets’, inlined from ‘pm_read’ at ./possum.c:212:9: /usr/include/bits/stdio2.h:202:12: warning: call to ‘*__fgets_chk’ declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 202 | return __fgets_chk_warn (__s, __sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./possum.c: In function ‘Possum_Init’: ./possum.c:86:12: warning: ‘strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 86 | if (tmp) strncpy(MBOX.filename, tmp, MAX_FNAME_LENGTH); | ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./head.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./llist.c gcc -shared possum.o llist.o head.o ../dllinit.o -fPIC -o possum.so In function ‘fgets’, inlined from ‘pm_read’ at ./possum.c:212:9: /usr/include/bits/stdio2.h:202:12: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 202 | return __fgets_chk_warn (__s, __sz, __n, __stream); | ^ gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./qbx.c ./qbx.c: In function ‘query_q_server’: ./qbx.c:200:41: warning: passing argument 2 of ‘(int (*)(char *, short unsigned int *, int, int, int))*(global + 768)’ from incompatible pointer type [-Wincompatible-pointer-types] 200 | qfd = connect_by_number(server, &port, SERVICE_CLIENT, PROTOCOL_UDP, 1); | ^~~~~ | | | int * ./qbx.c:200:41: note: expected ‘short unsigned int *’ but argument is of type ‘int *’ ./qbx.c:222:9: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 222 | strncpy(q_server, server, 256); | ^ ./qbx.c: In function ‘pub_proc’: ./qbx.c:255:9: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 255 | strncpy(q_chan, chan, 256); | ^ ./qbx.c:255:9: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] gcc -shared qbx.o ../dllinit.o -fPIC -o qbx.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./qmail.c gcc -shared qmail.o ../dllinit.o -fPIC -o qmail.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -c ./wavplay.c ./wavplay.c: In function ‘validate_wav_header’: ./wavplay.c:49:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 49 | if (strncmp(w->riffID, WAV_RIFF_MAGIC, 4)) | ~^~~~~~~~ | | | unsigned char * In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./wavplay.c:1: /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./wavplay.c:52:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 52 | if (strncmp(w->waveID, WAV_WAVE_MAGIC, 4)) | ~^~~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./wavplay.c:55:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 55 | if (strncmp(w->fmtID, WAV_FMT_MAGIC, 4)) | ~^~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./wavplay.c:69:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 69 | if (strncmp(w->dataID, WAV_DATA_MAGIC, 4)) | ~^~~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gcc -shared wavplay.o ../dllinit.o -fPIC -o wavplay.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll' Now type "gmake install" to install BitchX globally (if you're root), or else you can type "gmake install_local" to install BitchX to your home directory. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IiAEtI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64 ++ dirname /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd BitchX-1.2.1 + make DESTDIR=/builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64 install cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' all gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/source' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/source' cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' wserv gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/source' gmake[1]: 'wserv' is up to date. gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/source' cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' scr-bx gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/source' gmake[1]: 'scr-bx' is up to date. gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/source' cd dll \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' all gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[3]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll' Now type "gmake install" to install BitchX globally (if you're root), or else you can type "gmake install_local" to install BitchX to your home directory. umask 022 && ./mkinstalldirs /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/bin /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx \ /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/man/man1 /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/translation /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/script \ /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/help mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/bin mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64 mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/man mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/translation mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/script mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/help /usr/bin/install -c source/BitchX /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/bin/BitchX-1.2.1 rm -f /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/bin/BitchX ln -s BitchX-1.2.1 /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/bin/BitchX /usr/bin/install -c -m 644 ./BitchX.help /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/BitchX.help /usr/bin/install -c -m 644 ./BitchX.ircnames /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/BitchX.ircnames /usr/bin/install -c -m 644 ./BitchX.quit /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/BitchX.quit /usr/bin/install -c -m 644 ./BitchX.reasons /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/BitchX.kick /usr/bin/install -c source/wserv /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/wserv /usr/bin/install -c source/scr-bx /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/bin/scr-bx cd dll \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=int-conversion -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing' 'HELPDIR=/usr/lib64/bx/help' 'INSTALL_WSERV=/usr/lib64/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx' 'TRANSLATION_PATH=/usr/lib64/bx/translation' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'LIBS=-ldl -lncurses -lssl -lcrypto -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/lib64/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/lib64/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=-fPIC' 'SHLIB_SUFFIX=.so' 'DESTDIR=/builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64' install gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[3]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' /usr/bin/install -c -d /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' /usr/bin/install -c autobot.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' /usr/bin/install -c acro.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' /usr/bin/install -c aim.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' /usr/bin/install -c arcfour.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' /usr/bin/install -c autocycle.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' /usr/bin/install -c blowfish.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' /usr/bin/install -c cavlink.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' /usr/bin/install -c encrypt.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' /usr/bin/install -c fserv.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' /usr/bin/install -c hint.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins /usr/bin/install -c ./BitchX.hints /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins/BitchX.hints gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' /usr/bin/install -c identd.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' /usr/bin/install -c nap.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' /usr/bin/install -c pkga.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' /usr/bin/install -c possum.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' /usr/bin/install -c qbx.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' /usr/bin/install -c qmail.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' /usr/bin/install -c wavplay.so /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' Your plugins [abot acro aim arcfour autocycle blowfish cavlink encrypt fserv hint identd nap pkga possum qbx qmail wavplay] are now located in /usr/lib64/bx/plugins gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll' (find /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/man/man1/BitchX.1 -type f ! -name '*.bz2' ! -name '*.gz' | \ (xargs bzip2 -9f || xargs gzip -9f) || :) 2>/dev/null cd ./bitchx-docs && \ find . -name .svn -prune -o -print | cpio -pdmu -R `id -un`:`id -gn` "/builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/help" 1730 blocks (find "/builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/help" -type f ! -name '*.bz2' ! -name '*.gz' | \ (xargs bzip2 -9f || xargs gzip -9f) || :) 2>/dev/null (find /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/lib64/bx/translation -type f ! -name '*.bz2' ! -name '*.gz' | \ (xargs bzip2 -9f || xargs gzip -9f) || :) 2>/dev/null BitchX is now installed. Type "/usr/bin/BitchX" to start. + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 1.2.1-36.fc40 --unique-debug-suffix -1.2.1-36.fc40.aarch64 --unique-debug-src-base BitchX-1.2.1-36.fc40.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/BitchX-1.2.1 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/BitchX-1.2.1-36.fc40.aarch64 5930 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/bx/plugins/BitchX.hints is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: BitchX-1.2.1-36.fc40.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uGKIDX + umask 022 + cd /builddir/build/BUILD + cd BitchX-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/doc/BitchX + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/doc/BitchX + cp -pr /builddir/build/BUILD/BitchX-1.2.1/Changelog /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/doc/BitchX + cp -pr /builddir/build/BUILD/BitchX-1.2.1/COPYRIGHT /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/doc/BitchX + cp -pr /builddir/build/BUILD/BitchX-1.2.1/README /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/doc/BitchX + cp -pr /builddir/build/BUILD/BitchX-1.2.1/README-1.1 /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64/usr/share/doc/BitchX + RPM_EC=0 ++ jobs -p + exit 0 Provides: BitchX = 1.2.1-36.fc40 BitchX(aarch-64) = 1.2.1-36.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: BitchX-debugsource-1.2.1-36.fc40.aarch64 Provides: BitchX-debugsource = 1.2.1-36.fc40 BitchX-debugsource(aarch-64) = 1.2.1-36.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: BitchX-debuginfo-1.2.1-36.fc40.aarch64 Provides: BitchX-debuginfo = 1.2.1-36.fc40 BitchX-debuginfo(aarch-64) = 1.2.1-36.fc40 debuginfo(build-id) = 08cde62109748b37ab6536e29a6de05c25323ee5 debuginfo(build-id) = d106431e07d37b122706862199d729f4d6cfb7e8 debuginfo(build-id) = e464f87a42ecf40f26d430ecbd1a404ad55f1424 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: BitchX-debugsource(aarch-64) = 1.2.1-36.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/BitchX-1.2.1-36.fc40.aarch64 Wrote: /builddir/build/RPMS/BitchX-debuginfo-1.2.1-36.fc40.aarch64.rpm Wrote: /builddir/build/RPMS/BitchX-1.2.1-36.fc40.aarch64.rpm Wrote: /builddir/build/RPMS/BitchX-debugsource-1.2.1-36.fc40.aarch64.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0