Skip to content

Instantly share code, notes, and snippets.

@derekparker
Created March 1, 2018 18:25
Show Gist options
  • Save derekparker/abfee4dcc9b430b0476222b2a6c8d963 to your computer and use it in GitHub Desktop.
Save derekparker/abfee4dcc9b430b0476222b2a6c8d963 to your computer and use it in GitHub Desktop.
mock -r /etc/mock/devtools-2018.2-go-toolset-7-rhel-7-candidate-x86_64.cfg --install ./results_go-toolset-7/1.8/13.el7/go-toolset-7-runtime-1.8-13.el7.x86_64.rpm
INFO: mock.py version 1.4.8 starting (python version = 2.7.5)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
Start: chroot init
INFO: calling preinit hooks
INFO: enabled HW Info plugin
Mock Version: 1.4.8
INFO: Mock Version: 1.4.8
Finish: chroot init
INFO: installing package(s): ./results_go-toolset-7/1.8/13.el7/go-toolset-7-runtime-1.8-13.el7.x86_64.rpm
Failed to set locale, defaulting to C
Error: Nothing to do
ERROR: Command failed:
# /usr/bin/yum --installroot /var/lib/mock/devtools-2018.2-go-toolset-7-rhel-7-candidate-x86_64/root/ install ./results_go-toolset-7/1.8/13.el7/go-toolset-7-runtime-1.8-13.el7.x86_64.rpm
➜ go-toolset-7 git:(devtools-2018.2-go-toolset-7-rhel-7) ✗ ls
dts-7.0-go-toolset-7-rhel-7.spec go-toolset-7-1.8-13.el7.src.rpm results_go-toolset-7 sources
➜ go-toolset-7 git:(devtools-2018.2-go-toolset-7-rhel-7) ✗ ls results_go-toolset-7
1.8
➜ go-toolset-7 git:(devtools-2018.2-go-toolset-7-rhel-7) ✗ ls /var/lib/mock/devtools-2018.2-go-toolset-7-rhel-7-candidate-x86_64
buildroot.lock result root
➜ go-toolset-7 git:(devtools-2018.2-go-toolset-7-rhel-7) ✗ sudo rm -rf /var/lib/mock/devtools-2018.2-go-toolset-7-rhel-7-candidate-x86_64
[sudo] password for deparker:
➜ go-toolset-7 git:(devtools-2018.2-go-toolset-7-rhel-7) ✗ sudo mock -r /etc/mock/devtools-2018.2-go-toolset-7-rhel-7-candidate-x86_64.cfg --install ./results_go-toolset-7/1.8/13.el7/go-toolset-7-runtime-1.8-13.el7.x86_64.rpm
INFO: mock.py version 1.4.8 starting (python version = 2.7.5)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
Start: chroot init
INFO: calling preinit hooks
INFO: enabled HW Info plugin
Mock Version: 1.4.8
INFO: Mock Version: 1.4.8
Start: yum install
Failed to set locale, defaulting to C
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
==============================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================
Installing for group install "build":
bash x86_64 4.2.46-21.el7_3 build 1.0 M
bzip2 x86_64 1.0.6-13.el7 build 51 k
coreutils x86_64 8.22-18.el7 build 3.3 M
cpio x86_64 2.11-24.el7 build 209 k
diffutils x86_64 3.3-4.el7 build 321 k
findutils x86_64 1:4.5.11-5.el7 build 558 k
gawk x86_64 4.0.2-4.el7_3.1 build 873 k
gcc x86_64 4.8.5-11.el7_3.1 build 16 M
gcc-c++ x86_64 4.8.5-11.el7_3.1 build 7.2 M
go-toolset-7-build x86_64 1.8-13.el7 build 3.5 k
grep x86_64 2.20-2.el7 build 343 k
gzip x86_64 1.5-8.el7 build 128 k
info x86_64 5.1-4.el7 build 232 k
make x86_64 1:3.82-23.el7 build 419 k
patch x86_64 2.7.1-8.el7 build 109 k
redhat-release-server x86_64 7.4-18.el7 build 28 k
redhat-rpm-config noarch 9.1.0-72.el7 build 77 k
rpm-build x86_64 4.11.3-21.el7 build 144 k
scl-utils-build x86_64 20130529-17.el7_1 build 16 k
sed x86_64 4.2.2-5.el7 build 230 k
shadow-utils x86_64 2:4.1.5.1-24.el7 build 1.1 M
tar x86_64 2:1.26-31.el7 build 842 k
unzip x86_64 6.0-16.el7 build 168 k
util-linux x86_64 2.23.2-33.el7_3.2 build 1.9 M
which x86_64 2.20-7.el7 build 40 k
xz x86_64 5.2.2-1.el7 build 228 k
Installing for dependencies:
audit-libs x86_64 2.6.5-3.el7_3.1 build 84 k
basesystem noarch 10.0-7.el7 build 3.8 k
binutils x86_64 2.25.1-22.base.el7 build 5.4 M
bzip2-libs x86_64 1.0.6-13.el7 build 39 k
ca-certificates noarch 2017.2.14-70.1.el7_3 build 437 k
chkconfig x86_64 1.7.2-1.el7_3.1 build 174 k
cpp x86_64 4.8.5-11.el7_3.1 build 6.0 M
cracklib x86_64 2.9.0-11.el7 build 79 k
cracklib-dicts x86_64 2.9.0-11.el7 build 3.6 M
curl x86_64 7.29.0-35.el7 build 264 k
cyrus-sasl-lib x86_64 2.1.26-20.el7_2 build 154 k
dwz x86_64 0.11-3.el7 build 98 k
elfutils x86_64 0.166-2.el7 build 279 k
elfutils-libelf x86_64 0.166-2.el7 build 206 k
elfutils-libs x86_64 0.166-2.el7 build 261 k
expat x86_64 2.1.0-10.el7_3 build 80 k
file x86_64 5.11-33.el7 build 55 k
file-libs x86_64 5.11-33.el7 build 339 k
filesystem x86_64 3.2-21.el7 build 1.0 M
gdb x86_64 7.6.1-94.el7 build 2.4 M
gdbm x86_64 1.10-8.el7 build 69 k
glib2 x86_64 2.46.2-4.el7 build 2.3 M
glibc x86_64 2.17-157.el7_3.5 build 3.6 M
glibc-common x86_64 2.17-157.el7_3.5 build 11 M
glibc-devel x86_64 2.17-157.el7_3.5 build 1.1 M
glibc-headers x86_64 2.17-157.el7_3.5 build 668 k
gmp x86_64 1:6.0.0-12.el7_1 build 279 k
gnupg2 x86_64 2.0.22-4.el7 build 1.5 M
go-toolset-7-runtime x86_64 1.8-13.el7 build 1.1 M
groff-base x86_64 1.22.2-8.el7 build 941 k
iso-codes noarch 3.46-2.el7 build 2.7 M
kernel-headers x86_64 3.10.0-514.41.1.el7 build 4.8 M
keyutils-libs x86_64 1.5.8-3.el7 build 24 k
krb5-libs x86_64 1.14.1-27.el7_3 build 739 k
libacl x86_64 2.2.51-12.el7 build 26 k
libassuan x86_64 2.1.0-3.el7 build 62 k
libattr x86_64 2.4.46-12.el7 build 17 k
libblkid x86_64 2.23.2-33.el7_3.2 build 169 k
libcap x86_64 2.22-8.el7 build 46 k
libcap-ng x86_64 0.7.5-4.el7 build 24 k
libcom_err x86_64 1.42.9-9.el7 build 39 k
libcurl x86_64 7.29.0-35.el7 build 217 k
libdb x86_64 5.3.21-19.el7 build 717 k
libdb-utils x86_64 5.3.21-19.el7 build 101 k
libffi x86_64 3.0.13-18.el7 build 29 k
libgcc x86_64 4.8.5-11.el7_3.1 build 96 k
libgcrypt x86_64 1.5.3-13.el7_3.1 build 262 k
libgomp x86_64 4.8.5-11.el7_3.1 build 151 k
libgpg-error x86_64 1.12-3.el7 build 86 k
libidn x86_64 1.28-4.el7 build 208 k
libmount x86_64 2.23.2-33.el7_3.2 build 171 k
libmpc x86_64 1.0.1-3.el7 build 49 k
libpwquality x86_64 1.2.3-4.el7 build 83 k
libselinux x86_64 2.5-6.el7 build 160 k
libsemanage x86_64 2.5-5.1.el7_3 build 143 k
libsepol x86_64 2.5-6.el7 build 287 k
libssh2 x86_64 1.4.3-10.el7_2.1 build 133 k
libstdc++ x86_64 4.8.5-11.el7_3.1 build 299 k
libstdc++-devel x86_64 4.8.5-11.el7_3.1 build 1.5 M
libtasn1 x86_64 3.8-3.el7 build 319 k
libuser x86_64 0.60-7.el7_1 build 397 k
libutempter x86_64 1.1.6-4.el7 build 24 k
libuuid x86_64 2.23.2-33.el7_3.2 build 75 k
libverto x86_64 0.2.5-4.el7 build 15 k
libxml2 x86_64 2.9.1-6.el7_2.3 build 667 k
lua x86_64 5.1.4-15.el7 build 200 k
mpfr x86_64 3.1.1-4.el7 build 202 k
ncurses x86_64 5.9-13.20130511.el7 build 302 k
ncurses-base noarch 5.9-13.20130511.el7 build 67 k
ncurses-libs x86_64 5.9-13.20130511.el7 build 314 k
nspr x86_64 4.13.1-1.0.el7_3 build 125 k
nss x86_64 3.28.4-1.2.el7_3 build 871 k
nss-softokn x86_64 3.16.2.3-14.4.el7 build 305 k
nss-softokn-freebl x86_64 3.16.2.3-14.4.el7 build 203 k
nss-sysinit x86_64 3.28.4-1.2.el7_3 build 57 k
nss-tools x86_64 3.28.4-1.2.el7_3 build 495 k
nss-util x86_64 3.28.4-1.0.el7_3 build 72 k
openldap x86_64 2.4.40-13.el7 build 349 k
openssl-libs x86_64 1:1.0.1e-60.el7_3.1 build 958 k
p11-kit x86_64 0.20.7-3.el7 build 106 k
p11-kit-trust x86_64 0.20.7-3.el7 build 125 k
pam x86_64 1.1.8-18.el7 build 716 k
pcre x86_64 8.32-15.el7_2.1 build 419 k
perl x86_64 4:5.16.3-291.el7 build 8.0 M
perl-Carp noarch 1.26-244.el7 build 18 k
perl-Encode x86_64 2.51-7.el7 build 1.5 M
perl-Exporter noarch 5.68-3.el7 build 27 k
perl-File-Path noarch 2.09-2.el7 build 25 k
perl-File-Temp noarch 0.23.01-3.el7 build 55 k
perl-Filter x86_64 1.49-3.el7 build 75 k
perl-Getopt-Long noarch 2.40-2.el7 build 55 k
perl-HTTP-Tiny noarch 0.033-3.el7 build 37 k
perl-PathTools x86_64 3.40-5.el7 build 81 k
perl-Pod-Escapes noarch 1:1.04-291.el7 build 50 k
perl-Pod-Perldoc noarch 3.20-4.el7 build 86 k
perl-Pod-Simple noarch 1:3.28-4.el7 build 215 k
perl-Pod-Usage noarch 1.63-3.el7 build 26 k
perl-Scalar-List-Utils x86_64 1.27-248.el7 build 35 k
perl-Socket x86_64 2.010-4.el7 build 48 k
perl-Storable x86_64 2.45-3.el7 build 76 k
perl-Text-ParseWords noarch 3.29-4.el7 build 13 k
perl-Thread-Queue noarch 3.02-2.el7 build 16 k
perl-Time-HiRes x86_64 4:1.9725-3.el7 build 44 k
perl-Time-Local noarch 1.2300-2.el7 build 23 k
perl-constant noarch 1.27-2.el7 build 18 k
perl-libs x86_64 4:5.16.3-291.el7 build 687 k
perl-macros x86_64 4:5.16.3-291.el7 build 42 k
perl-parent noarch 1:0.225-244.el7 build 11 k
perl-podlators noarch 2.5.1-3.el7 build 111 k
perl-srpm-macros noarch 1-8.el7 build 3.6 k
perl-threads x86_64 1.87-4.el7 build 48 k
perl-threads-shared x86_64 1.43-6.el7 build 38 k
pinentry x86_64 0.8.1-17.el7 build 72 k
pkgconfig x86_64 1:0.27.1-4.el7 build 53 k
popt x86_64 1.13-16.el7 build 41 k
pth x86_64 2.0.7-23.el7 build 88 k
python-libs x86_64 2.7.5-48.el7 build 5.6 M
readline x86_64 6.2-9.el7 build 191 k
rpm x86_64 4.11.3-21.el7 build 1.2 M
rpm-build-libs x86_64 4.11.3-21.el7 build 103 k
rpm-libs x86_64 4.11.3-21.el7 build 273 k
scl-utils x86_64 20130529-17.el7_1 build 23 k
setup noarch 2.8.71-7.el7 build 164 k
shared-mime-info x86_64 1.1-9.el7 build 370 k
sqlite x86_64 3.7.17-8.el7 build 393 k
systemd-libs x86_64 219-30.el7_3.9 build 368 k
tzdata noarch 2018c-1.el7 build 478 k
ustr x86_64 1.0.4-16.el7 build 91 k
xml-common noarch 0.6.3-39.el7 build 25 k
xz-libs x86_64 5.2.2-1.el7 build 102 k
zip x86_64 3.0-11.el7 build 259 k
zlib x86_64 1.2.7-17.el7 build 89 k
Transaction Summary
==============================================================================================================================================================================================
Install 26 Packages (+132 Dependent packages)
Total download size: 121 M
Installed size: 442 M
warning: /etc/hosts created as /etc/hosts.rpmnew
/var/tmp/rpm-tmp.9f62jo: line 1: rm: command not found
warning: %post(go-toolset-7-runtime-1.8-13.el7.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package go-toolset-7-runtime-1.8-13.el7.x86_64
Installed:
bash.x86_64 0:4.2.46-21.el7_3 bzip2.x86_64 0:1.0.6-13.el7 coreutils.x86_64 0:8.22-18.el7 cpio.x86_64 0:2.11-24.el7
diffutils.x86_64 0:3.3-4.el7 findutils.x86_64 1:4.5.11-5.el7 gawk.x86_64 0:4.0.2-4.el7_3.1 gcc.x86_64 0:4.8.5-11.el7_3.1
gcc-c++.x86_64 0:4.8.5-11.el7_3.1 go-toolset-7-build.x86_64 0:1.8-13.el7 grep.x86_64 0:2.20-2.el7 gzip.x86_64 0:1.5-8.el7
info.x86_64 0:5.1-4.el7 make.x86_64 1:3.82-23.el7 patch.x86_64 0:2.7.1-8.el7 redhat-release-server.x86_64 0:7.4-18.el7
redhat-rpm-config.noarch 0:9.1.0-72.el7 rpm-build.x86_64 0:4.11.3-21.el7 scl-utils-build.x86_64 0:20130529-17.el7_1 sed.x86_64 0:4.2.2-5.el7
shadow-utils.x86_64 2:4.1.5.1-24.el7 tar.x86_64 2:1.26-31.el7 unzip.x86_64 0:6.0-16.el7 util-linux.x86_64 0:2.23.2-33.el7_3.2
which.x86_64 0:2.20-7.el7 xz.x86_64 0:5.2.2-1.el7
Dependency Installed:
audit-libs.x86_64 0:2.6.5-3.el7_3.1 basesystem.noarch 0:10.0-7.el7 binutils.x86_64 0:2.25.1-22.base.el7 bzip2-libs.x86_64 0:1.0.6-13.el7
ca-certificates.noarch 0:2017.2.14-70.1.el7_3 chkconfig.x86_64 0:1.7.2-1.el7_3.1 cpp.x86_64 0:4.8.5-11.el7_3.1 cracklib.x86_64 0:2.9.0-11.el7
cracklib-dicts.x86_64 0:2.9.0-11.el7 curl.x86_64 0:7.29.0-35.el7 cyrus-sasl-lib.x86_64 0:2.1.26-20.el7_2 dwz.x86_64 0:0.11-3.el7
elfutils.x86_64 0:0.166-2.el7 elfutils-libelf.x86_64 0:0.166-2.el7 elfutils-libs.x86_64 0:0.166-2.el7 expat.x86_64 0:2.1.0-10.el7_3
file.x86_64 0:5.11-33.el7 file-libs.x86_64 0:5.11-33.el7 filesystem.x86_64 0:3.2-21.el7 gdb.x86_64 0:7.6.1-94.el7
gdbm.x86_64 0:1.10-8.el7 glib2.x86_64 0:2.46.2-4.el7 glibc.x86_64 0:2.17-157.el7_3.5 glibc-common.x86_64 0:2.17-157.el7_3.5
glibc-devel.x86_64 0:2.17-157.el7_3.5 glibc-headers.x86_64 0:2.17-157.el7_3.5 gmp.x86_64 1:6.0.0-12.el7_1 gnupg2.x86_64 0:2.0.22-4.el7
go-toolset-7-runtime.x86_64 0:1.8-13.el7 groff-base.x86_64 0:1.22.2-8.el7 iso-codes.noarch 0:3.46-2.el7 kernel-headers.x86_64 0:3.10.0-514.41.1.el7
keyutils-libs.x86_64 0:1.5.8-3.el7 krb5-libs.x86_64 0:1.14.1-27.el7_3 libacl.x86_64 0:2.2.51-12.el7 libassuan.x86_64 0:2.1.0-3.el7
libattr.x86_64 0:2.4.46-12.el7 libblkid.x86_64 0:2.23.2-33.el7_3.2 libcap.x86_64 0:2.22-8.el7 libcap-ng.x86_64 0:0.7.5-4.el7
libcom_err.x86_64 0:1.42.9-9.el7 libcurl.x86_64 0:7.29.0-35.el7 libdb.x86_64 0:5.3.21-19.el7 libdb-utils.x86_64 0:5.3.21-19.el7
libffi.x86_64 0:3.0.13-18.el7 libgcc.x86_64 0:4.8.5-11.el7_3.1 libgcrypt.x86_64 0:1.5.3-13.el7_3.1 libgomp.x86_64 0:4.8.5-11.el7_3.1
libgpg-error.x86_64 0:1.12-3.el7 libidn.x86_64 0:1.28-4.el7 libmount.x86_64 0:2.23.2-33.el7_3.2 libmpc.x86_64 0:1.0.1-3.el7
libpwquality.x86_64 0:1.2.3-4.el7 libselinux.x86_64 0:2.5-6.el7 libsemanage.x86_64 0:2.5-5.1.el7_3 libsepol.x86_64 0:2.5-6.el7
libssh2.x86_64 0:1.4.3-10.el7_2.1 libstdc++.x86_64 0:4.8.5-11.el7_3.1 libstdc++-devel.x86_64 0:4.8.5-11.el7_3.1 libtasn1.x86_64 0:3.8-3.el7
libuser.x86_64 0:0.60-7.el7_1 libutempter.x86_64 0:1.1.6-4.el7 libuuid.x86_64 0:2.23.2-33.el7_3.2 libverto.x86_64 0:0.2.5-4.el7
libxml2.x86_64 0:2.9.1-6.el7_2.3 lua.x86_64 0:5.1.4-15.el7 mpfr.x86_64 0:3.1.1-4.el7 ncurses.x86_64 0:5.9-13.20130511.el7
ncurses-base.noarch 0:5.9-13.20130511.el7 ncurses-libs.x86_64 0:5.9-13.20130511.el7 nspr.x86_64 0:4.13.1-1.0.el7_3 nss.x86_64 0:3.28.4-1.2.el7_3
nss-softokn.x86_64 0:3.16.2.3-14.4.el7 nss-softokn-freebl.x86_64 0:3.16.2.3-14.4.el7 nss-sysinit.x86_64 0:3.28.4-1.2.el7_3 nss-tools.x86_64 0:3.28.4-1.2.el7_3
nss-util.x86_64 0:3.28.4-1.0.el7_3 openldap.x86_64 0:2.4.40-13.el7 openssl-libs.x86_64 1:1.0.1e-60.el7_3.1 p11-kit.x86_64 0:0.20.7-3.el7
p11-kit-trust.x86_64 0:0.20.7-3.el7 pam.x86_64 0:1.1.8-18.el7 pcre.x86_64 0:8.32-15.el7_2.1 perl.x86_64 4:5.16.3-291.el7
perl-Carp.noarch 0:1.26-244.el7 perl-Encode.x86_64 0:2.51-7.el7 perl-Exporter.noarch 0:5.68-3.el7 perl-File-Path.noarch 0:2.09-2.el7
perl-File-Temp.noarch 0:0.23.01-3.el7 perl-Filter.x86_64 0:1.49-3.el7 perl-Getopt-Long.noarch 0:2.40-2.el7 perl-HTTP-Tiny.noarch 0:0.033-3.el7
perl-PathTools.x86_64 0:3.40-5.el7 perl-Pod-Escapes.noarch 1:1.04-291.el7 perl-Pod-Perldoc.noarch 0:3.20-4.el7 perl-Pod-Simple.noarch 1:3.28-4.el7
perl-Pod-Usage.noarch 0:1.63-3.el7 perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 perl-Socket.x86_64 0:2.010-4.el7 perl-Storable.x86_64 0:2.45-3.el7
perl-Text-ParseWords.noarch 0:3.29-4.el7 perl-Thread-Queue.noarch 0:3.02-2.el7 perl-Time-HiRes.x86_64 4:1.9725-3.el7 perl-Time-Local.noarch 0:1.2300-2.el7
perl-constant.noarch 0:1.27-2.el7 perl-libs.x86_64 4:5.16.3-291.el7 perl-macros.x86_64 4:5.16.3-291.el7 perl-parent.noarch 1:0.225-244.el7
perl-podlators.noarch 0:2.5.1-3.el7 perl-srpm-macros.noarch 0:1-8.el7 perl-threads.x86_64 0:1.87-4.el7 perl-threads-shared.x86_64 0:1.43-6.el7
pinentry.x86_64 0:0.8.1-17.el7 pkgconfig.x86_64 1:0.27.1-4.el7 popt.x86_64 0:1.13-16.el7 pth.x86_64 0:2.0.7-23.el7
python-libs.x86_64 0:2.7.5-48.el7 readline.x86_64 0:6.2-9.el7 rpm.x86_64 0:4.11.3-21.el7 rpm-build-libs.x86_64 0:4.11.3-21.el7
rpm-libs.x86_64 0:4.11.3-21.el7 scl-utils.x86_64 0:20130529-17.el7_1 setup.noarch 0:2.8.71-7.el7 shared-mime-info.x86_64 0:1.1-9.el7
sqlite.x86_64 0:3.7.17-8.el7 systemd-libs.x86_64 0:219-30.el7_3.9 tzdata.noarch 0:2018c-1.el7 ustr.x86_64 0:1.0.4-16.el7
xml-common.noarch 0:0.6.3-39.el7 xz-libs.x86_64 0:5.2.2-1.el7 zip.x86_64 0:3.0-11.el7 zlib.x86_64 0:1.2.7-17.el7
Finish: yum install
Finish: chroot init
INFO: Installed packages:
INFO: installing package(s): ./results_go-toolset-7/1.8/13.el7/go-toolset-7-runtime-1.8-13.el7.x86_64.rpm
Failed to set locale, defaulting to C
Error: Nothing to do
ERROR: Command failed:
# /usr/bin/yum --installroot /var/lib/mock/devtools-2018.2-go-toolset-7-rhel-7-candidate-x86_64/root/ install ./results_go-toolset-7/1.8/13.el7/go-toolset-7-runtime-1.8-13.el7.x86_64.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment