+ 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.7 MB/s |  38 MB     00:22    
not found deltainfo for: Local RPMS
not found updateinfo for: Local RPMS
local: using metadata from Sun Mar 11 18:48:16 2018.
Last metadata expiration check: 0:06:50 ago on Sun Mar 11 18:48:42 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/libpfm-4.8.0-6.fc27.src.rpm' mockbuild
+ dnf -y builddep /builddir/build/SPECS/libpfm.spec --define '_topdir /builddir/build'
Last metadata expiration check: 0:10:18 ago on Sun Mar 11 18:48:42 2018.
sh: python: command not found
sh: python: command not found
sh: python: command not found
Dependencies resolved.
================================================================================
 Package                  Arch      Version                       Repository
                                                                           Size
================================================================================
Installing:
 python2-devel            riscv64   2.7.14-12.0.riscv64.fc28      local   411 k
 python2-setuptools       noarch    38.4.0-3.fc28                 local   622 k
 swig                     riscv64   3.0.12-16.0.riscv64.fc27      local   2.8 M
Installing dependencies:
 python-rpm-macros        noarch    3-26.fc28                     local    11 k
 python2                  riscv64   2.7.14-12.0.riscv64.fc28      local   107 k
 python2-libs             riscv64   2.7.14-12.0.riscv64.fc28      local   8.2 M
 python2-pip              noarch    9.0.1-16.fc29                 local   1.8 M
 python2-rpm-macros       noarch    3-26.fc28                     local    10 k
 python3-rpm-generators   noarch    5-1.fc28                      local    23 k
 python3-setuptools       noarch    38.4.0-3.fc28                 local   620 k

Transaction Summary
================================================================================
Install  10 Packages

Total download size: 15 M
Installed size: 59 M
Downloading Packages:
(1/10): python2-2.7.14-12.0.riscv64.fc28.riscv6 300 kB/s | 107 kB     00:00    
(2/10): python2-devel-2.7.14-12.0.riscv64.fc28. 326 kB/s | 411 kB     00:01    
(3/10): python2-pip-9.0.1-16.fc29.noarch.rpm    649 kB/s | 1.8 MB     00:02    
(4/10): swig-3.0.12-16.0.riscv64.fc27.riscv64.r 495 kB/s | 2.8 MB     00:05    
(5/10): python2-setuptools-38.4.0-3.fc28.noarch 363 kB/s | 622 kB     00:01    
(6/10): python-rpm-macros-3-26.fc28.noarch.rpm   83 kB/s |  11 kB     00:00    
(7/10): python2-rpm-macros-3-26.fc28.noarch.rpm 107 kB/s |  10 kB     00:00    
(8/10): python3-rpm-generators-5-1.fc28.noarch. 105 kB/s |  23 kB     00:00    
(9/10): python3-setuptools-38.4.0-3.fc28.noarch 656 kB/s | 620 kB     00:00    
(10/10): python2-libs-2.7.14-12.0.riscv64.fc28. 760 kB/s | 8.2 MB     00:10    
--------------------------------------------------------------------------------
Total                                           1.2 MB/s |  15 MB     00:11     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : python2-libs-2.7.14-12.0.riscv64.fc28.riscv64         1/10 
  Installing       : python2-pip-9.0.1-16.fc29.noarch                      2/10 
  Installing       : python2-setuptools-38.4.0-3.fc28.noarch               3/10 
  Installing       : python2-2.7.14-12.0.riscv64.fc28.riscv64              4/10 
  Installing       : python3-setuptools-38.4.0-3.fc28.noarch               5/10 
  Installing       : python3-rpm-generators-5-1.fc28.noarch                6/10 
  Installing       : python2-rpm-macros-3-26.fc28.noarch                   7/10 
  Installing       : python-rpm-macros-3-26.fc28.noarch                    8/10 
  Installing       : python2-devel-2.7.14-12.0.riscv64.fc28.riscv64        9/10 
  Installing       : swig-3.0.12-16.0.riscv64.fc27.riscv64                10/10 
  Running scriptlet: swig-3.0.12-16.0.riscv64.fc27.riscv64                10/10 
  Verifying        : swig-3.0.12-16.0.riscv64.fc27.riscv64                 1/10 
  Verifying        : python2-devel-2.7.14-12.0.riscv64.fc28.riscv64        2/10 
  Verifying        : python2-2.7.14-12.0.riscv64.fc28.riscv64              3/10 
  Verifying        : python2-libs-2.7.14-12.0.riscv64.fc28.riscv64         4/10 
  Verifying        : python2-pip-9.0.1-16.fc29.noarch                      5/10 
  Verifying        : python2-setuptools-38.4.0-3.fc28.noarch               6/10 
  Verifying        : python-rpm-macros-3-26.fc28.noarch                    7/10 
  Verifying        : python2-rpm-macros-3-26.fc28.noarch                   8/10 
  Verifying        : python3-rpm-generators-5-1.fc28.noarch                9/10 
  Verifying        : python3-setuptools-38.4.0-3.fc28.noarch              10/10 

Installed:
  python2-devel.riscv64 2.7.14-12.0.riscv64.fc28                                
  python2-setuptools.noarch 38.4.0-3.fc28                                       
  swig.riscv64 3.0.12-16.0.riscv64.fc27                                         
  python-rpm-macros.noarch 3-26.fc28                                            
  python2.riscv64 2.7.14-12.0.riscv64.fc28                                      
  python2-libs.riscv64 2.7.14-12.0.riscv64.fc28                                 
  python2-pip.noarch 9.0.1-16.fc29                                              
  python2-rpm-macros.noarch 3-26.fc28                                           
  python3-rpm-generators.noarch 5-1.fc28                                        
  python3-setuptools.noarch 38.4.0-3.fc28                                       

Complete!
+ dnf -y update --best
Last metadata expiration check: 0:14:57 ago on Sun Mar 11 18:48:42 2018.
Dependencies resolved.
================================================================================
 Package             Arch            Version                Repository     Size
================================================================================
Upgrading:
 libgcrypt           riscv64         1.8.2-2.fc28           local         1.1 M
 libmetalink         riscv64         0.1.3-4.fc28           local          65 k

Transaction Summary
================================================================================
Upgrade  2 Packages

Total download size: 1.2 M
Downloading Packages:
(1/2): libmetalink-0.1.3-4.fc28.riscv64.rpm     402 kB/s |  65 kB     00:00    
(2/2): libgcrypt-1.8.2-2.fc28.riscv64.rpm       1.1 MB/s | 1.1 MB     00:00    
--------------------------------------------------------------------------------
Total                                           1.1 MB/s | 1.2 MB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Upgrading        : libmetalink-0.1.3-4.fc28.riscv64                       1/4 
  Running scriptlet: libmetalink-0.1.3-4.fc28.riscv64                       1/4 
  Upgrading        : libgcrypt-1.8.2-2.fc28.riscv64                         2/4 
  Running scriptlet: libgcrypt-1.8.2-2.fc28.riscv64                         2/4 
  Cleanup          : libmetalink-0.1.3-4.fc27.riscv64                       3/4 
  Running scriptlet: libmetalink-0.1.3-4.fc27.riscv64                       3/4 
  Cleanup          : libgcrypt-1.8.2-1.fc27.riscv64                         4/4 
  Running scriptlet: libgcrypt-1.8.2-1.fc27.riscv64                         4/4 
  Verifying        : libgcrypt-1.8.2-2.fc28.riscv64                         1/4 
  Verifying        : libmetalink-0.1.3-4.fc28.riscv64                       2/4 
  Verifying        : libmetalink-0.1.3-4.fc27.riscv64                       3/4 
  Verifying        : libgcrypt-1.8.2-1.fc27.riscv64                         4/4 

Upgraded:
  libgcrypt.riscv64 1.8.2-2.fc28        libmetalink.riscv64 0.1.3-4.fc28       

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