D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/gnubg-1.06.002-8.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XKvF3P + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gnubg-1.06.002 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/gnubg-release-1.06.002-sources.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnubg-1.06.002 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/gnubg-release-1.06.002-cvs-buffoverflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/gnubg-release-1.06.002-cvs-python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mdeqed + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gnubg-1.06.002 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './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' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:75: warning: The macro `AC_GNU_SOURCE' is obsolete. configure.ac:75: You should run autoupdate. ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.ac:75: the top level configure.ac:75: warning: AC_LINK_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.ac:75: the top level configure.ac:111: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:111: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/libcurl.m4:59: LIBCURL_CHECK_CONFIG is expanded from... configure.ac:111: the top level configure.ac:119: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:119: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:119: the top level configure.ac:126: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:1012: AM_PROG_LEX is expanded from... configure.ac:126: the top level configure.ac:382: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:382: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:382: the top level configure.ac:408: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:408: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ax_ext.m4:49: AX_EXT is expanded from... configure.ac:408: the top level configure.ac:408: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:408: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... m4/ax_ext.m4:49: AX_EXT is expanded from... configure.ac:408: the top level configure.ac:496: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:496: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:496: the top level configure.ac:516: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:516: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:516: the top level configure.ac:538: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:538: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:538: the top level configure.ac:566: warning: The macro `GLIB_GNU_GETTEXT' is obsolete. configure.ac:566: You should run autoupdate. m4/glib-gettext.m4:316: GLIB_GNU_GETTEXT is expanded from... m4/glib-gettext.m4:416: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:566: the top level configure.ac:566: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:566: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/glib-gettext.m4:48: GLIB_LC_MESSAGES is expanded from... m4/glib-gettext.m4:316: GLIB_GNU_GETTEXT is expanded from... m4/glib-gettext.m4:416: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:566: the top level configure.ac:566: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:566: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... lib/m4sugar/m4sh.m4:699: 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... m4/glib-gettext.m4:102: GLIB_WITH_NLS is expanded from... m4/glib-gettext.m4:316: GLIB_GNU_GETTEXT is expanded from... m4/glib-gettext.m4:416: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:566: the top level configure.ac:566: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:566: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: 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... m4/glib-gettext.m4:102: GLIB_WITH_NLS is expanded from... m4/glib-gettext.m4:316: GLIB_GNU_GETTEXT is expanded from... m4/glib-gettext.m4:416: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:566: the top level configure.ac:566: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete. configure.ac:566: You should run autoupdate. ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from... m4/glib-gettext.m4:102: GLIB_WITH_NLS is expanded from... m4/glib-gettext.m4:316: GLIB_GNU_GETTEXT is expanded from... m4/glib-gettext.m4:416: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:566: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:43: installing './compile' configure.ac:25: installing './missing' Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + SIMD=no + SIMD=sse2 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + 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 ./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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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 PYTHON=/usr/bin/python3 --with-python --enable-simd=sse2 --enable-shared --disable-static checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking whether the linker accepts -Wl,--large-address-aware... no checking for host... x86_64-mageia-linux-gnu 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 whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for gawk... (cached) gawk checking whether ln -s works... yes checking for docbook2x-texi... no checking for db2x_docbook2texi... no checking for docbook2x-man... no checking for db2x_docbook2man... no checking for dblatex... no checking for xsltproc... xsltproc checking for msgfmt... msgfmt checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.82.0 checking whether libcurl is usable... yes checking for curl_free... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for bison... no checking for byacc... no checking for flex... no checking for lex... no checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GOBJECT... yes checking for GTHREAD... yes checking for FREETYPE2... yes checking for LIBPNG... yes checking for CAIRO... yes checking for PANGOCAIRO... yes checking for SQLITE... yes checking for CANBERRA... yes checking for GLU... yes checking for GTK... yes checking for GTKGLEXT... yes checking for __attribute__... yes checking for __attribute__((fallthrough))... yes checking for __attribute__((format))... yes checking for __attribute__((returns_nonnull))... yes checking for __attribute__((unused))... yes checking for sqrt in -lm... yes checking for library containing gethostbyname... none required checking for library containing inet_aton... none required checking for library containing connect... none required checking for tparm in -lncurses... yes checking for readline in -lreadline... yes checking for readline/readline.h... yes checking for __gmpz_import in -lgmp... yes checking for gmp.h... yes checking for sys/resource.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for mcheck.h... yes checking for inline... inline checking for size_t... yes checking for sigaction... yes checking for strptime... yes checking for setpriority... yes checking for mtrace... yes checking for __builtin_clz... yes checking for __builtin_expect... yes checking wether deprecated glib functions are enabled... checking wether deprecated gtk functions are enabled... checking for GL/glx.h... yes checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource checking for glib-compile-resources... /usr/bin/glib-compile-resources checking whether /usr/bin/python3 version is >= 2.3... yes checking for /usr/bin/python3 version... 3.10 checking for /usr/bin/python3 platform... linux checking for GNU default /usr/bin/python3 prefix... ${prefix} checking for GNU default /usr/bin/python3 exec_prefix... ${exec_prefix} checking for /usr/bin/python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for /usr/bin/python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.10/site-packages checking for python3.10... /usr/bin/python3 checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... no configure: error: cannot import Python module "distutils". Please check your Python installation. The error was: :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mdeqed (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mdeqed (%build) I: [iurt_root_command] ERROR: chroot