+ 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.5 MB/s |  35 MB     00:22    
not found deltainfo for: Local RPMS
not found updateinfo for: Local RPMS
local: using metadata from Sun Mar 11 03:09:47 2018.
Last metadata expiration check: 0:06:21 ago on Sun Mar 11 03:16:16 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/libinvm-cim-1.0.0.1049-3.fc27.src.rpm' mockbuild
+ dnf -y builddep /builddir/build/SPECS/libinvm-cim.spec --define '_topdir /builddir/build'
Last metadata expiration check: 0:09:43 ago on Sun Mar 11 03:16:16 2018.
Dependencies resolved.
Nothing to do.
Complete!
+ dnf -y update --best
Last metadata expiration check: 0:10:50 ago on Sun Mar 11 03:16:16 2018.
Dependencies resolved.
================================================================================
 Package            Arch             Version               Repository      Size
================================================================================
Upgrading:
 libgcrypt          riscv64          1.8.2-2.fc28          local          1.1 M

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 1.1 M
Downloading Packages:
libgcrypt-1.8.2-2.fc28.riscv64.rpm              1.3 MB/s | 1.1 MB     00:00    
--------------------------------------------------------------------------------
Total                                           1.2 MB/s | 1.1 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Upgrading        : libgcrypt-1.8.2-2.fc28.riscv64                         1/2 
  Running scriptlet: libgcrypt-1.8.2-2.fc28.riscv64                         1/2 
  Cleanup          : libgcrypt-1.8.2-1.fc27.riscv64                         2/2 
  Running scriptlet: libgcrypt-1.8.2-1.fc27.riscv64                         2/2 
  Verifying        : libgcrypt-1.8.2-2.fc28.riscv64                         1/2 
  Verifying        : libgcrypt-1.8.2-1.fc27.riscv64                         2/2 

Upgraded:
  libgcrypt.riscv64 1.8.2-2.fc28                                                

Complete!
+ dnf -y group install buildsys-build
Last metadata expiration check: 0:12:06 ago on Sun Mar 11 03:16:16 2018.
Group 'Buildsystem building group' is already installed.
Dependencies resolved.
Nothing to do.
Complete!
+ exec