D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/stlink-1.8.0-3.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7zttS3
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xuUWMX
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ rm -rf stlink-1.8.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/stlink-1.8.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd stlink-1.8.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JzwdxN
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd stlink-1.8.0
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed  -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_RANLIB=/usr/bin/gcc-ranlib -DCMAKE_NM=/usr/bin/gcc-nm -DSTLINK_UDEV_RULES_DIR=/usr/lib/udev/rules.d -DSTLINK_STATIC_LIB=OFF
-- The C compiler identification is GNU 15.2.0
-- 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 "/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-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 - Success
-- 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/lib64/libusb-1.0.so
-- 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
-- PROJECT_VERSION_MAJOR: 1
-- VERSION: 1.8.0
-- STLINK_LIB_STATIC: stlink-static
-- PROJECT_VERSION_MAJOR: 1
-- VERSION: 1.8.0
-- Manpage generation disabled
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0")
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.51
-- Found GTK3: -I/usr/include/gtk-3.0;/usr/include/pango-1.0;/usr/include;/usr/include/cloudproviders;/usr/include/cairo;/usr/include/gdk-pixbuf-2.0;/usr/include/glycin-2;/usr/include/at-spi2-atk/2.0;/usr/include/at-spi-2.0;/usr/include/atk-1.0;/usr/include/dbus-1.0;/usr/lib64/dbus-1.0/include;/usr/include/fribidi;/usr/include/libxml2;/usr/include/pixman-1;/usr/include/harfbuzz;/usr/include/freetype2;/usr/include/libpng16;/usr/include/gio-unix-2.0;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include;/usr/include/libmount;/usr/include/uuid;/usr/include/json-c;/usr/include/blkid;/usr/include/sysprof-6, gtk-3;gdk-3;z;pangocairo-1.0;pango-1.0;harfbuzz;atk-1.0;cairo-gobject;cairo;gdk_pixbuf-2.0;gio-2.0;gobject-2.0;glib-2.0
-- Configuring done (5.8s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_STATIC_LIBS
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_CXX_FLAGS_RELWITHDEBINFO
    CMAKE_C_FLAGS_RELEASE
    CMAKE_INSTALL_DO_STRIP
    INCLUDE_INSTALL_DIR
    LIB_INSTALL_DIR
    LIB_SUFFIX
    SHARE_INSTALL_PREFIX
    STLINK_STATIC_LIB
    SYSCONF_INSTALL_DIR


-- Build files have been written to: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build
+ /usr/bin/cmake --build build -j16 --verbose
Change Dir: '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'

Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16
/usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 -B/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build//CMakeFiles/progress.marks
/usr/bin/gmake  -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/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
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/CMakeFiles/stlink-shared.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/CMakeFiles/stlink-static.dir/DependInfo.cmake "--color="
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gmake  -f CMakeFiles/stlink-shared.dir/build.make CMakeFiles/stlink-shared.dir/build
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gmake  -f CMakeFiles/stlink-static.dir/build.make CMakeFiles/stlink-static.dir/build
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
[  4%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o
[  4%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o
[ 12%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o
[ 12%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o
[ 12%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o
[ 12%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o
[ 18%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o
[ 18%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o
[ 18%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/common_flash.c
[ 20%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/helper.c
[ 22%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o
[ 26%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/logging.c
[ 26%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c
[ 30%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o
[ 30%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/calculate.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c
[ 32%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/calculate.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/common.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/common_flash.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/flash_loader.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/common.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/map_file.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/lib_md5.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/md5.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/option_bytes.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/read_write.c
/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c: In function 'process_chipfile':
/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c:68:22: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
   68 |   ts = calloc(sizeof(struct stlink_chipid_params), 1);
      |                      ^~~~~~
/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c:68:22: note: earlier argument should specify number of elements, later size of each element
/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c: In function 'process_chipfile':
/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c:68:22: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
   68 |   ts = calloc(sizeof(struct stlink_chipid_params), 1);
      |                      ^~~~~~
/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c:68:22: note: earlier argument should specify number of elements, later size of each element
[ 34%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/flash_loader.c
[ 36%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/helper.c
[ 38%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/sg.c
[ 42%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o
[ 42%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/usb.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/logging.c
[ 44%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o
[ 46%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/map_file.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/lib_md5.c
[ 50%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o
[ 50%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/option_bytes.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/md5.c
[ 52%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/sg.c
[ 54%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/usb.c
[ 56%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/read_write.c
[ 58%] Linking C shared library lib/libstlink.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/stlink-shared.dir/link.txt --verbose=1
[ 60%] Linking C static library lib/libstlink.a
/usr/bin/cmake -P CMakeFiles/stlink-static.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/stlink-static.dir/link.txt --verbose=1
/usr/bin/gcc-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/gcc-ranlib lib/libstlink.a
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
[ 60%] Built target stlink-static
/usr/bin/gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--dependency-file=CMakeFiles/stlink-shared.dir/link.d -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -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/lib64/libusb-1.0.so
/usr/bin/cmake -E cmake_symlink_library lib/libstlink.so.1.8.0 lib/libstlink.so.1 lib/libstlink.so
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
[ 60%] Built target stlink-shared
/usr/bin/gmake  -f CMakeFiles/st-flash.dir/build.make CMakeFiles/st-flash.dir/depend
/usr/bin/gmake  -f CMakeFiles/st-info.dir/build.make CMakeFiles/st-info.dir/depend
/usr/bin/gmake  -f CMakeFiles/st-util.dir/build.make CMakeFiles/st-util.dir/depend
/usr/bin/gmake  -f CMakeFiles/st-trace.dir/build.make CMakeFiles/st-trace.dir/depend
/usr/bin/gmake  -f src/stlink-gui/CMakeFiles/stlink-gui.dir/build.make src/stlink-gui/CMakeFiles/stlink-gui.dir/depend
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/CMakeFiles/st-flash.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/CMakeFiles/st-info.dir/DependInfo.cmake "--color="
/usr/bin/gmake  -f tests/CMakeFiles/test-usb.dir/build.make tests/CMakeFiles/test-usb.dir/depend
/usr/bin/gmake  -f tests/CMakeFiles/test-sg.dir/build.make tests/CMakeFiles/test-sg.dir/depend
/usr/bin/gmake  -f tests/CMakeFiles/test-flash.dir/build.make tests/CMakeFiles/test-flash.dir/depend
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/CMakeFiles/st-util.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/CMakeFiles/st-trace.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-gui /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/src/stlink-gui /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/src/stlink-gui/CMakeFiles/stlink-gui.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/tests /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests/CMakeFiles/test-usb.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/tests /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests/CMakeFiles/test-sg.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0 /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/tests /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests/CMakeFiles/test-flash.dir/DependInfo.cmake "--color="
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gmake  -f CMakeFiles/st-flash.dir/build.make CMakeFiles/st-flash.dir/build
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gmake  -f CMakeFiles/st-info.dir/build.make CMakeFiles/st-info.dir/build
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gmake  -f tests/CMakeFiles/test-sg.dir/build.make tests/CMakeFiles/test-sg.dir/build
/usr/bin/gmake  -f CMakeFiles/st-util.dir/build.make CMakeFiles/st-util.dir/build
/usr/bin/gmake  -f CMakeFiles/st-trace.dir/build.make CMakeFiles/st-trace.dir/build
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gmake  -f tests/CMakeFiles/test-usb.dir/build.make tests/CMakeFiles/test-usb.dir/build
/usr/bin/gmake  -f src/stlink-gui/CMakeFiles/stlink-gui.dir/build.make src/stlink-gui/CMakeFiles/stlink-gui.dir/build
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gmake  -f tests/CMakeFiles/test-flash.dir/build.make tests/CMakeFiles/test-flash.dir/build
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
[ 64%] Building C object CMakeFiles/st-info.dir/src/st-info/info.c.o
[ 64%] Building C object CMakeFiles/st-flash.dir/src/st-flash/flash.c.o
[ 66%] Building C object tests/CMakeFiles/test-sg.dir/sg.c.o
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT CMakeFiles/st-info.dir/src/st-info/info.c.o -MF CMakeFiles/st-info.dir/src/st-info/info.c.o.d -o CMakeFiles/st-info.dir/src/st-info/info.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info/info.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT CMakeFiles/st-flash.dir/src/st-flash/flash.c.o -MF CMakeFiles/st-flash.dir/src/st-flash/flash.c.o.d -o CMakeFiles/st-flash.dir/src/st-flash/flash.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash/flash.c
[ 68%] Building C object CMakeFiles/st-flash.dir/src/st-flash/flash_opts.c.o
[ 72%] Building C object CMakeFiles/st-util.dir/src/st-util/gdb-remote.c.o
[ 72%] Building C object CMakeFiles/st-trace.dir/src/st-trace/trace.c.o
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests && /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT tests/CMakeFiles/test-sg.dir/sg.c.o -MF CMakeFiles/test-sg.dir/sg.c.o.d -o CMakeFiles/test-sg.dir/sg.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/tests/sg.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT CMakeFiles/st-flash.dir/src/st-flash/flash_opts.c.o -MF CMakeFiles/st-flash.dir/src/st-flash/flash_opts.c.o.d -o CMakeFiles/st-flash.dir/src/st-flash/flash_opts.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash/flash_opts.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT CMakeFiles/st-util.dir/src/st-util/gdb-remote.c.o -MF CMakeFiles/st-util.dir/src/st-util/gdb-remote.c.o.d -o CMakeFiles/st-util.dir/src/st-util/gdb-remote.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util/gdb-remote.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT CMakeFiles/st-trace.dir/src/st-trace/trace.c.o -MF CMakeFiles/st-trace.dir/src/st-trace/trace.c.o.d -o CMakeFiles/st-trace.dir/src/st-trace/trace.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace/trace.c
[ 80%] Building C object src/stlink-gui/CMakeFiles/stlink-gui.dir/gui.c.o
[ 80%] Building C object CMakeFiles/st-util.dir/src/st-util/semihosting.c.o
[ 84%] Building C object tests/CMakeFiles/test-flash.dir/flash.c.o
[ 84%] Building C object CMakeFiles/st-util.dir/src/st-util/gdb-server.c.o
[ 84%] Building C object tests/CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o
[ 84%] Building C object tests/CMakeFiles/test-usb.dir/usb.c.o
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/src/stlink-gui && /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -DSTLINK_UI_DIR=\"/usr/share/stlink\" -I/usr/include/libusb-1.0 -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/cloudproviders -isystem /usr/include/cairo -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/glycin-2 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib64/dbus-1.0/include -isystem /usr/include/fribidi -isystem /usr/include/libxml2 -isystem /usr/include/pixman-1 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/uuid -isystem /usr/include/json-c -isystem /usr/include/blkid -isystem /usr/include/sysprof-6 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT src/stlink-gui/CMakeFiles/stlink-gui.dir/gui.c.o -MF CMakeFiles/stlink-gui.dir/gui.c.o.d -o CMakeFiles/stlink-gui.dir/gui.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-gui/gui.c
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests && /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT tests/CMakeFiles/test-usb.dir/usb.c.o -MF CMakeFiles/test-usb.dir/usb.c.o.d -o CMakeFiles/test-usb.dir/usb.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/tests/usb.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT CMakeFiles/st-util.dir/src/st-util/gdb-server.c.o -MF CMakeFiles/st-util.dir/src/st-util/gdb-server.c.o.d -o CMakeFiles/st-util.dir/src/st-util/gdb-server.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util/gdb-server.c
/usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT CMakeFiles/st-util.dir/src/st-util/semihosting.c.o -MF CMakeFiles/st-util.dir/src/st-util/semihosting.c.o.d -o CMakeFiles/st-util.dir/src/st-util/semihosting.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util/semihosting.c
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests && /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT tests/CMakeFiles/test-flash.dir/flash.c.o -MF CMakeFiles/test-flash.dir/flash.c.o.d -o CMakeFiles/test-flash.dir/flash.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/tests/flash.c
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests && /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/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/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/inc -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -std=gnu11 -MD -MT tests/CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o -MF CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o.d -o CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o -c /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash/flash_opts.c
[ 86%] Linking C executable ../bin/test-sg
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-sg.dir/link.txt --verbose=1
[ 88%] Linking C executable bin/st-info
/usr/bin/cmake -E cmake_link_script CMakeFiles/st-info.dir/link.txt --verbose=1
[ 90%] Linking C executable bin/st-flash
/usr/bin/cmake -E cmake_link_script CMakeFiles/st-flash.dir/link.txt --verbose=1
[ 94%] Linking C executable ../bin/test-flash
[ 94%] Linking C executable ../bin/test-usb
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-flash.dir/link.txt --verbose=1
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-usb.dir/link.txt --verbose=1
[ 96%] Linking C executable bin/st-trace
/usr/bin/cmake -E cmake_link_script CMakeFiles/st-trace.dir/link.txt --verbose=1
[ 98%] Linking C executable bin/st-util
/usr/bin/cmake -E cmake_link_script CMakeFiles/st-util.dir/link.txt --verbose=1
/usr/bin/gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -Wl,--dependency-file=CMakeFiles/test-sg.dir/link.d "CMakeFiles/test-sg.dir/sg.c.o" -o ../bin/test-sg  -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/lib ../lib/libstlink.so.1.8.0 /usr/lib64/libusb-1.0.so
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -Wl,--dependency-file=CMakeFiles/test-usb.dir/link.d "CMakeFiles/test-usb.dir/usb.c.o" -o ../bin/test-usb  -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/lib ../lib/libstlink.so.1.8.0 /usr/lib64/libusb-1.0.so
[ 98%] Built target test-sg
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -Wl,--dependency-file=CMakeFiles/st-info.dir/link.d "CMakeFiles/st-info.dir/src/st-info/info.c.o" -o bin/st-info  -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/lib: lib/libstlink.so.1.8.0 /usr/lib64/libusb-1.0.so
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
[ 98%] Built target test-usb
[ 98%] Built target st-info
/usr/bin/gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -Wl,--dependency-file=CMakeFiles/test-flash.dir/link.d "CMakeFiles/test-flash.dir/flash.c.o" "CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o" -o ../bin/test-flash  -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/lib ../lib/libstlink.so.1.8.0 /usr/lib64/libusb-1.0.so
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -Wl,--dependency-file=CMakeFiles/st-flash.dir/link.d "CMakeFiles/st-flash.dir/src/st-flash/flash.c.o" "CMakeFiles/st-flash.dir/src/st-flash/flash_opts.c.o" -o bin/st-flash  -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/lib: lib/libstlink.so.1.8.0 /usr/lib64/libusb-1.0.so
/usr/bin/gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -Wl,--dependency-file=CMakeFiles/st-trace.dir/link.d "CMakeFiles/st-trace.dir/src/st-trace/trace.c.o" -o bin/st-trace  -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/lib: lib/libstlink.so.1.8.0 /usr/lib64/libusb-1.0.so
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
[ 98%] Built target test-flash
[ 98%] Built target st-flash
[ 98%] Built target st-trace
/usr/bin/gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -Wl,--dependency-file=CMakeFiles/st-util.dir/link.d "CMakeFiles/st-util.dir/src/st-util/gdb-remote.c.o" "CMakeFiles/st-util.dir/src/st-util/gdb-server.c.o" "CMakeFiles/st-util.dir/src/st-util/semihosting.c.o" -o bin/st-util  -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/lib: lib/libstlink.so.1.8.0 /usr/lib64/libusb-1.0.so
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
[ 98%] Built target st-util
[100%] Linking C executable ../../bin/stlink-gui
cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/src/stlink-gui && /usr/bin/cmake -E cmake_link_script CMakeFiles/stlink-gui.dir/link.txt --verbose=1
/usr/bin/gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args -Wall -Wextra -Wshadow -O -D_FORTIFY_SOURCE=2 -fstrict-aliasing -Wundef -Wformat -Wformat-security -Wmaybe-uninitialized -Wmissing-variable-declarations -Wimplicit-function-declaration -Wredundant-decls -fPIC -Werror -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -Wl,--dependency-file=CMakeFiles/stlink-gui.dir/link.d "CMakeFiles/stlink-gui.dir/gui.c.o" -o ../../bin/stlink-gui  -Wl,-rpath,/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/lib: ../../lib/libstlink.so.1.8.0 -L/usr/lib64 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib64/libusb-1.0.so
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
[100%] Built target stlink-gui
gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build'
/usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/build/CMakeFiles 0

+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MwroI0
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -flto -Wno-error=calloc-transposed-args '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd stlink-1.8.0
+ '[' 1 -eq 1 ']'
+ DESTDIR=/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT
+ /usr/bin/cmake --install build
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/lib64/libstlink.so.1.8.0
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/lib64/libstlink.so.1
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/lib64/libstlink.so
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/lib64/libstlink.a
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/st-flash
-- Set non-toolchain portion of runtime path of "/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/st-flash" to ""
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/st-info
-- Set non-toolchain portion of runtime path of "/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/st-info" to ""
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/st-util
-- Set non-toolchain portion of runtime path of "/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/st-util" to ""
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/st-trace
-- Set non-toolchain portion of runtime path of "/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/st-trace" to ""
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/etc/modprobe.d/stlink_v1.conf
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/lib/udev/rules.d/49-stlinkv1.rules
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/lib/udev/rules.d/49-stlinkv2-1.rules
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/lib/udev/rules.d/49-stlinkv2.rules
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/lib/udev/rules.d/49-stlinkv3.rules
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/C011xx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/C031xx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F03x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F04x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F05x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F07x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F09x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F1xx_CL.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F1xx_HD.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F1xx_LD.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F1xx_MD.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F1xx_VL_HD.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F1xx_VL_MD_LD.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F1xx_XLD.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F2xx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F301_F302_F318.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F302_F303_F358.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F302_F303_F398_HD.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F303_F328_F334.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F37x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F401xB_xC.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F401xD_xE.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F410.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F411xC_xE.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F412.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F413_F423.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F42x_F43x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F446.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F46x_F47x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F4x5_F4x7.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F72x_F73x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F74x_F75x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/F76x_F77x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/G03x_G04x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/G05x_G06x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/G07x_G08x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/G0Bx_G0Cx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/G43x_G44x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/G47x_G48x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/G49x_G4Ax.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/H5xx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/H72x_H73x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/H74x_H75x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/H7Ax_H7Bx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L0xxx_Cat_1.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L0xxx_Cat_2.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L0xxx_Cat_3.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L0xxx_Cat_5.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L1xx_Cat_1.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L1xx_Cat_2.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L1xx_Cat_3.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L1xx_Cat_4.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L1xx_Cat_5.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L41x_L42x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L43x_L44x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L45x_L46x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L47x_L48x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L496x_L4A6x.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L4Px_L4Qx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L4Rx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/L5x5xx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/U535_U545.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/U55Fx_U5Gx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/U575_U585.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/U59x_U5Ax.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/WBx0_WBx5.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/WLEx.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/chips/unknown_device.chip
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/version.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/backend.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/stlink.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/stm32.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/stm32flash.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/calculate.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/chipid.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/commands.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/common_flash.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/flash_loader.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/helper.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/lib_md5.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/libusb_settings.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/logging.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/map_file.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/md5.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/option_bytes.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/read_write.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/register.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/sg.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/spdlog_wrapper.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/include/stlink/usb.h
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/man/man1/st-util.1
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/man/man1/st-flash.1
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/man/man1/st-info.1
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/applications/stlink-gui.desktop
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/icons/hicolor/scalable/apps/stlink-gui.svg
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/stlink/stlink-gui.ui
-- Installing: /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/stlink-gui
-- Set non-toolchain portion of runtime path of "/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/bin/stlink-gui" to ""
+ desktop-file-validate /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/applications/stlink-gui.desktop
+ rm -f /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT//usr/lib64/libstlink.a
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.8.0-3.mga10 --unique-debug-suffix -1.8.0-3.mga10.x86_64 --unique-debug-src-base stlink-1.8.0-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0
find-debuginfo: starting

Extracting debug info from 6 files
DWARF-compressing 6 files
sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/stlink-1.8.0-3.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: stlink-gui-1.8.0-3.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LGfd5m
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ cd stlink-1.8.0
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/doc/stlink-gui
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/doc/stlink-gui
+ cp -pr /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/README.md /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/doc/stlink-gui
+ cp -pr /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/CHANGELOG.md /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/doc/stlink-gui
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kCMnI7
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ cd stlink-1.8.0
+ LICENSEDIR=/home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/licenses/stlink-gui
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/licenses/stlink-gui
+ cp -pr /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/stlink-1.8.0/LICENSE.md /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT/usr/share/licenses/stlink-gui
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(stlink-gui.desktop) config(stlink-gui) = 1.8.0-3.mga10 stlink-gui = 1.8.0-3.mga10 stlink-gui(x86-64) = 1.8.0-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgdk-3.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-3.so.0()(64bit) libstlink.so.1()(64bit)
Obsoletes: stlink < 1.5.1-2
Processing files: lib64stlink-devel-1.8.0-3.mga10.x86_64
Provides: devel(libstlink(64bit)) lib64stlink-devel = 1.8.0-3.mga10 lib64stlink-devel(x86-64) = 1.8.0-3.mga10 stlink-devel = 1.8.0-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: devel(libusb-1.0(64bit))
Processing files: lib64stlink1-1.8.0-3.mga10.x86_64
Provides: lib64stlink1 = 1.8.0-3.mga10 lib64stlink1(x86-64) = 1.8.0-3.mga10 libstlink.so.1()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libusb-1.0.so.0()(64bit)
Processing files: stlink-debugsource-1.8.0-3.mga10.x86_64
Provides: stlink-debugsource = 1.8.0-3.mga10 stlink-debugsource(x86-64) = 1.8.0-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: stlink-debuginfo-1.8.0-3.mga10.x86_64
Provides: stlink-debuginfo = 1.8.0-3.mga10 stlink-debuginfo(x86-64) = 1.8.0-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: stlink-debugsource(x86-64) = 1.8.0-3.mga10
Processing files: stlink-gui-debuginfo-1.8.0-3.mga10.x86_64
Provides: debuginfo(build-id) = 33ceac0691c4c5bee1b3fc76ad1a6da462fabdd8 debuginfo(build-id) = 8117d774ef84a62d10b21239c21b15bec54bbefe debuginfo(build-id) = 8e386e9d3884729329fb5488bd6b6394db968d04 debuginfo(build-id) = d6a2651e25028a718e3ce0968e1299d55ef258ce debuginfo(build-id) = e826b045d108c130b2dfdeef2e7f3139bd68db1b stlink-gui-debuginfo = 1.8.0-3.mga10 stlink-gui-debuginfo(x86-64) = 1.8.0-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: stlink-debugsource(x86-64) = 1.8.0-3.mga10
Processing files: lib64stlink1-debuginfo-1.8.0-3.mga10.x86_64
Provides: debuginfo(build-id) = bf35090764e4338c77a78d1af0fdf186d7b027c4 lib64stlink1-debuginfo = 1.8.0-3.mga10 lib64stlink1-debuginfo(x86-64) = 1.8.0-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: stlink-debugsource(x86-64) = 1.8.0-3.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/stlink-debuginfo-1.8.0-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64stlink-devel-1.8.0-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64stlink1-1.8.0-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/stlink-gui-1.8.0-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64stlink1-debuginfo-1.8.0-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/stlink-gui-debuginfo-1.8.0-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/stlink-debugsource-1.8.0-3.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1jdfDk
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/stlink-1.8.0-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!
