+ 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
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.6 MB/s |  23 MB     00:14    
not found deltainfo for: Local RPMS
not found updateinfo for: Local RPMS
local: using metadata from Sun Feb 25 21:52:51 2018.
Last metadata expiration check: 0:04:14 ago on Sun Feb 25 21:53:25 2018.
Missing file *modules.yaml in metadata cache dir: /var/cache/dnf/local-5521bc1e6d885b81
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/ocaml-ounit-2.0.6-1.fc28.src.rpm' mockbuild
+ dnf -y builddep /builddir/build/SPECS/ocaml-ounit.spec
Last metadata expiration check: 0:07:22 ago on Sun Feb 25 21:53:25 2018.
Dependencies resolved.
================================================================================
 Package                 Arch        Version                    Repository
                                                                           Size
================================================================================
Installing:
 ocaml                   riscv64     4.06.0-5.fc28              local      34 M
 ocaml-findlib-devel     riscv64     1.7.3-9.fc28               local     157 k
 ocaml-ocamlbuild        riscv64     0.12.0-1.fc28              local     2.3 M
 ocaml-ocamldoc          riscv64     4.06.0-5.fc28              local     3.9 M
Installing dependencies:
 libX11                  riscv64     1.6.5-5.fc28               local     1.8 M
 libX11-common           noarch      1.6.5-5.fc28               local     166 k
 libXau                  riscv64     1.0.8-11.fc28              local      42 k
 libxcb                  riscv64     1.12-5.0.riscv64.fc28      local     708 k
 ocaml-compiler-libs     riscv64     4.06.0-5.fc28              local     9.1 M
 ocaml-findlib           riscv64     1.7.3-9.fc28               local     722 k
 ocaml-runtime           riscv64     4.06.0-5.fc28              local     2.8 M

Transaction Summary
================================================================================
Install  11 Packages

Total download size: 55 M
Installed size: 235 M
Downloading Packages:
[MIRROR] ocaml-ocamlbuild-0.12.0-1.fc28.riscv64.rpm: Interrupted by header callback: Server reports Content-Length: 2388260 but expected size is: 2388280
[FAILED] ocaml-ocamlbuild-0.12.0-1.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/ocaml-ocamlbuild-0.12.0-1.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