Skip to content

Instantly share code, notes, and snippets.

@ehelms
Created April 7, 2020 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehelms/603013cc21a5568aa8d378e649f1c5c0 to your computer and use it in GitHub Desktop.
Save ehelms/603013cc21a5568aa8d378e649f1c5c0 to your computer and use it in GitHub Desktop.
fatal: [rubygem-kafo]: FAILED! => changed=true
cmd: mock --recurse --chain -r mock/el7-scl.cfg --localrepo /home/ehelms/workspace/upstream/foreman-packaging/mock_builds SRPMs/*
delta: '0:00:06.959372'
end: '2020-04-07 12:28:07.951739'
msg: non-zero return code
rc: 30
start: '2020-04-07 12:28:00.992367'
stderr: |-
INFO: mock.py version 2.2 starting (python version = 3.7.6)...
INFO: Using 'dnf' instead of 'yum' for bootstrap chroot
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.2
INFO: Mock Version: 2.2
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.2
INFO: Mock Version: 2.2
Start: yum install
ERROR: Command failed:
# /usr/bin/systemd-nspawn -q -M 93e158522f1f42298701e8e2699c7eb1 -D /var/lib/mock/foreman-scl-7-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.g1hmcvml:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/foreman-scl-7-x86_64/root/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 /usr/bin/yum --installroot /var/lib/mock/foreman-scl-7-x86_64/root/ --releasever 7 install @buildsys-build scl-utils-build tfm-build yum vim
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libelf.so.1: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Aug 7 2019, 00:51:29)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment