D: [iurt_root_command] chroot warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/prozilla-2.0.4-20.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8AsUDG + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf prozilla-2.0.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/prozilla-2.0.4.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd prozilla-2.0.4 + rm -rf /home/pterjan/rpmbuild/BUILD/prozilla-2.0.4-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/prozilla-2.0.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (prozilla_download_win.h.patch):' Patch #0 (prozilla_download_win.h.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/download_win.h + sed -i -e 's|gnulocaledir = $(prefix)/share/locale|gnulocaledir = /home/pterjan/rpmbuild/BUILDROOT/prozilla-2.0.4-20.mga10.x86_64$(prefix)/share/locale|' po/Makefile.in.in + sed -i -e 's|gnulocaledir = $(prefix)/share/locale|gnulocaledir = /home/pterjan/rpmbuild/BUILDROOT/prozilla-2.0.4-20.mga10.x86_64$(prefix)/share/locale|' libprozilla/po/Makefile.in.in + for d in . libprozilla + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub . + for d in . libprozilla + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub libprozilla + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AD6NOo + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd prozilla-2.0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./libprozilla/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./libprozilla/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./libprozilla/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./libprozilla/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./libprozilla/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./libprozilla/config.sub + /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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) Modifying libprozilla/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-mageia-linux-gnu-g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for strerror in -lcposix... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for uname... uname checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... no 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 dlfcn.h usability... yes checking dlfcn.h presence... no configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dlfcn.h: proceeding with the compiler's result checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for x86_64-mageia-linux-gnu-g77... no checking for x86_64-mageia-linux-gnu-f77... no checking for x86_64-mageia-linux-gnu-xlf... no checking for x86_64-mageia-linux-gnu-frt... no checking for x86_64-mageia-linux-gnu-pgf77... no checking for x86_64-mageia-linux-gnu-fort77... no checking for x86_64-mageia-linux-gnu-fl32... no checking for x86_64-mageia-linux-gnu-af77... no checking for x86_64-mageia-linux-gnu-f90... no checking for x86_64-mageia-linux-gnu-xlf90... no checking for x86_64-mageia-linux-gnu-pgf90... no checking for x86_64-mageia-linux-gnu-epcf90... no checking for x86_64-mageia-linux-gnu-f95... no checking for x86_64-mageia-linux-gnu-fort... no checking for x86_64-mageia-linux-gnu-xlf95... no checking for x86_64-mageia-linux-gnu-ifc... no checking for x86_64-mageia-linux-gnu-efc... no checking for x86_64-mageia-linux-gnu-pgf95... no checking for x86_64-mageia-linux-gnu-lf95... no checking for x86_64-mageia-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for correct ltmain.sh version... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory cat: '/etc/ld.so.conf.d/*.conf': No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory cat: '/etc/ld.so.conf.d/*.conf': No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for x86_64-mageia-linux-gnu-ranlib... ranlib checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.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 nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for GNU gettext in libc... no checking for GNU gettext in libintl... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for bison... no checking for catalogs to be installed... pt_BR nl ro it fr checking for an ANSI C-conforming const... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for ANSI C header files... (cached) no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for initscr in -lncurses... yes checking for strdup... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... yes checking for size_t... (cached) yes checking for socklen_t... yes checking for X... no checking for pthread_create in -lpthread... yes checking for pow in -lm... yes checking for bindtextdomain... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for off_t... (cached) yes checking size of off_t... 8 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: configuring in libprozilla configure: running /bin/sh './configure' --prefix=/usr '--host=x86_64-mageia-linux-gnu' '--build=x86_64-mageia-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' 'CC=gcc' 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'CXX=g++' 'FFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' 'build_alias=x86_64-mageia-linux-gnu' 'host_alias=x86_64-mageia-linux-gnu' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for strerror in -lcposix... no checking for ANSI C header files... no 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 for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for which type of gethostbyname_r... checking for gethostbyname_r... yes six checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ld used by GCC... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking for BSD-compatible nm... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/nm -B checking whether ln -s works... yes checking host system type... x86_64-pc-linux-gnu checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... none checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking whether the linker (/usr/bin/ld) supports shared libraries... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E yes checking command to parse /usr/bin/nm -B output... egrep: warning: egrep is obsolescent; using grep -E failed checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.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 nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for GNU gettext in libc... yes checking for dcgettext... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for bison... no checking for catalogs to be installed... pt_BR ro nl it checking for pthread_create in -lpthread... yes checking for gethostent... yes checking for setsockopt... yes checking for ANSI C header files... (cached) no checking whether time.h and sys/time.h may both be included... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for memory.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking for limits.h... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking for size_t... (cached) yes checking for socklen_t... yes checking for vprintf... yes checking for _doprnt... no checking for select... yes checking for socket... yes checking for strdup... (cached) yes checking for strerror... yes checking for strtol... yes checking for strncasecmp... yes checking for snprintf... yes checking for vsnprintf... yes checking for __snprintf... no checking for __vsnprintf... yes checking for strchr... (cached) yes checking for strrchr... yes checking for which type of gethostbyname_r... (cached) six checking for bindtextdomain... yes checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... (cached) /usr/bin/msgfmt checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for off_t... (cached) yes checking size of off_t... 8 configure: creating ./config.status config.status: creating Makefile config.status: creating docs/Makefile config.status: creating src/Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing default-1 commands config.status: executing default-2 commands config.status: creating po/POTFILES config.status: creating po/Makefile + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in intl make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT dcgettext.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT dgettext.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT gettext.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT intl-compat.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT finddomain.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT bindtextdom.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT textdomain.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT loadmsgcat.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT dcngettext.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' : -y -d --name-prefix=__gettext --output plural.c plural.y rm -f plural.h make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' cp ./libgnuintl.h libintl.h make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT dngettext.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' /bin/sh ./config.charset 'x86_64-mageia-linux-gnu' > t-charset.alias mv t-charset.alias charset.alias make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT localealias.c localealias.c: In function 'read_alias_file': localealias.c:306:52: warning: pointer may be used after 'realloc' [-Wuse-after-free] 306 | map[i].alias += new_pool - string_space; | ~~~~~~~~~^~~~~~~~~~~~~~ localealias.c:296:45: note: call to 'realloc' here 296 | char *new_pool = (char *) realloc (string_space, new_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' sed -e '/^#/d' -e 's/@''PACKAGE''@/proz/g' ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT ngettext.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' sed -e '/^#/d' -e 's/@''PACKAGE''@/proz/g' ref-del.sin > t-ref-del.sed mv t-ref-del.sed ref-del.sed make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT explodename.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT l10nflist.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT localcharset.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT dcigettext.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I.. -I. -I../intl -Wall -O2 -D_REENTRANT plural.c /home/haible/gnu/arch/linuxlibc6/share/bison.simple: In function 'gettextparse__': /home/haible/gnu/arch/linuxlibc6/share/bison.simple:561:12: warning: 'yyval.exp' may be used uninitialized [-Wmaybe-uninitialized] /home/haible/gnu/arch/linuxlibc6/share/bison.simple:285:11: note: 'yyval.exp' was declared here make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o localcharset.o ranlib libintl.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/intl' Making all in po make[2]: Nothing to be done for 'all'. Making all in libprozilla /usr/bin/make all-recursive Making all in intl make[4]: Nothing to be done for 'all'. Making all in po make[4]: Nothing to be done for 'all'. Making all in docs make[4]: Nothing to be done for 'all'. Making all in src make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -c debug.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -Wp,-MD,.deps/debug.pp -c debug.c -o debug.o debug.c: In function 'proz_debug': debug.c:83:5: error: implicit declaration of function 'va_start' [-Wimplicit-function-declaration] 83 | va_start(args, format); | ^~~~~~~~ debug.c:85:5: error: implicit declaration of function 'va_end' [-Wimplicit-function-declaration] 85 | va_end(args); | ^~~~~~ make[4]: *** [Makefile:314: debug.lo] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' make[4]: *** Waiting for unfinished jobs.... make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -c connect.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -Wp,-MD,.deps/connect.pp -c connect.c -o connect.o connect.c: In function 'connect_to_server': connect.c:66:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 66 | free(res); | ^~~~ connect.c:29:1: note: include '' or provide a declaration of 'free' 28 | #include "connect.h" +++ |+#include 29 | connect.c:66:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 66 | free(res); | ^~~~ connect.c:66:5: note: include '' or provide a declaration of 'free' connect.c:113:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 113 | free(res); | ^~~~ connect.c:113:7: note: include '' or provide a declaration of 'free' connect.c:117:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 117 | free(res); | ^~~~ connect.c:117:7: note: include '' or provide a declaration of 'free' connect.c:136:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 136 | free(res); | ^~~~ connect.c:136:3: note: include '' or provide a declaration of 'free' connect.c: In function 'krecv': connect.c:201:12: warning: variable 'arglen' set but not used [-Wunused-but-set-variable] 201 | int ret, arglen; | ^~~~~~ make[4]: *** [Makefile:314: connect.lo] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -Wp,-MD,.deps/main.pp -c main.c -o main.o main.c: In function 'proz_die': main.c:133:3: error: implicit declaration of function 'va_start' [-Wimplicit-function-declaration] 133 | va_start(args, format); | ^~~~~~~~ main.c:135:3: error: implicit declaration of function 'va_end' [-Wimplicit-function-declaration] 135 | va_end(args); | ^~~~~~ main.c:140:3: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 140 | exit(EXIT_FAILURE); | ^~~~ main.c:30:1: note: include '' or provide a declaration of 'exit' 29 | #include "debug.h" +++ |+#include 30 | main.c:140:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 140 | exit(EXIT_FAILURE); | ^~~~ main.c:140:3: note: include '' or provide a declaration of 'exit' main.c:140:8: error: 'EXIT_FAILURE' undeclared (first use in this function) 140 | exit(EXIT_FAILURE); | ^~~~~~~~~~~~ main.c:140:8: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' main.c:140:8: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [Makefile:314: main.lo] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -c ftpparse.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -Wp,-MD,.deps/ftpparse.pp -c ftpparse.c -o ftpparse.o ftpparse.c: In function 'ftp_parse': ftpparse.c:132:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 132 | free(cp); | ^~~~ ftpparse.c:26:1: note: include '' or provide a declaration of 'free' 25 | #include "ftpparse.h" +++ |+#include 26 | #include "prozilla.h" ftpparse.c:132:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 132 | free(cp); | ^~~~ ftpparse.c:132:3: note: include '' or provide a declaration of 'free' ftpparse.c:185:22: error: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] 185 | fp->filesize=strtol(token,NULL,10); | ^~~~~~ | strtok ftpparse.c: In function 'parse_time': ftpparse.c:214:12: warning: unused variable 't' [-Wunused-variable] 214 | time_t t; | ^ ftpparse.c:213:15: warning: unused variable 'tm' [-Wunused-variable] 213 | struct tm tm; | ^~ make[4]: *** [Makefile:314: ftpparse.lo] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -c connection.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -Wp,-MD,.deps/connection.pp -c connection.c -o connection.o connection.c: In function 'proz_connection_init': connection.c:124:16: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] 124 | sizeof(&connection->retry_delay)); | ^ connection.c: In function 'connection_retr_fsize_not_known': connection.c:175:83: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] 175 | if (write_data_with_lock(connection, read_buffer, sizeof(char), bytes_read) < bytes_read) | ^ connection.c: In function 'connection_retr_fsize_known': connection.c:271:83: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] 271 | if (write_data_with_lock(connection, read_buffer, sizeof(char), bytes_read) < bytes_read) | ^ connection.c: In function 'proz_connection_get_status_string': connection.c:337:13: warning: variable 'status' set but not used [-Wunused-but-set-variable] 337 | dl_status status; | ^~~~~~ connection.c: In function 'connection_show_message': connection.c:393:3: error: implicit declaration of function 'va_start' [-Wimplicit-function-declaration] 393 | va_start(args, format); | ^~~~~~~~ connection.c:395:3: error: implicit declaration of function 'va_end' [-Wimplicit-function-declaration] 395 | va_end(args); | ^~~~~~ connection.c: In function 'proz_get_url_info_loop': connection.c:439:18: warning: cast between incompatible function types from 'void (*)(connection_t *)' to 'void * (*)(void *)' [-Wcast-function-type] 439 | (void *(*)(void *)) get_url_info_loop, | ^ make[4]: *** [Makefile:314: connection.lo] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -c ftp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -Wp,-MD,.deps/ftp.pp -c ftp.c -o ftp.o ftp.c: In function 'ftp_get_return': ftp.c:49:10: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 49 | return atoi(code); | ^~~~ ftp.c: In function 'ftp_send_msg': ftp.c:159:3: error: implicit declaration of function 'va_start' [-Wimplicit-function-declaration] 159 | va_start(args, format); | ^~~~~~~~ ftp.c:166:3: error: implicit declaration of function 'va_end' [-Wimplicit-function-declaration] 166 | va_end(args); | ^~~~~~ ftp.c: In function 'ftp_size': ftp.c:505:54: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 505 | sscanf(connection->serv_ret_lines->line + 3, "%lld", size); | ~~~^ ~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld ftp.c: In function 'ftp_login': ftp.c:614:11: warning: variable 'logged_in' set but not used [-Wunused-but-set-variable] 614 | boolean logged_in = FALSE; | ^~~~~~~~~ make[4]: *** [Makefile:314: ftp.lo] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -c misc.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -Wp,-MD,.deps/misc.pp -c misc.c -o misc.o misc.c: In function 'kmalloc': misc.c:45:9: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 45 | ret = malloc(size); | ^~~~~~ misc.c:29:1: note: include '' or provide a declaration of 'malloc' 28 | #include "debug.h" +++ |+#include 29 | misc.c:45:9: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 45 | ret = malloc(size); | ^~~~~~ misc.c:45:9: note: include '' or provide a declaration of 'malloc' misc.c: In function 'krealloc': misc.c:60:9: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 60 | ret = realloc(ptr, new_size); | ^~~~~~~ misc.c:60:9: note: include '' or provide a declaration of 'realloc' misc.c:60:9: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] misc.c:60:9: note: include '' or provide a declaration of 'realloc' misc.c: In function 'kfree': misc.c:74:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 74 | free(ptr); | ^~~~ misc.c:74:5: note: include '' or provide a declaration of 'free' misc.c:74:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] misc.c:74:5: note: include '' or provide a declaration of 'free' misc.c: In function 'setargval': misc.c:184:14: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 184 | *num = atoi(optstr + 1); | ^~~~ misc.c: In function 'home_dir': misc.c:246:16: error: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] 246 | char *home = getenv("HOME"); | ^~~~~~ misc.c:246:16: note: 'getenv' is defined in header ''; this is probably fixable by adding '#include ' misc.c:246:16: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] make[4]: *** [Makefile:314: misc.lo] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -c download.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -Wall -O0 -D_REENTRANT -D_REENTRANT -W -Wall -O2 -ggdb -Wall -O0 -D_REENTRANT -Wp,-MD,.deps/download.pp -c download.c -o download.o download.c: In function 'download_show_message': download.c:720:3: error: implicit declaration of function 'va_start' [-Wimplicit-function-declaration] 720 | va_start(args, format); | ^~~~~~~~ download.c:722:3: error: implicit declaration of function 'va_end' [-Wimplicit-function-declaration] 722 | va_end(args); | ^~~~~~ download.c: In function 'proz_download_join_downloads': download.c:855:20: warning: cast between incompatible function types from 'void (*)(download_t *)' to 'void * (*)(void *)' [-Wcast-function-type] 855 | (void *(*)(void *)) download_join_downloads, | ^ download.c: In function 'download_handle_threads_ftpsearch': download.c:1422:17: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 1422 | malloc(strlen | ^~~~~~ download.c:32:1: note: include '' or provide a declaration of 'malloc' 31 | #include "ftpsearch.h" +++ |+#include 32 | download.c:1422:17: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1422 | malloc(strlen | ^~~~~~ download.c:1422:17: note: include '' or provide a declaration of 'malloc' download.c:1438:13: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 1438 | free(url_buf); | ^~~~ download.c:1438:13: note: include '' or provide a declaration of 'free' download.c:1438:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] download.c:1438:13: note: include '' or provide a declaration of 'free' download.c:1514:17: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1514 | malloc(strlen | ^~~~~~ download.c:1514:17: note: include '' or provide a declaration of 'malloc' download.c:1530:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1530 | free(url_buf); | ^~~~ download.c:1530:13: note: include '' or provide a declaration of 'free' download.c: In function 'proz_download_setup_connections_ftpsearch': download.c:1976:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1976 | urlinfo *url = malloc(sizeof(urlinfo)); | ^~~~~~ download.c:1976:26: note: include '' or provide a declaration of 'malloc' download.c:1992:15: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1992 | free(url_buf); | ^~~~ download.c:1992:15: note: include '' or provide a declaration of 'free' download.c:2015:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2015 | free(url_buf); | ^~~~ download.c:2015:17: note: include '' or provide a declaration of 'free' make[4]: *** [Makefile:314: download.lo] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prozilla-2.0.4/libprozilla/src' make[3]: *** [Makefile:177: all-recursive] Error 1 make[2]: *** [Makefile:326: all-recursive-am] Error 2 make[1]: *** [Makefile:240: all-recursive] Error 1 make: *** [Makefile:184: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AD6NOo (%build) RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AD6NOo (%build) I: [iurt_root_command] ERROR: chroot