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/fbembed-2.5.9.27115-14.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rOHsW0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Firebird-2.5.9.27115-0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Firebird-2.5.9.27115-0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Firebird-2.5.9.27115-0 + rm -rf /home/pterjan/rpmbuild/BUILD/Firebird-2.5.9.27115-0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Firebird-2.5.9.27115-0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (firebird-btyacc-fpie.patch):' Patch #0 (firebird-btyacc-fpie.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file extern/btyacc/Makefile + echo 'Patch #10 (allow-creating-buildRoot-as-non-root-user.patch):' Patch #10 (allow-creating-buildRoot-as-non-root-user.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file builds/install/arch-specific/linux/misc/makeInstallImage.sh.in + echo 'Patch #11 (add-pkgconfig-files.patch):' Patch #11 (add-pkgconfig-files.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file builds/install/arch-specific/linux/classic/fbembed.pc.in patching file builds/install/arch-specific/linux/super/fbclient.pc.in patching file configure.in Hunk #1 succeeded at 1364 (offset 4 lines). + sed -i -e /libio.h/d src/jrd/perf.h + for d in ./extern/editline/ ./extern/icu/source/ ./builds/make.new/config/ + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub ./extern/editline/ + for d in ./extern/editline/ ./extern/icu/source/ ./builds/make.new/config/ + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub ./extern/icu/source/ + for d in ./extern/editline/ ./extern/icu/source/ ./builds/make.new/config/ + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub ./builds/make.new/config/ + 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.8ZA4Gb + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Firebird-2.5.9.27115-0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=gnu++98 -flifetime-dse=1 -fno-sized-deallocation -fno-delete-null-pointer-checks' + 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 -std=gnu++98 -flifetime-dse=1 -fno-sized-deallocation -fno-delete-null-pointer-checks' + NOCONFIGURE=1 + ./autogen.sh AUTORECONF=autoreconf Running autoreconf ... 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: running: aclocal -I . --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'builds/make.new/config'. libtoolize: copying file 'builds/make.new/config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal -I . --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force configure.in:15: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:15: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:15: the top level configure.in:40: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete. configure.in:40: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:40: the top level configure.in:526: warning: The macro 'AC_LANG_C' is obsolete. configure.in:526: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... acx_pthread.m4:4: ACX_PTHREAD is expanded from... configure.in:526: the top level configure.in:526: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:526: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... acx_pthread.m4:4: ACX_PTHREAD is expanded from... configure.in:526: the top level configure.in:614: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:614: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:614: the top level configure.in:615: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:615: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:615: the top level configure.in:616: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:616: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:616: the top level configure.in:617: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:617: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:617: the top level configure.in:618: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:618: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:618: the top level configure.in:619: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:619: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:619: the top level configure.in:620: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:620: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:620: the top level configure.in:621: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:621: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:621: the top level configure.in:622: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:622: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:622: the top level configure.in:623: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:623: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:623: the top level configure.in:624: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:624: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:624: the top level configure.in:625: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:625: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:625: the top level configure.in:626: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:626: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:626: the top level configure.in:627: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:627: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:627: the top level configure.in:628: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:628: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:628: the top level configure.in:629: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:629: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:629: the top level configure.in:630: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:630: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:630: the top level configure.in:672: warning: The macro 'AC_PROG_CC_STDC' is obsolete. configure.in:672: You should run autoupdate. ./lib/autoconf/c.m4:1669: AC_PROG_CC_STDC is expanded from... configure.in:672: the top level configure.in:673: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:673: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.in:673: the top level configure.in:678: warning: The macro 'AC_LIBTOOL_DLOPEN' is obsolete. configure.in:678: You should run autoupdate. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.in:678: the top level configure.in:678: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.in:678: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.in:678: the top level configure.in:679: warning: The macro 'AC_LIBTOOL_WIN32_DLL' is obsolete. configure.in:679: You should run autoupdate. m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from... configure.in:679: the top level configure.in:679: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you configure.in:679: put the 'win32-dll' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from... configure.in:679: the top level configure.in:681: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.in:681: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.in:681: the top level configure.in:685: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:685: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:685: the top level configure.in:701: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:701: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:701: the top level configure.in:788: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:788: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:788: the top level configure.in:834: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:834: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:834: the top level configure.in:889: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:889: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.in:889: the top level configure.in:912: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:912: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.in:912: the top level configure.in:919: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:919: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.in:919: the top level configure.in:941: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:941: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:941: the top level configure.in:962: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:962: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.in:962: the top level configure.in:973: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:973: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.in:973: the top level configure.in:1008: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:1008: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:1008: the top level configure.in:1023: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:1023: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:1023: the top level autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: 'builds/make.new/config/install-sh' is updated autoreconf: Leaving directory '.' Autogen skipping configure process. + 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 -std=gnu++98 -flifetime-dse=1 -fno-sized-deallocation -fno-delete-null-pointer-checks' + 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,-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 ./builds/make.new/config/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./builds/make.new/config/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./builds/make.new/config/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./builds/make.new/config/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./builds/make.new/config/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./builds/make.new/config/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./extern/editline/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./extern/editline/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./extern/editline/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./extern/editline/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./extern/editline/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./extern/editline/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./extern/icu/source/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./extern/icu/source/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./extern/icu/source/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./extern/icu/source/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./extern/icu/source/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./extern/icu/source/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/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 --prefix=/usr --disable-static --with-system-icu --with-system-editline --with-fbbin=/usr/bin --with-fbsbin=/usr/sbin --with-fbconf=/etc/fbembed --with-fblib=/usr/lib64 --with-fbinclude=/usr/include/fbembed --with-fbdoc=/usr/share/doc/fbembed --with-fbudf=/usr/lib64/fbembed/udf --with-fbsample=/usr/share/doc/fbembed/sample --with-fbsample-db=/usr/lib64/fbembed/sample --with-fbhelp=/usr/lib64/fbembed/lib --with-fbintl=/usr/lib64/fbembed/intl --with-fbmisc=/usr/share/fbembed/misc --with-fbsecure-db=/var/lib/fbembed/secdb --with-fbmsg=/usr/lib64/fbembed/lib --with-fblog=/var/log/fbembed --with-fbglock=/var/run/fbembed --with-fbplugins=/usr/lib64/fbembed/plugins configure: WARNING: unrecognized options: --disable-dependency-tracking checking whether make sets $(MAKE)... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu 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 /proc/self/maps... yes checking whether everything is installed to the same prefix... no checking whether binary relocation support should be enabled... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc ./configure: line 5894: syntax error near unexpected token `;;' ./configure: line 5894: `printf "%s\n" "$as_me: WARNING: --with-system-editline specified, not found. Using bundled editline" >&2;} ;;' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8ZA4Gb (%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.8ZA4Gb (%build) I: [iurt_root_command] ERROR: chroot