D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/pure-ftpd-1.0.42-4.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2qIMj2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pure-ftpd-1.0.42 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/pure-ftpd-1.0.42.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pure-ftpd-1.0.42 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/pure-ftpd.mgaconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + xargs rm -f + find -name '\._*' ++ gcc -v ++ tail -1 + COMPILER='Compiler: gcc version 5.4.0 (Mageia 5.4.0-5.mga6) ' ++ uname -m + HARDWARE='Hardware platform: x86_64' ++ rpm -q glibc + LIBRARY='Library: glibc-2.22-25.mga6' ++ uname -sr + OSVERSION='Linux Kernel: Linux 4.4.5-server-1.mga6' + PACKAGER='Packager: Iurt the rebuild bot ' ++ cat /etc/release + MGARELEASE='Mageia release: Mageia release 7 (Cauldron) for x86_64' ++ rpm -q rpm + RPMVERSION='RPM Version: rpm-4.13.90-0.git14002.12.mga7' + cat + cp /home/pterjan/rpmbuild/SOURCES/pure-ftpd-xinetd pure-ftpd-xinetd + cp /home/pterjan/rpmbuild/SOURCES/pure-ftpd.service pure-ftpd.service + cp /home/pterjan/rpmbuild/SOURCES/pure-ftpd.pam pure-ftpd.pam + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jysqLS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pure-ftpd-1.0.42 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 --sysconfdir=/etc/pure-ftpd --with-paranoidmsg --without-capabilities --with-pam --with-ldap --with-mysql --with-pgsql --with-puredb --without-sendfile --with-altlog --with-cookie --with-diraliases --with-throttling --with-ratios --with-quotas --with-ftpwho --with-welcomemsg --with-uploadscript --with-peruserlimits --with-virtualhosts --with-virtualchroot --with-extauth --with-largefile --with-rfc2640 --with-tls configure: WARNING: unrecognized options: --with-largefile checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for ranlib... ranlib 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 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 whether C compiler accepts -fPIC... yes checking whether the linker accepts -fPIC... yes checking whether C compiler accepts -fPIE... yes checking whether the linker accepts -fPIE... yes checking whether the linker accepts -pie... yes checking whether C compiler accepts -fwrapv... yes checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -fno-strict-overflow... yes checking whether C compiler accepts -fstack-protector-all... yes checking whether the linker accepts -fstack-protector-all... yes checking whether C compiler accepts -Winit-self... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wdiv-by-zero... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wall -Wextra... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum... yes checking whether C compiler accepts -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... no checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking for perl... /usr/bin/perl checking for python... /usr/bin/python checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for ANSI C header files... (cached) yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking ioctl.h usability... no checking ioctl.h presence... no checking for ioctl.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/mount.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/ptrace.h usability... yes checking sys/ptrace.h presence... yes checking for sys/ptrace.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking security/pam_misc.h usability... yes checking security/pam_misc.h presence... yes checking for security/pam_misc.h... yes checking security/pam_modules.h usability... yes checking security/pam_modules.h presence... yes checking for security/pam_modules.h... yes checking security/pam_filter.h usability... yes checking security/pam_filter.h presence... yes checking for security/pam_filter.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking pam/pam_misc.h usability... no checking pam/pam_misc.h presence... no checking for pam/pam_misc.h... no checking pam/pam_modules.h usability... no checking pam/pam_modules.h presence... no checking for pam/pam_modules.h... no checking pam/pam_filter.h usability... no checking pam/pam_filter.h presence... no checking for pam/pam_filter.h... no checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/ec.h usability... yes checking openssl/ec.h presence... yes checking for openssl/ec.h... yes checking CoreFoundation/CoreFoundation.h usability... no checking CoreFoundation/CoreFoundation.h presence... no checking for CoreFoundation/CoreFoundation.h... no checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking POSIX termios... yes checking whether byte ordering is bigendian... no checking return type of signal handlers... void checking for size_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for pid_t... yes checking for off_t... yes checking for mode_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 struct tm.tm_gmtoff... yes checking whether timezone is scalar... yes checking for nlink_t... yes checking for dev_t... yes checking for ino_t... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of mode_t... 4 checking for connect... yes checking for gethostbyname... yes checking for gethostbyname... (cached) yes checking for sendfile in -lsendfile... no checking for socklen_t... yes checking for in_port_t... yes checking for sig_atomic_t... yes checking whether gcc needs -traditional... no checking for an ANSI C-conforming const... yes checking for inline... inline checking if malloc debugging is wanted... no checking for getspnam... yes checking for dlopen in -ldl... yes checking for pam_getenvlist... yes checking whether pam_strerror takes only one argument... no checking whether syslog names are available... yes checking whether struct addrinfo is defined... yes checking whether sin_len is defined... no checking whether __ss_family is defined... no checking whether ss_len is defined... no checking whether __ss_len is defined... no checking if a linuxish sendfile is available... yes checking if a linuxish sendfile64 is available... yes checking if a freebsdish sendfile is available... no checking if a hpuxish sendfile is available... no checking for sendfilev... no checking for sendfilev in -lsendfile... no checking if a solarisish sendfilev is available... no checking for crypt in -lcrypt... yes checking for crypto_pwhash_scryptsalsa208sha256_str in -lsodium... no checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for utime.h... (cached) yes checking for sys/time.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for working memcmp... yes checking for strftime... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for locale.h... (cached) yes checking for unistd.h... (cached) yes checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking for fcntl.h... (cached) yes checking for setlocale... yes checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking type of array argument to getgroups... gid_t checking for getgroups... yes checking for working getgroups... yes checking for wait3 that fills in rusage... yes checking whether utime accepts a null argument... yes checking for working strtod... yes 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 types of arguments for select... int,fd_set *,struct timeval * checking for alarm... yes checking for working mktime... yes checking whether lstat accepts an empty string... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for error_at_line... yes checking whether closedir returns void... no checking for unistd.h... (cached) yes checking for working chown... yes checking for working volatile... yes checking for initgroups... yes checking for setrlimit... yes checking for waitpid... yes checking for setproctitle... no checking for getopt_long... yes checking for seteuid... yes checking for setreuid... yes checking for setresuid... yes checking for setegid... yes checking for setregid... yes checking for setresgid... yes checking for statvfs... yes checking for statfs... yes checking for putenv... yes checking for setenv... yes checking for unsetenv... yes checking for getpagesize... (cached) yes checking for realpath... yes checking for pread... yes checking for posix_fadvise... yes checking for ptrace... yes checking for strtoull... yes checking for strtoq... yes checking for strlcpy... no checking for strlcat... no checking for memset... yes checking for munmap... yes checking for strdup... yes checking for fileno... yes checking for mapviewoffile... no checking for madvise... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for inet_ntop... yes checking for inet_pton... yes checking for setusershell... yes checking for setgroups... yes checking for snprintf... yes checking for vsnprintf... yes checking for vfprintf... yes checking for gethostname... yes checking for setlocale... (cached) yes checking for timegm... yes checking for tzset... yes checking for utime... yes checking for utimes... yes checking for mknod... yes checking for mkfifo... yes checking for random... yes checking for srandomdev... no checking for arc4random... no checking for arc4random_stir... no checking for arc4random_addrandom... no checking for closefrom... no checking for explicit_bzero... no checking whether statvfs64() is defined... yes checking whether snprintf is C99 conformant... done checking whether getgroups 0 is sane... yes checking whether realpath likes unreadable directories... yes checking whether you already have a standard MD5 implementation... no checking whether you already have a standard SHA1 implementation... no checking whether we are inside a Virtuozzo virtual host... no checking default TCP send buffer size... 16384 checking default TCP receive buffer size... 87380 checking for res_query in -lresolv... no checking for ber_init in -llber... yes checking for ldap_init in -lldap... yes checking for floor in -lm... yes checking for gzclose in -lz... yes checking for mysql_init... no checking for mysql_init in -lmariadb... no checking for mysql_init in -lmysqlclient... yes checking whether mysql clients can run... yes checking for my_make_scrambled_password... yes checking for make_scrambled_password... yes checking for floor in -lm... (cached) yes checking for gzclose in -lz... (cached) yes checking for PQconnectdb in -lpq... yes checking whether postgresql clients can run... yes checking for DH_new in -lcrypto... yes checking for SSL_accept in -lssl... yes checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... no configure: You have /dev/urandom - Great configure: You have /dev/random - Great checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating pam/Makefile config.status: creating man/Makefile config.status: creating gui/Makefile config.status: creating configuration-file/Makefile config.status: creating contrib/Makefile config.status: creating m4/Makefile config.status: creating configuration-file/pure-ftpd.conf config.status: creating configuration-file/pure-config.pl config.status: creating configuration-file/pure-config.py config.status: creating puredb/Makefile config.status: creating puredb/src/Makefile config.status: creating man/pure-ftpd.8 config.status: creating man/pure-ftpwho.8 config.status: creating man/pure-mrtginfo.8 config.status: creating man/pure-uploadscript.8 config.status: creating man/pure-statsdecode.8 config.status: creating man/pure-quotacheck.8 config.status: creating man/pure-pw.8 config.status: creating man/pure-pwconvert.8 config.status: creating man/pure-authd.8 config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --with-largefile configure: +--------------------------------------------------------+ configure: | You can subscribe to the Pure-FTPd users mailing-list | configure: | to ask for help and to stay informed of new releases. | configure: | Go to http://www.pureftpd.org/ml/ now! | configure: +--------------------------------------------------------+ + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in puredb Making all in src make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT example_read.o -MD -MP -MF .deps/example_read.Tpo -c -o example_read.o example_read.c mv -f .deps/example_read.Tpo .deps/example_read.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT example_write.o -MD -MP -MF .deps/example_write.Tpo -c -o example_write.o example_write.c mv -f .deps/example_write.Tpo .deps/example_write.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT regression.o -MD -MP -MF .deps/regression.Tpo -c -o regression.o regression.c mv -f .deps/regression.Tpo .deps/regression.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT puredb_write.o -MD -MP -MF .deps/puredb_write.Tpo -c -o puredb_write.o puredb_write.c mv -f .deps/puredb_write.Tpo .deps/puredb_write.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' rm -f libpuredb_write.a ar cru libpuredb_write.a puredb_write.o ranlib libpuredb_write.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT puredb_read.o -MD -MP -MF .deps/puredb_read.Tpo -c -o puredb_read.o puredb_read.c mv -f .deps/puredb_read.Tpo .deps/puredb_read.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -L/usr/lib64 -lmysqlclient -lpthread -lz -lm -ldl -lssl -lcrypto -L/usr/lib64 -o example_write example_write.o libpuredb_write.a -lssl -lcrypto -lpq -lz -lm -lmysqlclient -lz -lm -lldap -llber -lcrypt -ldl -lpam make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' rm -f libpuredb_read.a ar cru libpuredb_read.a puredb_read.o ranlib libpuredb_read.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -L/usr/lib64 -lmysqlclient -lpthread -lz -lm -ldl -lssl -lcrypto -L/usr/lib64 -o regression regression.o libpuredb_read.a libpuredb_write.a -lssl -lcrypto -lpq -lz -lm -lmysqlclient -lz -lm -lldap -llber -lcrypt -ldl -lpam make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -L/usr/lib64 -lmysqlclient -lpthread -lz -lm -ldl -lssl -lcrypto -L/usr/lib64 -o example_read example_read.o libpuredb_read.a -lssl -lcrypto -lpq -lz -lm -lmysqlclient -lz -lm -lldap -llber -lcrypt -ldl -lpam make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/puredb/src' make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-caps.o -MD -MP -MF .deps/libpureftpd_a-caps.Tpo -c -o libpureftpd_a-caps.o `test -f 'caps.c' || echo './'`caps.c mv -f .deps/libpureftpd_a-caps.Tpo .deps/libpureftpd_a-caps.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-bonjour.o -MD -MP -MF .deps/libpureftpd_a-bonjour.Tpo -c -o libpureftpd_a-bonjour.o `test -f 'bonjour.c' || echo './'`bonjour.c mv -f .deps/libpureftpd_a-bonjour.Tpo .deps/libpureftpd_a-bonjour.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-bsd-realpath.o -MD -MP -MF .deps/libpureftpd_a-bsd-realpath.Tpo -c -o libpureftpd_a-bsd-realpath.o `test -f 'bsd-realpath.c' || echo './'`bsd-realpath.c mv -f .deps/libpureftpd_a-bsd-realpath.Tpo .deps/libpureftpd_a-bsd-realpath.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-bsd-getopt_long.o -MD -MP -MF .deps/libpureftpd_a-bsd-getopt_long.Tpo -c -o libpureftpd_a-bsd-getopt_long.o `test -f 'bsd-getopt_long.c' || echo './'`bsd-getopt_long.c mv -f .deps/libpureftpd_a-bsd-getopt_long.Tpo .deps/libpureftpd_a-bsd-getopt_long.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-crypto.o -MD -MP -MF .deps/libpureftpd_a-crypto.Tpo -c -o libpureftpd_a-crypto.o `test -f 'crypto.c' || echo './'`crypto.c mv -f .deps/libpureftpd_a-crypto.Tpo .deps/libpureftpd_a-crypto.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-altlog.o -MD -MP -MF .deps/libpureftpd_a-altlog.Tpo -c -o libpureftpd_a-altlog.o `test -f 'altlog.c' || echo './'`altlog.c mv -f .deps/libpureftpd_a-altlog.Tpo .deps/libpureftpd_a-altlog.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-crypto-md5.o -MD -MP -MF .deps/libpureftpd_a-crypto-md5.Tpo -c -o libpureftpd_a-crypto-md5.o `test -f 'crypto-md5.c' || echo './'`crypto-md5.c mv -f .deps/libpureftpd_a-crypto-md5.Tpo .deps/libpureftpd_a-crypto-md5.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-daemons.o -MD -MP -MF .deps/libpureftpd_a-daemons.Tpo -c -o libpureftpd_a-daemons.o `test -f 'daemons.c' || echo './'`daemons.c mv -f .deps/libpureftpd_a-daemons.Tpo .deps/libpureftpd_a-daemons.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-alt_arc4random.o -MD -MP -MF .deps/libpureftpd_a-alt_arc4random.Tpo -c -o libpureftpd_a-alt_arc4random.o `test -f 'alt_arc4random.c' || echo './'`alt_arc4random.c mv -f .deps/libpureftpd_a-alt_arc4random.Tpo .deps/libpureftpd_a-alt_arc4random.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-diraliases.o -MD -MP -MF .deps/libpureftpd_a-diraliases.Tpo -c -o libpureftpd_a-diraliases.o `test -f 'diraliases.c' || echo './'`diraliases.c mv -f .deps/libpureftpd_a-diraliases.Tpo .deps/libpureftpd_a-diraliases.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-dynamic.o -MD -MP -MF .deps/libpureftpd_a-dynamic.Tpo -c -o libpureftpd_a-dynamic.o `test -f 'dynamic.c' || echo './'`dynamic.c In file included from dynamic.c:5:0: dynamic.c: In function 'iptrack_find_ip_or_shift': ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ dynamic.c:47:57: note: in expansion of macro 'STORAGE_SIN_ADDR' STORAGE_SIN_ADDR(iptrack_list[c].ip) == STORAGE_SIN_ADDR(*ip)) { ^ In file included from ftpd.h:118:0, from dynamic.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from dynamic.c:5: ftpd.h:623:54: warning: passing argument 1 of 'storage_sin_addr6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR6_NF(X) (*(storage_sin_addr6(&(X)))) ^ dynamic.c:52:26: note: in expansion of macro 'STORAGE_SIN_ADDR6_NF' &STORAGE_SIN_ADDR6_NF(*ip))) { ^ In file included from ftpd.h:118:0, from dynamic.c:5: ipstack.h:117:18: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in6_addr *storage_sin_addr6(struct sockaddr_storage * const ss); ^ In file included from dynamic.c:5:0: dynamic.c: In function 'iptrack_get': ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ dynamic.c:78:57: note: in expansion of macro 'STORAGE_SIN_ADDR' STORAGE_SIN_ADDR(iptrack_list[c].ip) == STORAGE_SIN_ADDR(*ip)) { ^ In file included from ftpd.h:118:0, from dynamic.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from dynamic.c:5: ftpd.h:623:54: warning: passing argument 1 of 'storage_sin_addr6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR6_NF(X) (*(storage_sin_addr6(&(X)))) ^ dynamic.c:83:26: note: in expansion of macro 'STORAGE_SIN_ADDR6_NF' &STORAGE_SIN_ADDR6_NF(*ip))) { ^ In file included from ftpd.h:118:0, from dynamic.c:5: ipstack.h:117:18: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in6_addr *storage_sin_addr6(struct sockaddr_storage * const ss); ^ mv -f .deps/libpureftpd_a-dynamic.Tpo .deps/libpureftpd_a-dynamic.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-fakesnprintf.o -MD -MP -MF .deps/libpureftpd_a-fakesnprintf.Tpo -c -o libpureftpd_a-fakesnprintf.o `test -f 'fakesnprintf.c' || echo './'`fakesnprintf.c mv -f .deps/libpureftpd_a-fakesnprintf.Tpo .deps/libpureftpd_a-fakesnprintf.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-crypto-sha1.o -MD -MP -MF .deps/libpureftpd_a-crypto-sha1.Tpo -c -o libpureftpd_a-crypto-sha1.o `test -f 'crypto-sha1.c' || echo './'`crypto-sha1.c mv -f .deps/libpureftpd_a-crypto-sha1.Tpo .deps/libpureftpd_a-crypto-sha1.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-getloadavg.o -MD -MP -MF .deps/libpureftpd_a-getloadavg.Tpo -c -o libpureftpd_a-getloadavg.o `test -f 'getloadavg.c' || echo './'`getloadavg.c mv -f .deps/libpureftpd_a-getloadavg.Tpo .deps/libpureftpd_a-getloadavg.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-fakechroot.o -MD -MP -MF .deps/libpureftpd_a-fakechroot.Tpo -c -o libpureftpd_a-fakechroot.o `test -f 'fakechroot.c' || echo './'`fakechroot.c mv -f .deps/libpureftpd_a-fakechroot.Tpo .deps/libpureftpd_a-fakechroot.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-ftpwho-read.o -MD -MP -MF .deps/libpureftpd_a-ftpwho-read.Tpo -c -o libpureftpd_a-ftpwho-read.o `test -f 'ftpwho-read.c' || echo './'`ftpwho-read.c mv -f .deps/libpureftpd_a-ftpwho-read.Tpo .deps/libpureftpd_a-ftpwho-read.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-ipstack.o -MD -MP -MF .deps/libpureftpd_a-ipstack.Tpo -c -o libpureftpd_a-ipstack.o `test -f 'ipstack.c' || echo './'`ipstack.c mv -f .deps/libpureftpd_a-ipstack.Tpo .deps/libpureftpd_a-ipstack.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-ftpwho-update.o -MD -MP -MF .deps/libpureftpd_a-ftpwho-update.Tpo -c -o libpureftpd_a-ftpwho-update.o `test -f 'ftpwho-update.c' || echo './'`ftpwho-update.c mv -f .deps/libpureftpd_a-ftpwho-update.Tpo .deps/libpureftpd_a-ftpwho-update.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-log_unix.o -MD -MP -MF .deps/libpureftpd_a-log_unix.Tpo -c -o libpureftpd_a-log_unix.o `test -f 'log_unix.c' || echo './'`log_unix.c mv -f .deps/libpureftpd_a-log_unix.Tpo .deps/libpureftpd_a-log_unix.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-bsd-glob.o -MD -MP -MF .deps/libpureftpd_a-bsd-glob.Tpo -c -o libpureftpd_a-bsd-glob.o `test -f 'bsd-glob.c' || echo './'`bsd-glob.c mv -f .deps/libpureftpd_a-bsd-glob.Tpo .deps/libpureftpd_a-bsd-glob.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-log_pam.o -MD -MP -MF .deps/libpureftpd_a-log_pam.Tpo -c -o libpureftpd_a-log_pam.o `test -f 'log_pam.c' || echo './'`log_pam.c mv -f .deps/libpureftpd_a-log_pam.Tpo .deps/libpureftpd_a-log_pam.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-log_ldap.o -MD -MP -MF .deps/libpureftpd_a-log_ldap.Tpo -c -o libpureftpd_a-log_ldap.o `test -f 'log_ldap.c' || echo './'`log_ldap.c In file included from log_ldap.c:10:0: log_ldap.c: In function 'pw_ldap_getpwnam': log_ldap.h:8:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LDAP_HOMEDIRECTORY "homeDirectory" ^ log_ldap.c:311:13: note: in expansion of macro 'LDAP_HOMEDIRECTORY' LDAP_HOMEDIRECTORY, ^ log_ldap.h:6:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LDAP_UIDNUMBER "uidNumber" ^ log_ldap.c:312:13: note: in expansion of macro 'LDAP_UIDNUMBER' LDAP_UIDNUMBER, LDAP_FTPUID, LDAP_GIDNUMBER, LDAP_FTPGID, ^ log_ldap.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LDAP_FTPUID "FTPuid" ^ log_ldap.c:312:29: note: in expansion of macro 'LDAP_FTPUID' LDAP_UIDNUMBER, LDAP_FTPUID, LDAP_GIDNUMBER, LDAP_FTPGID, ^ log_ldap.h:7:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LDAP_GIDNUMBER "gidNumber" ^ log_ldap.c:312:42: note: in expansion of macro 'LDAP_GIDNUMBER' LDAP_UIDNUMBER, LDAP_FTPUID, LDAP_GIDNUMBER, LDAP_FTPGID, ^ log_ldap.h:12:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LDAP_FTPGID "FTPgid" ^ log_ldap.c:312:58: note: in expansion of macro 'LDAP_FTPGID' LDAP_UIDNUMBER, LDAP_FTPUID, LDAP_GIDNUMBER, LDAP_FTPGID, ^ log_ldap.h:9:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LDAP_USERPASSWORD "userPassword" ^ log_ldap.c:313:13: note: in expansion of macro 'LDAP_USERPASSWORD' LDAP_USERPASSWORD, LDAP_LOGINSHELL, LDAP_FTPSTATUS, ^ log_ldap.h:10:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LDAP_LOGINSHELL "loginShell" ^ log_ldap.c:313:32: note: in expansion of macro 'LDAP_LOGINSHELL' LDAP_USERPASSWORD, LDAP_LOGINSHELL, LDAP_FTPSTATUS, ^ log_ldap.h:14:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LDAP_FTPSTATUS "FTPStatus" ^ log_ldap.c:313:49: note: in expansion of macro 'LDAP_FTPSTATUS' LDAP_USERPASSWORD, LDAP_LOGINSHELL, LDAP_FTPSTATUS, ^ log_ldap.h:17:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # define LDAP_QUOTAFILES "FTPQuotaFiles" ^ log_ldap.c:315:13: note: in expansion of macro 'LDAP_QUOTAFILES' LDAP_QUOTAFILES, LDAP_QUOTAMBYTES, ^ log_ldap.h:18:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # define LDAP_QUOTAMBYTES "FTPQuotaMBytes" ^ log_ldap.c:315:30: note: in expansion of macro 'LDAP_QUOTAMBYTES' LDAP_QUOTAFILES, LDAP_QUOTAMBYTES, ^ log_ldap.h:22:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # define LDAP_DOWNLOADRATIO "FTPDownloadRatio" ^ log_ldap.c:318:13: note: in expansion of macro 'LDAP_DOWNLOADRATIO' LDAP_DOWNLOADRATIO, LDAP_UPLOADRATIO, ^ log_ldap.h:23:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # define LDAP_UPLOADRATIO "FTPUploadRatio" ^ log_ldap.c:318:33: note: in expansion of macro 'LDAP_UPLOADRATIO' LDAP_DOWNLOADRATIO, LDAP_UPLOADRATIO, ^ log_ldap.h:27:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # define LDAP_DOWNLOADBANDWIDTH "FTPDownloadBandwidth" ^ log_ldap.c:321:13: note: in expansion of macro 'LDAP_DOWNLOADBANDWIDTH' LDAP_DOWNLOADBANDWIDTH, LDAP_UPLOADBANDWIDTH, ^ log_ldap.h:28:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # define LDAP_UPLOADBANDWIDTH "FTPUploadBandwidth" ^ log_ldap.c:321:37: note: in expansion of macro 'LDAP_UPLOADBANDWIDTH' LDAP_DOWNLOADBANDWIDTH, LDAP_UPLOADBANDWIDTH, ^ mv -f .deps/libpureftpd_a-log_ldap.Tpo .deps/libpureftpd_a-log_ldap.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-log_extauth.o -MD -MP -MF .deps/libpureftpd_a-log_extauth.Tpo -c -o libpureftpd_a-log_extauth.o `test -f 'log_extauth.c' || echo './'`log_extauth.c mv -f .deps/libpureftpd_a-log_extauth.Tpo .deps/libpureftpd_a-log_extauth.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-mysnprintf.o -MD -MP -MF .deps/libpureftpd_a-mysnprintf.Tpo -c -o libpureftpd_a-mysnprintf.o `test -f 'mysnprintf.c' || echo './'`mysnprintf.c mv -f .deps/libpureftpd_a-mysnprintf.Tpo .deps/libpureftpd_a-mysnprintf.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-log_puredb.o -MD -MP -MF .deps/libpureftpd_a-log_puredb.Tpo -c -o libpureftpd_a-log_puredb.o `test -f 'log_puredb.c' || echo './'`log_puredb.c In file included from log_puredb.c:5:0: log_puredb.c: In function 'access_ip_match': ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ log_puredb.c:108:50: note: in expansion of macro 'STORAGE_SIN_ADDR' saip_raw = (const unsigned char *) &(STORAGE_SIN_ADDR(*sa)); ^ In file included from ftpd.h:118:0, from log_puredb.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ mv -f .deps/libpureftpd_a-log_puredb.Tpo .deps/libpureftpd_a-log_puredb.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-log_mysql.o -MD -MP -MF .deps/libpureftpd_a-log_mysql.Tpo -c -o libpureftpd_a-log_mysql.o `test -f 'log_mysql.c' || echo './'`log_mysql.c In file included from log_mysql.c:5:0: log_mysql.c: In function 'pw_mysql_check': ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ log_mysql.c:357:39: note: in expansion of macro 'STORAGE_SIN_ADDR' (const unsigned char *) &(STORAGE_SIN_ADDR(*peer)); ^ In file included from ftpd.h:118:0, from log_mysql.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ mv -f .deps/libpureftpd_a-log_mysql.Tpo .deps/libpureftpd_a-log_mysql.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-log_pgsql.o -MD -MP -MF .deps/libpureftpd_a-log_pgsql.Tpo -c -o libpureftpd_a-log_pgsql.o `test -f 'log_pgsql.c' || echo './'`log_pgsql.c In file included from log_pgsql.c:7:0: log_pgsql.c: In function 'pw_pgsql_check': ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ log_pgsql.c:435:39: note: in expansion of macro 'STORAGE_SIN_ADDR' (const unsigned char *) &(STORAGE_SIN_ADDR(*peer)); ^ In file included from ftpd.h:118:0, from log_pgsql.c:7: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ mv -f .deps/libpureftpd_a-log_pgsql.Tpo .deps/libpureftpd_a-log_pgsql.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-safe_rw.o -MD -MP -MF .deps/libpureftpd_a-safe_rw.Tpo -c -o libpureftpd_a-safe_rw.o `test -f 'safe_rw.c' || echo './'`safe_rw.c mv -f .deps/libpureftpd_a-safe_rw.Tpo .deps/libpureftpd_a-safe_rw.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-ftp_parser.o -MD -MP -MF .deps/libpureftpd_a-ftp_parser.Tpo -c -o libpureftpd_a-ftp_parser.o `test -f 'ftp_parser.c' || echo './'`ftp_parser.c mv -f .deps/libpureftpd_a-ftp_parser.Tpo .deps/libpureftpd_a-ftp_parser.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-parser.o -MD -MP -MF .deps/libpureftpd_a-parser.Tpo -c -o libpureftpd_a-parser.o `test -f 'parser.c' || echo './'`parser.c mv -f .deps/libpureftpd_a-parser.Tpo .deps/libpureftpd_a-parser.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-tls.o -MD -MP -MF .deps/libpureftpd_a-tls.Tpo -c -o libpureftpd_a-tls.o `test -f 'tls.c' || echo './'`tls.c tls.c: In function 'tls_init_dhparams_default': tls.c:111:7: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}' dh->p = BN_bin2bn(RFC3526_PRIME_2048, sizeof RFC3526_PRIME_2048, NULL); ^ tls.c: In function 'ssl_info_cb': tls.c:178:12: error: dereferencing pointer to incomplete type 'SSL {aka const struct ssl_st}' cnx->s3->flags |= SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS; ^ Makefile:1328: recipe for target 'libpureftpd_a-tls.o' failed make[2]: *** [libpureftpd_a-tls.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-quotas.o -MD -MP -MF .deps/libpureftpd_a-quotas.Tpo -c -o libpureftpd_a-quotas.o `test -f 'quotas.c' || echo './'`quotas.c quotas.c: In function 'quota_update': quotas.c:120:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void) ftruncate(fd, (off_t) 0); ^ mv -f .deps/libpureftpd_a-quotas.Tpo .deps/libpureftpd_a-quotas.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-privsep.o -MD -MP -MF .deps/libpureftpd_a-privsep.Tpo -c -o libpureftpd_a-privsep.o `test -f 'privsep.c' || echo './'`privsep.c In file included from privsep.c:4:0: privsep.c: In function 'privsep_privpart_bindresport': ftpd.h:620:42: warning: passing argument 1 of 'storage_port6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_PORT6(X) (*storage_port6(&(X))) ^ privsep.c:208:13: note: in expansion of macro 'STORAGE_PORT6' STORAGE_PORT6(query->bindresport.ss) = htons(*portlistpnt); ^ In file included from ftpd.h:118:0, from privsep.c:4: ipstack.h:115:12: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage *' in_port_t *storage_port6(struct sockaddr_storage * const ss); ^ In file included from privsep.c:4:0: ftpd.h:619:41: warning: passing argument 1 of 'storage_port' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_PORT(X) (*storage_port(&(X))) ^ privsep.c:210:13: note: in expansion of macro 'STORAGE_PORT' STORAGE_PORT(query->bindresport.ss) = htons(*portlistpnt); ^ In file included from ftpd.h:118:0, from privsep.c:4: ipstack.h:114:12: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage *' in_port_t *storage_port(struct sockaddr_storage * const ss); ^ mv -f .deps/libpureftpd_a-privsep.Tpo .deps/libpureftpd_a-privsep.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT fakesnprintf.o -MD -MP -MF .deps/fakesnprintf.Tpo -c -o fakesnprintf.o fakesnprintf.c mv -f .deps/fakesnprintf.Tpo .deps/fakesnprintf.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-upload-pipe.o -MD -MP -MF .deps/libpureftpd_a-upload-pipe.Tpo -c -o libpureftpd_a-upload-pipe.o `test -f 'upload-pipe.c' || echo './'`upload-pipe.c mv -f .deps/libpureftpd_a-upload-pipe.Tpo .deps/libpureftpd_a-upload-pipe.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-ls.o -MD -MP -MF .deps/libpureftpd_a-ls.Tpo -c -o libpureftpd_a-ls.o `test -f 'ls.c' || echo './'`ls.c mv -f .deps/libpureftpd_a-ls.Tpo .deps/libpureftpd_a-ls.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-utils.o -MD -MP -MF .deps/libpureftpd_a-utils.Tpo -c -o libpureftpd_a-utils.o `test -f 'utils.c' || echo './'`utils.c mv -f .deps/libpureftpd_a-utils.Tpo .deps/libpureftpd_a-utils.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -DCONFDIR=\"/etc/pure-ftpd\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -I/usr/include/mysql -I/usr/include/mysql/.. -MT libpureftpd_a-ftpd.o -MD -MP -MF .deps/libpureftpd_a-ftpd.Tpo -c -o libpureftpd_a-ftpd.o `test -f 'ftpd.c' || echo './'`ftpd.c In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.c: In function 'checkvalidaddr': ftpd.h:623:54: warning: passing argument 1 of 'storage_sin_addr6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR6_NF(X) (*(storage_sin_addr6(&(X)))) ^ ftpd.c:537:36: note: in expansion of macro 'STORAGE_SIN_ADDR6_NF' if (IN6_IS_ADDR_MULTICAST(&STORAGE_SIN_ADDR6_NF(*addr)) || ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:117:18: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in6_addr *storage_sin_addr6(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.h:623:54: warning: passing argument 1 of 'storage_sin_addr6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR6_NF(X) (*(storage_sin_addr6(&(X)))) ^ ftpd.c:538:38: note: in expansion of macro 'STORAGE_SIN_ADDR6_NF' IN6_IS_ADDR_UNSPECIFIED(&STORAGE_SIN_ADDR6_NF(*addr))) { ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:117:18: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in6_addr *storage_sin_addr6(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ ftpd.c:543:19: note: in expansion of macro 'STORAGE_SIN_ADDR' if (ntohl(STORAGE_SIN_ADDR(*addr)) == INADDR_ANY || ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ ftpd.c:544:19: note: in expansion of macro 'STORAGE_SIN_ADDR' ntohl(STORAGE_SIN_ADDR(*addr)) == INADDR_NONE || ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ ftpd.c:545:19: note: in expansion of macro 'STORAGE_SIN_ADDR' ntohl(STORAGE_SIN_ADDR(*addr)) == INADDR_BROADCAST || ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ ftpd.c:546:32: note: in expansion of macro 'STORAGE_SIN_ADDR' IN_MULTICAST(ntohl(STORAGE_SIN_ADDR(*addr))) || ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ ftpd.c:547:31: note: in expansion of macro 'STORAGE_SIN_ADDR' IN_BADCLASS(ntohl(STORAGE_SIN_ADDR(*addr)))) { ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.c: In function 'addrcmp': ftpd.h:623:54: warning: passing argument 1 of 'storage_sin_addr6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR6_NF(X) (*(storage_sin_addr6(&(X)))) ^ ftpd.c:584:33: note: in expansion of macro 'STORAGE_SIN_ADDR6_NF' if (IN6_ARE_ADDR_EQUAL(&STORAGE_SIN_ADDR6_NF(*s1), &STORAGE_SIN_ADDR6_NF(*s2))) { ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:117:18: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in6_addr *storage_sin_addr6(struct sockaddr_storage * const ss); ^ In file included from ftpd.h:71:0, from ftpd_p.h:4, from ftpd.c:5: ftpd.h:623:54: warning: passing argument 1 of 'storage_sin_addr6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR6_NF(X) (*(storage_sin_addr6(&(X)))) ^ ftpd.c:584:61: note: in expansion of macro 'STORAGE_SIN_ADDR6_NF' if (IN6_ARE_ADDR_EQUAL(&STORAGE_SIN_ADDR6_NF(*s1), &STORAGE_SIN_ADDR6_NF(*s2))) { ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:117:18: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in6_addr *storage_sin_addr6(struct sockaddr_storage * const ss); ^ In file included from ftpd_p.h:4:0, from ftpd.c:5: ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ ftpd.c:593:13: note: in expansion of macro 'STORAGE_SIN_ADDR' if (STORAGE_SIN_ADDR(*s1) == STORAGE_SIN_ADDR(*s2)) { ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ In file included from ftpd_p.h:4:0, from ftpd.c:5: ftpd.h:621:47: warning: passing argument 1 of 'storage_sin_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define STORAGE_SIN_ADDR(X) (storage_sin_addr(&(X))->s_addr) ^ ftpd.c:593:38: note: in expansion of macro 'STORAGE_SIN_ADDR' if (STORAGE_SIN_ADDR(*s1) == STORAGE_SIN_ADDR(*s2)) { ^ In file included from ftpd.h:118:0, from ftpd_p.h:4, from ftpd.c:5: ipstack.h:116:17: note: expected 'struct sockaddr_storage * const' but argument is of type 'const struct sockaddr_storage * const' struct in_addr *storage_sin_addr(struct sockaddr_storage * const ss); ^ ftpd.c: In function 'douser': ftpd.c:1462:13: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] (void) nice(NICE_VALUE); ^ ftpd.c: In function 'dopass': ftpd.c:1865:9: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] (void) nice(NICE_VALUE); ^ ftpd.c: In function 'updatepidfile': ftpd.c:5236:9: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void) ftruncate(fd, (off_t) 0); ^ ftpd.c: In function 'accept_client': ftpd.c:5330:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(clientfd, line, strlen(line)); ^ ftpd.c:5346:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(clientfd, line, strlen(line)); ^ mv -f .deps/libpureftpd_a-ftpd.Tpo .deps/libpureftpd_a-ftpd.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pure-ftpd-1.0.42/src' Makefile:400: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:341: recipe for target 'all' failed make: *** [all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jysqLS (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jysqLS (%build) I: [iurt_root_command] ERROR: chroot