Build log:
Mock Version: 5.4
Mock Version: 5.4
Mock Version: 5.4
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/stlink.spec'], chrootPath='/var/lib/mock/f39-build-49198843-5844777/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 0x7f6314f8cd40>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4d41cee07ca74b208f3ab13c1c00692e', '-D', '/var/lib/mock/f39-build-49198843-5844777/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/stlink.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
warning: Macro expanded in comment on line 1: %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf
warning: Macro expanded in comment on line 2: %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7})
warning: Macro expanded in comment on line 3: %global date 20200420
warning: Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist}
warning: Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full}
warning: Macro expanded in comment on line 90: %{_includedir}/stm32.h
warning: Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1708387200
Wrote: /builddir/build/SRPMS/stlink-1.8.0-2.fc39.src.rpm
RPM build warnings:
    Macro expanded in comment on line 1: %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf
    Macro expanded in comment on line 2: %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7})
    Macro expanded in comment on line 3: %global date 20200420
    Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist}
    Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full}
    Macro expanded in comment on line 90: %{_includedir}/stm32.h
    Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stlink.spec'], chrootPath='/var/lib/mock/f39-build-49198843-5844777/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 0x7f6314f8cd40>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bff2d2fcae0948a89afdf02a162b406b', '-D', '/var/lib/mock/f39-build-49198843-5844777/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stlink.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
warning: Macro expanded in comment on line 1: %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf
warning: Macro expanded in comment on line 2: %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7})
warning: Macro expanded in comment on line 3: %global date 20200420
warning: Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist}
warning: Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full}
warning: Macro expanded in comment on line 90: %{_includedir}/stm32.h
warning: Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1708387200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KFLdwQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf stlink-1.8.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stlink-1.8.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd stlink-1.8.0
+ rm -rf /builddir/build/BUILD/stlink-1.8.0-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/stlink-1.8.0-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6a6718b3342b6c5e282a4e33325b9f97908a0692.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ sed -i 's|/${PROJECT_NAME}||g' src/stlink-gui/CMakeLists.txt
+ sed -i 's|/${PROJECT_NAME}||g' doc/man/CMakeLists.txt
+ sed -i 's|#add_subdirectory(cmake/pkgconfig)|add_subdirectory(cmake/pkgconfig)|' CMakeLists.txt
+ sed -i 's|find_package(libusb REQUIRED)|find_package(libusb REQUIRED)\nset(STLINK_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR} CACHE PATH "Main library install directory")|' CMakeLists.txt
+ sed -i 's|static char serialnumber\[28\]|static char serialnumber\[STLINK_SERIAL_MAX_SIZE\]|' src/st-util/gdb-server.c
+ sed -i 's|CMP0153|CMP0042|' CMakeLists.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rE3zo6
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ 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/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd stlink-1.8.0
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ 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/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DBUILD_SHARED_LIBS:BOOL=ON -DSTLINK_UDEV_RULES_DIR=/usr/lib/udev/rules.d -DSTLINK_STATIC_LIB=OFF -DSTLINK_GENERATE_MANPAGES=ON
-- The C compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Git and/or repository not found.
-- Try to detect version from "/builddir/build/BUILD/stlink-1.8.0/.version" file instead...
-- Checking for OS_NAME: Linux
-- Performing Test C_SUPPORTS_WALL
-- Performing Test C_SUPPORTS_WALL - Success
-- Performing Test C_SUPPORTS_WEXTRA
-- Performing Test C_SUPPORTS_WEXTRA - Success
-- Performing Test C_SUPPORTS_WSHADOW
-- Performing Test C_SUPPORTS_WSHADOW - Success
-- Performing Test C_SUPPORTS_O
-- Performing Test C_SUPPORTS_O - Success
-- Performing Test C_SUPPORTS_D_FORTIFY_SOURCE_2
-- Performing Test C_SUPPORTS_D_FORTIFY_SOURCE_2 - Success
-- Performing Test C_SUPPORTS_FSTRICT_ALIASING
-- Performing Test C_SUPPORTS_FSTRICT_ALIASING - Success
-- Performing Test C_SUPPORTS_WUNDEF
-- Performing Test C_SUPPORTS_WUNDEF - Success
-- Performing Test C_SUPPORTS_WFORMAT
-- Performing Test C_SUPPORTS_WFORMAT - Success
-- Performing Test C_SUPPORTS_WFORMAT_SECURITY
-- Performing Test C_SUPPORTS_WFORMAT_SECURITY - Success
-- Performing Test C_SUPPORTS_WMAYBE_UNINITIALIZED
-- Performing Test C_SUPPORTS_WMAYBE_UNINITIALIZED - Success
-- Performing Test C_SUPPORTS_WMISSING_VARIABLE_DECLARATIONS
-- Performing Test C_SUPPORTS_WMISSING_VARIABLE_DECLARATIONS - Failed
-- Performing Test C_SUPPORTS_WSHORTEN_64_TO_32
-- Performing Test C_SUPPORTS_WSHORTEN_64_TO_32 - Failed
-- Performing Test C_SUPPORTS_WIMPLICIT_FUNCTION_DECLARATION
-- Performing Test C_SUPPORTS_WIMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test C_SUPPORTS_WREDUNDANT_DECLS
-- Performing Test C_SUPPORTS_WREDUNDANT_DECLS - Success
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test C_SUPPORTS_WERROR
-- Performing Test C_SUPPORTS_WERROR - Success
-- Found libusb: /usr/include/libusb-1.0  
-- Looking for __stack_chk_fail in ssp
-- Looking for __stack_chk_fail in ssp - not found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- STLINK_LIB_SHARED: stlink-shared
-- VERSION: 1.8.0
-- STLINK_LIB_STATIC: stlink-static
-- VERSION: 1.8.0
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.41
-- Found GTK3: -I/usr/include/gtk-3.0;/usr/include/pango-1.0;/usr/include/gdk-pixbuf-2.0;/usr/include/cairo;/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include;/usr/include/atk-1.0;/usr/include/harfbuzz;/usr/include/freetype2;/usr/include/glib-2.0;/usr/lib/glib-2.0/include;/usr/include/at-spi2-atk/2.0;/usr/include/cloudproviders;/usr/include/blkid;/usr/include/at-spi-2.0;/usr/include/gio-unix-2.0;/usr/include/libmount;/usr/include/pixman-1;/usr/include/libxml2;/usr/include/fribidi;/usr/include/sysprof-6;/usr/include/libpng16, gtk-3;gdk-3;z;atk-1.0;gio-2.0;pangocairo-1.0;harfbuzz;gdk_pixbuf-2.0;cairo-gobject;pango-1.0;cairo;glib-2.0;gobject-2.0
-- Configuring done (4.5s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_C_FLAGS_RELEASE
    CMAKE_Fortran_FLAGS_RELEASE
    CMAKE_INSTALL_DO_STRIP
    INCLUDE_INSTALL_DIR
    LIB_INSTALL_DIR
    SHARE_INSTALL_PREFIX
    STLINK_STATIC_LIB
    SYSCONF_INSTALL_DIR
-- Build files have been written to: /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build
+ /usr/bin/cmake --build redhat-linux-build -j48 --verbose
Change Dir: '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j48
/usr/bin/cmake -S/builddir/build/BUILD/stlink-1.8.0 -B/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build//CMakeFiles/progress.marks
/usr/bin/gmake  -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
/usr/bin/gmake  -f CMakeFiles/stlink-shared.dir/build.make CMakeFiles/stlink-shared.dir/depend
/usr/bin/gmake  -f CMakeFiles/stlink-static.dir/build.make CMakeFiles/stlink-static.dir/depend
/usr/bin/gmake  -f doc/man/CMakeFiles/st-info.1.dir/build.make doc/man/CMakeFiles/st-info.1.dir/depend
/usr/bin/gmake  -f doc/man/CMakeFiles/st-flash.1.dir/build.make doc/man/CMakeFiles/st-flash.1.dir/depend
/usr/bin/gmake  -f doc/man/CMakeFiles/st-util.1.dir/build.make doc/man/CMakeFiles/st-util.1.dir/depend
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/CMakeFiles/stlink-shared.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0/doc/man /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/CMakeFiles/st-flash.1.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/CMakeFiles/stlink-static.dir/DependInfo.cmake "--color="
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0/doc/man /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/CMakeFiles/st-info.1.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0/doc/man /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/CMakeFiles/st-util.1.dir/DependInfo.cmake "--color="
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
/usr/bin/gmake  -f CMakeFiles/stlink-shared.dir/build.make CMakeFiles/stlink-shared.dir/build
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
/usr/bin/gmake  -f CMakeFiles/stlink-static.dir/build.make CMakeFiles/stlink-static.dir/build
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
/usr/bin/gmake  -f doc/man/CMakeFiles/st-flash.1.dir/build.make doc/man/CMakeFiles/st-flash.1.dir/build
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
/usr/bin/gmake  -f doc/man/CMakeFiles/st-util.1.dir/build.make doc/man/CMakeFiles/st-util.1.dir/build
/usr/bin/gmake  -f doc/man/CMakeFiles/st-info.1.dir/build.make doc/man/CMakeFiles/st-info.1.dir/build
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
[  1%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/calculate.c
[  5%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o
[  5%] Generating st-util.md
[  6%] Generating st-info.md
[  8%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/chipid.c
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy /builddir/build/BUILD/stlink-1.8.0/doc/man/st-util.md /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/st-util.md
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy /builddir/build/BUILD/stlink-1.8.0/doc/man/st-info.md /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/st-info.md
[ 10%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o
[ 11%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/common_flash.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/chipid.c
[ 13%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o
[ 15%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o
[ 18%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/common_flash.c
[ 18%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o
[ 20%] Generating st-flash.md
[ 22%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/helper.c
[ 23%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/helper.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/logging.c
[ 27%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o
[ 27%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/map_file.c
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy /builddir/build/BUILD/stlink-1.8.0/doc/man/st-flash.md /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/st-flash.md
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/flash_loader.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/common.c
[ 28%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/logging.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/option_bytes.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/lib_md5.c
[ 32%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o
[ 35%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o
[ 35%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o
[ 35%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/lib_md5.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/calculate.c
[ 37%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/common.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/flash_loader.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/read_write.c
[ 38%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o
[ 40%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o
[ 44%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o
[ 44%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o
[ 45%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/read_write.c
[ 49%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/map_file.c
[ 49%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/md5.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/option_bytes.c
[ 50%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o
[ 52%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/md5.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/sg.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/sg.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/usb.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o -c /builddir/build/BUILD/stlink-1.8.0/src/stlink-lib/usb.c
[ 55%] Generating ../../usr/share/st-util.1
[ 55%] Generating st-util.1
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E make_directory /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy st-util.1 /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share
[ 59%] Generating ../../usr/share/st-info.1
[ 59%] Generating st-info.1
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy st-info.1 /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E make_directory /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share
[ 61%] Generating st-flash.1
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E make_directory /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share
[ 62%] Generating ../../usr/share/st-flash.1
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/pandoc /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/st-util.md -s -t man -o st-util.1
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy st-flash.1 /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share
Error copying file "st-util.1" to "/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share".
gmake[2]: *** [doc/man/CMakeFiles/st-util.1.dir/build.make:82: usr/share/st-util.1] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Error copying file "st-flash.1" to "/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share".
Error copying file "st-info.1" to "/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/usr/share".
gmake[2]: *** [doc/man/CMakeFiles/st-flash.1.dir/build.make:82: usr/share/st-flash.1] Error 1
gmake[2]: *** Waiting for unfinished jobs....
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/pandoc /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/st-flash.md -s -t man -o st-flash.1
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/pandoc /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/st-info.md -s -t man -o st-info.1
gmake[2]: *** [doc/man/CMakeFiles/st-info.1.dir/build.make:82: usr/share/st-info.1] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:479: doc/man/CMakeFiles/st-util.1.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:453: doc/man/CMakeFiles/st-flash.1.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:427: doc/man/CMakeFiles/st-info.1.dir/all] Error 2
[ 64%] Linking C shared library lib/libstlink.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/stlink-shared.dir/link.txt --verbose=1
[ 66%] Linking C static library lib/libstlink.a
/usr/bin/cmake -P CMakeFiles/stlink-static.dir/cmake_clean_target.cmake
/usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -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 -shared -Wl,-soname,libstlink.so.1 -o lib/libstlink.so.1.8.0 "CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o"  /usr/lib/libusb-1.0.so 
/usr/bin/cmake -E cmake_link_script CMakeFiles/stlink-static.dir/link.txt --verbose=1
/usr/bin/ar qc lib/libstlink.a "CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o"
/usr/bin/ranlib lib/libstlink.a
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
[ 66%] Built target stlink-static
/usr/bin/cmake -E cmake_symlink_library lib/libstlink.so.1.8.0 lib/libstlink.so.1 lib/libstlink.so
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
[ 66%] Built target stlink-shared
gmake[1]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake: *** [Makefile:159: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.rE3zo6 (%build)
RPM build warnings:
RPM build errors:
    Macro expanded in comment on line 1: %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf
    Macro expanded in comment on line 2: %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7})
    Macro expanded in comment on line 3: %global date 20200420
    Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist}
    Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full}
    Macro expanded in comment on line 90: %{_includedir}/stm32.h
    Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc
    Bad exit status from /var/tmp/rpm-tmp.rE3zo6 (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M bff2d2fcae0948a89afdf02a162b406b -D /var/lib/mock/f39-build-49198843-5844777/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stlink.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M bff2d2fcae0948a89afdf02a162b406b -D /var/lib/mock/f39-build-49198843-5844777/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stlink.spec'



Extracted relevant lines:
gmake[2]: *** [doc/man/CMakeFiles/st-util.1.dir/build.make:82: usr/share/st-util.1] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [doc/man/CMakeFiles/st-flash.1.dir/build.make:82: usr/share/st-flash.1] Error 1
gmake[2]: *** Waiting for unfinished jobs....
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/pandoc /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/st-flash.md -s -t man -o st-flash.1
cd /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/pandoc /builddir/build/BUILD/stlink-1.8.0/redhat-linux-build/doc/man/st-info.md -s -t man -o st-info.1
gmake[2]: *** [doc/man/CMakeFiles/st-info.1.dir/build.make:82: usr/share/st-info.1] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:479: doc/man/CMakeFiles/st-util.1.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:453: doc/man/CMakeFiles/st-flash.1.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:427: doc/man/CMakeFiles/st-info.1.dir/all] Error 2
[ 64%] Linking C shared library lib/libstlink.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/stlink-shared.dir/link.txt --verbose=1
[ 66%] Linking C static library lib/libstlink.a
/usr/bin/cmake -P CMakeFiles/stlink-static.dir/cmake_clean_target.cmake
/usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -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 -shared -Wl,-soname,libstlink.so.1 -o lib/libstlink.so.1.8.0 "CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o"  /usr/lib/libusb-1.0.so 
/usr/bin/cmake -E cmake_link_script CMakeFiles/stlink-static.dir/link.txt --verbose=1
/usr/bin/ar qc lib/libstlink.a "CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o" "CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o"
/usr/bin/ranlib lib/libstlink.a
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
[ 66%] Built target stlink-static
/usr/bin/cmake -E cmake_symlink_library lib/libstlink.so.1.8.0 lib/libstlink.so.1 lib/libstlink.so
gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
[ 66%] Built target stlink-shared
gmake[1]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0/redhat-linux-build'
gmake: *** [Makefile:159: all] Error 2
    Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist}
    Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full}
    Macro expanded in comment on line 90: %{_includedir}/stm32.h
    Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc
    Bad exit status from /var/tmp/rpm-tmp.rE3zo6 (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: 
 # /usr/bin/systemd-nspawn -q -M bff2d2fcae0948a89afdf02a162b406b -D /var/lib/mock/f39-build-49198843-5844777/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stlink.spec\'
', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: 
 # %s
%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M bff2d2fcae0948a89afdf02a162b406b -D /var/lib/mock/f39-build-49198843-5844777/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.o8s3g5yk:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stlink.spec'