D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/tftp-5.2-15.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jfhNUR + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf tftp-hpa-5.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tftp-hpa-5.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd tftp-hpa-5.2 + rm -rf /home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-mips.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-0.40-remap.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-hpa-0.39-tzfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-0.42-tftpboot.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-0.49-chk_retcodes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-hpa-0.49-fortify-strcpy-crash.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-0.49-cmd_arg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-hpa-0.49-stats.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-hpa-5.2-pktinfo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-doc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-enhanced-logging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tftp-hpa-5.2-gcc10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + autoreconf -fsv -I. autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: configure.in: not using aclocal autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --include=. --force configure.in:10: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.in:10: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... configure.in:10: the top level configure.in:16: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:16: the top level configure.in:17: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:17: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:17: the top level configure.in:18: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:18: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:18: the top level configure.in:19: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:19: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:19: the top level configure.in:20: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:20: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:20: the top level configure.in:21: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:21: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:21: the top level configure.in:22: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:22: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:22: the top level configure.in:23: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:23: the top level configure.in:24: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:24: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:24: the top level configure.in:25: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:25: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:25: the top level configure.in:26: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:26: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:26: the top level configure.in:27: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:27: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:27: the top level configure.in:28: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:28: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:28: the top level configure.in:29: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:29: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:29: the top level configure.in:30: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:30: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:30: the top level configure.in:31: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:31: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:31: the top level configure.in:33: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:33: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:33: the top level configure.in:36: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:36: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... aclocal.m4:193: PA_CHECK_INTTYPES_H_SANE is expanded from... configure.in:36: the top level configure.in:56: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:56: the top level configure.in:140: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:140: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:140: the top level configure.in:141: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:141: the top level configure.in:142: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:142: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:142: the top level configure.in:144: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:144: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:144: the top level configure.in:146: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:146: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:146: the top level configure.in:147: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:147: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:147: the top level configure.in:151: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:151: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:34: PA_SIGSETJMP is expanded from... configure.in:151: the top level configure.in:200: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:200: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:200: the top level configure.in:202: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:202: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:164: PA_HAVE_TCPWRAPPERS is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... aclocal.m4:218: PA_WITH_BOOL is expanded from... configure.in:202: the top level configure.in:202: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:202: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:164: PA_HAVE_TCPWRAPPERS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... aclocal.m4:218: PA_WITH_BOOL is expanded from... configure.in:202: the top level configure.in:304: warning: AC_OUTPUT should be used without arguments. configure.in:304: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --include=. --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: Leaving directory '.' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ah4tjd + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd tftp-hpa-5.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -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 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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 + /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 configure: WARNING: unrecognized options: --disable-dependency-tracking 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 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for library containing strerror... none required 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 for an ANSI C-conforming const... yes checking for inline... inline checking if gcc accepts -W... yes checking if gcc accepts -Wall... yes checking if gcc accepts -Wpointer-arith... yes checking if gcc accepts -Wbad-function-cast... yes checking if gcc accepts -Wcast-equal... no checking if gcc accepts -Wstrict-prototypes... yes checking if gcc accepts -Wmissing-prototypes... yes checking if gcc accepts -Wmissing-declarations... yes checking if gcc accepts -Wnested-externs... yes checking if gcc accepts -Winline... yes checking if gcc accepts -Wwrite-strings... yes checking if gcc accepts -Wundef... yes checking if gcc accepts -Wshadow... yes checking if gcc accepts -Wsign-compare... yes checking if gcc accepts -pipe... yes checking if gcc accepts -fno-strict-aliasing... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking if inttypes.h is sane... yes checking for fcntl.h... yes checking for grp.h... yes checking for libgen.h... yes checking for memory.h... yes checking for setjmp.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sysexits.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/file.h... yes checking for sys/filio.h... no checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for machine/param.h... no checking for sys/socket.h... yes checking for winsock2.h... no checking for winsock.h... no checking for gcc option to enable large file support... none needed checking for off_t... yes checking for pid_t... yes checking for mode_t... yes checking for size_t... yes checking for intmax_t... yes checking for long long... yes checking for uint16_t... yes checking for uint32_t... yes checking for u_short... yes checking for u_long... yes checking for socklen_t... yes checking for library containing socket... none required checking for fcntl... yes checking for setsid... yes checking for recvmsg... yes checking for ftruncate... yes checking for setreuid... yes checking for setregid... yes checking for initgroups... yes checking for setgroups... yes checking for strtoumax... yes checking for strtoull... yes checking for struct msghdr.msg_control... yes checking for struct in_pktinfo.ipi_addr... yes checking for struct addrinfo.ai_addr... yes checking if fcntl.h defines O_NONBLOCK... yes checking if fcntl.h defines O_BINARY... no checking if fcntl.h defines O_TEXT... no checking if fcntl.h defines F_SETLK... yes checking if sys/file.h defines LOCK_SH... yes checking if sys/file.h defines LOCK_EX... yes checking for sigsetjmp... yes checking for library containing xmalloc... no checking for library containing xrealloc... no checking for library containing xstrdup... no checking for library containing bsd_signal... none required checking for library containing getopt_long... none required checking for library containing getaddrinfo... none required checking for library containing freeaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing inet_ntop... none required checking for library containing inet_aton... none required checking for daemon... yes checking for dup2... yes checking if netinet/in.h defines IPPORT_TFTP... yes checking for library containing yp_get_default_domain... -lnsl checking for main in -lwrap... yes checking for tcpwrappers... yes checking for regex.h... yes checking for library containing regcomp... none required checking for readline/readline.h... yes checking for library containing tputs... -ltermcap checking for library containing readline... -lreadline checking for readline/history.h... yes checking for struct sockaddr_in6.sin6_addr... yes checking for IPv6 support... yes checking for struct in6_pktinfo.ipi6_addr... yes checking whether ln -s works... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating MCONFIG config.status: creating aconfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j48 V=1 VERBOSE=1 MCONFIG all echo \#define VERSION \"tftp-hpa `cat version`\" > version.h rm -f aconfig.h.in aconfig.h autoheader autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' if test -x config.status; then \ ./config.status --recheck && ./config.status ; \ else \ ./configure ; \ fi running CONFIG_SHELL=/bin/sh /bin/sh ./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 build_alias=x86_64-mageia-linux-gnu host_alias=x86_64-mageia-linux-gnu CC=gcc CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld --no-create --no-recursion configure: WARNING: unrecognized options: --disable-dependency-tracking 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 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for library containing strerror... none required 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 for an ANSI C-conforming const... yes checking for inline... inline checking if gcc accepts -W... yes checking if gcc accepts -Wall... yes checking if gcc accepts -Wpointer-arith... yes checking if gcc accepts -Wbad-function-cast... yes checking if gcc accepts -Wcast-equal... no checking if gcc accepts -Wstrict-prototypes... yes checking if gcc accepts -Wmissing-prototypes... yes checking if gcc accepts -Wmissing-declarations... yes checking if gcc accepts -Wnested-externs... yes checking if gcc accepts -Winline... yes checking if gcc accepts -Wwrite-strings... yes checking if gcc accepts -Wundef... yes checking if gcc accepts -Wshadow... yes checking if gcc accepts -Wsign-compare... yes checking if gcc accepts -pipe... yes checking if gcc accepts -fno-strict-aliasing... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking if inttypes.h is sane... yes checking for fcntl.h... yes checking for grp.h... yes checking for libgen.h... yes checking for memory.h... yes checking for setjmp.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sysexits.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/file.h... yes checking for sys/filio.h... no checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for machine/param.h... no checking for sys/socket.h... yes checking for winsock2.h... no checking for winsock.h... no checking for gcc option to enable large file support... none needed checking for off_t... yes checking for pid_t... yes checking for mode_t... yes checking for size_t... yes checking for intmax_t... yes checking for long long... yes checking for uint16_t... yes checking for uint32_t... yes checking for u_short... yes checking for u_long... yes checking for socklen_t... yes checking for library containing socket... none required checking for fcntl... yes checking for setsid... yes checking for recvmsg... yes checking for ftruncate... yes checking for setreuid... yes checking for setregid... yes checking for initgroups... yes checking for setgroups... yes checking for strtoumax... yes checking for strtoull... yes checking for struct msghdr.msg_control... yes checking for struct in_pktinfo.ipi_addr... yes checking for struct addrinfo.ai_addr... yes checking if fcntl.h defines O_NONBLOCK... yes checking if fcntl.h defines O_BINARY... no checking if fcntl.h defines O_TEXT... no checking if fcntl.h defines F_SETLK... yes checking if sys/file.h defines LOCK_SH... yes checking if sys/file.h defines LOCK_EX... yes checking for sigsetjmp... yes checking for library containing xmalloc... no checking for library containing xrealloc... no checking for library containing xstrdup... no checking for library containing bsd_signal... none required checking for library containing getopt_long... none required checking for library containing getaddrinfo... none required checking for library containing freeaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing inet_ntop... none required checking for library containing inet_aton... none required checking for daemon... yes checking for dup2... yes checking if netinet/in.h defines IPPORT_TFTP... yes checking for library containing yp_get_default_domain... -lnsl checking for main in -lwrap... yes checking for tcpwrappers... yes checking for regex.h... yes checking for library containing regcomp... none required checking for readline/readline.h... yes checking for library containing tputs... -ltermcap checking for library containing readline... -lreadline checking for readline/history.h... yes checking for struct sockaddr_in6.sin6_addr... yes checking for IPv6 support... yes checking for struct in6_pktinfo.ipi6_addr... yes checking whether ln -s works... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status configure: WARNING: unrecognized options: --disable-dependency-tracking config.status: creating MCONFIG config.status: creating aconfig.h : Generated by side effect /usr/bin/make -C lib /usr/bin/make -C common make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c xrealloc.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c xstrdup.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c xmalloc.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib' rm -f libxtra.a ar cq libxtra.a xmalloc.o xrealloc.o xstrdup.o ranlib libxtra.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/common' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c tftpsubs.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/common' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/common' rm -f libcommon.a ar cq libcommon.a tftpsubs.o ranlib libcommon.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/common' /usr/bin/make -C tftp /usr/bin/make -C tftpd make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftp' sed -e 's/@@VERSION@@/5.2/g' < tftp.1.in > tftp.1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftp' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' sed -e 's/@@VERSION@@/5.2/g' < tftpd.8.in > tftpd.8 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftp' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c tftp.c tftp.c: In function 'tftp_sendfile': tftp.c:88:5: error: implicit declaration of function 'bsd_signal'; did you mean 'ssignal'? [-Wimplicit-function-declaration] 88 | bsd_signal(SIGALRM, timer); | ^~~~~~~~~~ | ssignal tftp.c:88:5: warning: nested extern declaration of 'bsd_signal' [-Wnested-externs] make[1]: *** [../MRULES:6: tftp.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftp' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftp' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c main.c main.c: In function 'main': main.c:313:5: error: implicit declaration of function 'bsd_signal'; did you mean 'ssignal'? [-Wimplicit-function-declaration] 313 | bsd_signal(SIGINT, intr); | ^~~~~~~~~~ | ssignal main.c:313:5: warning: nested extern declaration of 'bsd_signal' [-Wnested-externs] make[1]: *** [../MRULES:6: main.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftp' make: *** [Makefile:7: tftp.build] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c misc.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c recvfrom.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c remap.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2 -c tftpd.c tftpd.c: In function 'main': tftpd.c:392:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 392 | snprintf(envtz, sizeof(envtz) - 1, "UTC%+d", (p_tm->tm_gmtoff * -1)/3600); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %+ld tftpd.c: In function 'tftp_recvfile': tftpd.c:1673:69: warning: argument 'oap' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1673 | static void tftp_recvfile(const struct formats *pf, struct tftphdr *oap, int oacklen) | ~~~~~~~~~~~~~~~~^~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld tftpd.o recvfrom.o misc.o remap.o ../common/libcommon.a -lwrap -lnsl /home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/lib/libxtra.a -o tftpd make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tftp-hpa-5.2/tftpd' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ah4tjd (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ah4tjd (%build) I: [iurt_root_command] ERROR: chroot