Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/BitchX.spec'], chrootPath='/var/lib/mock/f31-build-48309-27068/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/BitchX-1.2.1-19.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/BitchX.spec'], chrootPath='/var/lib/mock/f31-build-48309-27068/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aNuXAT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf BitchX-1.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/BitchX-1.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd BitchX-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (configure_openssl_SSLeay.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (format-security.patch): 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): patching file configure patching file configure.in Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d4nxnR + umask 022 + cd /builddir/build/BUILD + cd BitchX-1.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 riscv64-koji-linux-gnu-gcc... no checking for 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... yes checking whether _sys_siglist is declared... yes 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... -lresolv 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... no checking for strlcat... no 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... sys_siglist 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-5.2.0-0.rc7.git0.1.0.riscv64.fc31.riscv64 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 BUILDSTDERR: config.status: creating dll/autocycle/Makefil+ gmake V=1 BUILDSTDERR: alias.c: In function 'pmatch_cmd_alias': BUILDSTDERR: alias.c:1787:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1787 | int len; BUILDSTDERR: | ^~~ BUILDSTDERR: alias.c: In function 'pmatch_assign_alias': BUILDSTDERR: alias.c:1823:10: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1823 | int len; BUILDSTDERR: | ^~~ BUILDSTDERR: alias.c: In function 'do_stack_alias': BUILDSTDERR: alias.c:2392:8: warning: variable 'my_which' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2392 | int my_which = 0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from alias.c:2232: BUILDSTDERR: alias.c: At top level: BUILDSTDERR: expr2.c:1225:15: warning: 'dummy' is static but used in inline function 'unary' which is not static BUILDSTDERR: 1225 | c->operand = dummy; BUILDSTDERR: | ^~~~~ BUILDSTDERR: expr2.c:1199:3: warning: 'pusht' is static but used in inline function 'check_implied_arg' which is not static BUILDSTDERR: 1199 | pusht(c, MAGIC_TOKEN); /* XXXX Bleh */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: expr2.c: In function 'op': BUILDSTDERR: expr2.c:1043:33: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1043 | case DANDEQ: IMPLIED((long)(c && d)) BUILDSTDERR: | ^~ BUILDSTDERR: expr2.c:1043:33: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: array.c: In function 'insert_index': BUILDSTDERR: array.c:235:10: warning: operation on '*index' may be undefined [-Wsequence-point] BUILDSTDERR: 235 | *index = (long *)RESIZE(*index, long, *size + 1); BUILDSTDERR: array.c: In function 'delete_array': BUILDSTDERR: array.c:351:33: warning: operation on 'array_info.item' may be undefined [-Wsequence-point] BUILDSTDERR: 351 | array_info.item = (char**)RESIZE(array_info.item, char *, array_info.size); BUILDSTDERR: array.c:352:34: warning: operation on 'array_info.index' may be undefined [-Wsequence-point] BUILDSTDERR: 352 | array_info.index = (long *)RESIZE(array_info.index, long, array_info.size); BUILDSTDERR: array.c: In function 'function_setitem': BUILDSTDERR: array.c:669:19: warning: operation on 'array->item' may be undefined [-Wsequence-point] BUILDSTDERR: 669 | array->item = (char **)RESIZE(array->item, char *, (array->size + 1)); BUILDSTDERR: array.c:694:24: warning: operation on 'array_info.item' may be undefined [-Wsequence-point] BUILDSTDERR: 694 | array_info.item = (char **)RESIZE(array_info.item, char *, (array_info.size + 1)); BUILDSTDERR: array.c: In function 'function_delitem': BUILDSTDERR: array.c:895:18: warning: operation on 'array->item' may be undefined [-Wsequence-point] BUILDSTDERR: 895 | array->item = (char**)RESIZE(array->item, char *, array->size); BUILDSTDERR: array.c:896:19: warning: operation on 'array->index' may be undefined [-Wsequence-point] BUILDSTDERR: 896 | array->index = (long*)RESIZE(array->index, long, array->size); e 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. cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c alias.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c alist.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c array.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c art.c BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptbanlist.c: In function 'userhost_ban': BUILDSTDERR: banlist.c:398:8: warning: variable 'temp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 398 | char *temp; BUILDSTDERR: | ^~~~ BUILDSTDERR: banlist.c: In function 'multkick': BUILDSTDERR: banlist.c:474:6: warning: variable 'filter' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 474 | int filter = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: banlist.c: In function 'massop': BUILDSTDERR: banlist.c:673:3: warning: variable 'all' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 673 | all = 0, BUILDSTDERR: | ^~~ BUILDSTDERR: banlist.c:672:3: warning: variable 'i' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 672 | i, BUILDSTDERR: | ^ BUILDSTDERR: banlist.c: In function 'masskick': BUILDSTDERR: banlist.c:807:35: warning: '%s' directive writing up to 2048 bytes into a region of size 2036 [-Wformat-overflow=] BUILDSTDERR: 807 | sprintf(buf, "KICK %%s %%s :\002%s\002", reason); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from banlist.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 2063 bytes into a destination of size 2049 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bot_link.c: In function 'chanout_but': BUILDSTDERR: bot_link.c:119:12: warning: variable 'n' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 119 | DCC_int *n; BUILDSTDERR: | ^ BUILDSTDERR: bot_link.c: In function 'tell_who': BUILDSTDERR: bot_link.c:482:10: warning: variable 'n' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 482 | DCC_int *n; BUILDSTDERR: | ^ BUILDSTDERR: bot_link.c: In function 'send_whom': BUILDSTDERR: bot_link.c:574:5: warning: variable 'found' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 574 | int found = 0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: bot_link.c: In function 'tand_priv': BUILDSTDERR: bot_link.c:601:12: warning: variable 'from' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 601 | char *to, *from, *p, *i_dx; BUILDSTDERR: | ^~~~ BUILDSTDERR: cdcc.c: In function 'do_local_send': BUILDSTDERR: cdcc.c:398:6: warning: variable 'tdcc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 398 | int tdcc = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: cdcc.c: In function 'r_list': BUILDSTDERR: cdcc.c:657:8: warning: variable 'type_msg' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 657 | char *type_msg; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: cdcc.c: In function 'l_load': BUILDSTDERR: cdcc.c:1181:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1181 | fgets(buffer, BIG_BUFFER_SIZE, file); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cdcc.c:1199:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1199 | fgets(buffer, BIG_BUFFER_SIZE, file); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cdcc.c:1205:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1205 | fgets(buffer, BIG_BUFFER_SIZE, file); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands.c: In function 'find_dll_command': BUILDSTDERR: commands.c:937:7: warning: variable 'min' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 937 | int min, BUILDSTDERR: | ^~~ BUILDSTDERR: commands.c: In function 'e_channel': BUILDSTDERR: commands.c:2594:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2594 | int len; BUILDSTDERR: | ^~~ BUILDSTDERR: commands.c: In function 'away': BUILDSTDERR: commands.c:3169:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3169 | int len; BUILDSTDERR: | ^~~ BUILDSTDERR: commands.c: In function 'quotecmd': BUILDSTDERR: commands.c:3366:21: warning: variable 'p' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3366 | protocol_command *p; BUILDSTDERR: | ^ BUILDSTDERR: commands.c: In function 'back.part.0': BUILDSTDERR: commands.c:3139:31: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size 2028 [-Wformat-truncation=] BUILDSTDERR: 3139 | "PRIVMSG %%s :ACTION %s", fset); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from commands.c:14: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 2070 bytes into a destination of size 2048 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands2.c: In function 'check_mode_lock': BUILDSTDERR: commands2.c:407:29: warning: the address of 'buffer' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 407 | if (chan && chan->have_op && buffer) BUILDSTDERR: | ^~ BUILDSTDERR: commands2.c: In function 'handle_reconnect': BUILDSTDERR: commands2.c:2471:56: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2471 | if (n < 0 || getpeername(n, (struct sockaddr *)&addr, &len) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from commands2.c:8: BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 131 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: commands2.c:2520:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2520 | write(n, &parm, sizeof(struct param)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands2.c: In function 'close_detach_fd': BUILDSTDERR: commands2.c:2647:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2647 | freopen("/dev/null", "r", stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands2.c:2648:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2648 | freopen("/dev/null", "w", stdout); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands2.c:2649:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2649 | freopen("/dev/null", "w", stderr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands2.c: In function 'create_ipc_socket': BUILDSTDERR: commands2.c:2598:3: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2598 | chown(buf, getuid(), getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands2.c:2600:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2600 | write(u, connect_cookie, strlen(connect_cookie)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands2.c:2601:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2601 | write(u, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from cset.c:47: BUILDSTDERR: cset.c: In function 'get_cset': BUILDSTDERR: cset.c:564:19: warning: the address of 's' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 564 | return m_strdup(s && *s ? s : empty_string); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: ctcp.c: In function 'do_notice_ctcp': BUILDSTDERR: ctcp.c:1370:19: warning: pointer targets in passing argument 1 of 'stripansi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1370 | tbuf = stripansi(str); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from ctcp.c:45: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:78:8: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 78 | char *stripansi (unsigned char *); BUILDSTDERR: | ^~~~~~~~~ ions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c banlist.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c bot_link.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c cdcc.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c cdns.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c chelp.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c commands.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c commands2.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c compat.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c cset.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ctcp.c BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-dcc.c: In function 'find_dcc_pending': BUILDSTDERR: dcc.c:420:15: warning: variable 'flags' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 420 | unsigned long flags; BUILDSTDERR: | ^~~~~ BUILDSTDERR: dcc.c: In function 'BX_dcc_create': BUILDSTDERR: dcc.c:571:57: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: 571 | if ((getpeername(new_s, (struct sockaddr *) &remaddr, &rl)) != -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from dcc.c:14: BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 131 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: dcc.c: In function 'start_dcc_get': BUILDSTDERR: dcc.c:2094:5: warning: variable 'tdcc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2094 | int tdcc = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: dcc.c:2093:15: warning: variable 'type' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2093 | unsigned long type; BUILDSTDERR: | ^~~~ BUILDSTDERR: dcc.c: In function 'dcc_exempt_save': BUILDSTDERR: dcc.c:3038:6: warning: the address of 'dcc_no_flood' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 3038 | if (dcc_no_flood) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: dcc.c:3048:6: warning: the address of 'dcc_no_flood' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 3048 | if (dcc_no_flood) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: dcc.c: In function 'output_reject_ctcp': BUILDSTDERR: dcc.c:3066:8: warning: variable 'nickname_requested' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3066 | char *nickname_requested; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: dcc.c: In function 'open_listen_port': BUILDSTDERR: dcc.c:3699:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3699 | if (getsockname(s, (struct sockaddr *)&data_addr, &len) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from dcc.c:14: BUILDSTDERR: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 117 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: dcc.c:3710:51: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3710 | getsockname(data, (struct sockaddr *)&data_addr, &len); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from dcc.c:14: BUILDSTDERR: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 117 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: dcc.c: In function 'start_ftp': BUILDSTDERR: dcc.c:3790:55: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3790 | if (getpeername(snum, (struct sockaddr *) &remaddr, &rl) != -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from dcc.c:14: BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 131 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: dcc.c: In function 'open_ftpget': BUILDSTDERR: dcc.c:3832:13: warning: variable 'sock' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3832 | SocketList *sock; BUILDSTDERR: | ^~~~ BUILDSTDERR: dcc.c: In function 'dcc_ftpcommand': BUILDSTDERR: dcc.c:3954:55: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3954 | s1 = accept(sock, (struct sockaddr *) &data_addr, &len); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from dcc.c:14: BUILDSTDERR: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 233 | socklen_t *__restrict __addr_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: dcc.c: In function 'new_dcc_message_transmit': BUILDSTDERR: dcc.c:1051:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1051 | write(s->is_read, tmp, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dcc.c: In function 'real_file_send': BUILDSTDERR: dcc.c:1913:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1913 | getcwd(FileBuf, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dcc.c: In function 'read_ftp_file': BUILDSTDERR: dcc.c:3685:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 3685 | write(n->file, buf, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dcc.c: In function 'update_transfer': BUILDSTDERR: dcc.c:2757:43: warning: '%s' directive writing up to 2047 bytes into a region of size 511 [-Wformat-overflow=] BUILDSTDERR: 2757 | sprintf(DCC_current_transfer_buffer, "[%s]", transfer_buffer); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from dcc.c:14: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 2050 bytes into a destination of size 512 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dcc.c: In function 'close_dcc_file': BUILDSTDERR: dcc.c:1633:32: warning: 's TRANSFER COMPLETE' directive writing 19 bytes into a region of size between 13 and 42 [-Wformat-overflow=] BUILDSTDERR: 1633 | sprintf(buffer, "%%s %s %%s %%s TRANSFER COMPLETE", lame_type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from dcc.c:14: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 57 bytes into a destination of size 50 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: exec.c: In function 'execcmd': BUILDSTDERR: exec.c:573:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 573 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: exec.c:574:4: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 574 | setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: exec.c: In function 'text_to_process': BUILDSTDERR: exec.c:1029:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1029 | write(proc->p_stdin, my_buffer, strlen(my_buffer)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: functions.c: In function 'get_builtins': BUILDSTDERR: functions.c:947:7: warning: variable 'last_match' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 947 | char *last_match = NULL; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_decode': BUILDSTDERR: functions.c:1703:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1703 | return result; /* DONT USE RETURN_STR HERE! */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: functions.c: In function 'function_channelnicks': BUILDSTDERR: functions.c:2643:7: warning: variable 'sort_type' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2643 | int sort_type = NICKSORT_NORMAL; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_chr': BUILDSTDERR: functions.c:3396:23: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3396 | unsigned char *ack = aboo; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from functions.c:47: BUILDSTDERR: functions.c:1255:41: warning: the address of 'aboo' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:3403:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 3403 | RETURN_STR(aboo); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_ascii': BUILDSTDERR: functions.c:3409:21: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3409 | unsigned char *w = word; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from functions.c:47: BUILDSTDERR: functions.c: In function 'function_truncate': BUILDSTDERR: functions.c:1255:41: warning: the address of 'buffer' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:3821:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 3821 | RETURN_STR(buffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_tdiff2': BUILDSTDERR: functions.c:1255:41: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:3878:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 3878 | RETURN_STR(tmp); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_stripansi': BUILDSTDERR: functions.c:3901:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3901 | for (cp = input; *cp; cp++) BUILDSTDERR: | ^ BUILDSTDERR: functions.c: In function 'function_stripc': BUILDSTDERR: functions.c:3920:22: warning: pointer targets in passing argument 1 of '(u_char * (*)(u_char *, const u_char *))*(global + 600)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3920 | strcpy_nocolorcodes(retval, input); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: functions.c:3920:22: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: functions.c:3920:30: warning: pointer targets in passing argument 2 of '(u_char * (*)(u_char *, const u_char *))*(global + 600)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3920 | strcpy_nocolorcodes(retval, input); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: functions.c:3920:30: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: In file included from functions.c:47: BUILDSTDERR: functions.c: In function 'function_uptime': BUILDSTDERR: functions.c:1255:41: warning: the address of 'buffer' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:4295:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 4295 | RETURN_STR(buffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_rot13': BUILDSTDERR: functions.c:1255:41: warning: the address of 'temp' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:4405:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 4405 | RETURN_STR(temp); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_isvoice': BUILDSTDERR: functions.c:1255:41: warning: the address of 'zero' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:4934:4: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 4934 | RETURN_STR(Nick ? (nick_isvoice(Nick) ? one : zero) : zero); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_writeserver': BUILDSTDERR: functions.c:5066:35: warning: pointer targets in passing argument 2 of '(int (*)(int, unsigned char *, int, int))*(global + 2384)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 5066 | len = write_sockets(socket_num, word, strlen(word), 1); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: functions.c:5066:35: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: In file included from functions.c:47: BUILDSTDERR: functions.c: In function 'function_countansi': BUILDSTDERR: functions.c:5317:31: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, int, int))*(global + 2472)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 5317 | RETURN_INT(output_with_count(input, 0, 0)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:5317:2: note: in expansion of macro 'RETURN_INT' BUILDSTDERR: 5317 | RETURN_INT(output_with_count(input, 0, 0)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c:5317:31: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 5317 | RETURN_INT(output_with_count(input, 0, 0)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:5317:2: note: in expansion of macro 'RETURN_INT' BUILDSTDERR: 5317 | RETURN_INT(output_with_count(input, 0, 0)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_regerror': BUILDSTDERR: functions.c:1255:41: warning: the address of 'error_buf' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:5689:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 5689 | RETURN_STR(error_buf); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_leftpc': BUILDSTDERR: functions.c:5769:29: warning: pointer targets in passing argument 1 of '(unsigned char ** (*)(const unsigned char *, int, int *, int))*(global + 2424)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 5769 | prepared = prepare_display(word, count, &lines, PREPARE_NOWRAP); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: functions.c:5769:29: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: In file included from functions.c:47: BUILDSTDERR: functions.c: In function 'function_uname': BUILDSTDERR: functions.c:1255:41: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:5834:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 5834 | RETURN_STR(tmp); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_mask': BUILDSTDERR: functions.c:1255:41: warning: the address of 'stuff' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:6026:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 6026 | RETURN_STR(stuff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_numlines': BUILDSTDERR: functions.c:6359:30: warning: pointer targets in passing argument 1 of '(unsigned char ** (*)(const unsigned char *, int))*(global + 2456)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 6359 | for (lines = split_up_line(s, cols + 1); *lines; lines++) BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: functions.c:6359:30: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: In file included from functions.c:47: BUILDSTDERR: functions.c: In function 'function_servgroup': BUILDSTDERR: functions.c:1255:41: warning: the address of 'empty_string' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:6585:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 6585 | RETURN_STR(s ? s : empty_string); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_banwords': BUILDSTDERR: functions.c:1255:41: warning: the address of 'empty_string' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:7030:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 7030 | RETURN_STR(ret ? ret : empty_string); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_realpath': BUILDSTDERR: functions.c:1255:41: warning: the address of 'resolvedname' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:7265:3: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 7265 | RETURN_STR(resolvedname); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_stat': BUILDSTDERR: functions.c:1255:41: warning: the address of 'retval' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1255 | #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^ BUILDSTDERR: functions.c:7336:2: note: in expansion of macro 'RETURN_STR' BUILDSTDERR: 7336 | RETURN_STR(retval); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_ftime': BUILDSTDERR: functions.c:5461:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 5461 | getcwd(FileBuf, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_fsize': BUILDSTDERR: functions.c:4133:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 4133 | getcwd(FileBuf, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: functions.c: In function 'function_fexist': BUILDSTDERR: functions.c:4084:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 4084 | getcwd(FileBuf, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c dcc.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c debug.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c encrypt.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c exec.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c files.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c flood.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c fset.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c functions.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c funny.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c glob.c BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2help.c: In function 'help_put_it': BUILDSTDERR: help.c:756:18: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 756 | add_to_screen(putbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: help.c:756:18: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: help.c: In function 'help_me': BUILDSTDERR: help.c:437:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 437 | chdir(path); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: help.c:450:4: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 450 | fchdir(cwd); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: help.c: In function 'help_prompt.part.0': BUILDSTDERR: help.c:199:22: warning: 'Help? ' directive writing 6 bytes into a region of size between 1 and 2049 [-Wformat-overflow=] BUILDSTDERR: 199 | sprintf(tmp, "%s%sHelp? ", help_topic_list, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from help.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 2055) into a destination of size 2049 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: help.c: In function 'help_me': BUILDSTDERR: help.c:383:21: warning: 'Help? ' directive writing 6 bytes into a region of size between 1 and 2049 [-Wformat-overflow=] BUILDSTDERR: 383 | sprintf(tmp, "%s%sHelp? ", help_topic_list, *help_topic_list ? space : empty_string); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from help.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 2055) into a destination of size 2049 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: help.c:528:21: warning: 'Help? ' directive writing 6 bytes into a region of size between 1 and 2049 [-Wformat-overflow=] BUILDSTDERR: 528 | sprintf(tmp, "%s%sHelp? ", help_topic_list, *help_topic_list ? space : empty_string); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from help.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 2055) into a destination of size 2049 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: help.c:544:22: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 544 | sprintf(tmp, "%s/%s", path, g.gl_pathv[0]); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from help.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 2050) into a destination of size 2049 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: hook.c: In function 'find_numeric_list': BUILDSTDERR: hook.c:1759:21: warning: variable 'last' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1759 | NumericList *tmp, *last = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: hook.c: In function 'show_numeric_list': BUILDSTDERR: hook.c:770:17: warning: '%3.3u' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: 770 | sprintf(buf, "%3.3u", numeric); BUILDSTDERR: | ^~~~~ BUILDSTDERR: hook.c:770:16: note: directive argument in the range [1, 2147483647] BUILDSTDERR: 770 | sprintf(buf, "%3.3u", numeric); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from hook.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 11 bytes into a destination of size 4 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: hook.c: In function 'do_stack_on': BUILDSTDERR: hook.c:1644:27: warning: '%3.3u' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: 1644 | sprintf(nptr->name, "%3.3u", -which); BUILDSTDERR: | ^~~~~ BUILDSTDERR: hook.c:1644:26: note: directive argument in the range [1, 2147483647] BUILDSTDERR: 1644 | sprintf(nptr->name, "%3.3u", -which); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from hook.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 11 bytes into a destination of size 4 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: hook.c: In function 'add_dll_hook': BUILDSTDERR: hook.c:418:25: warning: '%3.3u' directive writing 10 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: 418 | sprintf(entry->name, "%3.3u", numeric); BUILDSTDERR: | ^~~~~ BUILDSTDERR: hook.c:418:24: note: directive argument in the range [-2147483648, -1] BUILDSTDERR: 418 | sprintf(entry->name, "%3.3u", numeric); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from hook.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 bytes into a destination of size 4 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: hook.c: In function 'oncmd': BUILDSTDERR: hook.c:381:25: warning: '%3.3u' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: 381 | sprintf(entry->name, "%3.3u", numeric); BUILDSTDERR: | ^~~~~ BUILDSTDERR: hook.c:381:24: note: directive argument in the range [1, 2147483647] BUILDSTDERR: 381 | sprintf(entry->name, "%3.3u", numeric); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from hook.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 11 bytes into a destination of size 4 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: input.c: In function 'BX_update_input': BUILDSTDERR: input.c:246:29: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 246 | ptr = (char *)strip_ansi(ptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:246:29: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: input.c:103:38: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, int, int))*(global + 2472)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 103 | #define INPUT_PROMPT current_screen->input_prompt BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:262:42: note: in expansion of macro 'INPUT_PROMPT' BUILDSTDERR: 262 | INPUT_PROMPT_LEN = output_with_count(INPUT_PROMPT, 0, 0); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: input.c:103:38: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 103 | #define INPUT_PROMPT current_screen->input_prompt BUILDSTDERR: | ^ BUILDSTDERR: input.c:262:42: note: in expansion of macro 'INPUT_PROMPT' BUILDSTDERR: 262 | INPUT_PROMPT_LEN = output_with_count(INPUT_PROMPT, 0, 0); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: input.c:103:38: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, int, int))*(global + 2472)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 103 | #define INPUT_PROMPT current_screen->input_prompt BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:392:23: note: in expansion of macro 'INPUT_PROMPT' BUILDSTDERR: 392 | output_with_count(INPUT_PROMPT, 0, 1); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: input.c:103:38: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 103 | #define INPUT_PROMPT current_screen->input_prompt BUILDSTDERR: | ^ BUILDSTDERR: input.c:392:23: note: in expansion of macro 'INPUT_PROMPT' BUILDSTDERR: 392 | output_with_count(INPUT_PROMPT, 0, 1); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: input.c: In function 'input_delete_to_previous_space': BUILDSTDERR: input.c:709:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 709 | char c; BUILDSTDERR: | ^ BUILDSTDERR: input.c: In function 'BX_lookup_nickcompletion': BUILDSTDERR: input.c:1157:36: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1157 | else if (!ntmp && my_strnstr(nick->nick, possible, strlen(possible))) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:1157:36: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: input.c:1157:44: warning: pointer targets in passing argument 2 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1157 | else if (!ntmp && my_strnstr(nick->nick, possible, strlen(possible))) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:1157:44: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: input.c: In function 'edit_char': BUILDSTDERR: input.c:1363:39: warning: pointer targets in passing argument 2 of 'oldprompt->func' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1363 | (*oldprompt->func)(oldprompt->data, key_); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: input.c:1363:39: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: input.c: In function 'BX_getchannick': BUILDSTDERR: input.c:1839:75: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1839 | if (!my_strnicmp(cnick->nick, nick, strlen(nick)) || my_strnstr(cnick->nick, nick, strlen(nick))) BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:1839:75: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: input.c:1839:83: warning: pointer targets in passing argument 2 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1839 | if (!my_strnicmp(cnick->nick, nick, strlen(nick)) || my_strnstr(cnick->nick, nick, strlen(nick))) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:1839:83: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: input.c:1855:27: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1855 | if (my_strnstr(cnick->nick, nick, strlen(nick))) BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:1855:27: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: input.c:1855:35: warning: pointer targets in passing argument 2 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1855 | if (my_strnstr(cnick->nick, nick, strlen(nick))) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: input.c:1855:35: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: input.c: In function 'get_completions': BUILDSTDERR: input.c:2209:5: warning: variable 'numglobs' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2209 | int numglobs = 0, i; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ./irc.c: In function 'BX_irc_exit': BUILDSTDERR: ./irc.c:487:22: warning: the address of 'buffer' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 487 | put_it("%s", buffer ? buffer : reason ? reason : empty_string); BUILDSTDERR: | ^ BUILDSTDERR: ./irc.c: In function 'parse_args': BUILDSTDERR: ./irc.c:1183:6: warning: the address of 'nickname' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1183 | if (!nickname || !*nickname) BUILDSTDERR: | ^ BUILDSTDERR: ./irc.c:713:19: warning: unused variable 'hp' [-Wunused-variable] BUILDSTDERR: 713 | struct hostent * hp; BUILDSTDERR: | ^~ BUILDSTDERR: ./irc.c: In function 'BX_io': BUILDSTDERR: ./irc.c:1246:13: warning: variable 'first_time' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1246 | static int first_time = 1, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./irc.c: In function 'munge_term_env_var': BUILDSTDERR: ./irc.c:317:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 317 | } BUILDSTDERR: | ^ BUILDSTDERR: ./irc.c: In function 'check_pid': BUILDSTDERR: ./irc.c:1454:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1454 | fgets(buffer, 10, t); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c hash.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c hebrew.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c help.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c history.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c hook.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c if.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ignore.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c input.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1./ircaux.c: In function 'BX_my_strnstr': BUILDSTDERR: ./ircaux.c:776:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 776 | if (!strncasecmp(p, str2, strlen(str2))) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./ircaux.c:10: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ./ircaux.c:776:23: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 776 | if (!strncasecmp(p, str2, strlen(str2))) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./ircaux.c:10: BUILDSTDERR: /usr/include/strings.h:120:55: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./ircaux.c: In function 'BX_ircpanic': BUILDSTDERR: ./ircaux.c:1331:60: warning: the address of 'cx_function' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 1331 | yell("Panic: [%s:%s %s]", irc_version, buffer, cx_function?cx_function:empty_string); BUILDSTDERR: | ^ BUILDSTDERR: ./ircaux.c: In function 'BX_mangle_line': BUILDSTDERR: ./ircaux.c:2963:23: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2963 | output = strip_ansi(incoming); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./ircaux.c:2963:23: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: ./ircaux.c:2963:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2963 | output = strip_ansi(incoming); BUILDSTDERR: | ^ BUILDSTDERR: ./ircaux.c:2985:34: warning: pointer targets in passing argument 1 of '(const unsigned char * (*)(const unsigned char *, int *, int *, int))*(global + 2560)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2985 | end = (char *)skip_ctl_c_seq(s, &lhs, &rhs, 0); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./ircaux.c:2985:34: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: ./ircaux.c: In function 'open_compression': BUILDSTDERR: ./ircaux.c:1392:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1392 | setuid (getuid ()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./ircaux.c:1393:4: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1393 | setgid (getgid ()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./ircaux.c: In function 'init_socketpath': BUILDSTDERR: ./ircaux.c:2882:11: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2882 | (void) chown(socket_path, getuid(), getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./ircaux.c: In function 'randd': BUILDSTDERR: ./ircaux.c:3226:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 3226 | read(random_fd, (void *)&value, sizeof(value)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: keys.c: In function 'snew_key': BUILDSTDERR: keys.c:429:27: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] BUILDSTDERR: 429 | if ((j = lookup_function(what, &i)) == 1) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:38:40: note: expected 'const uc *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 38 | static int lookup_function (const uc *name, int *lf_index); BUILDSTDERR: | ~~~~~~~~~~^~~~ BUILDSTDERR: keys.c: In function 'snew_key_from_str': BUILDSTDERR: keys.c:450:22: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] BUILDSTDERR: 450 | if (lookup_function(what, &i) == 1) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:38:40: note: expected 'const uc *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 38 | static int lookup_function (const uc *name, int *lf_index); BUILDSTDERR: | ~~~~~~~~~~^~~~ BUILDSTDERR: keys.c: In function 'parsekeycmd': BUILDSTDERR: keys.c:681:46: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] BUILDSTDERR: 681 | int keyval = lookup_function(arg, &i); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:38:40: note: expected 'const uc *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 38 | static int lookup_function (const uc *name, int *lf_index); BUILDSTDERR: | ~~~~~~~~~~^~~~ BUILDSTDERR: keys.c: In function 'rbindcmd': BUILDSTDERR: keys.c:717:26: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] BUILDSTDERR: 717 | switch (lookup_function(arg, &f)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:38:40: note: expected 'const uc *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 38 | static int lookup_function (const uc *name, int *lf_index); BUILDSTDERR: | ~~~~~~~~~~^~~~ BUILDSTDERR: keys.c: In function 'grok_meta': BUILDSTDERR: keys.c:753:19: warning: pointer targets in passing argument 1 of '(int (*)(const char *, const char *, size_t))*(global + 200)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 753 | if (!my_strnicmp(ptr, "META", 4)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const uc * {aka const unsigned char *} BUILDSTDERR: keys.c:753:19: note: expected 'const char *' but argument is of type 'const uc *' {aka 'const unsigned char *'} BUILDSTDERR: keys.c:758:35: warning: pointer targets in passing argument 1 of '(int (*)(const char *, const char *, size_t))*(global + 200)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 758 | if (*ptr == '_' && !my_strnicmp(ptr, "_CHARACTER", 10)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const uc * {aka const unsigned char *} BUILDSTDERR: keys.c:758:35: note: expected 'const char *' but argument is of type 'const uc *' {aka 'const unsigned char *'} BUILDSTDERR: keys.c:762:15: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] BUILDSTDERR: 762 | meta = atol(str); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const uc * {aka const unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/stdlib.h:366:1: note: expected 'const char *' but argument is of type 'const uc *' {aka 'const unsigned char *'} BUILDSTDERR: 366 | __NTH (atol (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdlib.h:568, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: keys.c: In function 'parse_key': BUILDSTDERR: keys.c:891:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 891 | copy = alloca(strlen(sequence) + 4); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | const uc * {aka const unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const uc *' {aka 'const unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: keys.c:893:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 893 | end = copy + strlen(copy) - 1; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: keys.c:970:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 970 | yell("SOME_CHARACTERS := [%s] (%d)", copy, strlen(copy)); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: keys.c:1003:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1003 | yell("COPY: [%s] (%d)", copy, strlen(copy)); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: keys.c: In function 'bindcmd': BUILDSTDERR: keys.c:1086:11: warning: pointer targets in assignment from 'char *' to 'uc *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 1086 | if ((key = new_next_arg(args, &args)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: keys.c:1097:24: warning: pointer targets in passing argument 1 of '(int (*)(const char *, const char *, size_t))*(global + 200)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1097 | if (!my_strnicmp(key + 1, "DEFAULTS", 1)) BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: keys.c:1097:24: note: expected 'const char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: keys.c:1112:31: warning: pointer targets in passing argument 1 of 'get_term_capability' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1112 | newkey = get_term_capability(key, 0, 1); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: In file included from keys.c:26: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/ircterm.h:741:10: note: expected 'char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: 741 | char * get_term_capability (char *, int, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: keys.c:1112:9: warning: pointer targets in assignment from 'char *' to 'uc *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 1112 | newkey = get_term_capability(key, 0, 1); BUILDSTDERR: | ^ BUILDSTDERR: keys.c:1122:16: warning: pointer targets in assignment from 'char *' to 'uc *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 1122 | if ((function = next_arg(args, &args)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:568, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: keys.c: In function 'lookup_function': BUILDSTDERR: /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] BUILDSTDERR: 172 | #define LOCAL_COPY(y) strcpy(alloca(strlen((y)) + 1), y) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const uc * {aka const unsigned char *} BUILDSTDERR: keys.c:1195:20: note: in expansion of macro 'LOCAL_COPY' BUILDSTDERR: 1195 | breakage = name = LOCAL_COPY(orig_name); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const uc *' {aka 'const unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/alist.h:10, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/struct.h:18, BUILDSTDERR: from keys.c:16: BUILDSTDERR: keys.c:1195:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1195 | breakage = name = LOCAL_COPY(orig_name); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | const uc * {aka const unsigned char *} BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:172:55: note: in definition of macro 'LOCAL_COPY' BUILDSTDERR: 172 | #define LOCAL_COPY(y) strcpy(alloca(strlen((y)) + 1), y) BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const uc *' {aka 'const unsigned char *'} BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: keys.c:1195:18: warning: pointer targets in assignment from 'char *' to 'uc *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 1195 | breakage = name = LOCAL_COPY(orig_name); BUILDSTDERR: | ^ BUILDSTDERR: keys.c:1196:8: warning: pointer targets in passing argument 1 of '(char * (*)(char *))*(global + 144)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1196 | upper(name); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: keys.c:1196:8: note: expected 'char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: keys.c:1197:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1197 | len = strlen(name); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: keys.c:1202:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1202 | if (!strncmp(name, "META", 4)) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: keys.c:1218:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1218 | if (strncmp(name, key_names[i].name, len) == 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: keys.c:1227:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1227 | if (strcmp(name, key_names[*lf_index].name) == 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | uc * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'uc *' {aka 'unsigned char *'} BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: keys.c:1187:13: warning: variable 'breakage' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1187 | uc *name, *breakage; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: keys.c: In function 'convert_to_keystr': BUILDSTDERR: keys.c:1269:24: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1269 | ret = lookup_function(key, &loc); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1182:40: note: expected 'const uc *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 1182 | static int lookup_function (const uc *orig_name, int *lf_index) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: keys.c: In function 'init_keys2': BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1488:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1488 | LKEY(key_up, BACKWARD_HISTORY) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1489:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1489 | LKEY(key_down, FORWARD_HISTORY) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1490:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1490 | LKEY(key_left, BACKWARD_CHARACTER) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1491:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1491 | LKEY(key_right, FORWARD_CHARACTER) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1492:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1492 | LKEY(key_ppage, SCROLL_BACKWARD) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1493:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1493 | LKEY(key_npage, SCROLL_FORWARD) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1494:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1494 | LKEY(key_home, SCROLL_START) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1495:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1495 | LKEY(key_end, SCROLL_END) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1496:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1496 | LKEY(key_ic, TOGGLE_INSERT_MODE) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1498:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1498 | LKEY(key_f1, CHELP) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1499:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1499 | LKEY(key_f2, CHANNEL_CHOPS) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1500:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1500 | LKEY(key_f3, CHANNEL_NONOPS) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1502:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1502 | LKEY(key_f4, CDCC_PLIST) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1504:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1504 | LKEY(key_f5, DCC_PLIST) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1505:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1505 | LKEY(key_f6, DCC_STATS) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1482 | snew_key_from_str(l, #y); \ BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: keys.c:1506:2: note: in expansion of macro 'LKEY' BUILDSTDERR: 1506 | LKEY(key_dc, TOGGLE_CLOAK) BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.c:437:36: note: expected 'uc *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 437 | static void snew_key_from_str (uc *string, char *what) BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: keys.c: In function 'show_binding': BUILDSTDERR: keys.c:505:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: 505 | sprintf(meta_str, "META%d-", meta); BUILDSTDERR: | ^~ BUILDSTDERR: keys.c:505:21: note: directive argument in the range [1, 2147483647] BUILDSTDERR: 505 | sprintf(meta_str, "META%d-", meta); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 8 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: keys.c: In function 'save_bindings': BUILDSTDERR: keys.c:563:27: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] BUILDSTDERR: 563 | sprintf(meta_str, "META%d-", meta); BUILDSTDERR: | ^~ BUILDSTDERR: keys.c:563:22: note: directive argument in the range [1, 2147483647] BUILDSTDERR: 563 | sprintf(meta_str, "META%d-", meta); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: keys.c: In function 'convert_to_keystr': BUILDSTDERR: keys.c:1286:30: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: 1286 | sprintf(meta_str, "META%d-", i); BUILDSTDERR: | ^~ BUILDSTDERR: keys.c:1286:25: note: directive argument in the range [1, 2147483646] BUILDSTDERR: 1286 | sprintf(meta_str, "META%d-", i); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from keys.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 8 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lastlog.c: In function 'logmsg': BUILDSTDERR: lastlog.c:613:26: warning: pointer targets in passing argument 1 of '(unsigned char ** (*)(const unsigned char *, int))*(global + 2456)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 613 | lines = split_up_line(stripansicodes(convert_output_format(format, "%s %s %s %s", type, timestr, from, msglog_buffer)), 80); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: lastlog.c:613:26: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: lastlog.c:617:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 617 | int len = strlen(*lines) * 2 + 1; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from lastlog.c:12: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: lastlog.c:620:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 620 | strcpy(local_copy, *lines); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from lastlog.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'check_mail': BUILDSTDERR: mail.c:185:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 185 | return (char *)(*check_ext_mail)(); BUILDSTDERR: | ^ BUILDSTDERR: In file included from misc.c:46: BUILDSTDERR: misc.c: In function 'stripansi': BUILDSTDERR: /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] BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: misc.c:1085:12: note: in expansion of macro 'm_strdup' BUILDSTDERR: 1085 | newline = m_strdup(line); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: misc.c:1085:12: note: in expansion of macro 'm_strdup' BUILDSTDERR: 1085 | newline = m_strdup(line); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: misc.c:1085:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1085 | newline = m_strdup(line); BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'randreason': BUILDSTDERR: misc.c:1772:13: warning: variable 'min' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1772 | int count, min, i; BUILDSTDERR: | ^~~ BUILDSTDERR: misc.c: In function 'ar_send_res_msg': BUILDSTDERR: misc.c:2405:13: warning: RES_PRIMARY is deprecated BUILDSTDERR: 2405 | if (_res.options & RES_PRIMARY) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'ar_query_name': BUILDSTDERR: misc.c:2488:4: warning: pointer targets in passing argument 8 of '__res_mkquery' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2488 | buf, sizeof(buf)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:186:9: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 186 | unsigned char *, int) __THROW; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'ar_procanswer': BUILDSTDERR: misc.c:2689:21: warning: pointer targets in passing argument 1 of '__dn_skipname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2689 | cp += dn_skipname(cp, eob) + QFIXEDSZ; BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:248:19: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 248 | int dn_skipname (const unsigned char *, const unsigned char *) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:2689:25: warning: pointer targets in passing argument 2 of '__dn_skipname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2689 | cp += dn_skipname(cp, eob) + QFIXEDSZ; BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:248:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 248 | int dn_skipname (const unsigned char *, const unsigned char *) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:2695:17: warning: pointer targets in passing argument 1 of '__dn_expand' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2695 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:269:17: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 269 | int dn_expand (const unsigned char *, const unsigned char *, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:2695:22: warning: pointer targets in passing argument 2 of '__dn_expand' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2695 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:269:40: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 269 | int dn_expand (const unsigned char *, const unsigned char *, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:2695:27: warning: pointer targets in passing argument 3 of '__dn_expand' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2695 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:270:7: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 270 | const unsigned char *, char *, int) __THROW; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:2730:23: warning: pointer targets in passing argument 1 of '__dn_expand' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2730 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:269:17: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 269 | int dn_expand (const unsigned char *, const unsigned char *, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:2730:28: warning: pointer targets in passing argument 2 of '__dn_expand' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2730 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:269:40: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 269 | int dn_expand (const unsigned char *, const unsigned char *, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:2730:33: warning: pointer targets in passing argument 3 of '__dn_expand' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2730 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:2017: BUILDSTDERR: /usr/include/resolv.h:270:7: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 270 | const unsigned char *, char *, int) __THROW; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c:2665:15: warning: variable 'hp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2665 | struct hent *hp; BUILDSTDERR: | ^~ BUILDSTDERR: misc.c:2664:15: warning: variable 'ttl' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2664 | unsigned int ttl, dr, *adr; BUILDSTDERR: | ^~~ BUILDSTDERR: misc.c: In function 'nslookup': BUILDSTDERR: misc.c:3117:4: warning: variable 'hostname' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3117 | *hostname, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdlib.h:568, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from misc.c:4: BUILDSTDERR: misc.c: In function 'BX_write_sockets': BUILDSTDERR: misc.c:3602:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3602 | buf = alloca(strlen(str)+4); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: misc.c:3603:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3603 | strcpy(buf, str); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: misc.c:3603:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3603 | strcpy(buf, str); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: misc.c:3604:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3604 | strcat(buf, "\r\n"); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: misc.c: In function 'read_netfinger': BUILDSTDERR: misc.c:3671:29: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3671 | register unsigned char *p = tmpstr; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: misc.c: In function 'netfinger': BUILDSTDERR: misc.c:3746:21: warning: pointer targets in passing argument 2 of '(int (*)(int, unsigned char *, int, int))*(global + 2384)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3746 | write_sockets(s, name, strlen(name), 1); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: misc.c:3746:21: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: misc.c: In function 'handle_socket_connect': BUILDSTDERR: misc.c:3795:57: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3795 | if ((getpeername(rc, (struct sockaddr *) &addr, &address_len)) != -1) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 131 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: misc.c: In function 'char_fucknut': BUILDSTDERR: misc.c:4415:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 4415 | int total = strlen(crap), allchar = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: misc.c: In function 'convert_output_format2': BUILDSTDERR: misc.c:4781:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 4781 | strlcpy(buffer2, str, RAW_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/alist.h:10, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/struct.h:18, BUILDSTDERR: from misc.c:7: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:275:18: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 275 | size_t strlcpy (char *, const char *, size_t); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: misc.c:4782:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 4782 | copy = tmpc = buffer2; BUILDSTDERR: | ^ BUILDSTDERR: misc.c:4795:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 4795 | strlcat(s, convert_output_format(new_str, NULL, NULL), RAW_BUFFER_SIZE); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/alist.h:10, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/struct.h:18, BUILDSTDERR: from misc.c:7: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:279:18: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 279 | size_t strlcat (char *, const char *, size_t); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from misc.c:46: BUILDSTDERR: /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] BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: misc.c:4808:9: note: in expansion of macro 'm_strdup' BUILDSTDERR: 4808 | return m_strdup(buffer); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: misc.c:4808:9: note: in expansion of macro 'm_strdup' BUILDSTDERR: 4808 | return m_strdup(buffer); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from misc.c:4: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'ar_init.part.0' at misc.c:2111:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 98 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'putlog': BUILDSTDERR: misc.c:1259:20: warning: '%s' directive writing up to 2048 bytes into a region of size between 2007 and 2046 [-Wformat-overflow=] BUILDSTDERR: 1259 | sprintf(s2,"[%s] %s",s1,s); BUILDSTDERR: | ^~ ~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 2091 bytes into a destination of size 2049 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'userhost_ignore': BUILDSTDERR: misc.c:3917:24: warning: argument 1 null where non-null expected [-Wnonnull] BUILDSTDERR: 3917 | user = host; host = strchr(host, '@'); *host++ = 0; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/string.h:225:14: note: in a call to function 'strchr' declared here BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: misc.c:3969:28: warning: '%s' directive writing up to 2048 bytes into a region of size 2040 [-Wformat-overflow=] BUILDSTDERR: 3969 | sprintf(tmp, "%s ^IGNORE %s NONE", arg, ignorebuf); BUILDSTDERR: | ^~ ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from misc.c:4: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 2063) into a destination of size 2049 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: names.c: In function 'BX_do_compress_modes': BUILDSTDERR: names.c:627:14: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] BUILDSTDERR: 627 | else if (!add & isvoiced) BUILDSTDERR: | ^~~~ BUILDSTDERR: names.c: In function 'list_channels': BUILDSTDERR: names.c:1495:3: warning: variable 'no' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1495 | no = 1; BUILDSTDERR: | ^~ -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing \ -DIRCLIB=\"/usr/lib64/bx\" -DSHLIB_SUFFIX=\".so\" -c ./ircaux.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ircsig.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c keys.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c lastlog.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c list.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c log.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c mail.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c misc.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c names.c BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_network.c: In function 'BX_connect_by_number': BUILDSTDERR: network.c:484:49: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 484 | if (getsockname(fd, (struct sockaddr *)&name, &length)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from network.c:9: BUILDSTDERR: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 117 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: network.c:503:19: warning: unused variable 'hp' [-Wunused-variable] BUILDSTDERR: 503 | struct hostent *hp; BUILDSTDERR: | ^~ BUILDSTDERR: network.c: In function 'my_accept': BUILDSTDERR: network.c:787:27: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: 787 | retval = accept(s, addr, addrlen); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from network.c:9: BUILDSTDERR: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 233 | socklen_t *__restrict __addr_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: network.c: In function 'socks5_connect': BUILDSTDERR: network.c:274:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 274 | read(s, tmpbuf, 4); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: network.c:276:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 276 | read(s, tmpbuf, 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: network.c:284:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 284 | read(s, tmpbuf, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: network.c:287:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 287 | read(s, tmpbuf, tmpI); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: network.c:290:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 290 | read(s, tmpbuf, 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: network.c:297:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 297 | read(s, tmpbuf, 18); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./notice.c: In function 'handle_oper_vision': BUILDSTDERR: ./notice.c:79:6: warning: variable 'dcount' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 79 | int dcount; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./notice.c: In function 'parse_server_notice': BUILDSTDERR: ./notice.c:624:11: warning: variable 'for_' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 624 | char *for_; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./notice.c: In function 'parse_notice': BUILDSTDERR: ./notice.c:748:33: warning: pointer targets in passing argument 1 of 'stripansi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 748 | free_me = newline = stripansi(line); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from ./notice.c:33: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:78:8: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 78 | char *stripansi (unsigned char *); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./notice.c: In function 'got_initial_version_28': BUILDSTDERR: ./notice.c:879:28: warning: variable 'user_modes' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 879 | char *server, *sversion, *user_modes, *channel_modes; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: notify.c: In function 'rebuild_notify_ison': BUILDSTDERR: notify.c:52:8: warning: variable 'stuff' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 52 | char *stuff; BUILDSTDERR: | ^~~~~ BUILDSTDERR: output.c: In function 'put_echo': BUILDSTDERR: output.c:163:16: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 163 | add_to_screen(str); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: output.c:163:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: parse.c: In function 'annoy_kicks': BUILDSTDERR: parse.c:190:20: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] BUILDSTDERR: 190 | if (char_fucknut(ptr, '\002', 12)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parse.c:44: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 125 | int char_fucknut (register unsigned char *, char, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parse.c:192:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] BUILDSTDERR: 192 | else if (char_fucknut(ptr, '\007', 1)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parse.c:44: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 125 | int char_fucknut (register unsigned char *, char, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parse.c:194:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] BUILDSTDERR: 194 | else if (char_fucknut(ptr, '\003', 12)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parse.c:44: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 125 | int char_fucknut (register unsigned char *, char, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parse.c:196:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] BUILDSTDERR: 196 | else if (char_fucknut(ptr, '\037', 0)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parse.c:44: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 125 | int char_fucknut (register unsigned char *, char, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parse.c:198:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] BUILDSTDERR: 198 | else if (char_fucknut(ptr, '\026', 12)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parse.c:44: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 125 | int char_fucknut (register unsigned char *, char, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parse.c:200:25: warning: pointer targets in passing argument 1 of 'caps_fucknut' differ in signedness [-Wpointer-sign] BUILDSTDERR: 200 | else if (caps_fucknut(ptr)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parse.c:44: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:100:20: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 100 | int caps_fucknut (register unsigned char *); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parse.c: In function 'p_wallops': BUILDSTDERR: parse.c:411:9: warning: variable 'high' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 411 | char *high; BUILDSTDERR: | ^~~~ BUILDSTDERR: parse.c: In function 'p_privmsg': BUILDSTDERR: parse.c:455:25: warning: variable 'com_lines' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 455 | static int com_do_log, com_lines = 0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: parse.c:455:13: warning: variable 'com_do_log' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 455 | static int com_do_log, com_lines = 0; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: parse.c:453:4: warning: variable 'high' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 453 | *high; BUILDSTDERR: | ^~~~ BUILDSTDERR: parse.c: In function 'add_user_who': BUILDSTDERR: parse.c:966:15: warning: variable 'chan' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 966 | ChannelList *chan; BUILDSTDERR: | ^~~~ BUILDSTDERR: parse.c: In function 'p_channel': BUILDSTDERR: parse.c:1153:13: warning: variable 'user' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1153 | char *user, *host; BUILDSTDERR: | ^~~~ BUILDSTDERR: parse.c: In function 'p_invite': BUILDSTDERR: parse.c:1214:8: warning: variable 'high' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1214 | char *high; BUILDSTDERR: | ^~~~ BUILDSTDERR: parse.c: In function 'check_bitch_mode': BUILDSTDERR: parse.c:1449:8: warning: variable 'right_now' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1449 | time_t right_now; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: parse.c: In function 'parse_server': BUILDSTDERR: parse.c:1910:20: warning: variable 'retval' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1910 | protocol_command *retval; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: readlog.c: In function 'show_log': BUILDSTDERR: readlog.c:136:10: warning: variable 'old_window' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 136 | Window *old_window; BUILDSTDERR: | ^~~~~~~~~~ ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c network.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c newio.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing \ -DSCRIPT_PATH=\"/usr/lib64/bx/script\" -c ./notice.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c notify.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c numbers.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c output.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c parse.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c queue.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c readlog.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c reg.c BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. ./screen.c: In function 'BX_skip_incoming_mirc': BUILDSTDERR: ./screen.c:99:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | for (i=0;ioutput_func' differ in signedness [-Wpointer-sign] BUILDSTDERR: 182 | target_window->output_func(target_window, out); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./screen.c:182:45: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: ./screen.c:188:47: warning: pointer targets in passing argument 2 of 'current_window->output_func' differ in signedness [-Wpointer-sign] BUILDSTDERR: 188 | current_window->output_func(current_window, out); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./screen.c:188:47: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: ./screen.c: In function 'BX_add_to_window': BUILDSTDERR: ./screen.c:209:5: warning: pointer targets in passing argument 3 of 'redirect_text' differ in signedness [-Wpointer-sign] BUILDSTDERR: 209 | str, NULL, 0, 0); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from ./screen.c:20: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/commands.h:31:41: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 31 | void redirect_text (int, const char *, const char *, char *, int, int); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./screen.c:215:33: warning: pointer targets in passing argument 3 of '(void (*)(FILE *, time_t, const char *, int))*(global + 32)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 215 | add_to_log(window->log_fp, 0, str, window->mangler); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: ./screen.c:215:33: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: ./screen.c:216:26: warning: pointer targets in passing argument 2 of 'add_to_lastlog' differ in signedness [-Wpointer-sign] BUILDSTDERR: 216 | add_to_lastlog(window, str); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/window.h:17, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/screen.h:16, BUILDSTDERR: from ./screen.c:21: BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/lastlog.h:70:33: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 70 | void add_to_lastlog (Window *, const char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./screen.c:245:38: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 245 | if (window->beep_always && strchr(str, '\007')) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./screen.c: In function 'BX_prepare_display': BUILDSTDERR: ./screen.c:389:11: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 389 | *cont = empty_string, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./screen.c:403:8: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 403 | words = (char *)get_string_var(WORD_BREAK_VAR); BUILDSTDERR: | ^ BUILDSTDERR: ./screen.c:406:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 406 | words = ", "; BUILDSTDERR: | ^ BUILDSTDERR: ./screen.c:407:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 407 | if (!(cont_ptr = (char *)get_string_var(CONTINUED_LINE_VAR))) BUILDSTDERR: | ^ BUILDSTDERR: ./screen.c:408:12: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 408 | cont_ptr = (char *)empty_string; BUILDSTDERR: | ^ BUILDSTDERR: ./screen.c:414:12: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 414 | orig_str = space; BUILDSTDERR: | ^ BUILDSTDERR: ./screen.c:574:31: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 574 | if (*ptr == ' ' || strchr(words, *ptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from ./screen.c:42: BUILDSTDERR: /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] BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: ./screen.c:654:4: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 654 | malloc_strcpy((char **)&(output[line++]), buffer); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /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 *'} BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: ./screen.c:654:4: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 654 | malloc_strcpy((char **)&(output[line++]), buffer); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./screen.c:659:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 659 | (strlen(cont_ptr) < indent)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ./screen.c:662:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 662 | sprintf(cont, "%-*s", indent, cont_ptr); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdlib.h:568, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: ./screen.c:670:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 670 | pos_copy = alloca(strlen(buffer) + strlen(cont) + 20); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: In file included from /usr/include/stdlib.h:568, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: ./screen.c:670:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 670 | pos_copy = alloca(strlen(buffer) + strlen(cont) + 20); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ./screen.c:671:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 671 | strcpy(pos_copy, buffer+word_break); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./screen.c:671:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 671 | strcpy(pos_copy, buffer+word_break); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./screen.c:673:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 673 | strcpy (buffer, cont); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./screen.c:673:20: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 673 | strcpy (buffer, cont); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./screen.c:674:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 674 | strcat (buffer, pos_copy); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./screen.c:674:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 674 | strcat (buffer, pos_copy); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./screen.c:675:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 675 | col = pos = strlen(buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: In file included from ./screen.c:42: BUILDSTDERR: /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] BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: ./screen.c:692:3: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 692 | malloc_strcpy((char **)&(output[line++]),buffer); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /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 *'} BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: ./screen.c:692:3: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 692 | malloc_strcpy((char **)&(output[line++]),buffer); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./screen.c:366:6: warning: variable 'gchar_mode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 366 | int gchar_mode; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from ./screen.c:42: BUILDSTDERR: ./screen.c: In function 'add_to_scratch_window_display_list': BUILDSTDERR: /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] BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: ./screen.c:756:2: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 756 | malloc_strcpy(&my_line->line, str); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: ./screen.c:756:2: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 756 | malloc_strcpy(&my_line->line, str); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./screen.c: In function 'add_to_display_list': BUILDSTDERR: /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] BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: ./screen.c:811:2: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 811 | malloc_strcpy(&window->display_ip->line, str); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: ./screen.c:811:2: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 811 | malloc_strcpy(&window->display_ip->line, str); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./screen.c: In function 'BX_repaint_window': BUILDSTDERR: ./screen.c:1432:25: warning: pointer targets in passing argument 2 of 'rite' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1432 | rite(window, curr_line->line); BUILDSTDERR: | ~~~~~~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./screen.c:885:47: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 885 | int rite(Window *window, const unsigned char *str) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: ./screen.c: In function 'BX_create_additional_screen': BUILDSTDERR: ./screen.c:1550:18: warning: variable 'oldscreen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1550 | Screen *oldscreen, *new; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./screen.c: In function 'do_screens': BUILDSTDERR: ./screen.c:1871:15: warning: pointer targets in passing argument 1 of '(int (*)(char *, int, int, int, void *))*(global + 2416)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1871 | if (dgets(buffer, screen->fdin, 0, IO_BUFFER_SIZE, NULL)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ./screen.c:1871:15: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: ./screen.c:1873:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1873 | *(buffer + strlen(buffer) - 1) = '\0'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ./screen.c:1875:24: warning: pointer targets in passing argument 2 of '(void (*)(const char *, char *, const char *, int, int, int))*(global + 3344)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1875 | parse_line(NULL, buffer, empty_string, 1, 0, 1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ./screen.c:1875:24: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: ./screen.c:1877:24: warning: pointer targets in passing argument 2 of '(void (*)(const char *, char *, const char *, int, int, int))*(global + 3344)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1877 | parse_line(NULL, buffer, NULL, 1, 0, 1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ./screen.c:1877:24: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: ./screen.c: In function 'BX_strip_ansi': BUILDSTDERR: ./screen.c:2332:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2332 | maxpos = strlen(str); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./screen.c:15: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ./screen.c: In function 'BX_create_additional_screen': BUILDSTDERR: ./screen.c:1625:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1625 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ./screen.c:1626:4: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1626 | setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: server.c: In function 'do_server': BUILDSTDERR: server.c:477:50: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: 477 | if (getpeername(des, (struct sockaddr *) &sa, &salen) != -1) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from server.c:16: BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 131 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: server.c: In function 'connect_to_server_direct': BUILDSTDERR: server.c:1300:55: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1300 | getsockname(new_des, (struct sockaddr *) localaddr, &address_len); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from server.c:16: BUILDSTDERR: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 117 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: status.c: In function 'convert_sub_format': BUILDSTDERR: status.c:290:6: warning: variable 'dont_got_it' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 290 | int dont_got_it = 1; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: status.c: In function 'fix_status_buffer': BUILDSTDERR: status.c:476:19: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 476 | str = strip_ansi(buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: status.c:476:19: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: status.c:598:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 598 | strcpy(buffer, lhs_buffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from status.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: status.c:599:18: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 599 | strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: status.c:599:18: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: status.c:450:6: warning: variable 'in_rhs' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 450 | int in_rhs = 0, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: status.c: In function 'stat_convert_format': BUILDSTDERR: status.c:650:12: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 650 | strmcat(buffer, (status_expandos[i].callback_function)(win), BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: status.c:650:12: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: status.c:651:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 651 | pos = strlen(buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from status.c:12: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: status.c:657:25: warning: pointer targets in passing argument 2 of 'fix_status_buffer' differ in signedness [-Wpointer-sign] BUILDSTDERR: 657 | fix_status_buffer(win, buffer, 0); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: status.c:438:43: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 438 | void fix_status_buffer(Window *win, char *buffer, int in_status) BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: In file included from status.c:38: BUILDSTDERR: /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] BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: status.c:658:9: note: in expansion of macro 'm_strdup' BUILDSTDERR: 658 | return m_strdup(buffer); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: status.c:658:9: note: in expansion of macro 'm_strdup' BUILDSTDERR: 658 | return m_strdup(buffer); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: status.c: In function 'make_status': BUILDSTDERR: status.c:746:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 746 | snprintf(str, BIG_BUFFER_SIZE - 1, BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from status.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: status.c:778:23: warning: pointer targets in passing argument 1 of '(char * (*)(const char *, const char *, int *, char **))*(global + 3320)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 778 | str = expand_alias(buffer, empty_string, &af, NULL); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:778:23: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:778:8: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 778 | str = expand_alias(buffer, empty_string, &af, NULL); BUILDSTDERR: | ^ BUILDSTDERR: status.c:779:12: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 224)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 779 | strmcpy(buffer, str, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:779:12: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:779:20: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 224)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 779 | strmcpy(buffer, str, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:779:20: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:903:13: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 903 | strmcat(lhs_buffer, lhs_fillchar, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:903:13: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:903:25: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 903 | strmcat(lhs_buffer, lhs_fillchar, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:903:25: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:915:13: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 915 | strmcat(lhs_buffer, lhs_fillchar, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:915:13: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:915:25: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 915 | strmcat(lhs_buffer, lhs_fillchar, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:915:25: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:919:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 919 | strcpy(buffer, lhs_buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from status.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: status.c:919:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 919 | strcpy(buffer, lhs_buffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from status.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: status.c:920:11: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 920 | strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:920:11: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:920:19: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 920 | strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:920:19: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:921:11: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 921 | strmcat(buffer, ALL_OFF_STR, BIG_BUFFER_SIZE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:921:11: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: status.c:935:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 935 | strcmp(buffer, win->wset->status_line[status_line])) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from status.c:12: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: In file included from status.c:38: BUILDSTDERR: /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] BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: status.c:939:4: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 939 | malloc_strcpy(&win->wset->status_line[status_line], buffer); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /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 *'} BUILDSTDERR: 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) BUILDSTDERR: | ^~~ BUILDSTDERR: status.c:939:4: note: in expansion of macro 'malloc_strcpy' BUILDSTDERR: 939 | malloc_strcpy(&win->wset->status_line[status_line], buffer); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: status.c:951:16: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *))*(global + 2464)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 951 | output_line(st); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: status.c:951:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: status.c:725:7: warning: variable 'in_rhs' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 725 | int in_rhs = 0, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./term.c: In function 'term_init': BUILDSTDERR: ./term.c:879:10: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: 879 | char *tmp = termcap2; BUILDSTDERR: | ^~~ BUILDSTDERR: ./term.c: In function 'control_mangle': BUILDSTDERR: ./term.c:1859:10: warning: pointer targets in returning 'u_char *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1859 | return retval; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./term.c:1878:9: warning: pointer targets in returning 'u_char *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1878 | return retval; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./term.c: In function 'get_term_capability': BUILDSTDERR: ./term.c:1913:21: warning: pointer targets in passing argument 1 of 'control_mangle' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1913 | control_mangle(*(char **)t->ptr) : BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./term.c:1852:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1852 | char * control_mangle (unsigned char *text) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing \ -DWSERV_PATH=\"/usr/lib64/bx/wserv\" -c ./screen.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c server.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c stack.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c status.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c struct.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c tcl_public.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./term.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c timer.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing \ -DTRANSLATION_PATH=\"/usr/lib64/bx/translation\" -c ./translat.c BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasyuserlist.c: In function 'real_check_auto': BUILDSTDERR: userlist.c:906:7: warning: variable 'this_server' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 906 | int this_server = from_server; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: userlist.c: In function 'check_channel_match': BUILDSTDERR: userlist.c:1446:12: warning: variable 'q' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1446 | char *p, *q, *chan = NULL; BUILDSTDERR: | ^ BUILDSTDERR: vars.c: In function 'do_stack_set': BUILDSTDERR: vars.c:1056:16: warning: variable 'prev' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1056 | AliasStack1 *prev = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: who.c: In function 'whoreply': BUILDSTDERR: who.c:402:15: warning: variable 'chan' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 402 | ChannelList *chan = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: window.c: In function 'BX_resize_window': BUILDSTDERR: window.c:695:6: warning: variable 'after' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 695 | int after, BUILDSTDERR: | ^~~~~ BUILDSTDERR: window.c: In function 'window_describe': BUILDSTDERR: window.c:3002:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3002 | if (window->bind_channel) BUILDSTDERR: | ^~ BUILDSTDERR: window.c:3005:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 3005 | say("\tQuery User: %s %s", BUILDSTDERR: | ^~~ nchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c user.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c userlist.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c vars.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c who.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c whowas.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c window.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c words.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -lresolv -lm -lcrypt gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/source' cd source \ BUILDSTDERR: && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhatwserv.c: In function 'main': BUILDSTDERR: wserv.c:97:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 97 | write(s, buffer, nread); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: wserv.c:104:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 104 | write(1, buffer, nread); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: wserv.c: In function 'ignore': BUILDSTDERR: wserv.c:117:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 117 | write(s, &foo, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./network.c: In function 'BX_connect_by_number': BUILDSTDERR: ./network.c:484:49: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 484 | if (getsockname(fd, (struct sockaddr *)&name, &length)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from ./network.c:9: BUILDSTDERR: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 117 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ./network.c:503:19: warning: unused variable 'hp' [-Wunused-variable] BUILDSTDERR: 503 | struct hostent *hp; BUILDSTDERR: | ^~ BUILDSTDERR: ./network.c: In function 'my_accept': BUILDSTDERR: ./network.c:787:27: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: 787 | retval = accept(s, addr, addrlen); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from ./network.c:9: BUILDSTDERR: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 233 | socklen_t *__restrict __addr_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -hardened-ld' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c wserv.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DWTERM_C -c ./network.c -o wnetwork.o gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -o wserv wserv.o wterm.o bircsig.o wnetwork.o bcompat.o -ldl -lncurses -lssl -lcrypto -lresolv -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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' BUILDSTDERR: gcc -I. -I/builddir/build/BUIL./term.c: In function 'term_init': BUILDSTDERR: ./term.c:879:10: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: 879 | char *tmp = termcap2; BUILDSTDERR: | ^~~ BUILDSTDERR: ./term.c: In function 'control_mangle': BUILDSTDERR: ./term.c:1859:10: warning: pointer targets in returning 'u_char *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1859 | return retval; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./term.c:1878:9: warning: pointer targets in returning 'u_char *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1878 | return retval; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./term.c: In function 'get_term_capability': BUILDSTDERR: ./term.c:1913:21: warning: pointer targets in passing argument 1 of 'control_mangle' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1913 | control_mangle(*(char **)t->ptr) : BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./term.c:1852:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1852 | char * control_mangle (unsigned char *text) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: scr-bx.c: In function 'get_cookie': BUILDSTDERR: scr-bx.c:382:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 382 | fread(cookie, 40, 1, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scr-bx.c: In function 'reattach_tty': BUILDSTDERR: scr-bx.c:467:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 467 | write(s, &parm, sizeof(struct param)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scr-bx.c:510:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 510 | write(s, chr_c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: scr-bx.c:526:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 526 | write(s, buffer, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scr-bx.c:531:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 531 | write(1, buffer, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scr-bx.c: In function 'main': BUILDSTDERR: scr-bx.c:646:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 646 | chdir(getenv("HOME")); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./acro.c: In function 'acro_main': BUILDSTDERR: ./acro.c:54:38: 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] BUILDSTDERR: 54 | add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", args[0]), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(void *) BUILDSTDERR: ./acro.c:54:38: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' BUILDSTDERR: ./acro.c:54:97: 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] BUILDSTDERR: 54 | add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", args[0]), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: ./acro.c:54:97: note: expected 'int' but argument is of type 'void *' BUILDSTDERR: ./acro.c: In function 'warn_acro': BUILDSTDERR: ./acro.c:82:37: 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] BUILDSTDERR: 82 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(void *) BUILDSTDERR: ./acro.c:82:37: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' BUILDSTDERR: ./acro.c:82:94: 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] BUILDSTDERR: 82 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: ./acro.c:82:94: note: expected 'int' but argument is of type 'void *' BUILDSTDERR: ./acro.c: In function 'start_vote': BUILDSTDERR: ./acro.c:92:38: 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] BUILDSTDERR: 92 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))warn_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(void *) BUILDSTDERR: ./acro.c:92:38: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' BUILDSTDERR: ./acro.c:92:94: 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] BUILDSTDERR: 92 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))warn_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: ./acro.c:92:94: note: expected 'int' but argument is of type 'void *' BUILDSTDERR: ./acro.c:97:38: 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] BUILDSTDERR: 97 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(void *) BUILDSTDERR: ./acro.c:97:38: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' BUILDSTDERR: ./acro.c:97:95: 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] BUILDSTDERR: 97 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: ./acro.c:97:95: note: expected 'int' but argument is of type 'void *' BUILDSTDERR: ./acro.c: In function 'warn_vote': BUILDSTDERR: ./acro.c:112:37: 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] BUILDSTDERR: 112 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))end_voting, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(void *) BUILDSTDERR: ./acro.c:112:37: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' BUILDSTDERR: ./acro.c:112:94: 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] BUILDSTDERR: 112 | add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))end_voting, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: ./acro.c:112:94: note: expected 'int' but argument is of type 'void *' BUILDSTDERR: ./acro.c: In function 'end_voting': BUILDSTDERR: ./acro.c:140:38: 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] BUILDSTDERR: 140 | add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(void *) BUILDSTDERR: ./acro.c:140:38: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' BUILDSTDERR: ./acro.c:140:94: 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] BUILDSTDERR: 140 | add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", chan), NULL, NULL, "acro"); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: ./acro.c:140:94: note: expected 'int' but argument is of type 'void *' BUILDSTDERR: toc.c: In function 'roast_password': BUILDSTDERR: toc.c:305:16: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 305 | return rp; BUILDSTDERR: | ^~ BUILDSTDERR: toc.c: In function 'toc_callback': BUILDSTDERR: toc.c:452:9: warning: variable 'name' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 452 | char *name; BUILDSTDERR: | ^~~~ BUILDSTDERR: toc.c:595:11: warning: variable 'w' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 595 | int id, w; BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from toc.c:33: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'parse_toc_buddy_list' at toc.c:714:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'toc_signon' at toc.c:139:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSTERM_C -c ./term.c -o sterm.o gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c scr-bx.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o scr-bx scr-bx.o sterm.o bircsig.o bcompat.o -ldl -lncurses -lssl -lcrypto -lresolv -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./acro.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c toc.c BUILDSTDERR: gcc -I. -I/buildIn file included from /usr/include/strings.h:144, BUILDSTDERR: from /usr/include/string.h:431, BUILDSTDERR: from network.c:33: BUILDSTDERR: In function 'bcopy', BUILDSTDERR: inlined from 'get_address' at network.c:52:3: BUILDSTDERR: /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=] BUILDSTDERR: 25 | (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: server.c: In function 'serv_set_dir': BUILDSTDERR: server.c:434:42: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2036 [-Wformat-truncation=] BUILDSTDERR: 434 | snprintf(buf, sizeof(buf), "toc_set_dir %s", buf2); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from server.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 2060 bytes into a destination of size 2048 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: interface.c: In function 'init_toc': BUILDSTDERR: interface.c:24:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] BUILDSTDERR: 24 | strcpy(aim_host,TOC_HOST); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: interface.c:24:2: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: interface.c:13:1: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: 12 | #include "toc.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 13 | BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from buddy.c:29: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'add_group' at buddy.c:76:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./toc.c: In function 'toc_add_input_stream': BUILDSTDERR: ./toc.c:37:50: 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] BUILDSTDERR: 37 | sock_read_id = add_socketread(fd, 0, 0, "bleh", func, func); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(int) BUILDSTDERR: ./toc.c:37:50: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' BUILDSTDERR: ./toc.c:37:56: 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] BUILDSTDERR: 37 | sock_read_id = add_socketread(fd, 0, 0, "bleh", func, func); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(int) BUILDSTDERR: ./toc.c:37:56: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' BUILDSTDERR: ./util.c: In function 'statusput': BUILDSTDERR: ./util.c:63:17: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 63 | add_to_screen(buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./util.c:63:17: note: expected 'unsigned char *' but argument is of type 'char *' dir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c network.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c util.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c server.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c interface.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c buddy.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ll.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./toc.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./util.c BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -In file included from ./cmd.c:30: BUILDSTDERR: ./cmd.c: In function 'achat': BUILDSTDERR: ./aim.h:13:24: warning: the address of 'current_chat' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 13 | #define VALID_ARG(x) !(!x || ! *x || ! strcasecmp(x,"")) BUILDSTDERR: | ^ BUILDSTDERR: ./cmd.c:443:8: note: in expansion of macro 'VALID_ARG' BUILDSTDERR: 443 | if ( VALID_ARG(current_chat) ) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./aim.h:13:24: warning: the address of 'current_chat' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 13 | #define VALID_ARG(x) !(!x || ! *x || ! strcasecmp(x,"")) BUILDSTDERR: | ^ BUILDSTDERR: ./cmd.c:477:9: note: in expansion of macro 'VALID_ARG' BUILDSTDERR: 477 | if ( VALID_ARG(current_chat) ) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./cmd.c:528:7: warning: variable 'anon' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 528 | int anon = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./cmd.c: In function 'aaway': BUILDSTDERR: ./cmd.c:640:8: warning: variable 'loc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 640 | char *loc; BUILDSTDERR: | ^~~ BUILDSTDERR: ./cmd.c: In function 'aquery': BUILDSTDERR: ./cmd.c:688:16: warning: passing argument 1 of '(void (*)(int))*(global + 1720)' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 688 | update_input(tmp); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | Window * {aka struct WindowStru *} BUILDSTDERR: ./cmd.c:688:16: note: expected 'int' but argument is of type 'Window *' {aka 'struct WindowStru *'} BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./cmd.c:13: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'asignon' at ./cmd.c:76:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' forming offset 513 is out of the bounds [0, 512] of object 'aim_host' with type 'char[512]' [-Warray-bounds] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./cmd.c:29: BUILDSTDERR: ./cmd.c: In function 'asignon': BUILDSTDERR: ./toc/toc.h:222:13: note: 'aim_host' declared here BUILDSTDERR: 222 | extern char aim_host[512]; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./cmd.c:13: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'asignon' at ./cmd.c:80:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' forming offset 513 is out of the bounds [0, 512] of object 'login_host' with type 'char[512]' [-Warray-bounds] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./cmd.c:29: BUILDSTDERR: ./cmd.c: In function 'asignon': BUILDSTDERR: ./toc/toc.h:224:13: note: 'login_host' declared here BUILDSTDERR: 224 | extern char login_host[512]; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./aim.c: In function 'update_aim_window': BUILDSTDERR: ./aim.c:245:68: warning: '%s' directive writing up to 1023 bytes into a region of size between 872 and 984 [-Wformat-overflow=] BUILDSTDERR: 245 | sprintf(statbuff, " Buddies: %d/%d Lag: %d Evil: %d %s %%>%s ", numbuds_online, numbuds_total,(lag_ms / 1000000),my_evil,s,st); BUILDSTDERR: | ^~ ~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./aim.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 42 and 1177 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./aim.c:248:32: warning: '%s' directive writing up to 1023 bytes into a region of size 1014 [-Wformat-overflow=] BUILDSTDERR: 248 | sprintf(statbuff, " %%>%s ", st); BUILDSTDERR: | ^~ ~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./aim.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 1035 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./arcfour.c: In function 'init_box': BUILDSTDERR: ./arcfour.c:80:25: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | MD5Update(&md5context, buf, sizeof(buf)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from ./arcfour.c:30: BUILDSTDERR: ./md5.h:13:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 13 | void MD5Update(MD5_CTX *, unsigned char *, unsigned int); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./arcfour.c:86:29: warning: pointer targets in passing argument 2 of 'arcfourInit' differ in signedness [-Wpointer-sign] BUILDSTDERR: 86 | arcfourInit(key, md5context.digest, 16); BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ./arcfour.c:29: BUILDSTDERR: ./arcfour.h:8:42: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 8 | static inline void arcfourInit(arckey *, char *, unsigned short); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./arcfour.c: In function 'arcfourInit': BUILDSTDERR: ./arcfour.c:96:16: warning: operation on 'x' may be undefined [-Wsequence-point] BUILDSTDERR: 96 | while((S[x] = --x)); /* Initialize S-box, backwards */ BUILDSTDERR: | ^~~ BUILDSTDERR: ./arcfour.c: In function 'start_dcc_crypt': BUILDSTDERR: ./arcfour.c:212:50: warning: passing argument 2 of '(char * (*)(char *, char **))*(global + 672)' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 212 | arcfourInit(tmpbox->inbox, next_arg(buf, &buf), 16); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char (*)[2049] BUILDSTDERR: ./arcfour.c:212:50: note: expected 'char **' but argument is of type 'char (*)[2049]' BUILDSTDERR: ./arcfour.c: In function 'start_dcc_chat': BUILDSTDERR: ./arcfour.c:250:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: 250 | new_s = accept(s, (struct sockaddr *) &remaddr, &sra); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from ./arcfour.c:10: BUILDSTDERR: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 233 | socklen_t *__restrict __addr_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./arcfour.c:253:67: 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] BUILDSTDERR: 253 | if ((add_socketread(new_s, ntohs(remaddr.sin_port), flags, nick, get_dcc_encrypt, NULL)) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(int, int, char *, int, int) BUILDSTDERR: ./arcfour.c:253:67: note: expected 'void (*)(int)' but argument is of type 'int (*)(int, int, char *, int, int)' BUILDSTDERR: ./arcfour.c: In function 'dcc_sdcc': BUILDSTDERR: ./arcfour.c:282:11: warning: variable 'new_sdcc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 282 | DCC_int *new_sdcc; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ./arcfour.c: In function 'send_dcc_encrypt': BUILDSTDERR: ./arcfour.c:168:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 168 | write(sock, buf, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./arcfour.c: In function 'start_dcc_crypt': BUILDSTDERR: ./arcfour.c:207:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 207 | write(s, buf, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./arcfour.c: In function 'init_box': BUILDSTDERR: ./arcfour.c:69:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 69 | read(fd, buf, sizeof(buf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: ./arcfour.c:53:21: warning: 'arc_ver' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 53 | static const double arc_ver = 1.0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./md5.c: In function 'Transform': BUILDSTDERR: ./md5.c:219:4: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] BUILDSTDERR: 219 | memset((void *)in, 0, sizeof(in)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./md5.c:219:4: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: ./md5.c:4:1: note: include '' or provide a declaration of 'memset' BUILDSTDERR: 3 | #include "md5.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 4 | BUILDSTDERR: ./autocycle.c: In function 'auto_cycle': BUILDSTDERR: ./autocycle.c:24:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 24 | int netsplit = (int)next_arg(args, &args); BUILDSTDERR: | ^ BUILDSTDERR: ./blowfish.c: In function 'blowfish_init': BUILDSTDERR: ./blowfish.c:161:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 161 | strncpy(blowbox[bx].key, key, keybytes); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./blowfish.h:1, BUILDSTDERR: from ./blowfish.c:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./blowfish.c: In function 'encrypt_string': BUILDSTDERR: ./blowfish.c:237:16: warning: pointer targets in passing argument 1 of 'blowfish_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 237 | blowfish_init(key, strlen(key)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./blowfish.c:104:43: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 104 | static void blowfish_init (UBYTE_08bits * key, short keybytes) BUILDSTDERR: ./blowfish.c: In function 'decrypt_string': BUILDSTDERR: ./blowfish.c:282:16: warning: pointer targets in passing argument 1 of 'blowfish_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 282 | blowfish_init(key, strlen(key)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./blowfish.c:104:43: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 104 | static void blowfish_init (UBYTE_08bits * key, short keybytes) fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./cmd.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./arcfour.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./autocycle.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./blowfish.c 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' BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/./cavlink.c: In function 'cav_say': BUILDSTDERR: ./cavlink.c:72:18: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 72 | add_to_screen(cavbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./cavlink.c:72:18: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: ./cavlink.c: In function 'cattack': BUILDSTDERR: ./cavlink.c:161:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 161 | char *tmp, *times = "6", *target = NULL, *q; BUILDSTDERR: | ^~~ BUILDSTDERR: ./cavlink.c: In function 'cav_away': BUILDSTDERR: ./cavlink.c:825:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 825 | for (tmp = tabkey_array;tmp; tmp = tmp->next); BUILDSTDERR: | ^~~ BUILDSTDERR: ./cavlink.c:826:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 826 | { BUILDSTDERR: | ^ BUILDSTDERR: ./cavlink.c: In function 'handle_msg': BUILDSTDERR: ./cavlink.c:836:7: warning: variable 'to' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 836 | char *to, *nick, *host, *str; BUILDSTDERR: | ^~ BUILDSTDERR: ./cavlink.c: In function 'cavlink_handler': BUILDSTDERR: ./cavlink.c:857:5: warning: variable 'count' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 857 | int count = 0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./encrypt.c: In function 'func_encode': BUILDSTDERR: ./encrypt.c:28:31: warning: pointer targets in passing argument 3 of '(void (*)(char *, int, char *))*(global + 1640)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 28 | my_encrypt(new, strlen(new), encode_string); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ./encrypt.c:28:31: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: ./encrypt.c: In function 'func_decode': BUILDSTDERR: ./encrypt.c:38:31: warning: pointer targets in passing argument 3 of '(void (*)(char *, int, char *))*(global + 1648)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 38 | my_decrypt(new, strlen(new), encode_string); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ./encrypt.c:38:31: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: ./encrypt.c: In function 'Encrypt_Init': BUILDSTDERR: ./encrypt.c:56:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 56 | encode_string = (char *)new_malloc(512); BUILDSTDERR: | ^ BUILDSTDERR: ./fserv.c: In function 'scan_mp3_dir': BUILDSTDERR: ./fserv.c:599:46: warning: pointer targets in passing argument 3 of 'get_bitrate' differ in signedness [-Wpointer-sign] BUILDSTDERR: 599 | new->bitrate = get_bitrate(fn, &new->time, &new->freq, &new->id3, &new->filesize, &new->stereo); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: ./fserv.c:462:66: note: expected 'unsigned int *' but argument is of type 'int *' BUILDSTDERR: 462 | long get_bitrate(char *filename, time_t *mp3_time, unsigned int *freq_rate, int *id3, unsigned long *filesize, int *stereo) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./fserv.c: In function 'impress_me': BUILDSTDERR: ./fserv.c:980:46: 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] BUILDSTDERR: 980 | add_timer(0, empty_string, timer * 1000, 1, impress_me, NULL, NULL, -1, "fserv"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void (*)(void *) BUILDSTDERR: ./fserv.c:980:46: note: expected 'int (*)(void *, char *)' but argument is of type 'void (*)(void *)' BUILDSTDERR: ./fserv.c: In function 'Fserv_Init': BUILDSTDERR: ./fserv.c:1165:62: 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] BUILDSTDERR: 1165 | add_timer(0, empty_string, get_dllint_var("fserv_time"), 1, impress_me, NULL, NULL, -1, "fserv"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void (*)(void *) BUILDSTDERR: ./fserv.c:1165:62: note: expected 'int (*)(void *, char *)' but argument is of type 'void (*)(void *)' BUILDSTDERR: ./fserv.c: In function 'fserv_read': BUILDSTDERR: ./fserv.c:1057:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1057 | fgets(buff, IRCD_BUFFER_SIZE, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./fserv.c:1088:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1088 | fgets(buff, IRCD_BUFFER_SIZE, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/bin/ld: fserv.o: in function `make_temp_list': BUILDSTDERR: /builddir/build/BUILD/BitchX-1.2.1/dll/fserv/./fserv.c:732: warning: the use of `tmpnam' is dangerous, better use `mkstemp' BUILDSTDERR: ./hint.c: In function 'show_hint': BUILDSTDERR: ./hint.c:56:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 56 | fgets(hint_buf, HINT_MAX_LEN, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./identd.c: In function 'identd_handler': BUILDSTDERR: ./identd.c:63:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: 63 | if ((sock = accept(s, (struct sockaddr *) &remaddr, &sra)) > -1) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from ./identd.c:11: BUILDSTDERR: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 233 | socklen_t *__restrict __addr_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./nap.c: In function 'connectbynumber': BUILDSTDERR: ./nap.c:259:49: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 259 | if (getsockname(fd, (struct sockaddr *)&name, &length)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from ./nap.c:10: BUILDSTDERR: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 117 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ./nap.c: In function 'nap_say': BUILDSTDERR: ./nap.c:413:18: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 413 | add_to_screen(napbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./nap.c:413:18: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: ./nap.c: In function 'nap_put': BUILDSTDERR: ./nap.c:440:18: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] BUILDSTDERR: 440 | add_to_screen(napbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ./nap.c:440:18: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: ./nap.c: In function 'cmd_fileinfo': BUILDSTDERR: ./nap.c:1600:7: warning: variable 'checksum' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1600 | char *checksum; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ./nap.c:1597:7: warning: variable 'ip' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1597 | char *ip; BUILDSTDERR: | ^~ BUILDSTDERR: ./nap.c:1596:7: warning: variable 'nick' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1596 | char *nick; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./nap.c: In function 'naplink_connectserver': BUILDSTDERR: ./nap.c:1214:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1214 | read(s, tmp, sizeof(tmpstr)-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c: In function 'get_bitrate': BUILDSTDERR: ./napsend.c:630:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 630 | if (!strcmp(tmp, "PK\003\004")) /* zip magic */ BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:632:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 632 | if (!strcmp(tmp, "PE") || !strcmp(tmp, "MZ")) /* windows Exe magic */ BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:632:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 632 | if (!strcmp(tmp, "PE") || !strcmp(tmp, "MZ")) /* windows Exe magic */ BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:634:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 634 | if (!strcmp(tmp, "\037\235")) /* gzip/compress */ BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:636:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 636 | if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:636:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 636 | if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:636:70: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 636 | if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:638:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 638 | if (!strcmp(tmp, "\177ELF")) /* elf binary */ BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c: In function 'scan_mp3_dir': BUILDSTDERR: ./napsend.c:825:45: warning: pointer targets in passing argument 3 of 'get_bitrate' differ in signedness [-Wpointer-sign] BUILDSTDERR: 825 | new->bitrate = get_bitrate(r, &new->time, &new->freq, &new->filesize, &new->stereo, &id3, &new->type); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: ./napsend.c:608:60: note: expected 'unsigned int *' but argument is of type 'int *' BUILDSTDERR: 608 | long get_bitrate(int fdes, time_t *mp3_time, unsigned int *freq_rate, unsigned long *filesize, int *stereo, long *id3, int *mime_type) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./napsend.c: In function 'nap_firewall_start': BUILDSTDERR: ./napsend.c:1536:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1536 | if (*buffer && !strcmp(buffer, "SEND")) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c: In function 'napfile_read': BUILDSTDERR: ./napsend.c:1564:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1564 | args = &buff[0]; BUILDSTDERR: | ^ BUILDSTDERR: ./napsend.c:1565:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1565 | if (!*args || !strcmp(buff, "FILE NOT FOUND") || !strcmp(buff, "INVALID REQUEST")) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:1565:60: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1565 | if (!*args || !strcmp(buff, "FILE NOT FOUND") || !strcmp(buff, "INVALID REQUEST")) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:1575:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1575 | strcpy(fbuff, filename); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./napsend.c:1576:20: warning: pointer targets in passing argument 1 of 'convertnap_unix' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1576 | convertnap_unix(fbuff); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ./napsend.c:171:36: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 171 | static char *convertnap_unix(char *arg) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: ./napsend.c:1579:65: warning: pointer targets in passing argument 5 of 'find_in_getfile' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1579 | || !(gf = find_in_getfile(&napster_sendqueue, 0, nick, NULL, fbuff, -1, NAP_UPLOAD)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ./napsend.c:22: BUILDSTDERR: ./napster.h:402:10: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 402 | GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c:1584:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1584 | sprintf(buff, "0INVALID REQUEST"); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./napsend.c:1587:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1587 | sprintf(buff, "0FILE NOT FOUND"); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./napsend.c:1588:66: warning: pointer targets in passing argument 5 of 'find_in_getfile' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1588 | if ((gf = find_in_getfile(&napster_sendqueue, 1, nick, NULL, fbuff, -1, NAP_UPLOAD))) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ./napsend.c:22: BUILDSTDERR: ./napster.h:402:10: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 402 | GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c:1591:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1591 | write(snum, buff, strlen(buffer)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ./napsend.c:1598:60: warning: pointer targets in passing argument 5 of 'find_in_getfile' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1598 | gf = find_in_getfile(&napster_sendqueue, 1, nick, NULL, fbuff, -1, NAP_UPLOAD); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ./napsend.c:22: BUILDSTDERR: ./napster.h:402:10: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 402 | GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c:1606:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1606 | sprintf(buff, "%lu", gf->filesize); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./napsend.c:1607:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1607 | write(snum, buff, strlen(buff)); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ./napsend.c: In function 'naplink_handleconnect': BUILDSTDERR: ./napsend.c:1653:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1653 | else if (!strncmp(buff, "GET", 3)) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c:1660:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1660 | else if (!strncmp(buff, "SEND", 4)) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./napsend.c: In function 'naplink_handlelink': BUILDSTDERR: ./napsend.c:1675:57: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1675 | if ((sock = accept(snum, (struct sockaddr *) &remaddr, &sra)) > -1) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from ./napsend.c:3: BUILDSTDERR: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 233 | socklen_t *__restrict __addr_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./napsend.c: In function 'get_bitrate': BUILDSTDERR: ./napsend.c:628:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 628 | read(fdes, tmp, 4); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c: In function 'cmd_firewall_request': BUILDSTDERR: ./napsend.c:1342:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1342 | write(getfd, "1", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c: In function 'napfile_read': BUILDSTDERR: ./napsend.c:1591:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1591 | write(snum, buff, strlen(buffer)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c:1607:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1607 | write(snum, buff, strlen(buff)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c: In function 'naplink_handleconnect': BUILDSTDERR: ./napsend.c:1649:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1649 | read(snum, buff, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c:1656:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1656 | read(snum, buff, 3); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c:1663:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1663 | read(snum, buff, 4); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napsend.c: In function 'naplink_handlelink': BUILDSTDERR: ./napsend.c:1679:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1679 | write(sock, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./cavlink.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./encrypt.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./fserv.c gcc -shared fserv.o ../dllinit.o -fPIC -o fserv.so 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./hint.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./identd.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./nap.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./napsend.c BUILDSTDERR: gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fn./nap_file.c: In function 'cmd_getfile': BUILDSTDERR: ./nap_file.c:742:5: warning: variable 'speed' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 742 | int speed; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./nap_file.c: In function 'nap_getfile': BUILDSTDERR: ./nap_file.c:577:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 577 | write(gf->write, indata, rc); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./nap_file.c: In function 'nap_firewall_get': BUILDSTDERR: ./nap_file.c:693:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 693 | write(snum, indata, strlen(indata)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./nap_file.c: In function 'cmd_getfileinfo': BUILDSTDERR: ./nap_file.c:724:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 724 | write(gf->socket, "GET", 3); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./nap_file.c:726:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 726 | write(gf->socket, indata, strlen(indata)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./napfunc.c: In function 'func_connected': BUILDSTDERR: ./napfunc.c:114:57: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: 114 | if (getpeername(nap_socket, (struct sockaddr *)&name, &len)) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63, BUILDSTDERR: from ./napfunc.c:2: BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 131 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ./napfunc.c: In function 'func_raw': BUILDSTDERR: ./napfunc.c:160:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 160 | write(nap_socket, &n_data, 4); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./md5.c: In function 'MD5Final': BUILDSTDERR: ./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] BUILDSTDERR: 182 | memset(ctx, 0, sizeof(ctx)); BUILDSTDERR: | ^ BUILDSTDERR: ./pkga.c: In function 'new_dcc_output': BUILDSTDERR: ./pkga.c:126:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 126 | write(s, buf, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./possum.c: In function 'parse_header': BUILDSTDERR: ./possum.c:105:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 105 | fgets((char *)s, MAX_FBUFFER_SIZE, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./possum.c:123:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 123 | fgets((char *)s, MAX_FBUFFER_SIZE, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./possum.c: In function 'read_mbox': BUILDSTDERR: ./possum.c:149:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 149 | fgets(buf, MAX_FBUFFER_SIZE, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./possum.c:5: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'pm_mailbox' at ./possum.c:166:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 2048 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ./possum.c:3: BUILDSTDERR: In function 'fgets', BUILDSTDERR: inlined from 'pm_read' at ./possum.c:212:9: BUILDSTDERR: /usr/include/bits/stdio2.h:263:9: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] BUILDSTDERR: 263 | return __fgets_chk_warn (__s, __bos (__s), __n, __stream); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./possum.c:5: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'Possum_Init' at ./possum.c:86:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 2048 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./llist.c: In function 'lpush': BUILDSTDERR: ./llist.c:43:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] BUILDSTDERR: 43 | memcpy(new_node->object, object, l->size); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./llist.c:43:7: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: ./llist.c:3:1: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: 2 | #include "llist.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 3 | o-strict-aliasing -c ./nap_file.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./napfunc.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./napother.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./md5.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./pkga.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./possum.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./head.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./llist.c gcc -shared possum.o llist.o head.o ../dllinit.o -fPIC -o possum.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' BUILDSTDERR: gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2./qbx.c: In function 'query_q_server': BUILDSTDERR: ./qbx.c:200:34: warning: passing argument 2 of '(int (*)(char *, short unsigned int *, int, int, int))*(global + 768)' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 200 | qfd = connect_by_number(server, &port, SERVICE_CLIENT, PROTOCOL_UDP, 1); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: ./qbx.c:200:34: note: expected 'short unsigned int *' but argument is of type 'int *' BUILDSTDERR: ./qbx.c: In function 'q_timer': BUILDSTDERR: ./qbx.c:178:27: warning: ' : players: ' directive output may be truncated writing 12 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 178 | snprintf(temp, 1024, "%s : players: %d/%s, ping: %d, map: %s, gametype: %s, timelimit: %s, fraglimit: %s", server_hostname, num_players, server_maxclients, time_delta(&tv, &q_tv), server_mapname, server_game, server_timelimit, server_fraglimit); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./qbx.c:178:24: note: directive argument in the range [0, 2147483647] BUILDSTDERR: 178 | snprintf(temp, 1024, "%s : players: %d/%s, ping: %d, map: %s, gametype: %s, timelimit: %s, fraglimit: %s", server_hostname, num_players, server_maxclients, time_delta(&tv, &q_tv), server_mapname, server_game, server_timelimit, server_fraglimit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./qbx.c:6: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 69 and 6226 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./qbx.c:176:27: warning: ' : players: ' directive output may be truncated writing 12 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 176 | snprintf(temp, 1024, "%s : players: %d/%s, ping: %d, map: %s, timelimit: %s, fraglimit: %s, game: %s", server_hostname, num_players, server_maxclients, time_delta(&tv, &q_tv), server_mapname, server_timelimit, server_fraglimit, server_game); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./qbx.c:176:24: note: directive argument in the range [0, 2147483647] BUILDSTDERR: 176 | snprintf(temp, 1024, "%s : players: %d/%s, ping: %d, map: %s, timelimit: %s, fraglimit: %s, game: %s", server_hostname, num_players, server_maxclients, time_delta(&tv, &q_tv), server_mapname, server_timelimit, server_fraglimit, server_game); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./qbx.c:6: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 65 and 6222 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./qbx.c:166:27: warning: ' : players: ' directive output may be truncated writing 12 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 166 | snprintf(temp, 1024, "%s : players: %d/%s, ping: %d, map: %s, timelimit: %s, fraglimit: %s", server_hostname, num_players, server_maxclients, time_delta(&tv, &q_tv), server_mapname, server_timelimit, server_fraglimit); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./qbx.c:166:24: note: directive argument in the range [0, 2147483647] BUILDSTDERR: 166 | snprintf(temp, 1024, "%s : players: %d/%s, ping: %d, map: %s, timelimit: %s, fraglimit: %s", server_hostname, num_players, server_maxclients, time_delta(&tv, &q_tv), server_mapname, server_timelimit, server_fraglimit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./qbx.c:6: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 57 and 5191 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./qbx.c:169:35: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1016 [-Wformat-truncation=] BUILDSTDERR: 169 | snprintf(temp2, 1024, ", game: %s", server_game); BUILDSTDERR: | ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, BUILDSTDERR: from ./qbx.c:6: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 1032 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./qbx.c:6: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'query_q_server' at ./qbx.c:222:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'pub_proc' at ./qbx.c:255:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: ./wavplay.c: In function 'validate_wav_header': BUILDSTDERR: ./wavplay.c:49:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 49 | if (strncmp(w->riffID, WAV_RIFF_MAGIC, 4)) BUILDSTDERR: | ~^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./wavplay.c:1: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./wavplay.c:52:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 52 | if (strncmp(w->waveID, WAV_WAVE_MAGIC, 4)) BUILDSTDERR: | ~^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./wavplay.c:1: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./wavplay.c:55:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | if (strncmp(w->fmtID, WAV_FMT_MAGIC, 4)) BUILDSTDERR: | ~^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./wavplay.c:1: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ./wavplay.c:69:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 69 | if (strncmp(w->dataID, WAV_DATA_MAGIC, 4)) BUILDSTDERR: | ~^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, BUILDSTDERR: from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, BUILDSTDERR: from ./wavplay.c:1: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 .1/dll/qbx' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./qbx.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c ./wavplay.c 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. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MGbt7U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64 + cd BitchX-1.2.1 + make DESTDIR=/builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64 install cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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-19.fc31.riscv64/usr/bin /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx \ /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/translation /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/script \ /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/help mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64 mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/translation mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/script mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/help /usr/bin/install -c source/BitchX /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin/BitchX-1.2.1 rm -f /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin/BitchX ln -s BitchX-1.2.1 /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin/BitchX /usr/bin/install -c -m 644 ./BitchX.help /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/BitchX.help /usr/bin/install -c -m 644 ./BitchX.ircnames /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/BitchX.ircnames /usr/bin/install -c -m 644 ./BitchX.quit /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/BitchX.quit /usr/bin/install -c -m 644 ./BitchX.reasons /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/BitchX.kick /usr/bin/install -c source/wserv /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/wserv /usr/bin/install -c source/scr-bx /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin/scr-bx cd dll \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' 'LIBS=-ldl -lncurses -lssl -lcrypto -lresolv -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-19.fc31.riscv64' 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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/usr/lib64/bx/plugins /usr/bin/install -c ./BitchX.hints /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/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-19.fc31.riscv64/usr/share/man/man1/BitchX.1 -type f ! -name '*.bz2' ! -name '*.gz' | \ BUILDSTDERR: (xargs 1730 blocks + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2.1-19.fc31 --unique-debug-suffix -1.2.1-19.fc31.riscv64 --unique-debug-src-base BitchX-1.2.1-19.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/BitchX-1.2.1 BUILDSTDERR: 5918 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/lib64/bx/plugins/BitchX.hints is executable but has empty or no shebang, removing executable bit 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-19.fc31.riscv64/usr/lib64/bx/help" (find "/builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/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-19.fc31.riscv64/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. explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin/BitchX-1.2.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin/scr-bx explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/wserv extracting debug info from /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/lib64/bx/wserv extracting debug info from /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin/scr-bx extracting debug info from /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/bin/BitchX-1.2.1 original debug info size: 6092kB, size after compression: 4528kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Processing files: BitchX-1.2.1-19.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.A3uRLS + umask 022 + cd /builddir/build/BUILD + cd BitchX-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/doc/BitchX + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/doc/BitchX + cp -pr Changelog /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/doc/BitchX + cp -pr COPYRIGHT /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/doc/BitchX + cp -pr README /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/doc/BitchX + cp -pr README-1.1 /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64/usr/share/doc/BitchX + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: BitchX = 1.2.1-19.fc31 BitchX(riscv-64) = 1.2.1-19.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: BitchX-debugsource-1.2.1-19.fc31.riscv64 Provides: BitchX-debugsource = 1.2.1-19.fc31 BitchX-debugsource(riscv-64) = 1.2.1-19.fc31 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-19.fc31.riscv64 Provides: BitchX-debuginfo = 1.2.1-19.fc31 BitchX-debuginfo(riscv-64) = 1.2.1-19.fc31 debuginfo(build-id) = 5ec254190843f34873b999ffe01e38c1d87c1d66 debuginfo(build-id) = 87ded4304ed8e171863b03b3119e98fb0c3a92fd debuginfo(build-id) = f8a7713a7784634ec34748a420c106804977e43f Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: BitchX-debugsource(riscv-64) = 1.2.1-19.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64 Wrote: /builddir/build/RPMS/BitchX-1.2.1-19.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/BitchX-debugsource-1.2.1-19.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/BitchX-debuginfo-1.2.1-19.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LTtxCQ + umask 022 + cd /builddir/build/BUILD + cd BitchX-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/BitchX-1.2.1-19.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0