Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/static-server-in-dir.spec'], chrootPath='/var/lib/mock/1132266-epel-7-x86_64-1576772303.567156/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86_3uiiq:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86_3uiiq:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1088497a92b44cfe86d62f851702f0dd', '-D', '/var/lib/mock/1132266-epel-7-x86_64-1576772303.567156/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86_3uiiq:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/static-server-in-dir.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/static-server-in-dir-0.4-2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/static-server-in-dir.spec'], chrootPath='/var/lib/mock/1132266-epel-7-x86_64-1576772303.567156/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86_3uiiq:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86_3uiiq:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '70a9cd290dbd403aa44dea5eadfa324e', '-D', '/var/lib/mock/1132266-epel-7-x86_64-1576772303.567156/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86_3uiiq:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/static-server-in-dir.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I47AiB + umask 022 + cd /builddir/build/BUILD + export GOPATH=/builddir/build/BUILD/_build + GOPATH=/builddir/build/BUILD/_build + go get github.com/AlexanderGrom/go-starter + mkdir -p /builddir/build/BUILD/_build/src/github.com/patsevanton + git clone https://github.com/patsevanton/static-server-in-dir.git /builddir/build/BUILD/_build/src/github.com/patsevanton/static-server-in-dir Cloning into '/builddir/build/BUILD/_build/src/github.com/patsevanton/static-server-in-dir'... remote: Enumerating objects: 67, done. remote: Counting objects: 1% (1/67) remote: Counting objects: 2% (2/67) remote: Counting objects: 4% (3/67) remote: Counting objects: 5% (4/67) remote: Counting objects: 7% (5/67) remote: Counting objects: 8% (6/67) remote: Counting objects: 10% (7/67) remote: Counting objects: 11% (8/67) remote: Counting objects: 13% (9/67) remote: Counting objects: 14% (10/67) remote: Counting objects: 16% (11/67) remote: Counting objects: 17% (12/67) remote: Counting objects: 19% (13/67) remote: Counting objects: 20% (14/67) remote: Counting objects: 22% (15/67) remote: Counting objects: 23% (16/67) remote: Counting objects: 25% (17/67) remote: Counting objects: 26% (18/67) remote: Counting objects: 28% (19/67) remote: Counting objects: 29% (20/67) remote: Counting objects: 31% (21/67) remote: Counting objects: 32% (22/67) remote: Counting objects: 34% (23/67) remote: Counting objects: 35% (24/67) remote: Counting objects: 37% (25/67) remote: Counting objects: 38% (26/67) remote: Counting objects: 40% (27/67) remote: Counting objects: 41% (28/67) remote: Counting objects: 43% (29/67) remote: Counting objects: 44% (30/67) remote: Counting objects: 46% (31/67) remote: Counting objects: 47% (32/67) remote: Counting objects: 49% (33/67) remote: Counting objects: 50% (34/67) remote: Counting objects: 52% (35/67) remote: Counting objects: 53% (36/67) remote: Counting objects: 55% (37/67) remote: Counting objects: 56% (38/67) remote: Counting objects: 58% (39/67) remote: Counting objects: 59% (40/67) remote: Counting objects: 61% (41/67) remote: Counting objects: 62% (42/67) remote: Counting objects: 64% (43/67) remote: Counting objects: 65% (44/67) remote: Counting objects: 67% (45/67) remote: Counting objects: 68% (46/67) remote: Counting objects: 70% (47/67) remote: Counting objects: 71% (48/67) remote: Counting objects: 73% (49/67) remote: Counting objects: 74% (50/67) remote: Counting objects: 76% (51/67) remote: Counting objects: 77% (52/67) remote: Counting objects: 79% (53/67) remote: Counting objects: 80% (54/67) remote: Counting objects: 82% (55/67) remote: Counting objects: 83% (56/67) remote: Counting objects: 85% (57/67) remote: Counting objects: 86% (58/67) remote: Counting objects: 88% (59/67) remote: Counting objects: 89% (60/67) remote: Counting objects: 91% (61/67) remote: Counting objects: 92% (62/67) remote: Counting objects: 94% (63/67) remote: Counting objects: 95% (64/67) remote: Counting objects: 97% (65/67) remote: Counting objects: 98% (66/67) remote: Counting objects: 100% (67/67) remote: Counting objects: 100% (67/67), done. remote: Compressing objects: 1% (1/65) remote: Compressing objects: 3% (2/65) remote: Compressing objects: 4% (3/65) remote: Compressing objects: 6% (4/65) remote: Compressing objects: 7% (5/65) remote: Compressing objects: 9% (6/65) remote: Compressing objects: 10% (7/65) remote: Compressing objects: 12% (8/65) remote: Compressing objects: 13% (9/65) remote: Compressing objects: 15% (10/65) remote: Compressing objects: 16% (11/65) remote: Compressing objects: 18% (12/65) remote: Compressing objects: 20% (13/65) remote: Compressing objects: 21% (14/65) remote: Compressing objects: 23% (15/65) remote: Compressing objects: 24% (16/65) remote: Compressing objects: 26% (17/65) remote: Compressing objects: 27% (18/65) remote: Compressing objects: 29% (19/65) remote: Compressing objects: 30% (20/65) remote: Compressing objects: 32% (21/65) remote: Compressing objects: 33% (22/65) remote: Compressing objects: 35% (23/65) remote: Compressing objects: 36% (24/65) remote: Compressing objects: 38% (25/65) remote: Compressing objects: 40% (26/65) remote: Compressing objects: 41% (27/65) remote: Compressing objects: 43% (28/65) remote: Compressing objects: 44% (29/65) remote: Compressing objects: 46% (30/65) remote: Compressing objects: 47% (31/65) remote: Compressing objects: 49% (32/65) remote: Compressing objects: 50% (33/65) remote: Compressing objects: 52% (34/65) remote: Compressing objects: 53% (35/65) remote: Compressing objects: 55% (36/65) remote: Compressing objects: 56% (37/65) remote: Compressing objects: 58% (38/65) remote: Compressing objects: 60% (39/65) remote: Compressing objects: 61% (40/65) remote: Compressing objects: 63% (41/65) remote: Compressing objects: 64% (42/65) remote: Compressing objects: 66% (43/65) remote: Compressing objects: 67% (44/65) remote: Compressing objects: 69% (45/65) remote: Compressing objects: 70% (46/65) remote: Compressing objects: 72% (47/65) remote: Compressing objects: 73% (48/65) remote: Compressing objects: 75% (49/65) remote: Compressing objects: 76% (50/65) remote: Compressing objects: 78% (51/65) remote: Compressing objects: 80% (52/65) remote: Compressing objects: 81% (53/65) remote: Compressing objects: 83% (54/65) remote: Compressing objects: 84% (55/65) remote: Compressing objects: 86% (56/65) remote: Compressing objects: 87% (57/65) remote: Compressing objects: 89% (58/65) remote: Compressing objects: 90% (59/65) remote: Compressing objects: 92% (60/65) remote: Compressing objects: 93% (61/65) remote: Compressing objects: 95% (62/65) remote: Compressing objects: 96% (63/65) remote: Compressing objects: 98% (64/65) remote: Compressing objects: 100% (65/65) remote: Compressing objects: 100% (65/65), done. remote: Total 67 (delta 36), reused 9 (delta 2), pack-reused 0 Unpacking objects: 1% (1/67) Unpacking objects: 2% (2/67) Unpacking objects: 4% (3/67) Unpacking objects: 5% (4/67) Unpacking objects: 7% (5/67) Unpacking objects: 8% (6/67) Unpacking objects: 10% (7/67) Unpacking objects: 11% (8/67) Unpacking objects: 13% (9/67) Unpacking objects: 14% (10/67) Unpacking objects: 16% (11/67) Unpacking objects: 17% (12/67) Unpacking objects: 19% (13/67) Unpacking objects: 20% (14/67) Unpacking objects: 22% (15/67) Unpacking objects: 23% (16/67) Unpacking objects: 25% (17/67) Unpacking objects: 26% (18/67) Unpacking objects: 28% (19/67) Unpacking objects: 29% (20/67) Unpacking objects: 31% (21/67) Unpacking objects: 32% (22/67) Unpacking objects: 34% (23/67) Unpacking objects: 35% (24/67) Unpacking objects: 37% (25/67) Unpacking objects: 38% (26/67) Unpacking objects: 40% (27/67) Unpacking objects: 41% (28/67) Unpacking objects: 43% (29/67) Unpacking objects: 44% (30/67) Unpacking objects: 46% (31/67) Unpacking objects: 47% (32/67) Unpacking objects: 49% (33/67) Unpacking objects: 50% (34/67) Unpacking objects: 52% (35/67) Unpacking objects: 53% (36/67) Unpacking objects: 55% (37/67) Unpacking objects: 56% (38/67) Unpacking objects: 58% (39/67) Unpacking objects: 59% (40/67) Unpacking objects: 61% (41/67) Unpacking objects: 62% (42/67) Unpacking objects: 64% (43/67) Unpacking objects: 65% (44/67) Unpacking objects: 67% (45/67) Unpacking objects: 68% (46/67) Unpacking objects: 70% (47/67) Unpacking objects: 71% (48/67) Unpacking objects: 73% (49/67) Unpacking objects: 74% (50/67) Unpacking objects: 76% (51/67) Unpacking objects: 77% (52/67) Unpacking objects: 79% (53/67) Unpacking objects: 80% (54/67) Unpacking objects: 82% (55/67) Unpacking objects: 83% (56/67) Unpacking objects: 85% (57/67) Unpacking objects: 86% (58/67) Unpacking objects: 88% (59/67) Unpacking objects: 89% (60/67) Unpacking objects: 91% (61/67) Unpacking objects: 92% (62/67) Unpacking objects: 94% (63/67) Unpacking objects: 95% (64/67) Unpacking objects: 97% (65/67) Unpacking objects: 98% (66/67) Unpacking objects: 100% (67/67) Unpacking objects: 100% (67/67), done. + go build -o static-server-in-dir /builddir/build/BUILD/_build/src/github.com/patsevanton/static-server-in-dir/main.go + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yBBAkf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/static-server-in-dir-0.4-2.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/static-server-in-dir-0.4-2.x86_64 ++ dirname /builddir/build/BUILDROOT/static-server-in-dir-0.4-2.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/static-server-in-dir-0.4-2.x86_64 + install -d /builddir/build/BUILDROOT/static-server-in-dir-0.4-2.x86_64/usr/local/bin + install -p -m 0755 ./static-server-in-dir /builddir/build/BUILDROOT/static-server-in-dir-0.4-2.x86_64/usr/local/bin/static-server-in-dir + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: static-server-in-dir-0.4-2.x86_64 Provides: static-server-in-dir = 0.4-2 static-server-in-dir(x86-64) = 0.4-2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/static-server-in-dir-0.4-2.x86_64 Wrote: /builddir/build/RPMS/static-server-in-dir-0.4-2.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IGA9aE + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/static-server-in-dir-0.4-2.x86_64 + exit 0 Child return code was: 0