Mock Version: 2.15
Mock Version: 2.15
Mock Version: 2.15
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mesaflash.spec'], chrootPath='/var/lib/mock/f37-build-667910-74631/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3f6fb8ec10>timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mesaflash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1658361600
Wrote: /builddir/build/SRPMS/mesaflash-3.4.0-0.8.20200608git946725c.fc37.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mesaflash.spec'], chrootPath='/var/lib/mock/f37-build-667910-74631/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3f6fb8ec10>timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mesaflash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1658361600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ou9K3E
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git config gc.auto 0
+ /usr/bin/git add --force .
+ /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'mesaflash-3.4.0 base'
+ /usr/bin/git checkout --track -b rpm-build
Switched to a new branch 'rpm-build'
branch 'rpm-build' set up to track 'master'.
+ rm -rf '*.dll' '*.sys' libpci
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hG9GW4
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\"'
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\"'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ export USE_STUBS=1
+ USE_STUBS=1
+ /usr/bin/make -O -j4 V=1 VERBOSE=1 OWNERSHIP=
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c common.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c lbp.c
lbp.c: In function 'lbp_read':
lbp.c:75:15: warning: variable 'recv' set but not used [-Wunused-but-set-variable]
   75 |     int send, recv;
      |               ^~~~
lbp.c:75:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
   75 |     int send, recv;
      |         ^~~~
lbp.c: In function 'lbp_write':
lbp.c:92:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
   92 |     int send;
      |         ^~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c lbp16.c
lbp16.c: In function 'lbp16_read':
lbp16.c:39:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
   39 |     int send, recv;
      |         ^~~~
lbp16.c: In function 'lbp16_write':
lbp16.c:61:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
   61 |     int send;
      |         ^~~~
lbp16.c: In function 'lbp16_board_reset':
lbp16.c:75:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
   75 |     int send;
      |         ^~~~
lbp16.c: In function 'lbp16_board_reload':
lbp16.c:86:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
   86 |     int send;
      |         ^~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c bitfile.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c eeprom.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c anyio.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c usb_boards.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c hostmot2.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c epp_boards.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c eth_boards.c
eth_boards.c: In function 'eth_scan_one_addr':
eth_boards.c:140:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
  140 |     int send = 0, recv = 0, ret = 0;
      |         ^~~~
eth_boards.c: In function 'eth_boards_scan':
eth_boards.c:540:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  540 |         strncpy(addr, access->dev_addr, 16);
      |         ^
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c encoder_module.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c eeprom_remote.c
eeprom_remote.c: In function 'read_page':
eeprom_remote.c:41:15: warning: variable 'recv' set but not used [-Wunused-but-set-variable]
   41 |     int send, recv;
      |               ^~~~
eeprom_remote.c:41:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
   41 |     int send, recv;
      |         ^~~~
eeprom_remote.c: In function 'write_page':
eeprom_remote.c:54:15: warning: variable 'recv' set but not used [-Wunused-but-set-variable]
   54 |     int send, recv;
      |               ^~~~
eeprom_remote.c:54:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
   54 |     int send, recv;
      |         ^~~~
eeprom_remote.c: In function 'erase_sector':
eeprom_remote.c:71:15: warning: variable 'recv' set but not used [-Wunused-but-set-variable]
   71 |     int send, recv;
      |               ^~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c eeprom_local.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c spi_boards.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c stubs/sys/io.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c pci_boards.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c serial_boards.c
serial_boards.c: In function 'serial_boards_scan':
serial_boards.c:176:19: warning: variable 'recv' set but not used [-Wunused-but-set-variable]
  176 |     int send = 0, recv = 0;
      |                   ^~~~
serial_boards.c:176:9: warning: variable 'send' set but not used [-Wunused-but-set-variable]
  176 |     int send = 0, recv = 0;
      |         ^~~~
serial_boards.c: In function 'serial_print_info':
serial_boards.c:217:15: warning: variable 'recv' set but not used [-Wunused-but-set-variable]
  217 |     int i, j, recv;
      |               ^~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c sserial_module.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c mesaflash.c
rm -f libanyio.a mesaflash
ar rcs libanyio.a common.o lbp.o lbp16.o bitfile.o hostmot2.o eeprom.o anyio.o eth_boards.o epp_boards.o usb_boards.o pci_boards.o sserial_module.o encoder_module.o eeprom_local.o eeprom_remote.o spi_boards.o serial_boards.o io.o
ranlib libanyio.a
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c examples/pci_analog_write.c
examples/pci_analog_write.c: In function 'main':
examples/pci_analog_write.c:136:5: warning: converting a packed 'opd_mode_1_7i77_t' {aka 'struct opd_mode_1_7i77_struct'} pointer (alignment 1) to a 'u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
  136 |     u32 *out_ptr = (u32 *) &out;
      |     ^~~
In file included from examples/pci_analog_write.c:27:
examples/../sserial_module.h:25:8: note: defined here
   25 | struct opd_mode_1_7i77_struct {
      |        ^~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -c examples/pci_encoder_read.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -o pci_analog_write pci_analog_write.o libanyio.a -lm -lpci 
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -o pci_encoder_read pci_encoder_read.o libanyio.a -lm -lpci 
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"3.4.0-0.8.20200608git946725c.fc37\" -std=c99 -D_GNU_SOURCE  -Istubs -o mesaflash mesaflash.o libanyio.a -lm -lpci 
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7K3VHX
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64
++ dirname /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca
+ export USE_STUBS=1
+ USE_STUBS=1
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64 'INSTALL=/usr/bin/install -p' OWNERSHIP= DESTDIR=/builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr
install -p -D --mode=0755  mesaflash /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/bin/mesaflash
install -p -D --mode=0644  mesaflash.1 /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/share/man/man1/mesaflash.1
+ /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.4.0-0.8.20200608git946725c.fc37 --unique-debug-suffix -3.4.0-0.8.20200608git946725c.fc37.riscv64 --unique-debug-src-base mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca
extracting debug info from /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/bin/mesaflash
original debug info size: 1136kB, size after compression: 1088kB
/usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
619 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dbhY4e
+ umask 022
+ cd /builddir/build/BUILD
+ cd mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca
+ DOCDIR=/builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/share/doc/mesaflash
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/share/doc/mesaflash
+ cp -pr README.md /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/share/doc/mesaflash
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2POWBF
+ umask 022
+ cd /builddir/build/BUILD
+ cd mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca
+ LICENSEDIR=/builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/share/licenses/mesaflash
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/share/licenses/mesaflash
+ cp -pr COPYING /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64/usr/share/licenses/mesaflash
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: mesaflash = 3.4.0-0.8.20200608git946725c.fc37 mesaflash(riscv-64) = 3.4.0-0.8.20200608git946725c.fc37
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpci.so.3()(64bit) libpci.so.3(LIBPCI_3.0)(64bit) libpci.so.3(LIBPCI_3.5)(64bit) rtld(GNU_HASH)
Processing files: mesaflash-debugsource-3.4.0-0.8.20200608git946725c.fc37.riscv64
Provides: mesaflash-debugsource = 3.4.0-0.8.20200608git946725c.fc37 mesaflash-debugsource(riscv-64) = 3.4.0-0.8.20200608git946725c.fc37
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: mesaflash-debuginfo-3.4.0-0.8.20200608git946725c.fc37.riscv64
Provides: debuginfo(build-id) = 832c491f587721871452078b64b6ed298f83f8e5 mesaflash-debuginfo = 3.4.0-0.8.20200608git946725c.fc37 mesaflash-debuginfo(riscv-64) = 3.4.0-0.8.20200608git946725c.fc37
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: mesaflash-debugsource(riscv-64) = 3.4.0-0.8.20200608git946725c.fc37
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64
Wrote: /builddir/build/RPMS/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64.rpm
Wrote: /builddir/build/RPMS/mesaflash-debuginfo-3.4.0-0.8.20200608git946725c.fc37.riscv64.rpm
Wrote: /builddir/build/RPMS/mesaflash-debugsource-3.4.0-0.8.20200608git946725c.fc37.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.t1laOK
+ umask 022
+ cd /builddir/build/BUILD
+ cd mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/mesaflash-3.4.0-0.8.20200608git946725c.fc37.riscv64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.W6LS0T
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca mesaflash-946725c83c1cdef5b75e63b7aadcb20e1bf19eca.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0