Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/hivex.spec'], chrootPath='/var/lib/mock/hivex-1.3.10-6.9.el7-20180417201220-19993/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/hivex.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/hivex-1.3.10-6.9.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/hivex.spec'], chrootPath='/var/lib/mock/hivex-1.3.10-6.9.el7-20180417201220-19993/root'shell=Falseuid=1002env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/hivex.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aYWan1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hivex-1.3.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/hivex-1.3.10.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hivex-1.3.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init Initialized empty Git repository in /builddir/build/BUILD/hivex-1.3.10/.git/ + git config user.email libguestfs@redhat.com + git config user.name libguestfs + git add . + git commit -a -q -m '1.3.10 baseline' + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch Applying: Fix Perl directory install path. + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch Applying: value: Set errno = 0 on non-error path in hivex_value_data_cell_offset (RHBZ#1145056). + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch Applying: hivexml: Tidy up error handling and printing. + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch Applying: lib: Don't leak errno from _hivex_recode function. + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch Applying: handle: Refuse to open files < 8192 bytes in size. + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch Applying: handle: Check that pages do not extend beyond the end of the file. + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch Applying: generator: Fix a spelling mistake in the documentation (RHBZ#1099286). + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch Applying: add HIVEX_OPEN_UNSAFE flag. + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch Applying: lib: change how hbin sections are read. + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch Applying: lib: allow to walk registry with corrupted blocks + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch Applying: hivexsh: add -u flag for HIVEX_OPEN_UNSAFE. + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch =~ generated.patch ]] + git am /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch Applying: hivexregedit: allow to pass HIVEX_OPEN_UNSAFE + for f in /builddir/build/SOURCES/0001-Fix-Perl-directory-install-path.patch /builddir/build/SOURCES/0002-value-Set-errno-0-on-non-error-path-in-hivex_value_d.patch /builddir/build/SOURCES/0003-hivexml-Tidy-up-error-handling-and-printing.patch /builddir/build/SOURCES/0004-lib-Don-t-leak-errno-from-_hivex_recode-function.patch /builddir/build/SOURCES/0005-handle-Refuse-to-open-files-8192-bytes-in-size.patch /builddir/build/SOURCES/0006-handle-Check-that-pages-do-not-extend-beyond-the-end.patch /builddir/build/SOURCES/0007-generator-Fix-a-spelling-mistake-in-the-documentatio.patch /builddir/build/SOURCES/0008-add-HIVEX_OPEN_UNSAFE-flag.patch /builddir/build/SOURCES/0009-lib-change-how-hbin-sections-are-read.patch /builddir/build/SOURCES/0010-lib-allow-to-walk-registry-with-corrupted-blocks.patch /builddir/build/SOURCES/0011-hivexsh-add-u-flag-for-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/0012-hivexregedit-allow-to-pass-HIVEX_OPEN_UNSAFE.patch /builddir/build/SOURCES/generated.patch + [[ ! /builddir/build/SOURCES/generated.patch =~ generated.patch ]] + patch -p1 patching file lib/hivex.h patching file lib/hivex.pod patching file lib/hivex.syms patching file ocaml/hivex_c.c patching file ocaml/hivex.ml patching file ocaml/hivex.mli patching file perl/Hivex.xs patching file perl/lib/Win/Hivex.pm patching file python/hivex.py patching file python/hivex-py.c patching file ruby/ext/hivex/_hivex.c + autoreconf -i Copying file m4/codeset.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intmax.m4 Copying file m4/lcmessage.m4 Copying file m4/lock.m4 Copying file m4/printf-posix.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file po/Makevars.template configure.ac:186: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:186: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:186: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zh3CAb + umask 022 + cd /builddir/build/BUILD + cd hivex-1.3.10 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-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 --disable-static 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)... /builddir/build/BUILD/hivex-1.3.10/build-aux/missing: Unknown '--is-lightweight' option Try '/builddir/build/BUILD/hivex-1.3.10/build-aux/missing --help' for more information configure: WARNING: 'missing' script is too old or missing yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for aarch64-redhat-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 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 dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for Minix Amsterdam compiler... no checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for _set_invalid_parameter_handler... no checking for fcntl... yes checking for symlink... yes checking for getdtablesize... yes checking for mprotect... yes checking for strndup... yes checking for vasnprintf... no checking for snprintf... yes checking for gettimeofday... yes checking for lstat... yes checking for setenv... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for working fcntl.h... yes checking for pid_t... yes checking for mode_t... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking for working GNU getopt_long function... yes checking whether getenv is declared... yes checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... yes checking whether imaxabs is declared without a macro... yes checking whether imaxdiv is declared without a macro... yes checking whether strtoimax is declared without a macro... yes checking whether strtoumax is declared without a macro... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for a sed that does not truncate output... /usr/bin/sed checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking for ssize_t... yes checking for sigset_t... yes checking for uid_t in sys/types.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wchar_t... yes checking whether strerror(0) succeeds... ./configure: fork: Cannot allocate memory ./configure: fork: Cannot allocate memory error: Bad exit status from /var/tmp/rpm-tmp.zh3CAb (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zh3CAb (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/hivex.spec