Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-cypari.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682305351.086404/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-cypari.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-cypari-2.4.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-cypari.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682305351.086404/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-cypari.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-cypari-2.4.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-cypari.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682305351.086404/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-cypari.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e33szE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cypari-2.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/cypari-2.4.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cypari-2.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zYo60t + umask 022 + cd /builddir/build/BUILD + cd cypari-2.4.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-aarch64-3.9 creating build/lib.linux-aarch64-3.9/cypari copying cypari/memory.py -> build/lib.linux-aarch64-3.9/cypari copying cypari/test.py -> build/lib.linux-aarch64-3.9/cypari copying cypari/py2tests.py -> build/lib.linux-aarch64-3.9/cypari copying cypari/version.py -> build/lib.linux-aarch64-3.9/cypari copying cypari/__init__.py -> build/lib.linux-aarch64-3.9/cypari copying cypari/tests.py -> build/lib.linux-aarch64-3.9/cypari copying cypari/py3tests.py -> build/lib.linux-aarch64-3.9/cypari running build_ext Building gmp ... Downloading GMP source archive ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 2395k 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 4 2395k 4 112k 0 0 45701 0 0:00:53 0:00:02 0:00:51 45692 10 2395k 10 240k 0 0 71338 0 0:00:34 0:00:03 0:00:31 71338 14 2395k 14 352k 0 0 78111 0 0:00:31 0:00:04 0:00:27 78103 17 2395k 17 416k 0 0 73458 0 0:00:33 0:00:05 0:00:28 79623 18 2395k 18 448k 0 0 70721 0 0:00:34 0:00:06 0:00:28 93375 19 2395k 19 464k 0 0 62151 0 0:00:39 0:00:07 0:00:32 70194 19 2395k 19 464k 0 0 52138 0 0:00:47 0:00:09 0:00:38 40475 20 2395k 20 480k 0 0 51800 0 0:00:47 0:00:09 0:00:38 26886 20 2395k 20 480k 0 0 45814 0 0:00:53 0:00:10 0:00:43 13293 20 2395k 20 496k 0 0 42728 0 0:00:57 0:00:11 0:00:46 9103 20 2395k 20 496k 0 0 40345 0 0:01:00 0:00:12 0:00:48 6626 20 2395k 20 496k 0 0 37423 0 0:01:05 0:00:13 0:00:52 7348 21 2395k 21 512k 0 0 34903 0 0:01:10 0:00:15 0:00:55 5923 22 2395k 22 528k 0 0 34907 0 0:01:10 0:00:15 0:00:55 10323 22 2395k 22 544k 0 0 33442 0 0:01:13 0:00:16 0:00:57 10302 23 2395k 23 560k 0 0 32522 0 0:01:15 0:00:17 0:00:58 12995 24 2395k 24 592k 0 0 32648 0 0:01:15 0:00:18 0:00:57 19676 26 2395k 26 624k 0 0 32760 0 0:01:14 0:00:19 0:00:55 25577 27 2395k 27 656k 0 0 32862 0 0:01:14 0:00:20 0:00:54 26463 30 2395k 30 720k 0 0 34116 0 0:01:11 0:00:21 0:00:50 36379 32 2395k 32 784k 0 0 35608 0 0:01:08 0:00:22 0:00:46 46678 36 2395k 36 864k 0 0 37678 0 0:01:05 0:00:23 0:00:42 56680 38 2395k 38 928k 0 0 38855 0 0:01:03 0:00:24 0:00:39 62849 40 2395k 40 960k 0 0 38628 0 0:01:03 0:00:25 0:00:38 62172 42 2395k 42 1008k 0 0 38835 0 0:01:03 0:00:26 0:00:37 59362 44 2395k 44 1056k 0 0 39386 0 0:01:02 0:00:27 0:00:35 56738 45 2395k 45 1088k 0 0 38945 0 0:01:02 0:00:28 0:00:34 44747 45 2395k 45 1088k 0 0 37712 0 0:01:05 0:00:29 0:00:36 32220 46 2395k 46 1120k 0 0 37575 0 0:01:05 0:00:30 0:00:35 32296 47 2395k 47 1136k 0 0 36972 0 0:01:06 0:00:31 0:00:35 26831 50 2395k 50 1200k 0 0 37655 0 0:01:05 0:00:32 0:00:33 28482 52 2395k 52 1248k 0 0 38070 0 0:01:04 0:00:33 0:00:31 33018 53 2395k 53 1280k 0 0 37909 0 0:01:04 0:00:34 0:00:30 39071 54 2395k 54 1296k 0 0 37300 0 0:01:05 0:00:35 0:00:30 35645 54 2395k 54 1296k 0 0 36276 0 0:01:07 0:00:36 0:00:31 32000 54 2395k 54 1312k 0 0 35535 0 0:01:09 0:00:37 0:00:32 22166 54 2395k 54 1312k 0 0 34616 0 0:01:10 0:00:38 0:00:32 12502 54 2395k 54 1312k 0 0 34001 0 0:01:12 0:00:39 0:00:33 6635 54 2395k 54 1312k 0 0 33161 0 0:01:13 0:00:40 0:00:33 3319 55 2395k 55 1328k 0 0 32523 0 0:01:15 0:00:41 0:00:34 6267 56 2395k 56 1344k 0 0 32385 0 0:01:15 0:00:42 0:00:33 6986 56 2395k 56 1360k 0 0 32052 0 0:01:16 0:00:43 0:00:33 10597 57 2395k 57 1376k 0 0 31440 0 0:01:18 0:00:44 0:00:34 12360 58 2395k 58 1392k 0 0 31310 0 0:01:18 0:00:45 0:00:33 16344 58 2395k 58 1408k 0 0 30987 0 0:01:19 0:00:46 0:00:33 17366 59 2395k 59 1424k 0 0 30721 0 0:01:19 0:00:47 0:00:32 16489 60 2395k 60 1456k 0 0 30776 0 0:01:19 0:00:48 0:00:31 19672 62 2395k 62 1504k 0 0 31054 0 0:01:19 0:00:49 0:00:30 27426 64 2395k 64 1536k 0 0 31128 0 0:01:18 0:00:50 0:00:28 29473 65 2395k 65 1568k 0 0 31157 0 0:01:18 0:00:51 0:00:27 32735 66 2395k 66 1584k 0 0 30858 0 0:01:19 0:00:52 0:00:27 32138 66 2395k 66 1584k 0 0 30279 0 0:01:21 0:00:53 0:00:28 25580 66 2395k 66 1600k 0 0 30060 0 0:01:21 0:00:54 0:00:27 20021 67 2395k 67 1616k 0 0 29833 0 0:01:22 0:00:55 0:00:27 16586 68 2395k 68 1632k 0 0 29597 0 0:01:22 0:00:56 0:00:26 13293 68 2395k 68 1632k 0 0 28995 0 0:01:24 0:00:57 0:00:27 9690 68 2395k 68 1648k 0 0 28663 0 0:01:25 0:00:58 0:00:27 12351 69 2395k 69 1664k 0 0 28595 0 0:01:25 0:00:59 0:00:26 12890 70 2395k 70 1680k 0 0 28420 0 0:01:26 0:01:00 0:00:26 12941 70 2395k 70 1696k 0 0 28248 0 0:01:26 0:01:01 0:00:25 13065 71 2395k 71 1712k 0 0 28062 0 0:01:27 0:01:02 0:00:25 16939 72 2395k 72 1728k 0 0 27804 0 0:01:28 0:01:03 0:00:25 17192 73 2395k 73 1760k 0 0 27907 0 0:01:27 0:01:04 0:00:23 19696 74 2395k 74 1792k 0 0 27986 0 0:01:27 0:01:05 0:00:22 22769 76 2395k 76 1824k 0 0 28084 0 0:01:27 0:01:06 0:00:21 26089 77 2395k 77 1856k 0 0 28175 0 0:01:27 0:01:07 0:00:20 29591 79 2395k 79 1904k 0 0 28411 0 0:01:26 0:01:08 0:00:18 36146 80 2395k 80 1936k 0 0 28383 0 0:01:26 0:01:09 0:00:17 34237 81 2395k 81 1952k 0 0 28311 0 0:01:26 0:01:10 0:00:16 32559 82 2395k 82 1968k 0 0 28175 0 0:01:27 0:01:11 0:00:16 29373 82 2395k 82 1984k 0 0 27882 0 0:01:27 0:01:12 0:00:15 24232 82 2395k 82 1984k 0 0 27643 0 0:01:28 0:01:13 0:00:15 16824 82 2395k 82 1984k 0 0 27076 0 0:01:30 0:01:15 0:00:15 9475 83 2395k 83 2000k 0 0 27095 0 0:01:30 0:01:15 0:00:15 9863 83 2395k 83 2000k 0 0 26741 0 0:01:31 0:01:16 0:00:15 6475 84 2395k 84 2016k 0 0 26584 0 0:01:32 0:01:17 0:00:15 6840 84 2395k 84 2032k 0 0 26477 0 0:01:32 0:01:18 0:00:14 9648 86 2395k 86 2064k 0 0 26570 0 0:01:32 0:01:19 0:00:13 18156 88 2395k 88 2112k 0 0 26862 0 0:01:31 0:01:20 0:00:11 23291 91 2395k 91 2192k 0 0 27559 0 0:01:29 0:01:21 0:00:08 40445 100 2395k 100 2395k 0 0 29760 0 0:01:22 0:01:22 --:--:-- 81260 ./configure --build=x86_64-none-none --prefix=/builddir/build/BUILD/cypari-2.4.1/libcache/gmp64 --with-pic checking build system type... x86_64-none-none checking host system type... x86_64-none-none checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe 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 ABI=64 checking compiler gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ... yes 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 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 whether gcc understands -c and -o together... yes checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking build system compiler gcc... yes checking for build system preprocessor... gcc -E checking for build system executable suffix... checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E using ABI="64" CC="gcc" CFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection" CPPFLAGS="" MPN_PATH=" x86_64/k8 x86_64 generic" checking whether assembler supports --noexecstack option... yes checking for ar... ar 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 how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed 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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-none-none file names to x86_64-none-none format... func_convert_file_noop checking how to convert x86_64-none-none file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... unknown checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip 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 mt... no checking if : is a manifest tool... no 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 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... yes 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) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking invent.h usability... no checking invent.h presence... no checking for invent.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking sys/iograph.h usability... no checking sys/iograph.h presence... no checking for sys/iograph.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking sys/syssgi.h usability... no checking sys/syssgi.h presence... no checking for sys/syssgi.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/sysctl.h... no checking for machine/hal_sysinfo.h... no checking whether fgetc is declared... yes checking whether fscanf is declared... yes checking whether optarg is declared... yes checking whether ungetc is declared... yes checking whether vfprintf is declared... yes checking whether sys_errlist is declared... no checking whether sys_nerr is declared... no checking return type of signal handlers... void checking for intmax_t... yes checking for long double... yes checking for long long... yes checking for ptrdiff_t... yes checking for quad_t... yes checking for uint_least32_t... yes checking for intptr_t... yes checking for working volatile... yes checking for C/C++ restrict keyword... __restrict checking whether gcc __attribute__ ((const)) works... yes checking whether gcc __attribute__ ((malloc)) works... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking whether gcc __attribute__ ((noreturn)) works... yes checking whether gcc hidden aliases work... yes checking for inline... inline checking for cos in -lm... yes checking for working alloca.h... yes checking for alloca (via gmp-impl.h)... yes checking how to allocate temporary memory... alloca checking whether byte ordering is bigendian... no checking format of `double' floating point... IEEE little endian checking for alarm... yes checking for attr_get... no checking for clock... yes checking for cputime... no checking for getpagesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getsysinfo... no checking for localeconv... yes checking for memset... yes checking for mmap... yes checking for mprotect... yes checking for nl_langinfo... yes checking for obstack_vprintf... yes checking for popen... yes checking for processor_info... no checking for pstat_getprocessor... no checking for raise... yes checking for read_real_time... no checking for sigaction... yes checking for sigaltstack... yes checking for sigstack... yes checking for syssgi... no checking for strchr... yes checking for strerror... yes checking for strnlen... yes checking for strtol... yes checking for strtoul... yes checking for sysconf... yes checking for sysctl... no checking for sysctlbyname... no checking for times... yes checking for library containing clock_gettime... none required checking for vsnprintf... yes checking whether vsnprintf works... yes checking whether sscanf needs writable input... no checking for struct pst_processor.psp_iticksperclktick... no checking for suitable m4... configure: error: No usable m4 in $PATH or /usr/5bin (see config.log for reasons). ***Failed to build PARI library*** error: Bad exit status from /var/tmp/rpm-tmp.zYo60t (%build) Bad exit status from /var/tmp/rpm-tmp.zYo60t (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-cypari.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 --target aarch64 --nodeps /builddir/build/SPECS/python-cypari.spec