Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/direnv.spec'], chrootPath='/var/lib/mock/1113350-fedora-rawhide-x86_64-1574218600.310063/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 0x7f5c41fe1190>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tjjfbesz:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tjjfbesz:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '22d551be7e0c48f8a3cb0257bd05da06', '-D', '/var/lib/mock/1113350-fedora-rawhide-x86_64-1574218600.310063/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tjjfbesz:/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/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;<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 setting SOURCE_DATE_EPOCH=1573948800 Wrote: /builddir/build/SRPMS/direnv-2.20.0-1.fc32.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/direnv.spec'], chrootPath='/var/lib/mock/1113350-fedora-rawhide-x86_64-1574218600.310063/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 0x7f5c41fe1190>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tjjfbesz:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tjjfbesz:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e7424deb8f7e41f489b71ff95881303d', '-D', '/var/lib/mock/1113350-fedora-rawhide-x86_64-1574218600.310063/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tjjfbesz:/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/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;<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 setting SOURCE_DATE_EPOCH=1573948800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VuFK8t + umask 022 + cd /builddir/build/BUILD + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lXovpx + umask 022 + cd /builddir/build/BUILD + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WgYICt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64 ++ dirname /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64 + install -d -p /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64/usr/bin ++ curl -LsfSq https://github.com/direnv/direnv/raw/master/install.sh + bin_path=/builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64/usr/bin + bash -c '#!/usr/bin/env bash # # A good old bash | curl script for direnv. # set -euo pipefail { # Prevent execution if this script was only partially downloaded log() { echo "[installer] $*" >&2 } die() { log "$@" exit 1 } at_exit() { ret=$? if [[ $ret -gt 0 ]]; then log "the script failed with error $ret.\n" \ "\n" \ "To report installation errors, submit an issue to\n" \ " https://github.com/direnv/direnv/issues/new/choose" fi exit "$ret" } trap at_exit EXIT kernel=$(uname -s | tr "[:upper:]" "[:lower:]") case "$(uname -m)" in x86_64) machine=amd64 ;; i686 | i386) machine=386 ;; *) die "Machine $(uname -m) not supported by the installer.\n" \ "Go to https://direnv for alternate installation methods." ;; esac log "kernel=$kernel machine=$machine" : "${use_sudo:=}" : "${bin_path:=}" if [[ -z "$bin_path" ]]; then log "looking for a writeable PATH" for path in $(echo "$PATH" | tr '\'':'\'' '\''\n'\''); do if [[ -w $path ]]; then bin_path=$path break fi done fi if [[ -z "$bin_path" ]]; then die "did not find a writeable path in $PATH" fi echo "bin_path=$bin_path" log "looking for a download URL" download_url=$( curl -fL https://api.github.com/repos/direnv/direnv/releases/latest \ | grep browser_download_url \ | cut -d '\''"'\'' -f 4 \ | grep "direnv.$kernel.$machine" ) echo "download_url=$download_url" log "downloading" curl -o "$bin_path/direnv" -fL "$download_url" chmod +x "$bin_path/direnv" cat <<DONE The direnv binary is now avaible in: $bin_path/direnv The last step is to configure your shell to use it. For example for bash, add the following lines at the end of your ~/.bashrc: eval "\$(direnv hook bash)" Then restart the shell. For other shells, see https://direnv.net/docs/hook.html Thanks! DONE }' [installer] kernel=linux machine=amd64 bin_path=/builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64/usr/bin [installer] looking for a download URL % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34747 100 34747 0 0 85583 0 --:--:-- --:--:-- --:--:-- 85795 download_url=https://github.com/direnv/direnv/releases/download/v2.20.0/direnv.linux-amd64 [installer] downloading % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 607 0 607 0 0 1605 0 --:--:-- --:--:-- --:--:-- 1601 5 4634k 5 253k 0 0 242k 0 0:00:19 0:00:01 0:00:18 242k 100 4634k 100 4634k 0 0 3131k 0 0:00:01 0:00:01 --:--:-- 9.8M The direnv binary is now avaible in: /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64/usr/bin/direnv The last step is to configure your shell to use it. For example for bash, add the following lines at the end of your ~/.bashrc: eval "$(direnv hook bash)" Then restart the shell. For other shells, see https://direnv.net/docs/hook.html Thanks! + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.obvgtu + umask 022 + cd /builddir/build/BUILD + RPM_EC=0 ++ jobs -p + exit 0 Processing files: direnv-2.20.0-1.fc32.x86_64 warning: Missing build-id in /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64/usr/bin/direnv Provides: direnv = 2.20.0-1.fc32 direnv(x86-64) = 2.20.0-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64 Wrote: /builddir/build/RPMS/direnv-2.20.0-1.fc32.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TZbNmt + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/direnv-2.20.0-1.fc32.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0