D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/eggdrop-1.8.2-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.D8YQIt + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf eggdrop-1.8.2 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/eggdrop-1.8.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd eggdrop-1.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3co7fJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd eggdrop-1.8.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CPPFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS' + CPPFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --prefix=/usr --libdir=/usr/lib64 This is Eggdrop's GNU configure script. It's going to run a bunch of tests to hopefully make your compile work without much twiddling. checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for icc... no checking whether the compiler understands -pipe... yes checking whether the compiler understands -Wall... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking whether ln -s works... yes checking whether head -n 1 works... yes checking for strip... strip checking for gawk... gawk checking for basename... basename checking for uname... uname checking for socket in -lsocket... no checking for connect in -lnsl... yes checking for gethostbyname in -ldns... no checking for dlopen in -ldl... yes checking for tan in -lm... yes checking for pthread_mutex_init in -lpthread... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking system type... Linux checking system release... 4.4.5-server-1.mga6 checking module loading capabilities... checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking loader.h usability... no checking loader.h presence... no checking for loader.h... no checking rld.h usability... no checking rld.h presence... no checking for rld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking mach-o/rld.h usability... no checking mach-o/rld.h presence... no checking for mach-o/rld.h... no checking for dlopen... yes checking for load... no checking for NSLinkModule... no checking for shl_load... no checking for rld_load... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/rusage.h usability... no checking sys/rusage.h presence... no checking for sys/rusage.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for intptr_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for working volatile... yes checking for socklen_t... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in eggint.h (assuming C99 compatible system) checking for clock... yes checking for dprintf... yes checking for fsync... yes checking for getdtablesize... yes checking for getrusage... yes checking for inet_aton... yes checking for isascii... yes checking for mbrlen... yes checking for memcpy... yes checking for memset... yes checking for random... yes checking for rand... yes checking for lrand48... yes checking for rename... yes checking for setpgid... yes checking for sigaction... yes checking for sigemptyset... yes checking for snprintf... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for uname... yes checking for vsnprintf... yes checking for inet_ntop... yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for vprintf... yes checking for _doprnt... no checking for strftime... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes configure: Autoconfiguring Tcl with tclConfig.sh checking for correct TEA configuration... ok (TEA 3.10) configure: configuring Eggdrop 1.8.2 checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking platform... unix checking for sin... no checking for main in -lieee... yes checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking for Tcl linker... ${CC} -shared ${CFLAGS} ${LDFLAGS} -fPIC -Wl,-soname,${@} checking for Tcl version... 8.6.7 checking for Tcl library flags... -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm checking for Tcl header flags... -I/usr/include checking for system IPv6 support... yes checking for inet_pton... yes checking for gethostbyname2... yes checking for struct in6_addr... yes checking for the in6addr_any constant... yes checking for the in6addr_loopback constant... yes checking for struct sockaddr_in6... yes checking whether to enable TLS support... autodetect checking for openssl/ssl.h... yes checking for openssl/x509v3.h... yes checking for SSL_accept in -lssl... yes checking for X509_digest in -lcrypto... yes checking for EVP_md5... yes checking for EVP_sha1... yes checking for a2i_IPADDRESS... yes checking for hex_to_string... no checking for OPENSSL_hexstr2buf... yes checking for string_to_hex... no checking for OPENSSL_buf2hexstr... yes checking for OpenSSL... yes checking for RAND_status... yes checking for ASN1_STRING_get0_data... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking for MD5_Init... yes checking for MD5_Update... yes checking for MD5_Final... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating scripts/Makefile config.status: creating src/Makefile config.status: creating src/compat/Makefile config.status: creating src/md5/Makefile config.status: creating src/mod/Makefile config.status: creating config.h config.status: executing eggint.h commands config.status: creating eggint.h : __EGGINT_H config.status: executing replace-if-changed commands creating lush.h config.status: executing catch-make-rebuild commands Operating System: Linux 4.4.5-server-1.mga6 IPv6 Support: yes Tcl version: 8.6.7 (threaded) SSL/TLS Support: yes (OpenSSL 1.1.0f 25 May 2017) If you experience any problems compiling Eggdrop, please read the compile guide, found in doc/COMPILE-GUIDE. Type 'make config' to configure the modules, or type 'make iconfig' to interactively choose which modules to compile. + make config Detecting modules................... done. Calculating dependencies.................. done. Building ./src/mod/Makefile... done. make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod' Configuring module 'compress'. configure: creating cache ../../../config.cache checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gzopen in -lz... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes configure: updating cache ../../../config.cache configure: creating ./config.status config.status: creating Makefile Configuring module 'dns'. configure: loading cache ../../../config.cache checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for sys/types.h... (cached) yes checking for netinet/in.h... yes checking for arpa/nameser.h... yes checking for netdb.h... yes checking for resolv.h... yes checking for a working resolver library... yes (-lresolv) configure: updating cache ../../../config.cache configure: creating ./config.status config.status: creating Makefile make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod' Building ./src/mod/Makefile... done. You can now compile the bot, using "make". + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 'LD=gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' 'SHLIB_LD=gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' 'MOD_LD=gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/assoc.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././assoc.mod/assoc.c mv assoc.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../assoc.so ../assoc.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../assoc.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/assoc.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/blowfish.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././blowfish.mod/blowfish.c mv blowfish.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../blowfish.so ../blowfish.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../blowfish.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/blowfish.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/channels.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././channels.mod/channels.c mv channels.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../channels.so ../channels.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../channels.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/channels.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/compress.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././compress.mod/compress.c rm -f ../compress.o mv compress.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../compress.so ../compress.o -lz -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../compress.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/compress.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/console.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././console.mod/console.c mv console.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../console.so ../console.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../console.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/console.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/ctcp.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././ctcp.mod/ctcp.c mv ctcp.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../ctcp.so ../ctcp.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../ctcp.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/ctcp.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/dns.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././dns.mod/dns.c mv dns.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../dns.so ../dns.o -lresolv -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../dns.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/dns.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/filesys.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././filesys.mod/filesys.c In file included from .././filesys.mod/filesys.c:137:0: .././filesys.mod/filedb3.c: In function 'filedb_delfile': .././filesys.mod/filedb3.c:190:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&fdh, 1, sizeof(filedb_header), fdb); /* Read header */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/filedb3.c: In function '_filedb_getfile': .././filesys.mod/filedb3.c:433:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&fdh, 1, sizeof(filedb_header), fdb); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/filedb3.c:416:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread((entry), 1, (len), (fdb)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/filedb3.c:461:5: note: in expansion of macro 'filedb_read' filedb_read(fdb, fdbe->filename, fdh.filename_len); ^~~~~~~~~~~ .././filesys.mod/filedb3.c:416:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread((entry), 1, (len), (fdb)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/filedb3.c:467:5: note: in expansion of macro 'filedb_read' filedb_read(fdb, fdbe->desc, fdh.desc_len); ^~~~~~~~~~~ .././filesys.mod/filedb3.c:416:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread((entry), 1, (len), (fdb)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/filedb3.c:468:5: note: in expansion of macro 'filedb_read' filedb_read(fdb, fdbe->chan, fdh.chan_len); ^~~~~~~~~~~ .././filesys.mod/filedb3.c:416:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread((entry), 1, (len), (fdb)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/filedb3.c:469:5: note: in expansion of macro 'filedb_read' filedb_read(fdb, fdbe->uploader, fdh.uploader_len); ^~~~~~~~~~~ .././filesys.mod/filedb3.c:416:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread((entry), 1, (len), (fdb)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/filedb3.c:470:5: note: in expansion of macro 'filedb_read' filedb_read(fdb, fdbe->flags_req, fdh.flags_req_len); ^~~~~~~~~~~ .././filesys.mod/filedb3.c:416:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread((entry), 1, (len), (fdb)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/filedb3.c:471:5: note: in expansion of macro 'filedb_read' filedb_read(fdb, fdbe->sharelink, fdh.sharelink_len); ^~~~~~~~~~~ .././filesys.mod/filedb3.c: In function 'filedb_readtop': .././filesys.mod/filedb3.c:164:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fdbt, 1, sizeof(filedb_top), fdb); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .././filesys.mod/filesys.c:139:0: .././filesys.mod/dbcompat.c: In function 'convert_version1': .././filesys.mod/dbcompat.c:148:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&fdb1, sizeof(filedb1), 1, fdb_s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././filesys.mod/dbcompat.c: In function 'convert_version2': .././filesys.mod/dbcompat.c:183:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&fdb2, sizeof(filedb2), 1, fdb_s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv filesys.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../filesys.so ../filesys.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../filesys.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/filesys.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/irc.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././irc.mod/irc.c In file included from .././irc.mod/irc.c:71:0: .././irc.mod/mode.c: In function 'gotmode': .././irc.mod/mode.c:1173:20: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (op == '\0') ^~ .././irc.mod/mode.c:1173:17: note: did you mean to dereference the pointer? if (op == '\0') ^ .././irc.mod/mode.c:1202:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (op == '\0') { ^~ .././irc.mod/mode.c:1202:15: note: did you mean to dereference the pointer? if (op == '\0') { ^ In file included from .././irc.mod/irc.c:70:0: .././irc.mod/chan.c: In function 'kick_all': .././irc.mod/chan.c:397:20: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././irc.mod/irc.c: In function 'check_lonely_channel': .././irc.mod/irc.c:573:22: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././irc.mod/irc.c: In function 'check_expired_chanstuff': .././irc.mod/irc.c:667:30: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././irc.mod/irc.c:682:26: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././irc.mod/irc.c: In function 'hand_on_chan.isra.7': .././irc.mod/irc.c:273:20: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .././irc.mod/irc.c:70:0: .././irc.mod/chan.c: In function 'detect_chan_flood': .././irc.mod/chan.c:330:26: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .././irc.mod/irc.c:70:0: .././irc.mod/chan.c: In function 'refresh_ban_kick': .././irc.mod/chan.c:448:24: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .././irc.mod/irc.c:70:0: .././irc.mod/chan.c: In function 'check_this_ban.part.43': .././irc.mod/chan.c:645:23: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(user, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .././irc.mod/irc.c:70:0: .././irc.mod/chan.c: In function 'check_this_member.isra.51': .././irc.mod/chan.c:823:18: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .././irc.mod/irc.c:70:0: .././irc.mod/chan.c: In function 'recheck_channel': .././irc.mod/chan.c:880:20: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .././irc.mod/irc.c:70:0: .././irc.mod/chan.c: In function 'check_this_user': .././irc.mod/chan.c:853:22: warning: '%s' directive writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-overflow=] sprintf(s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././irc.mod/irc.c:27: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv irc.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../irc.so ../irc.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../irc.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/irc.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/notes.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././notes.mod/notes.c .././notes.mod/notes.c: In function 'tcl_listnotes': .././notes.mod/notes.c:456:19: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(s, "%d", i); ^~ .././notes.mod/notes.c:456:18: note: directive argument in the range [1, 2147483647] sprintf(s, "%d", i); ^~~~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././notes.mod/notes.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././notes.mod/notes.c: In function 'notes_hourly': .././notes.mod/notes.c:842:25: warning: '%s' directive writing up to 323 bytes into a region of size between 223 and 255 [-Wformat-overflow=] sprintf(s1, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../../../lush.h:4, from ../../../src/main.h:32, from ../../../src/mod/module.h:27, from .././notes.mod/notes.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 357 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv notes.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../notes.so ../notes.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../notes.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/notes.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/seen.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././seen.mod/seen.c mv seen.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../seen.so ../seen.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../seen.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/seen.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/server.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././server.mod/server.c mv server.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../server.so ../server.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../server.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/server.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/share.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././share.mod/share.c mv share.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../share.so ../share.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../share.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/share.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/transfer.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././transfer.mod/transfer.c .././transfer.mod/transfer.c: In function 'pump_file_to_sock': .././transfer.mod/transfer.c:227:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bf, actual_size, 1, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv transfer.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../transfer.so ../transfer.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../transfer.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/transfer.mod' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/uptime.mod' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -DMAKING_MODS -c .././uptime.mod/uptime.c mv uptime.o ../ gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../../../uptime.so ../uptime.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl touch ../../../uptime.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod/uptime.mod' All modules compiled. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/mod' Test run of ./eggdrop -v: /bin/sh: ./eggdrop: Permission denied make: *** [Makefile:220: modules] Error 126 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src' This may take a while. Go get some runts. gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c bg.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c botcmd.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c botmsg.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c botnet.c botnet.c: In function 'answer_local_whom': botnet.c:500:27: warning: 'h]' directive writing 2 bytes into a region of size between 1 and 30 [-Wformat-overflow=] sprintf(idle, " [idle %lud%luh]", days, hrs); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from botnet.c:29: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 42 bytes into a destination of size 40 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botnet.c:502:39: warning: '%lu' directive writing between 1 and 18 bytes into a region of size between 16 and 31 [-Wformat-overflow=] sprintf(idle, " [idle %luh%lum]", hrs, mins); ^~~ botnet.c:502:27: note: directive argument in the range [0, 307445734561825860] sprintf(idle, " [idle %luh%lum]", hrs, mins); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from botnet.c:29: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 45 bytes into a destination of size 40 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botnet.c:530:25: warning: 'h]' directive writing 2 bytes into a region of size between 1 and 30 [-Wformat-overflow=] sprintf(idle, " [idle %lud%luh]", days, hrs); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from botnet.c:29: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 42 bytes into a destination of size 40 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botnet.c:532:37: warning: '%lu' directive writing between 1 and 18 bytes into a region of size between 16 and 31 [-Wformat-overflow=] sprintf(idle, " [idle %luh%lum]", hrs, mins); ^~~ botnet.c:532:25: note: directive argument in the range [0, 307445734561825860] sprintf(idle, " [idle %luh%lum]", hrs, mins); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from botnet.c:29: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 45 bytes into a destination of size 40 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c chanprog.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c cmds.c cmds.c: In function 'add_bot_hostmask': cmds.c:66:39: warning: '%s' directive output may be truncated writing up to 323 bytes into a region of size between 291 and 323 [-Wformat-truncation=] egg_snprintf(s, sizeof s, "%s!%s", m->nick, m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from cmds.c:25: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 357 bytes into a destination of size 324 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c:77:40: warning: '%s' directive output may be truncated writing up to 323 bytes into a region of size 322 [-Wformat-truncation=] egg_snprintf(s, sizeof s, "*!%s", m->userhost); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from cmds.c:25: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 326 bytes into a destination of size 324 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c dcc.c dcc.c: In function 'dcc_telnet_pw': dcc.c:1873:35: warning: '%s' directive writing up to 323 bytes into a region of size between 73 and 105 [-Wformat-overflow=] sprintf(s, "Introduced to %s, %s", dcc[idx].nick, dcc[idx].host); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from dcc.c:26: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 372 bytes into a destination of size 121 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcc.c: In function 'timeout_dupwait': dcc.c:1426:35: warning: '%s' directive output may be truncated writing up to 323 bytes into a region of size between 67 and 99 [-Wformat-truncation=] egg_snprintf(x, sizeof x, "%s!%s", dcc[idx].nick, dcc[idx].host); ^~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from dcc.c:26: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 357 bytes into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c dccutil.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c dns.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c flags.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c language.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c match.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS \ '-DCCFLAGS="gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS"' \ '-DLDFLAGS="gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags"' \ '-DSTRIPFLAGS="touch"' -c ./main.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c mem.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c misc.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c misc_file.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c modules.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c net.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c rfc1459.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c tcl.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c tcldcc.c tcldcc.c: In function 'tcl_whom': tcldcc.c:698:42: warning: '%li' directive output may be truncated writing between 1 and 19 bytes into a region of size 11 [-Wformat-truncation=] egg_snprintf(idle, sizeof idle, "%li", tv); ^~~ tcldcc.c:698:41: note: directive argument in the range [-153722867280912930, 153722867280912930] egg_snprintf(idle, sizeof idle, "%li", tv); ^~~~~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from tcldcc.c:24: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 20 bytes into a destination of size 11 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcldcc.c:722:42: warning: '%li' directive output may be truncated writing between 1 and 19 bytes into a region of size 11 [-Wformat-truncation=] egg_snprintf(idle, sizeof idle, "%li", tv); ^~~ tcldcc.c:722:41: note: directive argument in the range [-153722867280912930, 153722867280912930] egg_snprintf(idle, sizeof idle, "%li", tv); ^~~~~ In file included from /usr/include/stdio.h:936:0, from /usr/include/tcl.h:124, from ../lush.h:4, from main.h:32, from tcldcc.c:24: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 20 bytes into a destination of size 11 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c tclhash.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c tclmisc.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c tcluser.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c tls.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c userent.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c userrec.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c users.c make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/md5' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c md5c.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/md5' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/compat' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c gethostbyname2.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c in6.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c inet_aton.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c inet_ntop.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c inet_pton.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c snprintf.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c memset.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c memcpy.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c strcasecmp.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DHAVE_TCL_THREADS -c strftime.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src/compat' ---------- Yeah! That's the compiling, now the linking! ---------- Linking eggdrop (standard build). gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o tls.o userent.o userrec.o users.o -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lcrypto -lssl -ldl -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs` touch ../eggdrop Successful compile: eggdrop make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.8.2/src' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.3co7fJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.3co7fJ (%build) I: [iurt_root_command] ERROR: chroot