+ 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 |  32 MB     00:19    
not found deltainfo for: Local RPMS
not found updateinfo for: Local RPMS
local: using metadata from Mon Mar  5 11:48:12 2018.
Last metadata expiration check: 0:05:43 ago on Mon Mar  5 11:55:10 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/gsm-1.0.17-3.fc27.src.rpm' mockbuild
+ dnf -y builddep /builddir/build/SPECS/gsm.spec --define '_topdir /builddir/build'
Last metadata expiration check: 0:08:37 ago on Mon Mar  5 11:55:10 2018.
Dependencies resolved.
Nothing to do.
Complete!
+ dnf -y update --best
Last metadata expiration check: 0:09:41 ago on Mon Mar  5 11:55:10 2018.
Dependencies resolved.
================================================================================
 Package          Arch              Version               Repository       Size
================================================================================
Upgrading:
 grubby           riscv64           8.40-7.fc28           local            69 k

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

Total download size: 69 k
Downloading Packages:
grubby-8.40-7.fc28.riscv64.rpm                  910 kB/s |  69 kB     00:00    
--------------------------------------------------------------------------------
Total                                           401 kB/s |  69 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Upgrading        : grubby-8.40-7.fc28.riscv64                             1/2 
  Cleanup          : grubby-8.40-3.fc28.riscv64                             2/2 
  Running scriptlet: grubby-8.40-3.fc28.riscv64                             2/2 
  Verifying        : grubby-8.40-7.fc28.riscv64                             1/2 
  Verifying        : grubby-8.40-3.fc28.riscv64                             2/2 

Upgraded:
  grubby.riscv64 8.40-7.fc28                                                    

Complete!
+ dnf -y group install buildsys-build
Last metadata expiration check: 0:10:47 ago on Mon Mar  5 11:55:10 2018.
Group 'Buildsystem building group' is already installed.
No match for group package "gcc-c++"
No match for group package "gcc"
Dependencies resolved.
Nothing to do.
Complete!
+ dnf -y install hack-gcc glibc-devel
Last metadata expiration check: 0:11:47 ago on Mon Mar  5 11:55:10 2018.
Package hack-gcc-7.3.1-0.5.riscv64 is already installed, skipping.
Package glibc-devel-2.27.9000-7.fc28.riscv64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
+ exec