Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/direnv.spec'], chrootPath='/var/lib/mock/569795-epel-7-x86_64/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=[]printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7ee7385e8fb84032bd8bfd79109ed93a', '-D', '/var/lib/mock/569795-epel-7-x86_64/root', '-a', '--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/direnv.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 warning: Could not canonicalize hostname: 7ee7385e8fb84032bd8bfd79109ed93a Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/direnv-2.9.0-4.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/direnv.spec'], chrootPath='/var/lib/mock/569795-epel-7-x86_64/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=['--private-network']printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '20311785ea5e4d7c879cf6f0fcef51bc', '-D', '/var/lib/mock/569795-epel-7-x86_64/root', '-a', '--private-network', '--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/direnv.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(%prep): /bin/sh -e /var/tmp/rpm-tmp.WHImJ9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf direnv-2.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.9.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd direnv-2.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.akQMJP + umask 022 + cd /builddir/build/BUILD + cd direnv-2.9.0 ++ head -c20 /dev/urandom ++ tr -d ' \n' ++ od -An -tx1 + make -j2 'GO_LDFLAGS=-B 0xc6077baa8bb3b6a2af7801f844ce769b444937ba' go fmt go build -ldflags '-B 0xc6077baa8bb3b6a2af7801f844ce769b444937ba' -o direnv + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KVl6eA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64 + cd direnv-2.9.0 + install -d -p /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/bin + install -p -m 0755 direnv /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/bin + install -d -p /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/man/man1 + install -p -m 0644 man/direnv-stdlib.1 man/direnv.1 /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 0 --dwz-max-die-limit 110000000 /builddir/build/BUILD/direnv-2.9.0 extracting debug info from /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/bin/direnv nm: /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/bin/direnv: no symbols dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. cpio: direnv-2.9.0/: Cannot stat: No such file or directory 89 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yqrEPl + umask 022 + cd /builddir/build/BUILD + cd direnv-2.9.0 + make test go test PASS ok _/builddir/build/BUILD/direnv-2.9.0 0.004s ./test/direnv-test.sh direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc ## Testing base ## Setting up direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: export +HELLO Reloading (should be no-op) Updating envrc and reloading (should reload) direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: export +HELLO Leaving dir (should clear env set by dir's envrc) direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading ../.envrc ## Testing inherit ## direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: loading ../inherited/.envrc world direnv: export +HELLO HELLO should be world: world direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: loading ../inherited/.envrc goodbye direnv: export +HELLO direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc ## Testing ruby-layout ## direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc /usr/bin/bash: line 393: ruby: command not found direnv: export +BUNDLE_BIN +GEM_HOME ~PATH direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc ## Testing space dir ## direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: export +SPACE_DIR ~PATH direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc ## Testing child-env ## direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: export +CHILD +PARENT_POST +PARENT_PRE direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc ## Testing special-vars ## direnv: error .envrc is blocked. Run `direnv allow` to approve its content. direnv: error .envrc is blocked. Run `direnv allow` to approve its content. ## Testing dump ## direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: export +LESSOPEN +LS_COLORS +THREE_BACKSLASHES direnv: error .envrc is blocked. Run `direnv allow` to approve its content. ## Testing empty-var ## direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: export +FOO direnv: error .envrc is blocked. Run `direnv allow` to approve its content. ## Testing empty-var-unset ## direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc direnv: export -FOO direnv: error .envrc is blocked. Run `direnv allow` to approve its content. ## Testing missing-file-source-env ## direnv: loading ~/build/BUILD/direnv-2.9.0/test/config/direnv/direnvrc direnv: loading .envrc mktemp: too few X's in template '12275' direnv: referenced /.envrc does not exist direnv: error .envrc is blocked. Run `direnv allow` to approve its content. + exit 0 Processing files: direnv-2.9.0-4.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.omOLFk + umask 022 + cd /builddir/build/BUILD + cd direnv-2.9.0 + DOCDIR=/builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/doc/direnv-2.9.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/doc/direnv-2.9.0 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/doc/direnv-2.9.0 + cp -pr README.md /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/doc/direnv-2.9.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2mZ8wj + umask 022 + cd /builddir/build/BUILD + cd direnv-2.9.0 + LICENSEDIR=/builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/licenses/direnv-2.9.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/licenses/direnv-2.9.0 + cp -pr LICENSE.md /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64/usr/share/licenses/direnv-2.9.0 + exit 0 Provides: direnv = 2.9.0-4.el7.centos direnv(x86-64) = 2.9.0-4.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: direnv-debuginfo-2.9.0-4.el7.centos.x86_64 Provides: direnv-debuginfo = 2.9.0-4.el7.centos direnv-debuginfo(x86-64) = 2.9.0-4.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64 warning: Could not canonicalize hostname: 20311785ea5e4d7c879cf6f0fcef51bc Wrote: /builddir/build/RPMS/direnv-2.9.0-4.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/direnv-debuginfo-2.9.0-4.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.W5TOok + umask 022 + cd /builddir/build/BUILD + cd direnv-2.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/direnv-2.9.0-4.el7.centos.x86_64 + exit 0 Child return code was: 0