Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libtheora.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-145594-9787/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libtheora.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/libtheora-1.1.1-6.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libtheora.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-145594-9787/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libtheora.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pGcWvX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtheora-1.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libtheora-1.1.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libtheora-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libtheora-1.1.1-libpng16.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libtheora-1.1.1-fix-pp_sharp_mod-calc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libtheora-1.1.1-libm.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 /var/tmp/rpm-tmp.fBHZn1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libtheora-1.1.1 + ./autogen.sh checking for autoconf... fgrep: warning: fgrep is obsolescent; using grep -F checking for automake 1.6 or later... automake checking for aclocal 1.6 or later... aclocal checking for libtool... libtoolize I am going to run ./configure with no arguments - if you wish to pass any to it, please specify them on the ./autogen.sh command line. Generating configuration files for theora, please wait.... aclocal -I m4 libtoolize --automake --force autoheader automake --add-missing configure.ac:55: installing './compile' configure.ac:14: installing './missing' doc/spec/Makefile.am: installing './depcomp' examples/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lib/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lib/Makefile.am:90: warning: source file 'x86/mmxidct.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. lib/Makefile.am:90: warning: source file 'x86/mmxfrag.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'x86/mmxstate.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'x86/x86state.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:30: warning: source file 'x86/mmxencfrag.c' is in a subdirectory, lib/Makefile.am:30: but option 'subdir-objects' is disabled lib/Makefile.am:30: warning: source file 'x86/mmxfdct.c' is in a subdirectory, lib/Makefile.am:30: but option 'subdir-objects' is disabled lib/Makefile.am:30: warning: source file 'x86/x86enc.c' is in a subdirectory, lib/Makefile.am:30: but option 'subdir-objects' is disabled lib/Makefile.am:35: warning: source file 'x86/sse2fdct.c' is in a subdirectory, lib/Makefile.am:35: but option 'subdir-objects' is disabled lib/Makefile.am:38: warning: source file 'x86/mmxfrag.c' is in a subdirectory, lib/Makefile.am:38: but option 'subdir-objects' is disabled lib/Makefile.am:38: warning: source file 'x86/mmxidct.c' is in a subdirectory, lib/Makefile.am:38: but option 'subdir-objects' is disabled lib/Makefile.am:38: warning: source file 'x86/mmxstate.c' is in a subdirectory, lib/Makefile.am:38: but option 'subdir-objects' is disabled lib/Makefile.am:38: warning: source file 'x86/x86state.c' is in a subdirectory, lib/Makefile.am:38: but option 'subdir-objects' is disabled tests/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' autoconf configure.ac:12: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:12: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9845: AM_CONFIG_HEADER is expanded from... configure.ac:12: the top level configure.ac:60: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. configure.ac:60: You should run autoupdate. aclocal.m4:8549: AC_LIBTOOL_WIN32_DLL is expanded from... configure.ac:60: the top level configure.ac:60: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:60: put the 'win32-dll' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:8549: AC_LIBTOOL_WIN32_DLL is expanded from... configure.ac:60: the top level configure.ac:61: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:61: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.ac:61: the top level configure.ac:208: warning: The macro `AC_PROG_LD' is obsolete. configure.ac:208: You should run autoupdate. aclocal.m4:3367: AC_PROG_LD is expanded from... configure.ac:208: the top level configure.ac:276: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:276: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/ogg.m4:8: XIPH_PATH_OGG is expanded from... configure.ac:276: the top level configure.ac:276: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:276: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... m4/ogg.m4:8: XIPH_PATH_OGG is expanded from... configure.ac:276: the top level configure.ac:276: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:276: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/ogg.m4:8: XIPH_PATH_OGG is expanded from... configure.ac:276: the top level configure.ac:310: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:310: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... m4/vorbis.m4:9: XIPH_PATH_VORBIS is expanded from... configure.ac:310: the top level configure.ac:310: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:310: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/vorbis.m4:9: XIPH_PATH_VORBIS is expanded from... configure.ac:310: the top level configure.ac:316: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:316: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... m4/sdl.m4:11: AM_PATH_SDL is expanded from... configure.ac:316: the top level configure.ac:316: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:316: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/sdl.m4:11: AM_PATH_SDL is expanded from... configure.ac:316: the top level configure.ac:452: warning: AC_OUTPUT should be used without arguments. configure.ac:452: You should run autoupdate. checking build system type... ./config.guess: unable to guess system type This script, last modified 2002-07-23, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from ftp://ftp.gnu.org/pub/gnu/config/ If the version you run (./config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2002-07-23 uname -m = loongarch64 uname -r = 5.10.134-16.2_rc2.an23.loongarch64 uname -s = Linux uname -v = #1 SMP Sat Jan 20 16:25:13 CST 2024 /usr/bin/uname -p = loongarch64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = loongarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = loongarch64 UNAME_RELEASE = 5.10.134-16.2_rc2.an23.loongarch64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Sat Jan 20 16:25:13 CST 2024 configure: error: cannot guess build type; you must specify one error: Bad exit status from /var/tmp/rpm-tmp.fBHZn1 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fBHZn1 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libtheora.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libtheora.spec