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/1132251-epel-7-x86_64-1576771038.428766/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f842ab5f1d0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wjaxxtky:/etc/resolv.conf']unshare_net=FalseprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wjaxxtky:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1d6e18d104d641e7b5c71eb9aa0332ef', '-D', '/var/lib/mock/1132251-epel-7-x86_64-1576771038.428766/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wjaxxtky:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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/1132251-epel-7-x86_64-1576771038.428766/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f842ab5f1d0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wjaxxtky:/etc/resolv.conf']unshare_net=FalseprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wjaxxtky:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6ebc138fdce049de9a485931554b26d0', '-D', '/var/lib/mock/1132251-epel-7-x86_64-1576771038.428766/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wjaxxtky:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.HFW1XX
+ 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: 62, done.
remote: Counting objects:   1% (1/62)
remote: Counting objects:   3% (2/62)
remote: Counting objects:   4% (3/62)
remote: Counting objects:   6% (4/62)
remote: Counting objects:   8% (5/62)
remote: Counting objects:   9% (6/62)
remote: Counting objects:  11% (7/62)
remote: Counting objects:  12% (8/62)
remote: Counting objects:  14% (9/62)
remote: Counting objects:  16% (10/62)
remote: Counting objects:  17% (11/62)
remote: Counting objects:  19% (12/62)
remote: Counting objects:  20% (13/62)
remote: Counting objects:  22% (14/62)
remote: Counting objects:  24% (15/62)
remote: Counting objects:  25% (16/62)
remote: Counting objects:  27% (17/62)
remote: Counting objects:  29% (18/62)
remote: Counting objects:  30% (19/62)
remote: Counting objects:  32% (20/62)
remote: Counting objects:  33% (21/62)
remote: Counting objects:  35% (22/62)
remote: Counting objects:  37% (23/62)
remote: Counting objects:  38% (24/62)
remote: Counting objects:  40% (25/62)
remote: Counting objects:  41% (26/62)
remote: Counting objects:  43% (27/62)
remote: Counting objects:  45% (28/62)
remote: Counting objects:  46% (29/62)
remote: Counting objects:  48% (30/62)
remote: Counting objects:  50% (31/62)
remote: Counting objects:  51% (32/62)
remote: Counting objects:  53% (33/62)
remote: Counting objects:  54% (34/62)
remote: Counting objects:  56% (35/62)
remote: Counting objects:  58% (36/62)
remote: Counting objects:  59% (37/62)
remote: Counting objects:  61% (38/62)
remote: Counting objects:  62% (39/62)
remote: Counting objects:  64% (40/62)
remote: Counting objects:  66% (41/62)
remote: Counting objects:  67% (42/62)
remote: Counting objects:  69% (43/62)
remote: Counting objects:  70% (44/62)
remote: Counting objects:  72% (45/62)
remote: Counting objects:  74% (46/62)
remote: Counting objects:  75% (47/62)
remote: Counting objects:  77% (48/62)
remote: Counting objects:  79% (49/62)
remote: Counting objects:  80% (50/62)
remote: Counting objects:  82% (51/62)
remote: Counting objects:  83% (52/62)
remote: Counting objects:  85% (53/62)
remote: Counting objects:  87% (54/62)
remote: Counting objects:  88% (55/62)
remote: Counting objects:  90% (56/62)
remote: Counting objects:  91% (57/62)
remote: Counting objects:  93% (58/62)
remote: Counting objects:  95% (59/62)
remote: Counting objects:  96% (60/62)
remote: Counting objects:  98% (61/62)
remote: Counting objects: 100% (62/62)
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects:   1% (1/60)
remote: Compressing objects:   3% (2/60)
remote: Compressing objects:   5% (3/60)
remote: Compressing objects:   6% (4/60)
remote: Compressing objects:   8% (5/60)
remote: Compressing objects:  10% (6/60)
remote: Compressing objects:  11% (7/60)
remote: Compressing objects:  13% (8/60)
remote: Compressing objects:  15% (9/60)
remote: Compressing objects:  16% (10/60)
remote: Compressing objects:  18% (11/60)
remote: Compressing objects:  20% (12/60)
remote: Compressing objects:  21% (13/60)
remote: Compressing objects:  23% (14/60)
remote: Compressing objects:  25% (15/60)
remote: Compressing objects:  26% (16/60)
remote: Compressing objects:  28% (17/60)
remote: Compressing objects:  30% (18/60)
remote: Compressing objects:  31% (19/60)
remote: Compressing objects:  33% (20/60)
remote: Compressing objects:  35% (21/60)
remote: Compressing objects:  36% (22/60)
remote: Compressing objects:  38% (23/60)
remote: Compressing objects:  40% (24/60)
remote: Compressing objects:  41% (25/60)
remote: Compressing objects:  43% (26/60)
remote: Compressing objects:  45% (27/60)
remote: Compressing objects:  46% (28/60)
remote: Compressing objects:  48% (29/60)
remote: Compressing objects:  50% (30/60)
remote: Compressing objects:  51% (31/60)
remote: Compressing objects:  53% (32/60)
remote: Compressing objects:  55% (33/60)
remote: Compressing objects:  56% (34/60)
remote: Compressing objects:  58% (35/60)
remote: Compressing objects:  60% (36/60)
remote: Compressing objects:  61% (37/60)
remote: Compressing objects:  63% (38/60)
remote: Compressing objects:  65% (39/60)
remote: Compressing objects:  66% (40/60)
remote: Compressing objects:  68% (41/60)
remote: Compressing objects:  70% (42/60)
remote: Compressing objects:  71% (43/60)
remote: Compressing objects:  73% (44/60)
remote: Compressing objects:  75% (45/60)
remote: Compressing objects:  76% (46/60)
remote: Compressing objects:  78% (47/60)
remote: Compressing objects:  80% (48/60)
remote: Compressing objects:  81% (49/60)
remote: Compressing objects:  83% (50/60)
remote: Compressing objects:  85% (51/60)
remote: Compressing objects:  86% (52/60)
remote: Compressing objects:  88% (53/60)
remote: Compressing objects:  90% (54/60)
remote: Compressing objects:  91% (55/60)
remote: Compressing objects:  93% (56/60)
remote: Compressing objects:  95% (57/60)
remote: Compressing objects:  96% (58/60)
remote: Compressing objects:  98% (59/60)
remote: Compressing objects: 100% (60/60)
remote: Compressing objects: 100% (60/60), done.
remote: Total 62 (delta 33), reused 9 (delta 2), pack-reused 0
Unpacking objects:   1% (1/62)   
Unpacking objects:   3% (2/62)   
Unpacking objects:   4% (3/62)   
Unpacking objects:   6% (4/62)   
Unpacking objects:   8% (5/62)   
Unpacking objects:   9% (6/62)   
Unpacking objects:  11% (7/62)   
Unpacking objects:  12% (8/62)   
Unpacking objects:  14% (9/62)   
Unpacking objects:  16% (10/62)   
Unpacking objects:  17% (11/62)   
Unpacking objects:  19% (12/62)   
Unpacking objects:  20% (13/62)   
Unpacking objects:  22% (14/62)   
Unpacking objects:  24% (15/62)   
Unpacking objects:  25% (16/62)   
Unpacking objects:  27% (17/62)   
Unpacking objects:  29% (18/62)   
Unpacking objects:  30% (19/62)   
Unpacking objects:  32% (20/62)   
Unpacking objects:  33% (21/62)   
Unpacking objects:  35% (22/62)   
Unpacking objects:  37% (23/62)   
Unpacking objects:  38% (24/62)   
Unpacking objects:  40% (25/62)   
Unpacking objects:  41% (26/62)   
Unpacking objects:  43% (27/62)   
Unpacking objects:  45% (28/62)   
Unpacking objects:  46% (29/62)   
Unpacking objects:  48% (30/62)   
Unpacking objects:  50% (31/62)   
Unpacking objects:  51% (32/62)   
Unpacking objects:  53% (33/62)   
Unpacking objects:  54% (34/62)   
Unpacking objects:  56% (35/62)   
Unpacking objects:  58% (36/62)   
Unpacking objects:  59% (37/62)   
Unpacking objects:  61% (38/62)   
Unpacking objects:  62% (39/62)   
Unpacking objects:  64% (40/62)   
Unpacking objects:  66% (41/62)   
Unpacking objects:  67% (42/62)   
Unpacking objects:  69% (43/62)   
Unpacking objects:  70% (44/62)   
Unpacking objects:  72% (45/62)   
Unpacking objects:  74% (46/62)   
Unpacking objects:  75% (47/62)   
Unpacking objects:  77% (48/62)   
Unpacking objects:  79% (49/62)   
Unpacking objects:  80% (50/62)   
Unpacking objects:  82% (51/62)   
Unpacking objects:  83% (52/62)   
Unpacking objects:  85% (53/62)   
Unpacking objects:  87% (54/62)   
Unpacking objects:  88% (55/62)   
Unpacking objects:  90% (56/62)   
Unpacking objects:  91% (57/62)   
Unpacking objects:  93% (58/62)   
Unpacking objects:  95% (59/62)   
Unpacking objects:  96% (60/62)   
Unpacking objects:  98% (61/62)   
Unpacking objects: 100% (62/62)   
Unpacking objects: 100% (62/62), 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.ZKuE5I
+ 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.brXJal
+ 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