+ dnf clean all
0 files removed
+ dnf makecache --verbose
Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repograph, repomanage, reposync, versionlock
DNF version: 2.7.5
cachedir: /var/cache/dnf
Making cache files for all metadata files.
local: has expired and will be refreshed.
Local RPMS                                      1.3 MB/s |  52 MB     00:40    
not found deltainfo for: Local RPMS
not found updateinfo for: Local RPMS
local: using metadata from Mon Apr  2 23:48:20 2018.
Last metadata expiration check: 0:10:37 ago on Mon Apr  2 23:56:56 2018.
Missing file *modules.yaml in metadata cache dir: /var/cache/dnf/local-5521bc1e6d885b81
Excludes from versionlock plugin were not applied
Completion plugin: Generating completion cache...
Metadata cache created.
+ useradd -d /builddir mockbuild
+ su -c 'mkdir /builddir/build' mockbuild
+ echo '%_topdir /builddir/build'
+ su -c 'rpm -i /var/tmp/znc-clientbuffer-0-0.4gitfe0f368.fc27.src.rpm' mockbuild
+ dnf -y builddep /builddir/build/SPECS/znc-clientbuffer.spec --define '_topdir /builddir/build'
Waiting for process with pid 220 to finish.
Last metadata expiration check: 0:11:06 ago on Tue Apr  3 00:07:56 2018.
Package gcc-c++-7.3.1-5.2.riscv64.fc28.riscv64 is already installed, skipping.
Dependencies resolved.
================================================================================
 Package            Arch         Version                       Repository  Size
================================================================================
Installing:
 znc-devel          riscv64      1.6.4-1.fc28                  local       81 k
Installing dependencies:
 c-ares             riscv64      1.13.0-4.fc28                 local      172 k
 c-ares-devel       riscv64      1.13.0-4.fc28                 local       86 k
 libicu             riscv64      60.2-2.1.riscv64.fc28         local       14 M
 libicu-devel       riscv64      60.2-2.1.riscv64.fc28         local      936 k
 openssl-devel      riscv64      1:1.1.0g-2.fc28               local      1.9 M
 zlib-devel         riscv64      1.2.11-4.fc28                 local       56 k
 znc                riscv64      1.6.4-1.fc28                  local       13 M

Transaction Summary
================================================================================
Install  8 Packages

Total download size: 31 M
Installed size: 125 M
Downloading Packages:
(1/8): znc-devel-1.6.4-1.fc28.riscv64.rpm       249 kB/s |  81 kB     00:00    
[MIRROR] zlib-devel-1.2.11-4.fc28.riscv64.rpm: Interrupted by header callback: Server reports Content-Length: 57848 but expected size is: 57808
[FAILED] zlib-devel-1.2.11-4.fc28.riscv64.rpm: No more mirrors to try - All mirrors were already tried without success

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  Cannot download riscv64/zlib-devel-1.2.11-4.fc28.riscv64.rpm: All mirrors were tried
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff