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 aarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-gorm.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-322298-68243/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-gorm.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/gorm-1.9.1-0.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-gorm.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-322298-68243/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-gorm.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jl0WaC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gorm-1.9.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/golang-github-jinzhu-gorm-1.9.1.orig.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gorm-1.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CAmwCF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gorm-1.9.1-0.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gorm-1.9.1-0.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/gorm-1.9.1-0.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gorm-1.9.1-0.an23.aarch64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 gorm-1.9.1 ++ find . -print + gofiles='. ./.codeclimate.yml ./.github ./.github/ISSUE_TEMPLATE.md ./.github/PULL_REQUEST_TEMPLATE.md ./.gitignore ./License ./README.md ./association.go ./association_test.go ./callback.go ./callback_create.go ./callback_delete.go ./callback_query.go ./callback_query_preload.go ./callback_row_query.go ./callback_save.go ./callback_system_test.go ./callback_update.go ./callbacks_test.go ./create_test.go ./customize_column_test.go ./delete_test.go ./dialect.go ./dialect_common.go ./dialect_mysql.go ./dialect_postgres.go ./dialect_sqlite3.go ./dialects ./dialects/mssql ./dialects/mssql/mssql.go ./dialects/mysql ./dialects/mysql/mysql.go ./dialects/postgres ./dialects/postgres/postgres.go ./dialects/sqlite ./dialects/sqlite/sqlite.go ./docker-compose.yml ./embedded_struct_test.go ./errors.go ./errors_test.go ./field.go ./field_test.go ./interface.go ./join_table_handler.go ./join_table_test.go ./logger.go ./main.go ./main_test.go ./migration_test.go ./model.go ./model_struct.go ./multi_primary_keys_test.go ./pointer_test.go ./polymorphic_test.go ./preload_test.go ./query_test.go ./scaner_test.go ./scope.go ./scope_test.go ./search.go ./search_test.go ./test_all.sh ./update_test.go ./utils.go ./utils_test.go ./wercker.yml' + go-rpm-integration install -i github.com/jinzhu/gorm -b '/builddir/build/BUILD/%{extractdir0}/_build/bin' -s '/builddir/build/BUILD/%{extractdir0}/_build' -o devel.file-list -O '/builddir/build/BUILD/%{extractdir0}' -V 1.9.1-0.an23 -p /builddir/build/BUILDROOT/gorm-1.9.1-0.an23.aarch64 -g /usr/share/gocode -r '.*example.*' . ./.codeclimate.yml ./.github ./.github/ISSUE_TEMPLATE.md ./.github/PULL_REQUEST_TEMPLATE.md ./.gitignore ./License ./README.md ./association.go ./association_test.go ./callback.go ./callback_create.go ./callback_delete.go ./callback_query.go ./callback_query_preload.go ./callback_row_query.go ./callback_save.go ./callback_system_test.go ./callback_update.go ./callbacks_test.go ./create_test.go ./customize_column_test.go ./delete_test.go ./dialect.go ./dialect_common.go ./dialect_mysql.go ./dialect_postgres.go ./dialect_sqlite3.go ./dialects ./dialects/mssql ./dialects/mssql/mssql.go ./dialects/mysql ./dialects/mysql/mysql.go ./dialects/postgres ./dialects/postgres/postgres.go ./dialects/sqlite ./dialects/sqlite/sqlite.go ./docker-compose.yml ./embedded_struct_test.go ./errors.go ./errors_test.go ./field.go ./field_test.go ./interface.go ./join_table_handler.go ./join_table_test.go ./logger.go ./main.go ./main_test.go ./migration_test.go ./model.go ./model_struct.go ./multi_primary_keys_test.go ./pointer_test.go ./polymorphic_test.go ./preload_test.go ./query_test.go ./scaner_test.go ./scope.go ./scope_test.go ./search.go ./search_test.go ./test_all.sh ./update_test.go ./utils.go ./utils_test.go ./wercker.yml Installing: github.com/jinzhu/gorm /usr/bin/go-rpm-integration: line 436: pushd: /builddir/build/BUILD/%{extractdir0}/_build/src/github.com/jinzhu/gorm: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.CAmwCF (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.CAmwCF (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-gorm.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 aarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-gorm.spec