D: [iurt_root_command] chroot warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/zapata-1.4.12.1-16.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IoE8it + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf zaptel-1.4.12.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/zaptel-1.4.12.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zaptel-1.4.12.1 + rm -rf /home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (zaptel-1.4.12.1-printf.diff):' Patch #0 (zaptel-1.4.12.1-printf.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fprintf --fuzz=0 patching file ztcfg.c + echo 'Patch #1 (zaptel-1.4.12.1-makefile.diff):' Patch #1 (zaptel-1.4.12.1-makefile.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .kernel --fuzz=0 patching file Makefile + echo 'Patch #2 (zaptel-1.4.12.1-firmware.diff):' Patch #2 (zaptel-1.4.12.1-firmware.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .firmware --fuzz=0 patching file Makefile + install -Dpm 644 /home/pterjan/rpmbuild/SOURCES/autoconf.h . + for i in /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-064-1.05.01.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-128-1.05.01.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-tc400m-MR6.12.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-vpmadt032-1.07.tar.gz + install -Dpm 644 /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-064-1.05.01.tar.gz firmware/ + tar -xvf /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-064-1.05.01.tar.gz -C ./firmware/ zaptel-fw-oct6114-064.bin + for i in /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-064-1.05.01.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-128-1.05.01.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-tc400m-MR6.12.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-vpmadt032-1.07.tar.gz + install -Dpm 644 /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-128-1.05.01.tar.gz firmware/ + tar -xvf /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-128-1.05.01.tar.gz -C ./firmware/ zaptel-fw-oct6114-128.bin + for i in /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-064-1.05.01.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-128-1.05.01.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-tc400m-MR6.12.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-vpmadt032-1.07.tar.gz + install -Dpm 644 /home/pterjan/rpmbuild/SOURCES/zaptel-fw-tc400m-MR6.12.tar.gz firmware/ + tar -xvf /home/pterjan/rpmbuild/SOURCES/zaptel-fw-tc400m-MR6.12.tar.gz -C ./firmware/ zaptel-fw-tc400m.bin + for i in /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-064-1.05.01.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-oct6114-128-1.05.01.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-tc400m-MR6.12.tar.gz /home/pterjan/rpmbuild/SOURCES/zaptel-fw-vpmadt032-1.07.tar.gz + install -Dpm 644 /home/pterjan/rpmbuild/SOURCES/zaptel-fw-vpmadt032-1.07.tar.gz firmware/ + tar -xvf /home/pterjan/rpmbuild/SOURCES/zaptel-fw-vpmadt032-1.07.tar.gz -C ./firmware/ zaptel-fw-vpmadt032.bin + 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.zaI3JQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd zaptel-1.4.12.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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-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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -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 + 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 ./menuselect/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./menuselect/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./menuselect/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./menuselect/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./menuselect/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./menuselect/config.sub + 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 + /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 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for GNU make... make checking for grep... /usr/bin/grep checking for sh... /bin/sh checking for ln... /usr/bin/ln checking for wget... /usr/bin/wget checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for newtBell in -lnewt... no checking for usb_init in -lusb... no configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts config.status: creating build_tools/make_firmware_object configure: *** Zaptel build successfully configured *** + /usr/bin/make -O -j48 V=1 VERBOSE=1 '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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf"' prefix=/usr libdir=/usr/lib64 Generating input for menuselect ... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect' checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for 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 for GNU make... make checking for asprintf... no checking for getloadavg... no checking for setenv... no checking for strcasestr... no checking for strndup... no checking for strnlen... no checking for strsep... no checking for strtoq... no checking for unsetenv... no checking for vasprintf... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E 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 for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for pkg-config... pkg-config Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-2.0' not found configure: creating ./config.status config.status: creating makeopts config.status: creating autoconfig.h configure: configuring in mxml configure: running /bin/sh './configure' --prefix=/usr/local 'CC=' 'LD=' 'AR=' 'CFLAGS=' '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' --cache-file=/dev/null --srcdir=. checking for 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 whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for mkdir... /usr/bin/mkdir checking for nroff... no checking for groff... no checking for rm... /usr/bin/rm checking for strdup... no checking for vsnprintf... no configure: creating ./config.status config.status: creating Makefile config.status: creating mxml.list config.status: creating mxml.pc config.status: creating config.h configure: Menuselect build configuration successfully completed make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c -o strcompat.o strcompat.c : warning: ISO C99 requires whitespace after the macro name strcompat.c:225:1: error: unknown type name 'uint64_t' 225 | uint64_t strtoq(const char *nptr, char **endptr, int base) | ^~~~~~~~ strcompat.c:30:1: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' 29 | #include +++ |+#include 30 | strcompat.c:225:10: error: conflicting types for 'strtoq'; have 'int(const char *, char **, int)' 225 | uint64_t strtoq(const char *nptr, char **endptr, int base) | ^~~~~~ In file included from strcompat.c:27: /usr/include/stdlib.h:188:22: note: previous declaration of 'strtoq' with type 'long long int(const char * restrict, char ** restrict, int)' 188 | extern long long int strtoq (const char *__restrict __nptr, | ^~~~~~ strcompat.c: In function 'strtoq': strcompat.c:228:10: error: unknown type name 'uint64_t' 228 | uint64_t acc; | ^~~~~~~~ strcompat.c:228:10: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' strcompat.c:230:10: error: unknown type name 'uint64_t' 230 | uint64_t qbase, cutoff; | ^~~~~~~~ strcompat.c:230:10: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' strcompat.c:278:26: error: 'uint64_t' undeclared (first use in this function) 278 | cutoff = neg ? (uint64_t)-(LONG_MIN + LONG_MAX) + LONG_MAX : LONG_MAX; | ^~~~~~~~ strcompat.c:278:26: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' strcompat.c:278:26: note: each undeclared identifier is reported only once for each function it appears in strcompat.c: In function 'getloadavg': strcompat.c:320:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 320 | fscanf(LOADAVG, "%lf %lf %lf", &avg[0], &avg[1], &avg[2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [: strcompat.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect' make[2]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-private.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-attr.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-search.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-set.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-entity.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-node.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-index.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-string.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c -o menuselect_curses.o menuselect_curses.c : warning: ISO C99 requires whitespace after the macro name make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c -o menuselect.o menuselect.c : warning: ISO C99 requires whitespace after the macro name menuselect.c: In function 'generate_makeopts_file': menuselect.c:1027:41: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1027 | system(rmcommand); | ^~~~~~~~~~~~~~~~~ menuselect.c:1037:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1037 | system(rmcommand); | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DPIC -D_REENTRANT -Iinclude -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="zaptel.conf" -DCONFIG_FILENAME"zaptel.conf" -c mxml-file.c : warning: ISO C99 requires whitespace after the macro name make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' /usr/bin/rm -f libmxml.a /usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o a - mxml-attr.o a - mxml-entity.o a - mxml-file.o a - mxml-index.o a - mxml-node.o a - mxml-search.o a - mxml-set.o a - mxml-private.o a - mxml-string.o ranlib libmxml.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zaptel-1.4.12.1/menuselect/mxml' make[1]: *** [Makefile:50: all] Error 2 make: *** [Makefile:671: menuselect/menuselect] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zaI3JQ (%build) RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zaI3JQ (%build) I: [iurt_root_command] ERROR: chroot