D: [iurt_root_command] chroot warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/hotkeys-0.5.7.4-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.3oDL0t + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf hotkeys-0.5.7.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/hotkeys_0.5.7.4-0.3ubuntu2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hotkeys-0.5.7.4 + rm -rf /home/pterjan/rpmbuild/BUILD/hotkeys-0.5.7.4-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/hotkeys-0.5.7.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (hotkeys-0.5.7.1_mutefix.patch):' Patch #1 (hotkeys-0.5.7.1_mutefix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/hotkeys.c Hunk #1 succeeded at 903 (offset 74 lines). + echo 'Patch #2 (hotkeys-0.5.7.1-db4.patch):' Patch #2 (hotkeys-0.5.7.1-db4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file acinclude.m4 patching file Makefile.in patching file src/Makefile.in + echo 'Patch #3 (hotkeys-0.5.7.1-gcc43.diff):' Patch #3 (hotkeys-0.5.7.1-gcc43.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/hotkeys.c + echo 'Patch #4 (hotkeys-0.5.7.1-includedir.patch):' Patch #4 (hotkeys-0.5.7.1-includedir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/Makefile.am + echo 'Patch #5 (hotkeys-0.5.7.1-automake-1.13.patch):' Patch #5 (hotkeys-0.5.7.1-automake-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RYQmJf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd hotkeys-0.5.7.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:342: warning: underquoted definition of AM_CHECK_DB acinclude.m4:342: run info Automake 'Extending aclocal' acinclude.m4:342: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1009: AM_INIT_AUTOMAKE is expanded from... configure.in:5: the top level configure.in:16: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:16: the top level configure.in:21: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:21: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:21: the top level configure.in:26: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:26: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:26: the top level configure.in:31: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:31: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:31: the top level configure.in:36: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:36: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:36: the top level configure.in:41: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:41: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:41: the top level configure.in:46: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:46: the top level configure.in:73: warning: AM_PATH_XML2 is deprecated, use PKG_CHECK_MODULES instead aclocal.m4:216: AM_PATH_XML2 is expanded from... configure.in:73: the top level configure.in:102: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:102: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... acinclude.m4:342: AM_CHECK_DB is expanded from... configure.in:102: the top level configure.in:112: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... aclocal.m4:34: AM_PATH_GTK_2_0 is expanded from... configure.in:112: the top level configure.in:112: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:34: AM_PATH_GTK_2_0 is expanded from... configure.in:112: the top level configure.in:120: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... aclocal.m4:236: AM_PATH_LIBXOSD is expanded from... configure.in:120: the top level configure.in:125: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:125: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:125: the top level configure.in:134: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:134: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:134: the top level configure.in:137: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:137: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.in:137: the top level configure.in:142: warning: AC_OUTPUT should be used without arguments. configure.in:142: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:5: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:9: installing 'config/compile' src/Makefile.am: installing 'config/depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:9: warning: 'CFLAGS' is a user variable, you should not override it; src/Makefile.am:9: use 'AM_CFLAGS' instead + 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 -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 -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 --with-xosd 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 to enable maintainer-specific portions of Makefiles... no 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes 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 libxml-2.0 >= 2.2.8... yes checking for pthread_create in -lpthread... yes checking for db_create in -ldb... yes checking for version of db... < 3.2.9, failed *** The version of the Berkeley DB library installed is not *** 3.2.9 or above, make sure the correct version is installed. *** If you've installed it in an unusual location, please *** use --with-db-inc and --with-db-lib to specify it. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RYQmJf (%build) RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RYQmJf (%build) I: [iurt_root_command] ERROR: chroot