D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/gftp-2.9.1b-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jajL6H + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gftp-2.9.1b + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gftp-2.9.1b.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gftp-2.9.1b + rm -rf /home/pterjan/rpmbuild/BUILD/gftp-2.9.1b-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gftp-2.9.1b-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gftp-datetime-fixedsort.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gftp-fix-desktop-file.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gftp-mageia-bookmarks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + mkdir -p autoconf-m4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.R0VsjE + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gftp-2.9.1b + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi configure.ac: warning: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION + 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 ./autoconf/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./autoconf/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./autoconf/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./autoconf/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./autoconf/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 + /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 + ./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 a race-free 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 make supports nested variables... (cached) yes checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking how to run the C preprocessor... gcc -E checking for egrep -e... /usr/bin/grep -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for x86_64-mageia-linux-gnu-ar... no checking for x86_64-mageia-linux-gnu-lib... no checking for x86_64-mageia-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for libutil.h... no checking for malloc.h... yes checking for pty.h... yes checking for sys/ioctl.h... yes checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for grantpt... yes checking for openpty... yes checking for getdtablesize... yes checking for openpty in -lutil... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking whether to use readline... yes checking for readline/readline.h... yes checking for library containing tgetent... -ltermcap checking for library containing readline... -lreadline checking if malloc debugging is wanted... no checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GTK... yes checking for GTHREAD... yes checking for pthread_create in -lpthread... yes checking for SSL... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating docs/Makefile config.status: creating docs/sample.gftp/Makefile config.status: creating icons/Makefile config.status: creating lib/Makefile config.status: creating src/gftp config.status: creating src/Makefile config.status: creating src/uicommon/Makefile config.status: creating src/gtk/Makefile config.status: creating src/text/Makefile config.status: creating po/Makefile config.status: creating config.h config.status: executing po-directories commands config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in docs Making all in sample.gftp make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in icons make[2]: Nothing to be done for 'all'. Making all in po make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/po' /usr/bin/msgfmt -o am.mo am.po /usr/bin/msgfmt -o ar.mo ar.po /usr/bin/msgfmt -o as.mo as.po /usr/bin/msgfmt -o az.mo az.po /usr/bin/msgfmt -o be.mo be.po /usr/bin/msgfmt -o bg.mo bg.po /usr/bin/msgfmt -o bn_IN.mo bn_IN.po /usr/bin/msgfmt -o bn.mo bn.po /usr/bin/msgfmt -o bs.mo bs.po /usr/bin/msgfmt -o ca.mo ca.po /usr/bin/msgfmt -o ca@valencia.mo ca@valencia.po /usr/bin/msgfmt -o cs.mo cs.po /usr/bin/msgfmt -o da.mo da.po /usr/bin/msgfmt -o de.mo de.po /usr/bin/msgfmt -o dz.mo dz.po /usr/bin/msgfmt -o el.mo el.po /usr/bin/msgfmt -o eo.mo eo.po /usr/bin/msgfmt -o es.mo es.po /usr/bin/msgfmt -o eu.mo eu.po /usr/bin/msgfmt -o fi.mo fi.po /usr/bin/msgfmt -o fr.mo fr.po /usr/bin/msgfmt -o ga.mo ga.po /usr/bin/msgfmt -o gl.mo gl.po /usr/bin/msgfmt -o gu.mo gu.po /usr/bin/msgfmt -o he.mo he.po /usr/bin/msgfmt -o hi.mo hi.po /usr/bin/msgfmt -o hr.mo hr.po /usr/bin/msgfmt -o hu.mo hu.po /usr/bin/msgfmt -o it.mo it.po /usr/bin/msgfmt -o ja.mo ja.po /usr/bin/msgfmt -o kn.mo kn.po /usr/bin/msgfmt -o ko.mo ko.po /usr/bin/msgfmt -o lt.mo lt.po /usr/bin/msgfmt -o lv.mo lv.po /usr/bin/msgfmt -o mk.mo mk.po /usr/bin/msgfmt -o ml.mo ml.po /usr/bin/msgfmt -o mr.mo mr.po /usr/bin/msgfmt -o ms.mo ms.po /usr/bin/msgfmt -o nb.mo nb.po /usr/bin/msgfmt -o ne.mo ne.po /usr/bin/msgfmt -o nl.mo nl.po /usr/bin/msgfmt -o oc.mo oc.po /usr/bin/msgfmt -o or.mo or.po /usr/bin/msgfmt -o pa.mo pa.po /usr/bin/msgfmt -o pl.mo pl.po /usr/bin/msgfmt -o pt_BR.mo pt_BR.po /usr/bin/msgfmt -o pt.mo pt.po /usr/bin/msgfmt -o ro.mo ro.po /usr/bin/msgfmt -o ru.mo ru.po /usr/bin/msgfmt -o rw.mo rw.po /usr/bin/msgfmt -o sk.mo sk.po /usr/bin/msgfmt -o sl.mo sl.po /usr/bin/msgfmt -o sq.mo sq.po /usr/bin/msgfmt -o sr@Latn.mo sr@Latn.po /usr/bin/msgfmt -o sr.mo sr.po /usr/bin/msgfmt -o sv.mo sv.po /usr/bin/msgfmt -o ta.mo ta.po /usr/bin/msgfmt -o te.mo te.po /usr/bin/msgfmt -o th.mo th.po /usr/bin/msgfmt -o tr.mo tr.po /usr/bin/msgfmt -o uk.mo uk.po /usr/bin/msgfmt -o zh_CN.mo zh_CN.po /usr/bin/msgfmt -o zh_HK.mo zh_HK.po /usr/bin/msgfmt -o zh_TW.mo zh_TW.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/po' Making all in lib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o charset-conv.o charset-conv.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o cache.o cache.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o protocol_ftps.o protocol_ftps.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o protocol_https.o protocol_https.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o protocol_bookmark.o protocol_bookmark.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o pty.o pty.c pty.c: In function 'gftp_exec': pty.c:66:3: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 66 | strncpy (pts_name, new_pts_name, len); | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o fsplib.o fsplib.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o misc.o misc.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o protocol_fsp.o protocol_fsp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o sslcommon.o sslcommon.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o socket-connect.o socket-connect.c socket-connect.c: In function 'gftp_accept_connection': socket-connect.c:399:31: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types] 399 | newfd = accept (*fd, saddr, &request->remote_addr_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t * {aka long unsigned int *} In file included from gftp.h:53, from socket-connect.c:24: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ make[2]: *** [Makefile:440: socket-connect.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o ftp-dir-listing.o ftp-dir-listing.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o sockutils.o sockutils.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o protocol_http.o protocol_http.c protocol_http.c: In function 'http_chunked_read': protocol_http.c:772:38: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 772 | if (httpdat->content_length == httpdat->read_bytes) | ^~ protocol_http.c:778:47: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'off_t' {aka 'long int'} [-Wsign-compare] 778 | if (read_size + httpdat->read_bytes > httpdat->content_length) | ^ protocol_http.c:782:36: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 782 | httpdat->chunk_size < read_size) | ^ protocol_http.c:895:31: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 895 | if (httpdat->chunk_size < current_size) | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o config_file.o config_file.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o protocol_localfs.o protocol_localfs.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o protocols.o protocols.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o protocol_ftp.o protocol_ftp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -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 -c -o sshv2.o sshv2.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gftp-2.9.1b/lib' make[1]: *** [Makefile:416: all-recursive] Error 1 make: *** [Makefile:355: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.R0VsjE (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.R0VsjE (%build) I: [iurt_root_command] ERROR: chroot