+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/obnam.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zh3udN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf obnam-1.21 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/obnam_1.21.orig.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd obnam-1.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uQBo5J + umask 022 + cd /builddir/build/BUILD + cd obnam-1.21 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + /usr/bin/python setup.py build DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/vfs_local_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/chunkid_token_map.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/splitpath.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/hooks_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/sizeparse.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/sizeparse_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/structurederror_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/hooks.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/app.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/whole_file_checksummer.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/encryption_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/lockmgr.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/metadata_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/bag_store.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/repo_factory.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/repo_fs.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/repo_interface.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/whole_file_checksummer_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/chunkid_token_map_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/structurederror_finder.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/obnamerror.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/delegator.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/humanise.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/forget_policy_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/vfs_local.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/fsck_work_item.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/structurederror.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/pluginbase.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/bag.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/bag_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/blob_store.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/pathname_excluder.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/repo_factory_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/forget_policy.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/splitpath_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/backup_progress.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/checksummer_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/pathname_excluder_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/bag_store_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/obj_serialiser.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/metadata.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/blob_store_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/version.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/defaults.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/__init__.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/encryption.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/checksummer.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/vfs.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/lockmgr_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/pluginbase_tests.py -> build/lib.linux-riscv64-2.7/obnamlib copying obnamlib/obj_serialiser_tests.py -> build/lib.linux-riscv64-2.7/obnamlib creating build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/compression_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/fuse_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/sftp_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/show_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/vfs_local_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/gaconfig_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/encryption_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/list_formats_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/restore_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/fsck_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/list_errors_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/force_lock_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/forget_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/verify_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/__init__.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/dump_repo_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/exclude_caches_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/backup_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/one_file_system_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins copying obnamlib/plugins/exclude_pathnames_plugin.py -> build/lib.linux-riscv64-2.7/obnamlib/plugins creating build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/clientlist_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/checksumtree.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/clientmetadatatree.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/clientlist.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/chunklist.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/repo_tree.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/metadata_codec.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/repo_fmt_6_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/repo_fmt_6.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/checksumtree_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/__init__.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/chunklist_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/clientmetadatatree_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 copying obnamlib/fmt_6/metadata_codec_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_6 creating build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/dirobj.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/dirobj_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/format.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/leaf_store_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/tree_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/format_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/cowtree.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/leaf.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/leaf_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/indexes.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/cowtree_tests.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/client_list.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/leaf_store.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/tree.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/chunk_store.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/client.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga copying obnamlib/fmt_ga/__init__.py -> build/lib.linux-riscv64-2.7/obnamlib/fmt_ga running build_ext building 'obnamlib._obnam' extension creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -I/usr/include/python2.7 -c _obnammodule.c -o build/temp.linux-riscv64-2.7/_obnammodule.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 build/temp.linux-riscv64-2.7/_obnammodule.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/obnamlib/_obnam.so running build_scripts creating build/scripts-2.7 copying and adjusting obnam -> build/scripts-2.7 copying and adjusting obnam-viewprof -> build/scripts-2.7 changing mode of build/scripts-2.7/obnam from 644 to 755 changing mode of build/scripts-2.7/obnam-viewprof from 644 to 755 ERROR:root:Command failed: python obnam --generate-manpage=obnam.1.in --output=obnam.1 DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out CRITICAL:root:Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 173, in _run self.enable_plugins() File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 526, in enable_plugins for plugin in self.pluginmgr.plugins: File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 75, in plugins self._plugins = self.load_plugins() File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 112, in load_plugins for plugin in self.load_plugin_file(pathname): File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 132, in load_plugin_file ('.py', 'r', imp.PY_SOURCE)) File "/builddir/build/BUILD/obnam-1.21/obnamlib/plugins/sftp_plugin.py", line 31, in import paramiko File "/usr/lib/python2.7/site-packages/paramiko/__init__.py", line 30, in from paramiko.transport import SecurityOptions, Transport File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 38, in from paramiko.auth_handler import AuthHandler File "/usr/lib/python2.7/site-packages/paramiko/auth_handler.py", line 44, in from paramiko.ssh_gss import GSSAuth File "/usr/lib/python2.7/site-packages/paramiko/ssh_gss.py", line 42, in from pyasn1.type.univ import ObjectIdentifier ImportError: No module named pyasn1.type.univ Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 173, in _run self.enable_plugins() File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 526, in enable_plugins for plugin in self.pluginmgr.plugins: File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 75, in plugins self._plugins = self.load_plugins() File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 112, in load_plugins for plugin in self.load_plugin_file(pathname): File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 132, in load_plugin_file ('.py', 'r', imp.PY_SOURCE)) File "/builddir/build/BUILD/obnam-1.21/obnamlib/plugins/sftp_plugin.py", line 31, in import paramiko File "/usr/lib/python2.7/site-packages/paramiko/__init__.py", line 30, in from paramiko.transport import SecurityOptions, Transport File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 38, in from paramiko.auth_handler import AuthHandler File "/usr/lib/python2.7/site-packages/paramiko/auth_handler.py", line 44, in from paramiko.ssh_gss import GSSAuth File "/usr/lib/python2.7/site-packages/paramiko/ssh_gss.py", line 42, in from pyasn1.type.univ import ObjectIdentifier ImportError: No module named pyasn1.type.univ building manpage for obnam (lang=) Traceback (most recent call last): File "setup.py", line 353, in 'clean': CleanMore, File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 64, in run self.build_manpage('obnam', '') File "setup.py", line 69, in build_manpage self.generate_troff(program, lang) File "setup.py", line 77, in generate_troff stdout=f) File "/usr/lib/python2.7/site-packages/cliapp/runcmd.py", line 63, in runcmd raise cliapp.AppException(msg) cliapp.app.AppException: Command failed: python obnam --generate-manpage=obnam.1.in --output=obnam.1 DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out CRITICAL:root:Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 173, in _run self.enable_plugins() File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 526, in enable_plugins for plugin in self.pluginmgr.plugins: File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 75, in plugins self._plugins = self.load_plugins() File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 112, in load_plugins for plugin in self.load_plugin_file(pathname): File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 132, in load_plugin_file ('.py', 'r', imp.PY_SOURCE)) File "/builddir/build/BUILD/obnam-1.21/obnamlib/plugins/sftp_plugin.py", line 31, in import paramiko File "/usr/lib/python2.7/site-packages/paramiko/__init__.py", line 30, in from paramiko.transport import SecurityOptions, Transport File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 38, in from paramiko.auth_handler import AuthHandler File "/usr/lib/python2.7/site-packages/paramiko/auth_handler.py", line 44, in from paramiko.ssh_gss import GSSAuth File "/usr/lib/python2.7/site-packages/paramiko/ssh_gss.py", line 42, in from pyasn1.type.univ import ObjectIdentifier ImportError: No module named pyasn1.type.univ Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 173, in _run self.enable_plugins() File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 526, in enable_plugins for plugin in self.pluginmgr.plugins: File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 75, in plugins self._plugins = self.load_plugins() File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 112, in load_plugins for plugin in self.load_plugin_file(pathname): File "/usr/lib/python2.7/site-packages/cliapp/pluginmgr.py", line 132, in load_plugin_file ('.py', 'r', imp.PY_SOURCE)) File "/builddir/build/BUILD/obnam-1.21/obnamlib/plugins/sftp_plugin.py", line 31, in import paramiko File "/usr/lib/python2.7/site-packages/paramiko/__init__.py", line 30, in from paramiko.transport import SecurityOptions, Transport File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 38, in from paramiko.auth_handler import AuthHandler File "/usr/lib/python2.7/site-packages/paramiko/auth_handler.py", line 44, in from paramiko.ssh_gss import GSSAuth File "/usr/lib/python2.7/site-packages/paramiko/ssh_gss.py", line 42, in from pyasn1.type.univ import ObjectIdentifier ImportError: No module named pyasn1.type.univ error: Bad exit status from /var/tmp/rpm-tmp.uQBo5J (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.uQBo5J (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff