Mock Version: 1.3.3 Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/BitchX.spec'], uid=1000shell=Falselogger=user='mockbuild'timeout=172800chrootPath='/var/lib/mock/f27-build-7874549-705706/root'gid=425printOutput=Falseenv={'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/BitchX.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/BitchX-1.2.1-11.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/BitchX.spec'], uid=1000shell=Falselogger=user='mockbuild'timeout=172800chrootPath='/var/lib/mock/f27-build-7874549-705706/root'gid=425printOutput=Falseenv={'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock'}private_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/BitchX.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IN3auh + 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 . Patch #0 (format-security.patch): + echo 'Patch #0 (format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file dll/fserv/fserv.c patching file dll/nap/napsend.c patching file source/dcc.c patching file source/translat.c Patch #1 (configure_openssl_SSLeay.patch): + echo 'Patch #1 (configure_openssl_SSLeay.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure patching file configure.in Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6PCVCI + exit 0 + umask 022 + cd /builddir/build/BUILD + cd BitchX-1.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-plugins --with-ssl --enable-ipv6 Welcome to the BitchX-1.2.1 configuration checking for aarch64-redhat-linux-gnu-gcc... 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-4.9.4-201.fc25.aarch64 checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no checking for mysql_query in -lmysqlclient... no checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for mlock... yes checking which plugins to build... abot acro aim arcfour autocycle blowfish cavlink encrypt fserv hint identd nap pkga possum qbx qmail wavplay configure: creating ./config.status config.status: creating Makefile config.status: creating bx-conf/Makefile config.status: creating doc/BitchX.bat config.status: creating doc/Makefile config.status: creating dll/Makefile config.status: creating dll/abot/Makefile config.status: creating dll/acro/Makefile config.status: creating dll/aim/Makefile config.status: creating dll/aim/toc/Makefile config.status: creating dll/amp/Makefile config.status: creating dll/arcfour/Makefile config.status: creating dll/autocycle/Makefile config.status: creating dll/blowfish/Makefile config.status: creating dll/cavlink/Makefile config.status: creating dll/cdrom/Makefile config.status: creating dll/encrypt/Makefile config.status: creating dll/europa/Makefile config.status: creating dll/fserv/Makefile config.status: creating dll/hint/Makefile config.status: creating dll/identd/Makefile config.status: creating dll/nap/Makefile config.status: creating dll/nicklist/Makefile config.status: creating dll/pkga/Makefile config.status: creating dll/possum/Makefile config.status: creating dll/qbx/Makefile config.status: creating dll/qmail/Makefile config.status: creating dll/wavplay/Makefile config.status: creating dll/xmms/Makefile config.status: creating source/Makefile config.status: creating include/defs.h config.status: executing default commands BitchX (c) 1996-2012 Colten Edwards et al ---------------------------------------------------------- The configuration script has finished. You should look through "include/config.h" and make any changes you would like to make. Now type "gmake" to compile BitchX. + gmake V=1 cd source \ && gmake 'local_dir=/builddir' 'INSTALL_IRC=/usr/bin/BitchX' 'IRCLIB=/usr/lib64/bx' 'CC=gcc' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c alias.c alias.c: In function 'pmatch_cmd_alias': alias.c:1787:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ alias.c: In function 'pmatch_assign_alias': alias.c:1823:10: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ alias.c: In function 'do_stack_alias': alias.c:2392:8: warning: variable 'my_which' set but not used [-Wunused-but-set-variable] int my_which = 0; ^~~~~~~~ In file included from alias.c:2232:0: alias.c: At top level: expr2.c:1225:15: warning: 'dummy' is static but used in inline function 'unary' which is not static c->operand = dummy; ^~~~~ expr2.c:1199:3: warning: 'pusht' is static but used in inline function 'check_implied_arg' which is not static pusht(c, MAGIC_TOKEN); /* XXXX Bleh */ ^~~~~ expr2.c: In function 'op': expr2.c:1043:33: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] case DANDEQ: IMPLIED((long)(c && d)) ^~ expr2.c:1043:33: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized] 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c array.c array.c: In function 'insert_index': array.c:235:10: warning: operation on '*index' may be undefined [-Wsequence-point] *index = (long *)RESIZE(*index, long, *size + 1); array.c: In function 'delete_array': array.c:351:33: warning: operation on 'array_info.item' may be undefined [-Wsequence-point] array_info.item = (char**)RESIZE(array_info.item, char *, array_info.size); array.c:352:34: warning: operation on 'array_info.index' may be undefined [-Wsequence-point] array_info.index = (long *)RESIZE(array_info.index, long, array_info.size); array.c: In function 'function_setitem': array.c:669:19: warning: operation on 'array->item' may be undefined [-Wsequence-point] array->item = (char **)RESIZE(array->item, char *, (array->size + 1)); array.c:694:24: warning: operation on 'array_info.item' may be undefined [-Wsequence-point] array_info.item = (char **)RESIZE(array_info.item, char *, (array_info.size + 1)); array.c: In function 'function_delitem': array.c:895:18: warning: operation on 'array->item' may be undefined [-Wsequence-point] array->item = (char**)RESIZE(array->item, char *, array->size); array.c:896:19: warning: operation on 'array->index' may be undefined [-Wsequence-point] array->index = (long*)RESIZE(array->index, long, array->size); gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c art.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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c banlist.c banlist.c: In function 'userhost_ban': banlist.c:398:8: warning: variable 'temp' set but not used [-Wunused-but-set-variable] char *temp; ^~~~ banlist.c: In function 'multkick': banlist.c:474:6: warning: variable 'filter' set but not used [-Wunused-but-set-variable] int filter = 0; ^~~~~~ banlist.c: In function 'massop': banlist.c:673:3: warning: variable 'all' set but not used [-Wunused-but-set-variable] all = 0, ^~~ banlist.c:672:3: warning: variable 'i' set but not used [-Wunused-but-set-variable] i, ^ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c bot_link.c bot_link.c: In function 'chanout_but': bot_link.c:119:12: warning: variable 'n' set but not used [-Wunused-but-set-variable] DCC_int *n; ^ bot_link.c: In function 'tell_who': bot_link.c:482:10: warning: variable 'n' set but not used [-Wunused-but-set-variable] DCC_int *n; ^ bot_link.c: In function 'send_whom': bot_link.c:574:5: warning: variable 'found' set but not used [-Wunused-but-set-variable] int found = 0; ^~~~~ bot_link.c: In function 'tand_priv': bot_link.c:601:12: warning: variable 'from' set but not used [-Wunused-but-set-variable] char *to, *from, *p, *i_dx; ^~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c cdcc.c cdcc.c: In function 'do_local_send': cdcc.c:398:6: warning: variable 'tdcc' set but not used [-Wunused-but-set-variable] int tdcc = 0; ^~~~ cdcc.c: In function 'r_list': cdcc.c:657:8: warning: variable 'type_msg' set but not used [-Wunused-but-set-variable] char *type_msg; ^~~~~~~~ cdcc.c: In function 'l_load': cdcc.c:1181:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, BIG_BUFFER_SIZE, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cdcc.c:1199:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, BIG_BUFFER_SIZE, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cdcc.c:1205:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, BIG_BUFFER_SIZE, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c commands.c commands.c: In function 'find_dll_command': commands.c:937:7: warning: variable 'min' set but not used [-Wunused-but-set-variable] int min, ^~~ commands.c: In function 'e_channel': commands.c:2594:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ commands.c: In function 'away': commands.c:3169:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ commands.c: In function 'quotecmd': commands.c:3366:21: warning: variable 'p' set but not used [-Wunused-but-set-variable] protocol_command *p; ^ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c commands2.c commands2.c: In function 'check_mode_lock': commands2.c:407:29: warning: the address of 'buffer' will always evaluate as 'true' [-Waddress] if (chan && chan->have_op && buffer) ^~ commands2.c: In function 'handle_reconnect': commands2.c:2471:56: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (n < 0 || getpeername(n, (struct sockaddr *)&addr, &len) < 0) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from commands2.c:8: /usr/include/sys/socket.h:135:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ commands2.c:2520:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(n, &parm, sizeof(struct param)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c: In function 'close_detach_fd': commands2.c:2647:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c:2648:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c:2649:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c: In function 'create_ipc_socket': commands2.c:2598:3: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(buf, getuid(), getgid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c:2600:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(u, connect_cookie, strlen(connect_cookie)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands2.c:2601:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(u, "\n", 1); ^~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c cset.c In file included from cset.c:47:0: cset.c: In function 'get_cset': cset.c:564:19: warning: the address of 's' will always evaluate as 'true' [-Waddress] return m_strdup(s && *s ? s : empty_string); ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ctcp.c ctcp.c: In function 'do_notice_ctcp': ctcp.c:1370:19: warning: pointer targets in passing argument 1 of 'stripansi' differ in signedness [-Wpointer-sign] tbuf = stripansi(str); ^~~ In file included from ctcp.c:45:0: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:78:8: note: expected 'unsigned char *' but argument is of type 'char *' char *stripansi (unsigned char *); ^~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c dcc.c dcc.c: In function 'find_dcc_pending': dcc.c:420:15: warning: variable 'flags' set but not used [-Wunused-but-set-variable] unsigned long flags; ^~~~~ dcc.c: In function 'BX_dcc_create': dcc.c:571:57: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if ((getpeername(new_s, (struct sockaddr *) &remaddr, &rl)) != -1) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from dcc.c:14: /usr/include/sys/socket.h:135:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ dcc.c: In function 'start_dcc_get': dcc.c:2094:5: warning: variable 'tdcc' set but not used [-Wunused-but-set-variable] int tdcc = 0; ^~~~ dcc.c:2093:15: warning: variable 'type' set but not used [-Wunused-but-set-variable] unsigned long type; ^~~~ dcc.c: In function 'dcc_exempt_save': dcc.c:3038:6: warning: the address of 'dcc_no_flood' will always evaluate as 'true' [-Waddress] if (dcc_no_flood) ^~~~~~~~~~~~ dcc.c:3048:6: warning: the address of 'dcc_no_flood' will always evaluate as 'true' [-Waddress] if (dcc_no_flood) ^~~~~~~~~~~~ dcc.c: In function 'output_reject_ctcp': dcc.c:3066:8: warning: variable 'nickname_requested' set but not used [-Wunused-but-set-variable] char *nickname_requested; ^~~~~~~~~~~~~~~~~~ dcc.c: In function 'open_listen_port': dcc.c:3699:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(s, (struct sockaddr *)&data_addr, &len) < 0) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from dcc.c:14: /usr/include/sys/socket.h:121:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ dcc.c:3710:51: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] getsockname(data, (struct sockaddr *)&data_addr, &len); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from dcc.c:14: /usr/include/sys/socket.h:121:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ dcc.c: In function 'start_ftp': dcc.c:3790:55: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(snum, (struct sockaddr *) &remaddr, &rl) != -1) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from dcc.c:14: /usr/include/sys/socket.h:135:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ dcc.c: In function 'open_ftpget': dcc.c:3832:13: warning: variable 'sock' set but not used [-Wunused-but-set-variable] SocketList *sock; ^~~~ dcc.c: In function 'dcc_ftpcommand': dcc.c:3954:55: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] s1 = accept(sock, (struct sockaddr *) &data_addr, &len); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from dcc.c:14: /usr/include/sys/socket.h:237:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ dcc.c: In function 'new_dcc_message_transmit': dcc.c:1051:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s->is_read, tmp, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dcc.c: In function 'real_file_send': dcc.c:1913:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(FileBuf, BIG_BUFFER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcc.c: In function 'read_ftp_file': dcc.c:3685:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(n->file, buf, len); ^~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c exec.c exec.c: In function 'execcmd': exec.c:573:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ exec.c:574:4: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ exec.c: In function 'text_to_process': exec.c:1029:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(proc->p_stdin, my_buffer, strlen(my_buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c functions.c functions.c: In function 'get_builtins': functions.c:947:7: warning: variable 'last_match' set but not used [-Wunused-but-set-variable] char *last_match = NULL; ^~~~~~~~~~ functions.c: In function 'function_decode': functions.c:1703:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; /* DONT USE RETURN_STR HERE! */ ^~~~~~ functions.c: In function 'function_channelnicks': functions.c:2643:7: warning: variable 'sort_type' set but not used [-Wunused-but-set-variable] int sort_type = NICKSORT_NORMAL; ^~~~~~~~~ functions.c: In function 'function_chr': functions.c:3396:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *ack = aboo; ^~~~ In file included from functions.c:47:0: functions.c:1255:41: warning: the address of 'aboo' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:3403:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(aboo); ^~~~~~~~~~ functions.c: In function 'function_ascii': functions.c:3409:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *w = word; ^~~~ In file included from functions.c:47:0: functions.c: In function 'function_truncate': functions.c:1255:41: warning: the address of 'buffer' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:3821:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(buffer); ^~~~~~~~~~ functions.c: In function 'function_tdiff2': functions.c:1255:41: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:3878:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(tmp); ^~~~~~~~~~ functions.c: In function 'function_stripansi': functions.c:3901:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (cp = input; *cp; cp++) ^ functions.c: In function 'function_stripc': 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] strcpy_nocolorcodes(retval, input); ^~~~~~ functions.c:3920:22: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' 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] strcpy_nocolorcodes(retval, input); ^~~~~ functions.c:3920:30: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' In file included from functions.c:47:0: functions.c: In function 'function_uptime': functions.c:1255:41: warning: the address of 'buffer' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:4295:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(buffer); ^~~~~~~~~~ functions.c: In function 'function_rot13': functions.c:1255:41: warning: the address of 'temp' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:4405:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(temp); ^~~~~~~~~~ functions.c: In function 'function_isvoice': functions.c:1255:41: warning: the address of 'zero' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:4934:4: note: in expansion of macro 'RETURN_STR' RETURN_STR(Nick ? (nick_isvoice(Nick) ? one : zero) : zero); ^~~~~~~~~~ functions.c: In function 'function_writeserver': 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] len = write_sockets(socket_num, word, strlen(word), 1); ^~~~ functions.c:5066:35: note: expected 'unsigned char *' but argument is of type 'char *' In file included from functions.c:47:0: functions.c: In function 'function_countansi': 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] RETURN_INT(output_with_count(input, 0, 0)); ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:5317:2: note: in expansion of macro 'RETURN_INT' RETURN_INT(output_with_count(input, 0, 0)); ^~~~~~~~~~ functions.c:5317:31: note: expected 'const unsigned char *' but argument is of type 'char *' RETURN_INT(output_with_count(input, 0, 0)); ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:5317:2: note: in expansion of macro 'RETURN_INT' RETURN_INT(output_with_count(input, 0, 0)); ^~~~~~~~~~ functions.c: In function 'function_regerror': functions.c:1255:41: warning: the address of 'error_buf' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:5689:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(error_buf); ^~~~~~~~~~ functions.c: In function 'function_leftpc': 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] prepared = prepare_display(word, count, &lines, PREPARE_NOWRAP); ^~~~ functions.c:5769:29: note: expected 'const unsigned char *' but argument is of type 'char *' In file included from functions.c:47:0: functions.c: In function 'function_uname': functions.c:1255:41: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:5834:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(tmp); ^~~~~~~~~~ functions.c: In function 'function_mask': functions.c:1255:41: warning: the address of 'stuff' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:6026:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(stuff); ^~~~~~~~~~ functions.c: In function 'function_numlines': 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] for (lines = split_up_line(s, cols + 1); *lines; lines++) ^ functions.c:6359:30: note: expected 'const unsigned char *' but argument is of type 'char *' In file included from functions.c:47:0: functions.c: In function 'function_servgroup': functions.c:1255:41: warning: the address of 'empty_string' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:6585:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(s ? s : empty_string); ^~~~~~~~~~ functions.c: In function 'function_banwords': functions.c:1255:41: warning: the address of 'empty_string' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:7030:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(ret ? ret : empty_string); ^~~~~~~~~~ functions.c: In function 'function_realpath': functions.c:1255:41: warning: the address of 'resolvedname' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:7265:3: note: in expansion of macro 'RETURN_STR' RETURN_STR(resolvedname); ^~~~~~~~~~ functions.c: In function 'function_stat': functions.c:1255:41: warning: the address of 'retval' will always evaluate as 'true' [-Waddress] #define RETURN_STR(x) return m_strdup(x ? x : EMPTY) ^ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ functions.c:7336:2: note: in expansion of macro 'RETURN_STR' RETURN_STR(retval); ^~~~~~~~~~ functions.c: In function 'function_ftime': functions.c:5461:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(FileBuf, BIG_BUFFER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'function_fsize': functions.c:4133:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(FileBuf, BIG_BUFFER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'function_fexist': functions.c:4084:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(FileBuf, BIG_BUFFER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c glob.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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c help.c help.c: In function 'help_put_it': help.c:756:18: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] add_to_screen(putbuf); ^~~~~~ help.c:756:18: note: expected 'unsigned char *' but argument is of type 'char *' help.c: In function 'help_me': help.c:437:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(path); ^~~~~~~~~~~ help.c:450:4: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result [-Wunused-result] fchdir(cwd); ^~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c hook.c hook.c: In function 'find_numeric_list': hook.c:1759:21: warning: variable 'last' set but not used [-Wunused-but-set-variable] NumericList *tmp, *last = NULL; ^~~~ hook.c: In function 'show_numeric_list': hook.c:770:17: warning: '%3.3u' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] sprintf(buf, "%3.3u", numeric); ^~~~~ hook.c:770:16: note: directive argument in the range [0, 2147483647] sprintf(buf, "%3.3u", numeric); ^~~~~~~ In file included from /usr/include/stdio.h:936:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from hook.c:11: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 11 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hook.c: In function 'do_stack_on': hook.c:1644:27: warning: '%3.3u' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] sprintf(nptr->name, "%3.3u", -which); ^~~~~ hook.c:1644:26: note: directive argument in the range [1, 2147483647] sprintf(nptr->name, "%3.3u", -which); ^~~~~~~ In file included from /usr/include/stdio.h:936:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from hook.c:11: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 11 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hook.c: In function 'oncmd': hook.c:381:25: warning: '%3.3u' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] sprintf(entry->name, "%3.3u", numeric); ^~~~~ hook.c:381:24: note: directive argument in the range [1, 2147483647] sprintf(entry->name, "%3.3u", numeric); ^~~~~~~ In file included from /usr/include/stdio.h:936:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from hook.c:11: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 11 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c input.c input.c: In function 'BX_update_input': input.c:246:29: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] ptr = (char *)strip_ansi(ptr); ^~~ input.c:246:29: note: expected 'const unsigned char *' but argument is of type 'char *' input.c:88:25: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, int, int))*(global + 2472)' differ in signedness [-Wpointer-sign] #define current_screen last_input_screen ^ input.c:103:24: note: in expansion of macro 'current_screen' #define INPUT_PROMPT current_screen->input_prompt ^~~~~~~~~~~~~~ input.c:262:42: note: in expansion of macro 'INPUT_PROMPT' INPUT_PROMPT_LEN = output_with_count(INPUT_PROMPT, 0, 0); ^~~~~~~~~~~~ input.c:88:25: note: expected 'const unsigned char *' but argument is of type 'char *' #define current_screen last_input_screen ^ input.c:103:24: note: in expansion of macro 'current_screen' #define INPUT_PROMPT current_screen->input_prompt ^~~~~~~~~~~~~~ input.c:262:42: note: in expansion of macro 'INPUT_PROMPT' INPUT_PROMPT_LEN = output_with_count(INPUT_PROMPT, 0, 0); ^~~~~~~~~~~~ input.c:88:25: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, int, int))*(global + 2472)' differ in signedness [-Wpointer-sign] #define current_screen last_input_screen ^ input.c:103:24: note: in expansion of macro 'current_screen' #define INPUT_PROMPT current_screen->input_prompt ^~~~~~~~~~~~~~ input.c:392:23: note: in expansion of macro 'INPUT_PROMPT' output_with_count(INPUT_PROMPT, 0, 1); ^~~~~~~~~~~~ input.c:88:25: note: expected 'const unsigned char *' but argument is of type 'char *' #define current_screen last_input_screen ^ input.c:103:24: note: in expansion of macro 'current_screen' #define INPUT_PROMPT current_screen->input_prompt ^~~~~~~~~~~~~~ input.c:392:23: note: in expansion of macro 'INPUT_PROMPT' output_with_count(INPUT_PROMPT, 0, 1); ^~~~~~~~~~~~ input.c: In function 'input_delete_to_previous_space': input.c:709:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] char c; ^ input.c: In function 'BX_lookup_nickcompletion': input.c:1157:32: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] else if (!ntmp && my_strnstr(nick->nick, possible, strlen(possible))) ^~~~ input.c:1157:32: note: expected 'const unsigned char *' but argument is of type 'char *' 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] else if (!ntmp && my_strnstr(nick->nick, possible, strlen(possible))) ^~~~~~~~ input.c:1157:44: note: expected 'const unsigned char *' but argument is of type 'char *' input.c: In function 'edit_char': input.c:1363:39: warning: pointer targets in passing argument 2 of 'oldprompt->func' differ in signedness [-Wpointer-sign] (*oldprompt->func)(oldprompt->data, key_); ^~~~ input.c:1363:39: note: expected 'char *' but argument is of type 'unsigned char *' input.c: In function 'BX_getchannick': input.c:1839:70: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] if (!my_strnicmp(cnick->nick, nick, strlen(nick)) || my_strnstr(cnick->nick, nick, strlen(nick))) ^~~~~ input.c:1839:70: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (!my_strnicmp(cnick->nick, nick, strlen(nick)) || my_strnstr(cnick->nick, nick, strlen(nick))) ^~~~ input.c:1839:83: note: expected 'const unsigned char *' but argument is of type 'char *' input.c:1855:22: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] if (my_strnstr(cnick->nick, nick, strlen(nick))) ^~~~~ input.c:1855:22: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (my_strnstr(cnick->nick, nick, strlen(nick))) ^~~~ input.c:1855:35: note: expected 'const unsigned char *' but argument is of type 'char *' input.c: In function 'get_completions': input.c:2209:5: warning: variable 'numglobs' set but not used [-Wunused-but-set-variable] int numglobs = 0, i; ^~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing \ -DIRCLIB=\"/usr/lib64/bx\" -DIRCPATH=\"~/.BitchX:~/.BitchX/plugins:.:/usr/lib64/bx/plugins:/usr/lib64/bx/script:/usr/lib64/bx\" -c ./irc.c ./irc.c: In function 'BX_irc_exit': ./irc.c:487:22: warning: the address of 'buffer' will always evaluate as 'true' [-Waddress] put_it("%s", buffer ? buffer : reason ? reason : empty_string); ^ ./irc.c: In function 'parse_args': ./irc.c:1183:6: warning: the address of 'nickname' will always evaluate as 'true' [-Waddress] if (!nickname || !*nickname) ^ ./irc.c:713:19: warning: unused variable 'hp' [-Wunused-variable] struct hostent * hp; ^~ ./irc.c: In function 'BX_io': ./irc.c:1246:13: warning: variable 'first_time' set but not used [-Wunused-but-set-variable] static int first_time = 1, ^~~~~~~~~~ ./irc.c: In function 'munge_term_env_var': ./irc.c:317:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ./irc.c: In function 'check_pid': ./irc.c:1454:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 10, t); ^~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing \ -DIRCLIB=\"/usr/lib64/bx\" -DSHLIB_SUFFIX=\".so\" -c ./ircaux.c ./ircaux.c: In function 'BX_my_strnstr': ./ircaux.c:776:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncasecmp(p, str2, strlen(str2))) ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./ircaux.c:10: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ./ircaux.c:776:23: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (!strncasecmp(p, str2, strlen(str2))) ^~~~ In file included from /usr/include/string.h:444:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./ircaux.c:10: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'const unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ ./ircaux.c: In function 'BX_ircpanic': ./ircaux.c:1331:60: warning: the address of 'cx_function' will always evaluate as 'true' [-Waddress] yell("Panic: [%s:%s %s]", irc_version, buffer, cx_function?cx_function:empty_string); ^ ./ircaux.c: In function 'BX_mangle_line': ./ircaux.c:2963:23: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] output = strip_ansi(incoming); ^~~~~~~~ ./ircaux.c:2963:23: note: expected 'const unsigned char *' but argument is of type 'char *' ./ircaux.c:2963:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] output = strip_ansi(incoming); ^ ./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] end = (char *)skip_ctl_c_seq(s, &lhs, &rhs, 0); ^ ./ircaux.c:2985:34: note: expected 'const unsigned char *' but argument is of type 'char *' ./ircaux.c: In function 'open_compression': ./ircaux.c:1392:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid (getuid ()); ^~~~~~~~~~~~~~~~~~ ./ircaux.c:1393:4: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid (getgid ()); ^~~~~~~~~~~~~~~~~~ ./ircaux.c: In function 'init_socketpath': ./ircaux.c:2882:4: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void) chown(socket_path, getuid(), getgid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ircaux.c: In function 'randd': ./ircaux.c:3226:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(random_fd, (void *)&value, sizeof(value)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c keys.c keys.c: In function 'snew_key': keys.c:429:27: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] if ((j = lookup_function(what, &i)) == 1) ^~~~ keys.c:38:13: note: expected 'const uc * {aka const unsigned char *}' but argument is of type 'char *' static int lookup_function (const uc *name, int *lf_index); ^~~~~~~~~~~~~~~ keys.c: In function 'snew_key_from_str': keys.c:450:22: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] if (lookup_function(what, &i) == 1) ^~~~ keys.c:38:13: note: expected 'const uc * {aka const unsigned char *}' but argument is of type 'char *' static int lookup_function (const uc *name, int *lf_index); ^~~~~~~~~~~~~~~ keys.c: In function 'parsekeycmd': keys.c:681:46: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] int keyval = lookup_function(arg, &i); ^~~ keys.c:38:13: note: expected 'const uc * {aka const unsigned char *}' but argument is of type 'char *' static int lookup_function (const uc *name, int *lf_index); ^~~~~~~~~~~~~~~ keys.c: In function 'rbindcmd': keys.c:717:26: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] switch (lookup_function(arg, &f)) ^~~ keys.c:38:13: note: expected 'const uc * {aka const unsigned char *}' but argument is of type 'char *' static int lookup_function (const uc *name, int *lf_index); ^~~~~~~~~~~~~~~ keys.c: In function 'grok_meta': 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] if (!my_strnicmp(ptr, "META", 4)) ^~~ keys.c:753:19: note: expected 'const char *' but argument is of type 'const uc * {aka const unsigned char *}' 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] if (*ptr == '_' && !my_strnicmp(ptr, "_CHARACTER", 10)) ^~~ keys.c:758:35: note: expected 'const char *' but argument is of type 'const uc * {aka const unsigned char *}' keys.c:762:15: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] meta = atol(str); ^~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from keys.c:13: /usr/include/stdlib.h:260:1: note: expected 'const char *' but argument is of type 'const uc * {aka const unsigned char *}' __NTH (atol (const char *__nptr)) ^ In file included from /usr/include/stdlib.h:469:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: keys.c: In function 'parse_key': keys.c:891:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] copy = alloca(strlen(sequence) + 4); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'const uc * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ keys.c:893:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] end = copy + strlen(copy) - 1; ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uc * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ keys.c:970:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] yell("SOME_CHARACTERS := [%s] (%d)", copy, strlen(copy)); ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uc * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ keys.c:1003:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] yell("COPY: [%s] (%d)", copy, strlen(copy)); ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uc * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ keys.c: In function 'bindcmd': keys.c:1086:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((key = new_next_arg(args, &args)) == NULL) ^ keys.c:1097:20: warning: pointer targets in passing argument 1 of '(int (*)(const char *, const char *, size_t))*(global + 200)' differ in signedness [-Wpointer-sign] if (!my_strnicmp(key + 1, "DEFAULTS", 1)) ^~~ keys.c:1097:20: note: expected 'const char *' but argument is of type 'uc * {aka unsigned char *}' keys.c:1112:31: warning: pointer targets in passing argument 1 of 'get_term_capability' differ in signedness [-Wpointer-sign] newkey = get_term_capability(key, 0, 1); ^~~ In file included from keys.c:26:0: /builddir/build/BUILD/BitchX-1.2.1/include/ircterm.h:741:10: note: expected 'char *' but argument is of type 'uc * {aka unsigned char *}' char * get_term_capability (char *, int, int); ^~~~~~~~~~~~~~~~~~~ keys.c:1112:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] newkey = get_term_capability(key, 0, 1); ^ keys.c:1122:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((function = next_arg(args, &args)) == NULL) ^ In file included from /usr/include/stdlib.h:469:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: keys.c: In function 'lookup_function': /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:172:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL_COPY(y) strcpy(alloca(strlen((y)) + 1), y) ^ keys.c:1195:20: note: in expansion of macro 'LOCAL_COPY' breakage = name = LOCAL_COPY(orig_name); ^~~~~~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'const uc * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/alist.h:10:0, from /builddir/build/BUILD/BitchX-1.2.1/include/struct.h:18, from keys.c:16: keys.c:1195:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] breakage = name = LOCAL_COPY(orig_name); ^ /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:172:55: note: in definition of macro 'LOCAL_COPY' #define LOCAL_COPY(y) strcpy(alloca(strlen((y)) + 1), y) ^ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from keys.c:13: /usr/include/bits/string3.h:107:1: note: expected 'const char * restrict' but argument is of type 'const uc * {aka const unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ keys.c:1195:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] breakage = name = LOCAL_COPY(orig_name); ^ keys.c:1196:8: warning: pointer targets in passing argument 1 of '(char * (*)(char *))*(global + 144)' differ in signedness [-Wpointer-sign] upper(name); ^~~~ keys.c:1196:8: note: expected 'char *' but argument is of type 'uc * {aka unsigned char *}' keys.c:1197:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(name); ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uc * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ keys.c:1202:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(name, "META", 4)) ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'uc * {aka unsigned char *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ keys.c:1218:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(name, key_names[i].name, len) == 0) ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'uc * {aka unsigned char *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ keys.c:1227:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(name, key_names[*lf_index].name) == 0) ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from keys.c:13: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'uc * {aka unsigned char *}' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ keys.c:1187:13: warning: variable 'breakage' set but not used [-Wunused-but-set-variable] uc *name, *breakage; ^~~~~~~~ keys.c: In function 'convert_to_keystr': keys.c:1269:24: warning: pointer targets in passing argument 1 of 'lookup_function' differ in signedness [-Wpointer-sign] ret = lookup_function(key, &loc); ^~~ keys.c:1182:13: note: expected 'const uc * {aka const unsigned char *}' but argument is of type 'char *' static int lookup_function (const uc *orig_name, int *lf_index) ^~~~~~~~~~~~~~~ keys.c: In function 'init_keys2': keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1488:2: note: in expansion of macro 'LKEY' LKEY(key_up, BACKWARD_HISTORY) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1489:2: note: in expansion of macro 'LKEY' LKEY(key_down, FORWARD_HISTORY) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1490:2: note: in expansion of macro 'LKEY' LKEY(key_left, BACKWARD_CHARACTER) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1491:2: note: in expansion of macro 'LKEY' LKEY(key_right, FORWARD_CHARACTER) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1492:2: note: in expansion of macro 'LKEY' LKEY(key_ppage, SCROLL_BACKWARD) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1493:2: note: in expansion of macro 'LKEY' LKEY(key_npage, SCROLL_FORWARD) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1494:2: note: in expansion of macro 'LKEY' LKEY(key_home, SCROLL_START) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1495:2: note: in expansion of macro 'LKEY' LKEY(key_end, SCROLL_END) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1496:2: note: in expansion of macro 'LKEY' LKEY(key_ic, TOGGLE_INSERT_MODE) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1498:2: note: in expansion of macro 'LKEY' LKEY(key_f1, CHELP) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1499:2: note: in expansion of macro 'LKEY' LKEY(key_f2, CHANNEL_CHOPS) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1500:2: note: in expansion of macro 'LKEY' LKEY(key_f3, CHANNEL_NONOPS) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1502:2: note: in expansion of macro 'LKEY' LKEY(key_f4, CDCC_PLIST) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1504:2: note: in expansion of macro 'LKEY' LKEY(key_f5, DCC_PLIST) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1505:2: note: in expansion of macro 'LKEY' LKEY(key_f6, DCC_STATS) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c:1482:21: warning: pointer targets in passing argument 1 of 'snew_key_from_str' differ in signedness [-Wpointer-sign] snew_key_from_str(l, #y); \ ^ keys.c:1506:2: note: in expansion of macro 'LKEY' LKEY(key_dc, TOGGLE_CLOAK) ^~~~ keys.c:437:13: note: expected 'uc * {aka unsigned char *}' but argument is of type 'char *' static void snew_key_from_str (uc *string, char *what) ^~~~~~~~~~~~~~~~~ keys.c: In function 'convert_to_keystr': keys.c:1286:30: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] sprintf(meta_str, "META%d-", i); ^~ keys.c:1286:25: note: directive argument in the range [0, 2147483647] sprintf(meta_str, "META%d-", i); ^~~~~~~~~ In file included from /usr/include/stdio.h:936:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from keys.c:13: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 8 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c lastlog.c lastlog.c: In function 'logmsg': 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] lines = split_up_line(stripansicodes(convert_output_format(format, "%s %s %s %s", type, timestr, from, msglog_buffer)), 80); ^~~~~~~~~~~~~~ lastlog.c:613:26: note: expected 'const unsigned char *' but argument is of type 'char *' lastlog.c:617:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(*lines) * 2 + 1; ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from lastlog.c:12: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ lastlog.c:620:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(local_copy, *lines); ^ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from lastlog.c:12: /usr/include/bits/string3.h:107:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c mail.c mail.c: In function 'check_mail': mail.c:185:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (char *)(*check_ext_mail)(); ^ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c misc.c In file included from misc.c:46:0: misc.c: In function 'stripansi': /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: warning: pointer targets in passing argument 1 of '(char * (*)(const char *, const char *, const char *, const int))*(global + 632)' differ in signedness [-Wpointer-sign] #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ misc.c:1085:12: note: in expansion of macro 'm_strdup' newline = m_strdup(line); ^~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ misc.c:1085:12: note: in expansion of macro 'm_strdup' newline = m_strdup(line); ^~~~~~~~ misc.c:1085:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] newline = m_strdup(line); ^ misc.c: In function 'randreason': misc.c:1772:13: warning: variable 'min' set but not used [-Wunused-but-set-variable] int count, min, i; ^~~ misc.c: In function 'ar_send_res_msg': misc.c:2405:13: warning: RES_PRIMARY is deprecated if (_res.options & RES_PRIMARY) ^~~~~~~~~~~~~~~~~~~~ misc.c: In function 'ar_query_name': misc.c:2488:4: warning: pointer targets in passing argument 8 of '__res_mkquery' differ in signedness [-Wpointer-sign] buf, sizeof(buf)); ^~~ In file included from misc.c:2017:0: /usr/include/resolv.h:259:6: note: expected 'unsigned char *' but argument is of type 'char *' int res_mkquery (int, const char *, int, int, ^ misc.c: In function 'ar_procanswer': misc.c:2689:21: warning: pointer targets in passing argument 1 of '__dn_skipname' differ in signedness [-Wpointer-sign] cp += dn_skipname(cp, eob) + QFIXEDSZ; ^~ In file included from misc.c:2017:0: /usr/include/resolv.h:327:6: note: expected 'const unsigned char *' but argument is of type 'char *' int dn_skipname (const unsigned char *, const unsigned char *) ^ misc.c:2689:25: warning: pointer targets in passing argument 2 of '__dn_skipname' differ in signedness [-Wpointer-sign] cp += dn_skipname(cp, eob) + QFIXEDSZ; ^~~ In file included from misc.c:2017:0: /usr/include/resolv.h:327:6: note: expected 'const unsigned char *' but argument is of type 'char *' int dn_skipname (const unsigned char *, const unsigned char *) ^ misc.c:2695:17: warning: pointer targets in passing argument 1 of '__dn_expand' differ in signedness [-Wpointer-sign] n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); ^~~ In file included from misc.c:2017:0: /usr/include/resolv.h:349:6: note: expected 'const unsigned char *' but argument is of type 'char *' int dn_expand (const unsigned char *, const unsigned char *, ^ misc.c:2695:22: warning: pointer targets in passing argument 2 of '__dn_expand' differ in signedness [-Wpointer-sign] n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); ^~~ In file included from misc.c:2017:0: /usr/include/resolv.h:349:6: note: expected 'const unsigned char *' but argument is of type 'char *' int dn_expand (const unsigned char *, const unsigned char *, ^ misc.c:2695:27: warning: pointer targets in passing argument 3 of '__dn_expand' differ in signedness [-Wpointer-sign] n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); ^~ In file included from misc.c:2017:0: /usr/include/resolv.h:349:6: note: expected 'const unsigned char *' but argument is of type 'char *' int dn_expand (const unsigned char *, const unsigned char *, ^ misc.c:2730:23: warning: pointer targets in passing argument 1 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((n = dn_expand(buf, eob, cp, ar_hostbuf, ^~~ In file included from misc.c:2017:0: /usr/include/resolv.h:349:6: note: expected 'const unsigned char *' but argument is of type 'char *' int dn_expand (const unsigned char *, const unsigned char *, ^ misc.c:2730:28: warning: pointer targets in passing argument 2 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((n = dn_expand(buf, eob, cp, ar_hostbuf, ^~~ In file included from misc.c:2017:0: /usr/include/resolv.h:349:6: note: expected 'const unsigned char *' but argument is of type 'char *' int dn_expand (const unsigned char *, const unsigned char *, ^ misc.c:2730:33: warning: pointer targets in passing argument 3 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((n = dn_expand(buf, eob, cp, ar_hostbuf, ^~ In file included from misc.c:2017:0: /usr/include/resolv.h:349:6: note: expected 'const unsigned char *' but argument is of type 'char *' int dn_expand (const unsigned char *, const unsigned char *, ^ misc.c:2665:15: warning: variable 'hp' set but not used [-Wunused-but-set-variable] struct hent *hp; ^~ misc.c:2664:15: warning: variable 'ttl' set but not used [-Wunused-but-set-variable] unsigned int ttl, dr, *adr; ^~~ misc.c: In function 'nslookup': misc.c:3117:4: warning: variable 'hostname' set but not used [-Wunused-but-set-variable] *hostname, ^~~~~~~~ In file included from /usr/include/stdlib.h:469:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from misc.c:4: misc.c: In function 'BX_write_sockets': misc.c:3602:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buf = alloca(strlen(str)+4); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from misc.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ misc.c:3603:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf, str); ^~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from misc.c:4: /usr/include/bits/string3.h:107:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ misc.c:3603:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf, str); ^~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from misc.c:4: /usr/include/bits/string3.h:107:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ misc.c:3604:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(buf, "\r\n"); ^~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from misc.c:4: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ misc.c: In function 'read_netfinger': misc.c:3671:29: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] register unsigned char *p = tmpstr; ^~~~~~ misc.c: In function 'netfinger': 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] write_sockets(s, name, strlen(name), 1); ^~~~ misc.c:3746:21: note: expected 'unsigned char *' but argument is of type 'char *' misc.c: In function 'handle_socket_connect': misc.c:3795:57: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if ((getpeername(rc, (struct sockaddr *) &addr, &address_len)) != -1) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from misc.c:4: /usr/include/sys/socket.h:135:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ misc.c: In function 'char_fucknut': misc.c:4415:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int total = strlen(crap), allchar = 0; ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from misc.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ misc.c: In function 'convert_output_format2': misc.c:4781:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(buffer2, str, RAW_BUFFER_SIZE); ^~~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/alist.h:10:0, from /builddir/build/BUILD/BitchX-1.2.1/include/struct.h:18, from misc.c:7: /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:275:9: note: expected 'char *' but argument is of type 'unsigned char *' size_t strlcpy (char *, const char *, size_t); ^~~~~~~ misc.c:4782:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] copy = tmpc = buffer2; ^ misc.c:4795:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(s, convert_output_format(new_str, NULL, NULL), RAW_BUFFER_SIZE); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/alist.h:10:0, from /builddir/build/BUILD/BitchX-1.2.1/include/struct.h:18, from misc.c:7: /builddir/build/BUILD/BitchX-1.2.1/include/ircaux.h:279:9: note: expected 'char *' but argument is of type 'unsigned char *' size_t strlcat (char *, const char *, size_t); ^~~~~~~ In file included from misc.c:46:0: /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] #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ misc.c:4808:9: note: in expansion of macro 'm_strdup' return m_strdup(buffer); ^~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ misc.c:4808:9: note: in expansion of macro 'm_strdup' return m_strdup(buffer); ^~~~~~~~ misc.c: In function 'userhost_ignore': misc.c:3917:22: warning: argument 1 null where non-null expected [-Wnonnull] user = host; host = strchr(host, '@'); *host++ = 0; ~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from misc.c:4: /usr/include/string.h:231:14: note: in a call to function 'strchr' declared here extern char *strchr (const char *__s, int __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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c names.c names.c: In function 'BX_do_compress_modes': names.c:627:14: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] else if (!add & isvoiced) ^~~~ names.c: In function 'list_channels': names.c:1495:3: warning: variable 'no' set but not used [-Wunused-but-set-variable] no = 1; ^~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c network.c network.c: In function 'BX_connect_by_number': network.c:484:49: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&name, &length)) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from network.c:9: /usr/include/sys/socket.h:121:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ network.c:503:19: warning: unused variable 'hp' [-Wunused-variable] struct hostent *hp; ^~ network.c: In function 'my_accept': network.c:787:27: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] retval = accept(s, addr, addrlen); ^~~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from network.c:9: /usr/include/sys/socket.h:237:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ network.c: In function 'socks5_connect': network.c:274:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, tmpbuf, 4); ^~~~~~~~~~~~~~~~~~ network.c:276:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, tmpbuf, 2); ^~~~~~~~~~~~~~~~~~ network.c:284:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, tmpbuf, 1); ^~~~~~~~~~~~~~~~~~ network.c:287:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, tmpbuf, tmpI); ^~~~~~~~~~~~~~~~~~~~~ network.c:290:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, tmpbuf, 2); ^~~~~~~~~~~~~~~~~~ network.c:297:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, tmpbuf, 18); ^~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing \ -DSCRIPT_PATH=\"/usr/lib64/bx/script\" -c ./notice.c ./notice.c: In function 'handle_oper_vision': ./notice.c:79:6: warning: variable 'dcount' set but not used [-Wunused-but-set-variable] int dcount; ^~~~~~ ./notice.c: In function 'parse_server_notice': ./notice.c:624:11: warning: variable 'for_' set but not used [-Wunused-but-set-variable] char *for_; ^~~~ ./notice.c: In function 'parse_notice': ./notice.c:748:33: warning: pointer targets in passing argument 1 of 'stripansi' differ in signedness [-Wpointer-sign] free_me = newline = stripansi(line); ^~~~ In file included from ./notice.c:33:0: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:78:8: note: expected 'unsigned char *' but argument is of type 'char *' char *stripansi (unsigned char *); ^~~~~~~~~ ./notice.c: In function 'got_initial_version_28': ./notice.c:879:28: warning: variable 'user_modes' set but not used [-Wunused-but-set-variable] char *server, *sversion, *user_modes, *channel_modes; ^~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c notify.c notify.c: In function 'rebuild_notify_ison': notify.c:52:8: warning: variable 'stuff' set but not used [-Wunused-but-set-variable] char *stuff; ^~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c output.c output.c: In function 'put_echo': output.c:163:16: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] add_to_screen(str); ^~~ output.c:163:16: note: expected 'unsigned char *' but argument is of type 'char *' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c parse.c parse.c: In function 'annoy_kicks': parse.c:190:20: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] if (char_fucknut(ptr, '\002', 12)) ^~~ In file included from parse.c:44:0: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:7: note: expected 'unsigned char *' but argument is of type 'char *' int char_fucknut (register unsigned char *, char, int); ^~~~~~~~~~~~ parse.c:192:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] else if (char_fucknut(ptr, '\007', 1)) ^~~ In file included from parse.c:44:0: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:7: note: expected 'unsigned char *' but argument is of type 'char *' int char_fucknut (register unsigned char *, char, int); ^~~~~~~~~~~~ parse.c:194:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] else if (char_fucknut(ptr, '\003', 12)) ^~~ In file included from parse.c:44:0: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:7: note: expected 'unsigned char *' but argument is of type 'char *' int char_fucknut (register unsigned char *, char, int); ^~~~~~~~~~~~ parse.c:196:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] else if (char_fucknut(ptr, '\037', 0)) ^~~ In file included from parse.c:44:0: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:7: note: expected 'unsigned char *' but argument is of type 'char *' int char_fucknut (register unsigned char *, char, int); ^~~~~~~~~~~~ parse.c:198:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] else if (char_fucknut(ptr, '\026', 12)) ^~~ In file included from parse.c:44:0: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:125:7: note: expected 'unsigned char *' but argument is of type 'char *' int char_fucknut (register unsigned char *, char, int); ^~~~~~~~~~~~ parse.c:200:25: warning: pointer targets in passing argument 1 of 'caps_fucknut' differ in signedness [-Wpointer-sign] else if (caps_fucknut(ptr)) ^~~ In file included from parse.c:44:0: /builddir/build/BUILD/BitchX-1.2.1/include/misc.h:100:6: note: expected 'unsigned char *' but argument is of type 'char *' int caps_fucknut (register unsigned char *); ^~~~~~~~~~~~ parse.c: In function 'p_wallops': parse.c:411:9: warning: variable 'high' set but not used [-Wunused-but-set-variable] char *high; ^~~~ parse.c: In function 'p_privmsg': parse.c:455:25: warning: variable 'com_lines' set but not used [-Wunused-but-set-variable] static int com_do_log, com_lines = 0; ^~~~~~~~~ parse.c:455:13: warning: variable 'com_do_log' set but not used [-Wunused-but-set-variable] static int com_do_log, com_lines = 0; ^~~~~~~~~~ parse.c:453:4: warning: variable 'high' set but not used [-Wunused-but-set-variable] *high; ^~~~ parse.c: In function 'add_user_who': parse.c:966:15: warning: variable 'chan' set but not used [-Wunused-but-set-variable] ChannelList *chan; ^~~~ parse.c: In function 'p_channel': parse.c:1153:13: warning: variable 'user' set but not used [-Wunused-but-set-variable] char *user, *host; ^~~~ parse.c: In function 'p_invite': parse.c:1214:8: warning: variable 'high' set but not used [-Wunused-but-set-variable] char *high; ^~~~ parse.c: In function 'check_bitch_mode': parse.c:1449:8: warning: variable 'right_now' set but not used [-Wunused-but-set-variable] time_t right_now; ^~~~~~~~~ parse.c: In function 'parse_server': parse.c:1910:20: warning: variable 'retval' set but not used [-Wunused-but-set-variable] protocol_command *retval; ^~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c readlog.c readlog.c: In function 'show_log': readlog.c:136:10: warning: variable 'old_window' set but not used [-Wunused-but-set-variable] Window *old_window; ^~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c reg.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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing \ -DWSERV_PATH=\"/usr/lib64/bx/wserv\" -c ./screen.c ./screen.c: In function 'BX_skip_incoming_mirc': ./screen.c:99:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i=0;ioutput_func' differ in signedness [-Wpointer-sign] target_window->output_func(target_window, out); ^~~ ./screen.c:182:45: note: expected 'const unsigned char *' but argument is of type 'char *' ./screen.c:188:47: warning: pointer targets in passing argument 2 of 'current_window->output_func' differ in signedness [-Wpointer-sign] current_window->output_func(current_window, out); ^~~ ./screen.c:188:47: note: expected 'const unsigned char *' but argument is of type 'char *' ./screen.c: In function 'BX_add_to_window': ./screen.c:209:5: warning: pointer targets in passing argument 3 of 'redirect_text' differ in signedness [-Wpointer-sign] str, NULL, 0, 0); ^~~ In file included from ./screen.c:20:0: /builddir/build/BUILD/BitchX-1.2.1/include/commands.h:31:7: note: expected 'const char *' but argument is of type 'const unsigned char *' void redirect_text (int, const char *, const char *, char *, int, int); ^~~~~~~~~~~~~ ./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] add_to_log(window->log_fp, 0, str, window->mangler); ^~~ ./screen.c:215:33: note: expected 'const char *' but argument is of type 'const unsigned char *' ./screen.c:216:26: warning: pointer targets in passing argument 2 of 'add_to_lastlog' differ in signedness [-Wpointer-sign] add_to_lastlog(window, str); ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/window.h:17:0, from /builddir/build/BUILD/BitchX-1.2.1/include/screen.h:16, from ./screen.c:21: /builddir/build/BUILD/BitchX-1.2.1/include/lastlog.h:70:7: note: expected 'const char *' but argument is of type 'const unsigned char *' void add_to_lastlog (Window *, const char *); ^~~~~~~~~~~~~~ ./screen.c:245:38: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (window->beep_always && strchr(str, '\007')) ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/string.h:231:14: note: expected 'const char *' but argument is of type 'const unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ ./screen.c: In function 'BX_prepare_display': ./screen.c:389:11: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] *cont = empty_string, ^~~~~~~~~~~~ ./screen.c:403:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] words = (char *)get_string_var(WORD_BREAK_VAR); ^ ./screen.c:406:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] words = ", "; ^ ./screen.c:407:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(cont_ptr = (char *)get_string_var(CONTINUED_LINE_VAR))) ^ ./screen.c:408:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cont_ptr = (char *)empty_string; ^ ./screen.c:414:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] orig_str = space; ^ ./screen.c:574:31: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (*ptr == ' ' || strchr(words, *ptr)) ^~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/string.h:231:14: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern char *strchr (const char *__s, int __c) ^~~~~~ In file included from ./screen.c:42:0: /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] #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ ./screen.c:654:4: note: in expansion of macro 'malloc_strcpy' malloc_strcpy((char **)&(output[line++]), buffer); ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ ./screen.c:654:4: note: in expansion of macro 'malloc_strcpy' malloc_strcpy((char **)&(output[line++]), buffer); ^~~~~~~~~~~~~ ./screen.c:659:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strlen(cont_ptr) < indent)) ^~~~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ./screen.c:662:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(cont, "%-*s", indent, cont_ptr); ^~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./screen.c:15: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ In file included from /usr/include/stdlib.h:469:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: ./screen.c:670:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pos_copy = alloca(strlen(buffer) + strlen(cont) + 20); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/stdlib.h:469:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:22, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: ./screen.c:670:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pos_copy = alloca(strlen(buffer) + strlen(cont) + 20); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ./screen.c:671:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pos_copy, buffer+word_break); ^~~~~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./screen.c:15: /usr/include/bits/string3.h:107:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ./screen.c:671:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pos_copy, buffer+word_break); ^~~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./screen.c:15: /usr/include/bits/string3.h:107:1: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ./screen.c:673:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (buffer, cont); ^~~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./screen.c:15: /usr/include/bits/string3.h:107:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ./screen.c:673:20: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (buffer, cont); ^~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./screen.c:15: /usr/include/bits/string3.h:107:1: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ./screen.c:674:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (buffer, pos_copy); ^~~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./screen.c:15: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ./screen.c:674:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (buffer, pos_copy); ^~~~~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./screen.c:15: /usr/include/bits/string3.h:145:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ./screen.c:675:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] col = pos = strlen(buffer); ^~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from ./screen.c:42:0: /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] #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ ./screen.c:692:3: note: in expansion of macro 'malloc_strcpy' malloc_strcpy((char **)&(output[line++]),buffer); ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ ./screen.c:692:3: note: in expansion of macro 'malloc_strcpy' malloc_strcpy((char **)&(output[line++]),buffer); ^~~~~~~~~~~~~ ./screen.c:366:6: warning: variable 'gchar_mode' set but not used [-Wunused-but-set-variable] int gchar_mode; ^~~~~~~~~~ In file included from ./screen.c:42:0: ./screen.c: In function 'add_to_scratch_window_display_list': /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of '(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)' differ in signedness [-Wpointer-sign] #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ ./screen.c:756:2: note: in expansion of macro 'malloc_strcpy' malloc_strcpy(&my_line->line, str); ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'const unsigned char *' #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ ./screen.c:756:2: note: in expansion of macro 'malloc_strcpy' malloc_strcpy(&my_line->line, str); ^~~~~~~~~~~~~ ./screen.c: In function 'add_to_display_list': /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of '(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)' differ in signedness [-Wpointer-sign] #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ ./screen.c:811:2: note: in expansion of macro 'malloc_strcpy' malloc_strcpy(&window->display_ip->line, str); ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'const unsigned char *' #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ ./screen.c:811:2: note: in expansion of macro 'malloc_strcpy' malloc_strcpy(&window->display_ip->line, str); ^~~~~~~~~~~~~ ./screen.c: In function 'BX_repaint_window': ./screen.c:1432:16: warning: pointer targets in passing argument 2 of 'rite' differ in signedness [-Wpointer-sign] rite(window, curr_line->line); ^~~~~~~~~ ./screen.c:885:5: note: expected 'const unsigned char *' but argument is of type 'char *' int rite(Window *window, const unsigned char *str) ^~~~ ./screen.c: In function 'BX_create_additional_screen': ./screen.c:1550:18: warning: variable 'oldscreen' set but not used [-Wunused-but-set-variable] Screen *oldscreen, *new; ^~~~~~~~~ ./screen.c: In function 'do_screens': ./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] if (dgets(buffer, screen->fdin, 0, IO_BUFFER_SIZE, NULL)) ^~~~~~ ./screen.c:1871:15: note: expected 'char *' but argument is of type 'unsigned char *' ./screen.c:1873:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] *(buffer + strlen(buffer) - 1) = '\0'; ^~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ./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] parse_line(NULL, buffer, empty_string, 1, 0, 1); ^~~~~~ ./screen.c:1875:24: note: expected 'char *' but argument is of type 'unsigned char *' ./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] parse_line(NULL, buffer, NULL, 1, 0, 1); ^~~~~~ ./screen.c:1877:24: note: expected 'char *' but argument is of type 'unsigned char *' ./screen.c: In function 'BX_strip_ansi': ./screen.c:2332:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] maxpos = strlen(str); ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ./screen.c: In function 'BX_create_additional_screen': ./screen.c:1625:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ ./screen.c:1626:4: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c server.c server.c: In function 'do_server': server.c:477:50: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(des, (struct sockaddr *) &sa, &salen) != -1) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from server.c:16: /usr/include/sys/socket.h:135:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ server.c: In function 'connect_to_server_direct': server.c:1300:55: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] getsockname(new_des, (struct sockaddr *) localaddr, &address_len); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from server.c:16: /usr/include/sys/socket.h:121:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c status.c status.c: In function 'convert_sub_format': status.c:290:6: warning: variable 'dont_got_it' set but not used [-Wunused-but-set-variable] int dont_got_it = 1; ^~~~~~~~~~~ status.c: In function 'fix_status_buffer': status.c:476:19: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] str = strip_ansi(buffer); ^~~~~~ status.c:476:19: note: expected 'const unsigned char *' but argument is of type 'char *' status.c:598:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buffer, lhs_buffer); ^~~~~~~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from status.c:12: /usr/include/bits/string3.h:107:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ status.c:599:18: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); ^~~~~~~~~~ status.c:599:18: note: expected 'const char *' but argument is of type 'unsigned char *' status.c:450:6: warning: variable 'in_rhs' set but not used [-Wunused-but-set-variable] int in_rhs = 0, ^~~~~~ status.c: In function 'stat_convert_format': status.c:650:12: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(buffer, (status_expandos[i].callback_function)(win), BIG_BUFFER_SIZE); ^~~~~~ status.c:650:12: note: expected 'char *' but argument is of type 'unsigned char *' status.c:651:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pos = strlen(buffer); ^~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ status.c:657:25: warning: pointer targets in passing argument 2 of 'fix_status_buffer' differ in signedness [-Wpointer-sign] fix_status_buffer(win, buffer, 0); ^~~~~~ status.c:438:6: note: expected 'char *' but argument is of type 'unsigned char *' void fix_status_buffer(Window *win, char *buffer, int in_status) ^~~~~~~~~~~~~~~~~ In file included from status.c:38:0: /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] #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ status.c:658:9: note: in expansion of macro 'm_strdup' return m_strdup(buffer); ^~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) ^ status.c:658:9: note: in expansion of macro 'm_strdup' return m_strdup(buffer); ^~~~~~~~ status.c: In function 'make_status': status.c:746:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(str, BIG_BUFFER_SIZE - 1, ^~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from status.c:12: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (snprintf (char *__restrict __s, size_t __n, ^ 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] str = expand_alias(buffer, empty_string, &af, NULL); ^~~~~~ status.c:778:23: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:778:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] str = expand_alias(buffer, empty_string, &af, NULL); ^ status.c:779:12: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 224)' differ in signedness [-Wpointer-sign] strmcpy(buffer, str, BIG_BUFFER_SIZE); ^~~~~~ status.c:779:12: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:779:20: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 224)' differ in signedness [-Wpointer-sign] strmcpy(buffer, str, BIG_BUFFER_SIZE); ^~~ status.c:779:20: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:903:13: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(lhs_buffer, lhs_fillchar, ^~~~~~~~~~ status.c:903:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:903:25: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(lhs_buffer, lhs_fillchar, ^~~~~~~~~~~~ status.c:903:25: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:915:13: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(lhs_buffer, lhs_fillchar, ^~~~~~~~~~ status.c:915:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:915:25: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(lhs_buffer, lhs_fillchar, ^~~~~~~~~~~~ status.c:915:25: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:919:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buffer, lhs_buffer); ^~~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from status.c:12: /usr/include/bits/string3.h:107:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ status.c:919:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buffer, lhs_buffer); ^~~~~~~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from status.c:12: /usr/include/bits/string3.h:107:1: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ status.c:920:11: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); ^~~~~~ status.c:920:11: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:920:19: warning: pointer targets in passing argument 2 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(buffer, rhs_buffer, BIG_BUFFER_SIZE); ^~~~~~~~~~ status.c:920:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:921:11: warning: pointer targets in passing argument 1 of '(char * (*)(char *, const char *, int))*(global + 232)' differ in signedness [-Wpointer-sign] strmcat(buffer, ALL_OFF_STR, BIG_BUFFER_SIZE); ^~~~~~ status.c:921:11: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' status.c:935:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] strcmp(buffer, win->wset->status_line[status_line])) ^~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from status.c:38:0: /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] #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ status.c:939:4: note: in expansion of macro 'malloc_strcpy' malloc_strcpy(&win->wset->status_line[status_line], buffer); ^~~~~~~~~~~~~ /builddir/build/BUILD/BitchX-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) ^ status.c:939:4: note: in expansion of macro 'malloc_strcpy' malloc_strcpy(&win->wset->status_line[status_line], buffer); ^~~~~~~~~~~~~ status.c:951:16: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *))*(global + 2464)' differ in signedness [-Wpointer-sign] output_line(st); ^~ status.c:951:16: note: expected 'const unsigned char *' but argument is of type 'char *' status.c:725:7: warning: variable 'in_rhs' set but not used [-Wunused-but-set-variable] int in_rhs = 0, ^~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./term.c ./term.c: In function 'term_init': ./term.c:879:10: warning: unused variable 'tmp' [-Wunused-variable] char *tmp = termcap2; ^~~ ./term.c: In function 'control_mangle': ./term.c:1859:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return retval; ^~~~~~ ./term.c:1878:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return retval; ^~~~~~ ./term.c: In function 'get_term_capability': ./term.c:1913:21: warning: pointer targets in passing argument 1 of 'control_mangle' differ in signedness [-Wpointer-sign] control_mangle(*(char **)t->ptr) : ^ ./term.c:1852:8: note: expected 'unsigned char *' but argument is of type 'char *' char * control_mangle (unsigned char *text) ^~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing \ -DTRANSLATION_PATH=\"/usr/lib64/bx/translation\" -c ./translat.c gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../include -I. -I./include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c userlist.c userlist.c: In function 'real_check_auto': userlist.c:906:7: warning: variable 'this_server' set but not used [-Wunused-but-set-variable] int this_server = from_server; ^~~~~~~~~~~ userlist.c: In function 'check_channel_match': userlist.c:1446:12: warning: variable 'q' set but not used [-Wunused-but-set-variable] char *p, *q, *chan = NULL; ^ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c vars.c vars.c: In function 'do_stack_set': vars.c:1056:16: warning: variable 'prev' set but not used [-Wunused-but-set-variable] AliasStack1 *prev = NULL; ^~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c who.c who.c: In function 'whoreply': who.c:402:15: warning: variable 'chan' set but not used [-Wunused-but-set-variable] ChannelList *chan = NULL; ^~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c window.c window.c: In function 'BX_resize_window': window.c:695:6: warning: variable 'after' set but not used [-Wunused-but-set-variable] int after, ^~~~~ window.c: In function 'window_describe': window.c:3002:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (window->bind_channel) ^~ window.c:3005:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' say("\tQuery User: %s %s", ^~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c words.c gcc -Wl,-z,relro -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 \ && 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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' 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c wserv.c wserv.c: In function 'main': wserv.c:97:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, buffer, nread); ^~~~~~~~~~~~~~~~~~~~~~~ wserv.c:104:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, buffer, nread); ^~~~~~~~~~~~~~~~~~~~~~~ wserv.c: In function 'ignore': wserv.c:117:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, &foo, 1); ^~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -DWTERM_C -c ./network.c -o wnetwork.o ./network.c: In function 'BX_connect_by_number': ./network.c:484:49: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&name, &length)) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from ./network.c:9: /usr/include/sys/socket.h:121:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ./network.c:503:19: warning: unused variable 'hp' [-Wunused-variable] struct hostent *hp; ^~ ./network.c: In function 'my_accept': ./network.c:787:27: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] retval = accept(s, addr, addrlen); ^~~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from ./network.c:9: /usr/include/sys/socket.h:237:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -DWTERM_C -c ./compat.c -o bcompat.o gcc -Wl,-z,relro -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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' 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -DSTERM_C -c ./term.c -o sterm.o ./term.c: In function 'term_init': ./term.c:879:10: warning: unused variable 'tmp' [-Wunused-variable] char *tmp = termcap2; ^~~ ./term.c: In function 'control_mangle': ./term.c:1859:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return retval; ^~~~~~ ./term.c:1878:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return retval; ^~~~~~ ./term.c: In function 'get_term_capability': ./term.c:1913:21: warning: pointer targets in passing argument 1 of 'control_mangle' differ in signedness [-Wpointer-sign] control_mangle(*(char **)t->ptr) : ^ ./term.c:1852:8: note: expected 'unsigned char *' but argument is of type 'char *' char * control_mangle (unsigned char *text) ^~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c scr-bx.c scr-bx.c: In function 'get_cookie': scr-bx.c:382:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(cookie, 40, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~ scr-bx.c: In function 'reattach_tty': scr-bx.c:467:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, &parm, sizeof(struct param)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scr-bx.c:510:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, chr_c, 1); ^~~~~~~~~~~~~~~~~~ scr-bx.c:526:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, buffer, len); ^~~~~~~~~~~~~~~~~~~~~ scr-bx.c:531:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, buffer, len); ^~~~~~~~~~~~~~~~~~~~~ scr-bx.c: In function 'main': scr-bx.c:646:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./acro.c ./acro.c: In function 'acro_main': ./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] add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", args[0]), NULL, NULL, "acro"); ^ ./acro.c:54:38: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' ./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] add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", args[0]), NULL, NULL, "acro"); ^~~~ ./acro.c:54:97: note: expected 'int' but argument is of type 'void *' ./acro.c: In function 'warn_acro': ./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] add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); ^ ./acro.c:82:37: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' ./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] add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); ^~~~ ./acro.c:82:94: note: expected 'int' but argument is of type 'void *' ./acro.c: In function 'start_vote': ./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] add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))warn_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); ^ ./acro.c:92:38: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' ./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] add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))warn_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); ^~~~ ./acro.c:92:94: note: expected 'int' but argument is of type 'void *' ./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] add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); ^ ./acro.c:97:38: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' ./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] add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))start_vote, m_sprintf("%s", chan), NULL, NULL, "acro"); ^~~~ ./acro.c:97:95: note: expected 'int' but argument is of type 'void *' ./acro.c: In function 'warn_vote': ./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] add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))end_voting, m_sprintf("%s", chan), NULL, NULL, "acro"); ^ ./acro.c:112:37: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' ./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] add_timer(0, "Acro", 30 * 1000, 1, (int(*)(void *))end_voting, m_sprintf("%s", chan), NULL, NULL, "acro"); ^~~~ ./acro.c:112:94: note: expected 'int' but argument is of type 'void *' ./acro.c: In function 'end_voting': ./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] add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", chan), NULL, NULL, "acro"); ^ ./acro.c:140:38: note: expected 'int (*)(void *, char *)' but argument is of type 'int (*)(void *)' ./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] add_timer(0, "Acro", 60 * 1000, 1, (int(*)(void *))warn_acro, m_sprintf("%s", chan), NULL, NULL, "acro"); ^~~~ ./acro.c:140:94: note: expected 'int' but argument is of type 'void *' gcc -shared acro.o ../dllinit.o -fPIC -o acro.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[3]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c toc.c toc.c: In function 'roast_password': toc.c:305:16: warning: pointer targets in return differ in signedness [-Wpointer-sign] return rp; ^~ toc.c: In function 'toc_callback': toc.c:452:9: warning: variable 'name' set but not used [-Wunused-but-set-variable] char *name; ^~~~ toc.c:595:11: warning: variable 'w' set but not used [-Wunused-but-set-variable] int id, w; ^ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c network.c In file included from /usr/include/strings.h:143:0, from /usr/include/string.h:444, from network.c:33: In function 'bcopy', inlined from 'get_address' at network.c:52:3: /usr/include/bits/strings_fortified.h:25:3: warning: '__builtin___memmove_chk' writing 8 bytes into a region of size 4 overflows the destination [-Wstringop-overflow=] (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c interface.c interface.c: In function 'init_toc': interface.c:24:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(aim_host,TOC_HOST); ^~~~~~ interface.c:24:2: warning: incompatible implicit declaration of built-in function 'strcpy' interface.c:24:2: note: include '' or provide a declaration of 'strcpy' 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./toc.c ./toc.c: In function 'toc_add_input_stream': ./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] sock_read_id = add_socketread(fd, 0, 0, "bleh", func, func); ^~~~ ./toc.c:37:50: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' ./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] sock_read_id = add_socketread(fd, 0, 0, "bleh", func, func); ^~~~ ./toc.c:37:56: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./util.c ./util.c: In function 'statusput': ./util.c:63:17: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] add_to_screen(buf); ^~~ ./util.c:63:17: note: expected 'unsigned char *' but argument is of type 'char *' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -I./toc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./cmd.c In file included from ./cmd.c:30:0: ./cmd.c: In function 'achat': ./aim.h:13:24: warning: the address of 'current_chat' will always evaluate as 'true' [-Waddress] #define VALID_ARG(x) !(!x || ! *x || ! strcasecmp(x,"")) ^ ./cmd.c:443:8: note: in expansion of macro 'VALID_ARG' if ( VALID_ARG(current_chat) ) { ^~~~~~~~~ ./aim.h:13:24: warning: the address of 'current_chat' will always evaluate as 'true' [-Waddress] #define VALID_ARG(x) !(!x || ! *x || ! strcasecmp(x,"")) ^ ./cmd.c:477:9: note: in expansion of macro 'VALID_ARG' if ( VALID_ARG(current_chat) ) { ^~~~~~~~~ ./cmd.c:528:7: warning: variable 'anon' set but not used [-Wunused-but-set-variable] int anon = 0; ^~~~ ./cmd.c: In function 'aaway': ./cmd.c:640:8: warning: variable 'loc' set but not used [-Wunused-but-set-variable] char *loc; ^~~ ./cmd.c: In function 'aquery': ./cmd.c:688:16: warning: passing argument 1 of '(void (*)(int))*(global + 1720)' makes integer from pointer without a cast [-Wint-conversion] update_input(tmp); ^~~ ./cmd.c:688:16: note: expected 'int' but argument is of type 'Window * {aka struct WindowStru *}' In file included from /usr/include/string.h:535:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./cmd.c:13: In function 'strncpy', inlined from 'asignon' at ./cmd.c:76:3: /usr/include/bits/string3.h:125:10: warning: '__builtin___strncpy_chk': specified bound 513 exceeds the size 512 of the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'asignon' at ./cmd.c:80:3: /usr/include/bits/string3.h:125:10: warning: '__builtin___strncpy_chk': specified bound 513 exceeds the size 512 of the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./arcfour.c ./arcfour.c: In function 'init_box': ./arcfour.c:80:25: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&md5context, buf, sizeof(buf)); ^~~ In file included from ./arcfour.c:30:0: ./md5.h:13:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5Update(MD5_CTX *, unsigned char *, unsigned int); ^~~~~~~~~ ./arcfour.c:86:19: warning: pointer targets in passing argument 2 of 'arcfourInit' differ in signedness [-Wpointer-sign] arcfourInit(key, md5context.digest, 16); ^~~~~~~~~~ In file included from ./arcfour.c:29:0: ./arcfour.h:8:20: note: expected 'char *' but argument is of type 'unsigned char *' static inline void arcfourInit(arckey *, char *, unsigned short); ^~~~~~~~~~~ ./arcfour.c: In function 'arcfourInit': ./arcfour.c:96:16: warning: operation on 'x' may be undefined [-Wsequence-point] while((S[x] = --x)); /* Initialize S-box, backwards */ ^~~ ./arcfour.c: In function 'start_dcc_crypt': ./arcfour.c:212:50: warning: passing argument 2 of '(char * (*)(char *, char **))*(global + 672)' from incompatible pointer type [-Wincompatible-pointer-types] arcfourInit(tmpbox->inbox, next_arg(buf, &buf), 16); ^ ./arcfour.c:212:50: note: expected 'char **' but argument is of type 'char (*)[2049]' ./arcfour.c: In function 'start_dcc_chat': ./arcfour.c:250:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] new_s = accept(s, (struct sockaddr *) &remaddr, &sra); ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from ./arcfour.c:10: /usr/include/sys/socket.h:237:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ ./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] if ((add_socketread(new_s, ntohs(remaddr.sin_port), flags, nick, get_dcc_encrypt, NULL)) < 0) ^~~~~~~~~~~~~~~ ./arcfour.c:253:67: note: expected 'void (*)(int)' but argument is of type 'int (*)(int, int, char *, int, int)' ./arcfour.c: In function 'dcc_sdcc': ./arcfour.c:282:11: warning: variable 'new_sdcc' set but not used [-Wunused-but-set-variable] DCC_int *new_sdcc; ^~~~~~~~ ./arcfour.c: In function 'send_dcc_encrypt': ./arcfour.c:168:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, buf, len); ^~~~~~~~~~~~~~~~~~~~~ ./arcfour.c: In function 'start_dcc_crypt': ./arcfour.c:207:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, buf, len); ^~~~~~~~~~~~~~~~~~ ./arcfour.c: In function 'init_box': ./arcfour.c:69:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: ./arcfour.c:53:21: warning: 'arc_ver' defined but not used [-Wunused-const-variable=] static const double arc_ver = 1.0; ^~~~~~~ gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./md5.c ./md5.c: In function 'Transform': ./md5.c:219:4: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset((void *)in, 0, sizeof(in)); ^~~~~~ ./md5.c:219:4: warning: incompatible implicit declaration of built-in function 'memset' ./md5.c:219:4: note: include '' or provide a declaration of 'memset' 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./autocycle.c ./autocycle.c: In function 'auto_cycle': ./autocycle.c:24:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int netsplit = (int)next_arg(args, &args); ^ gcc -shared autocycle.o ../dllinit.o -fPIC -o autocycle.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./blowfish.c ./blowfish.c: In function 'blowfish_init': ./blowfish.c:161:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(blowbox[bx].key, key, keybytes); ^~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./blowfish.h:1, from ./blowfish.c:10: /usr/include/bits/string3.h:122:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ./blowfish.c: In function 'encrypt_string': ./blowfish.c:237:16: warning: pointer targets in passing argument 1 of 'blowfish_init' differ in signedness [-Wpointer-sign] blowfish_init(key, strlen(key)); ^~~ ./blowfish.c:104:13: note: expected 'unsigned char *' but argument is of type 'char *' static void blowfish_init (UBYTE_08bits * key, short keybytes) ^~~~~~~~~~~~~ ./blowfish.c: In function 'decrypt_string': ./blowfish.c:282:16: warning: pointer targets in passing argument 1 of 'blowfish_init' differ in signedness [-Wpointer-sign] blowfish_init(key, strlen(key)); ^~~ ./blowfish.c:104:13: note: expected 'unsigned char *' but argument is of type 'char *' static void blowfish_init (UBYTE_08bits * key, short keybytes) ^~~~~~~~~~~~~ gcc -shared blowfish.o ../dllinit.o -fPIC -o blowfish.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./cavlink.c ./cavlink.c: In function 'cav_say': ./cavlink.c:72:18: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] add_to_screen(cavbuf); ^~~~~~ ./cavlink.c:72:18: note: expected 'unsigned char *' but argument is of type 'char *' ./cavlink.c: In function 'cattack': ./cavlink.c:161:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char *tmp, *times = "6", *target = NULL, *q; ^~~ ./cavlink.c: In function 'cav_away': ./cavlink.c:825:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (tmp = tabkey_array;tmp; tmp = tmp->next); ^~~ ./cavlink.c:826:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' { ^ ./cavlink.c: In function 'handle_msg': ./cavlink.c:836:7: warning: variable 'to' set but not used [-Wunused-but-set-variable] char *to, *nick, *host, *str; ^~ ./cavlink.c: In function 'cavlink_handler': ./cavlink.c:857:5: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^~~~~ gcc -shared cavlink.o ../dllinit.o -fPIC -o cavlink.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./encrypt.c ./encrypt.c: In function 'func_encode': ./encrypt.c:28:31: warning: pointer targets in passing argument 3 of '(void (*)(char *, int, char *))*(global + 1640)' differ in signedness [-Wpointer-sign] my_encrypt(new, strlen(new), encode_string); ^~~~~~~~~~~~~ ./encrypt.c:28:31: note: expected 'char *' but argument is of type 'unsigned char *' ./encrypt.c: In function 'func_decode': ./encrypt.c:38:31: warning: pointer targets in passing argument 3 of '(void (*)(char *, int, char *))*(global + 1648)' differ in signedness [-Wpointer-sign] my_decrypt(new, strlen(new), encode_string); ^~~~~~~~~~~~~ ./encrypt.c:38:31: note: expected 'char *' but argument is of type 'unsigned char *' ./encrypt.c: In function 'Encrypt_Init': ./encrypt.c:56:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] encode_string = (char *)new_malloc(512); ^ gcc -shared encrypt.o ../dllinit.o -fPIC -o encrypt.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./fserv.c ./fserv.c: In function 'scan_mp3_dir': ./fserv.c:599:46: warning: pointer targets in passing argument 3 of 'get_bitrate' differ in signedness [-Wpointer-sign] new->bitrate = get_bitrate(fn, &new->time, &new->freq, &new->id3, &new->filesize, &new->stereo); ^ ./fserv.c:462:6: note: expected 'unsigned int *' but argument is of type 'int *' long get_bitrate(char *filename, time_t *mp3_time, unsigned int *freq_rate, int *id3, unsigned long *filesize, int *stereo) ^~~~~~~~~~~ ./fserv.c: In function 'impress_me': ./fserv.c:980: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] add_timer(0, empty_string, timer * 1000, 1, impress_me, NULL, NULL, -1, "fserv"); ^~~~~~~~~~ ./fserv.c:980:46: note: expected 'int (*)(void *, char *)' but argument is of type 'void (*)(void *)' ./fserv.c: In function 'Fserv_Init': ./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] add_timer(0, empty_string, get_dllint_var("fserv_time"), 1, impress_me, NULL, NULL, -1, "fserv"); ^~~~~~~~~~ ./fserv.c:1165:62: note: expected 'int (*)(void *, char *)' but argument is of type 'void (*)(void *)' ./fserv.c: In function 'fserv_read': ./fserv.c:1057:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, IRCD_BUFFER_SIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fserv.c:1088:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, IRCD_BUFFER_SIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared fserv.o ../dllinit.o -fPIC -o fserv.so fserv.o: In function `make_temp_list': /builddir/build/BUILD/BitchX-1.2.1/dll/fserv/./fserv.c:732: warning: the use of `tmpnam' is dangerous, better use `mkstemp' gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./hint.c ./hint.c: In function 'show_hint': ./hint.c:56:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(hint_buf, HINT_MAX_LEN, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared hint.o ../dllinit.o -fPIC -o hint.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./identd.c ./identd.c: In function 'identd_handler': ./identd.c:63:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((sock = accept(s, (struct sockaddr *) &remaddr, &sra)) > -1) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from ./identd.c:11: /usr/include/sys/socket.h:237:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./nap.c ./nap.c: In function 'connectbynumber': ./nap.c:259:49: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&name, &length)) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from ./nap.c:10: /usr/include/sys/socket.h:121:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ./nap.c: In function 'nap_say': ./nap.c:413:18: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] add_to_screen(napbuf); ^~~~~~ ./nap.c:413:18: note: expected 'unsigned char *' but argument is of type 'char *' ./nap.c: In function 'nap_put': ./nap.c:440:18: warning: pointer targets in passing argument 1 of '(void (*)(unsigned char *))*(global + 2448)' differ in signedness [-Wpointer-sign] add_to_screen(napbuf); ^~~~~~ ./nap.c:440:18: note: expected 'unsigned char *' but argument is of type 'char *' ./nap.c: In function 'cmd_fileinfo': ./nap.c:1600:7: warning: variable 'checksum' set but not used [-Wunused-but-set-variable] char *checksum; ^~~~~~~~ ./nap.c:1597:7: warning: variable 'ip' set but not used [-Wunused-but-set-variable] char *ip; ^~ ./nap.c:1596:7: warning: variable 'nick' set but not used [-Wunused-but-set-variable] char *nick; ^~~~ ./nap.c: In function 'naplink_connectserver': ./nap.c:1214:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, tmp, sizeof(tmpstr)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./napsend.c ./napsend.c: In function 'get_bitrate': ./napsend.c:630:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(tmp, "PK\003\004")) /* zip magic */ ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:632:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(tmp, "PE") || !strcmp(tmp, "MZ")) /* windows Exe magic */ ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:632:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(tmp, "PE") || !strcmp(tmp, "MZ")) /* windows Exe magic */ ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:634:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(tmp, "\037\235")) /* gzip/compress */ ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:636:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:636:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:636:70: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(tmp, "\037\213") || !strcmp(tmp, "\037\036") || !strcmp(tmp, "BZh")) /* gzip/compress/bzip2 */ ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:638:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(tmp, "\177ELF")) /* elf binary */ ^~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c: In function 'scan_mp3_dir': ./napsend.c:825:45: warning: pointer targets in passing argument 3 of 'get_bitrate' differ in signedness [-Wpointer-sign] new->bitrate = get_bitrate(r, &new->time, &new->freq, &new->filesize, &new->stereo, &id3, &new->type); ^ ./napsend.c:608:6: note: expected 'unsigned int *' but argument is of type 'int *' long get_bitrate(int fdes, time_t *mp3_time, unsigned int *freq_rate, unsigned long *filesize, int *stereo, long *id3, int *mime_type) ^~~~~~~~~~~ ./napsend.c: In function 'nap_firewall_start': ./napsend.c:1536:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (*buffer && !strcmp(buffer, "SEND")) ^~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c: In function 'napfile_read': ./napsend.c:1564:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] args = &buff[0]; ^ ./napsend.c:1565:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!*args || !strcmp(buff, "FILE NOT FOUND") || !strcmp(buff, "INVALID REQUEST")) ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:1565:60: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!*args || !strcmp(buff, "FILE NOT FOUND") || !strcmp(buff, "INVALID REQUEST")) ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:141:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ./napsend.c:1575:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(fbuff, filename); ^~~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./napsend.c:3: /usr/include/bits/string3.h:107:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ./napsend.c:1576:20: warning: pointer targets in passing argument 1 of 'convertnap_unix' differ in signedness [-Wpointer-sign] convertnap_unix(fbuff); ^~~~~ ./napsend.c:171:14: note: expected 'char *' but argument is of type 'unsigned char *' static char *convertnap_unix(char *arg) ^~~~~~~~~~~~~~~ ./napsend.c:1579:65: warning: pointer targets in passing argument 5 of 'find_in_getfile' differ in signedness [-Wpointer-sign] || !(gf = find_in_getfile(&napster_sendqueue, 0, nick, NULL, fbuff, -1, NAP_UPLOAD)) ^~~~~ In file included from ./napsend.c:22:0: ./napster.h:402:10: note: expected 'char *' but argument is of type 'unsigned char *' GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); ^~~~~~~~~~~~~~~ ./napsend.c:1584:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buff, "0INVALID REQUEST"); ^~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./napsend.c:3: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ./napsend.c:1587:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buff, "0FILE NOT FOUND"); ^~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./napsend.c:3: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ./napsend.c:1588:66: warning: pointer targets in passing argument 5 of 'find_in_getfile' differ in signedness [-Wpointer-sign] if ((gf = find_in_getfile(&napster_sendqueue, 1, nick, NULL, fbuff, -1, NAP_UPLOAD))) ^~~~~ In file included from ./napsend.c:22:0: ./napster.h:402:10: note: expected 'char *' but argument is of type 'unsigned char *' GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); ^~~~~~~~~~~~~~~ ./napsend.c:1591:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] write(snum, buff, strlen(buffer)); ^~~~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ./napsend.c:1598:60: warning: pointer targets in passing argument 5 of 'find_in_getfile' differ in signedness [-Wpointer-sign] gf = find_in_getfile(&napster_sendqueue, 1, nick, NULL, fbuff, -1, NAP_UPLOAD); ^~~~~ In file included from ./napsend.c:22:0: ./napster.h:402:10: note: expected 'char *' but argument is of type 'unsigned char *' GetFile *find_in_getfile(GetFile **, int, char *, char *, char *, int, int); ^~~~~~~~~~~~~~~ ./napsend.c:1606:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buff, "%lu", gf->filesize); ^~~~ In file included from /usr/include/features.h:421:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:35, from ./napsend.c:3: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ./napsend.c:1607:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] write(snum, buff, strlen(buff)); ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ./napsend.c: In function 'naplink_handleconnect': ./napsend.c:1653:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp(buff, "GET", 3)) ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ./napsend.c:1660:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp(buff, "SEND", 4)) ^~~~ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./napsend.c:3: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ./napsend.c: In function 'naplink_handlelink': ./napsend.c:1675:57: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((sock = accept(snum, (struct sockaddr *) &remaddr, &sra)) > -1) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from ./napsend.c:3: /usr/include/sys/socket.h:237:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ ./napsend.c: In function 'get_bitrate': ./napsend.c:628:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fdes, tmp, 4); ^~~~~~~~~~~~~~~~~~ ./napsend.c: In function 'cmd_firewall_request': ./napsend.c:1342:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(getfd, "1", 1); ^~~~~~~~~~~~~~~~~~~~ ./napsend.c: In function 'napfile_read': ./napsend.c:1591:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(snum, buff, strlen(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./napsend.c:1607:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(snum, buff, strlen(buff)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./napsend.c: In function 'naplink_handleconnect': ./napsend.c:1649:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(snum, buff, 1); ^~~~~~~~~~~~~~~~~~~ ./napsend.c:1656:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(snum, buff, 3); ^~~~~~~~~~~~~~~~~~~ ./napsend.c:1663:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(snum, buff, 4); ^~~~~~~~~~~~~~~~~~~ ./napsend.c: In function 'naplink_handlelink': ./napsend.c:1679:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "\n", 1); ^~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./nap_file.c ./nap_file.c: In function 'cmd_getfile': ./nap_file.c:742:5: warning: variable 'speed' set but not used [-Wunused-but-set-variable] int speed; ^~~~~ ./nap_file.c: In function 'nap_getfile': ./nap_file.c:577:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gf->write, indata, rc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nap_file.c: In function 'nap_firewall_get': ./nap_file.c:693:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(snum, indata, strlen(indata)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nap_file.c: In function 'cmd_getfileinfo': ./nap_file.c:724:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gf->socket, "GET", 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nap_file.c:726:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gf->socket, indata, strlen(indata)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./napfunc.c ./napfunc.c: In function 'func_connected': ./napfunc.c:114:57: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(nap_socket, (struct sockaddr *)&name, &len)) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:63:0, from ./napfunc.c:2: /usr/include/sys/socket.h:135:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ./napfunc.c: In function 'func_raw': ./napfunc.c:160:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(nap_socket, &n_data, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./md5.c ./md5.c: In function 'MD5Final': ./md5.c:182:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); ^ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./pkga.c ./pkga.c: In function 'new_dcc_output': ./pkga.c:126:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, buf, len); ^~~~~~~~~~~~~~~~~~ gcc -shared pkga.o ../dllinit.o -fPIC -o pkga.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./possum.c ./possum.c: In function 'parse_header': ./possum.c:105:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets((char *)s, MAX_FBUFFER_SIZE, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./possum.c:123:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets((char *)s, MAX_FBUFFER_SIZE, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./possum.c: In function 'read_mbox': ./possum.c:149:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, MAX_FBUFFER_SIZE, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:936:0, from ./possum.c:3: In function 'fgets', inlined from 'pm_read' at ./possum.c:212:9: /usr/include/bits/stdio2.h:260:9: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./llist.c ./llist.c: In function 'lpush': ./llist.c:43:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(new_node->object, object, l->size); ^~~~~~ ./llist.c:43:7: warning: incompatible implicit declaration of built-in function 'memcpy' ./llist.c:43:7: note: include '' or provide a declaration of 'memcpy' 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' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gcc -I. -I/builddir/build/BUILD/BitchX-1.2.1/include -I../../include -I. -I./include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./qbx.c ./qbx.c: In function 'query_q_server': ./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] qfd = connect_by_number(server, &port, SERVICE_CLIENT, PROTOCOL_UDP, 1); ^ ./qbx.c:200:34: note: expected 'short unsigned int *' but argument is of type 'int *' 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -c ./wavplay.c ./wavplay.c: In function 'validate_wav_header': ./wavplay.c:49:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(w->riffID, WAV_RIFF_MAGIC, 4)) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./wavplay.c:1: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ./wavplay.c:52:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(w->waveID, WAV_WAVE_MAGIC, 4)) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./wavplay.c:1: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ./wavplay.c:55:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(w->fmtID, WAV_FMT_MAGIC, 4)) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./wavplay.c:1: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ./wavplay.c:69:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(w->dataID, WAV_DATA_MAGIC, 4)) ^ In file included from /builddir/build/BUILD/BitchX-1.2.1/include/irc_std.h:21:0, from /builddir/build/BUILD/BitchX-1.2.1/include/irc.h:109, from ./wavplay.c:1: /usr/include/string.h:144:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ gcc -shared wavplay.o ../dllinit.o -fPIC -o wavplay.so gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll' Now type "gmake install" to install BitchX globally (if you're root), or else you can type "gmake install_local" to install BitchX to your home directory. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.x3VQ5F + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64 ++ dirname /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64 + cd BitchX-1.2.1 + make DESTDIR=/builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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-11.fc27.aarch64/usr/bin /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx \ /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/man/man1 /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/translation /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/script \ /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/help mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/bin mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64 mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/man mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/translation mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/script mkdir /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/help /usr/bin/install -c source/BitchX /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/bin/BitchX-1.2.1 rm -f /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/bin/BitchX ln -s BitchX-1.2.1 /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/bin/BitchX /usr/bin/install -c -m 644 ./BitchX.help /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/BitchX.help /usr/bin/install -c -m 644 ./BitchX.ircnames /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/BitchX.ircnames /usr/bin/install -c -m 644 ./BitchX.quit /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/BitchX.quit /usr/bin/install -c -m 644 ./BitchX.reasons /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/BitchX.kick /usr/bin/install -c source/wserv /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/wserv /usr/bin/install -c source/scr-bx /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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-11.fc27.aarch64' install gmake[1]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[3]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim/toc' gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' /usr/bin/install -c -d /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' /usr/bin/install -c autobot.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/abot' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' /usr/bin/install -c acro.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/acro' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' /usr/bin/install -c aim.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/aim' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' /usr/bin/install -c arcfour.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/arcfour' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' /usr/bin/install -c autocycle.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/autocycle' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' /usr/bin/install -c blowfish.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/blowfish' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' /usr/bin/install -c cavlink.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/cavlink' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' /usr/bin/install -c encrypt.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/encrypt' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' /usr/bin/install -c fserv.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/fserv' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' /usr/bin/install -c hint.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins /usr/bin/install -c ./BitchX.hints /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins/BitchX.hints gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/hint' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' /usr/bin/install -c identd.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/identd' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' /usr/bin/install -c nap.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/nap' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' /usr/bin/install -c pkga.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/pkga' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' /usr/bin/install -c possum.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/possum' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' /usr/bin/install -c qbx.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qbx' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' /usr/bin/install -c qmail.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/qmail' gmake[2]: Entering directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' /usr/bin/install -c wavplay.so /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/plugins gmake[2]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll/wavplay' Your plugins [abot acro aim arcfour autocycle blowfish cavlink encrypt fserv hint identd nap pkga possum qbx qmail wavplay] are now located in /usr/lib64/bx/plugins gmake[1]: Leaving directory '/builddir/build/BUILD/BitchX-1.2.1/dll' (find /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/man/man1/BitchX.1 -type f ! -name '*.bz2' ! -name '*.gz' | \ (xargs bzip2 -9f || xargs gzip -9f) || :) 2>/dev/null cd ./bitchx-docs && \ find . -name .svn -prune -o -print | cpio -pdmu -R `id -un`:`id -gn` "/builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/help" 1730 blocks (find "/builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/help" -type f ! -name '*.bz2' ! -name '*.gz' | \ (xargs bzip2 -9f || xargs gzip -9f) || :) 2>/dev/null (find /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/translation -type f ! -name '*.bz2' ! -name '*.gz' | \ (xargs bzip2 -9f || xargs gzip -9f) || :) 2>/dev/null BitchX is now installed. Type "/usr/bin/BitchX" to start. + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/BitchX-1.2.1 extracting debug info from /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/lib64/bx/wserv extracting debug info from /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/bin/BitchX-1.2.1 extracting debug info from /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/bin/scr-bx /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/bin/BitchX-1.2.1.debug to /usr/lib/debug/usr/bin/BitchX.debug 5918 blocks + /usr/lib/rpm/check-buildroot + /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 + /usr/lib/rpm/brp-python-hardlink Processing files: BitchX-1.2.1-11.fc27.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fXzPZg + umask 022 + cd /builddir/build/BUILD + cd BitchX-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/doc/BitchX + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/doc/BitchX + cp -pr Changelog /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/doc/BitchX + cp -pr COPYRIGHT /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/doc/BitchX + cp -pr README /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/doc/BitchX + cp -pr README-1.1 /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64/usr/share/doc/BitchX + exit 0 Provides: BitchX = 1.2.1-11.fc27 BitchX(aarch-64) = 1.2.1-11.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(GLIBC_2.17)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libncurses.so.6()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.17)(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-debuginfo-1.2.1-11.fc27.aarch64 Provides: BitchX-debuginfo = 1.2.1-11.fc27 BitchX-debuginfo(aarch-64) = 1.2.1-11.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64 Wrote: /builddir/build/RPMS/BitchX-1.2.1-11.fc27.aarch64.rpm Wrote: /builddir/build/RPMS/BitchX-debuginfo-1.2.1-11.fc27.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pcDwXi + umask 022 + cd /builddir/build/BUILD + cd BitchX-1.2.1 + rm -rf /builddir/build/BUILDROOT/BitchX-1.2.1-11.fc27.aarch64 + exit 0 Child return code was: 0