Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/stlink.spec'], chrootPath='/var/lib/mock/f42-build-54765578-6529317/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54u68j5c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54u68j5c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cd3ea23eb35749da9b4c337874659d43', '-D', '/var/lib/mock/f42-build-54765578-6529317/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54u68j5c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/stlink.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 warning: Macro expanded in comment on line 1: %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf warning: Macro expanded in comment on line 2: %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7}) warning: Macro expanded in comment on line 3: %global date 20200420 warning: Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist} warning: Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full} warning: Macro expanded in comment on line 90: %{_includedir}/stm32.h warning: Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/stlink-1.8.0-3.fc42.src.rpm RPM build warnings: Macro expanded in comment on line 1: %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf Macro expanded in comment on line 2: %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7}) Macro expanded in comment on line 3: %global date 20200420 Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist} Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full} Macro expanded in comment on line 90: %{_includedir}/stm32.h Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/stlink.spec'], chrootPath='/var/lib/mock/f42-build-54765578-6529317/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54u68j5c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54u68j5c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '945e83c2e66244b2b8b22270f6bf9fd0', '-D', '/var/lib/mock/f42-build-54765578-6529317/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54u68j5c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/stlink.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 warning: Macro expanded in comment on line 1: %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf warning: Macro expanded in comment on line 2: %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7}) warning: Macro expanded in comment on line 3: %global date 20200420 warning: Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist} warning: Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full} warning: Macro expanded in comment on line 90: %{_includedir}/stm32.h warning: Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Iz7QNX + umask 022 + cd /builddir/build/BUILD/stlink-1.8.0-build + test -d /builddir/build/BUILD/stlink-1.8.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/stlink-1.8.0-build + /usr/bin/rm -rf /builddir/build/BUILD/stlink-1.8.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/stlink-1.8.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/stlink-1.8.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d2vHbD + umask 022 + cd /builddir/build/BUILD/stlink-1.8.0-build + cd /builddir/build/BUILD/stlink-1.8.0-build + rm -rf stlink-1.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stlink-1.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stlink-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6a6718b3342b6c5e282a4e33325b9f97908a0692.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|/${PROJECT_NAME}||g' src/stlink-gui/CMakeLists.txt + sed -i 's|/${PROJECT_NAME}||g' doc/man/CMakeLists.txt + sed -i 's|#add_subdirectory(cmake/pkgconfig)|add_subdirectory(cmake/pkgconfig)|' CMakeLists.txt + sed -i 's|find_package(libusb REQUIRED)|find_package(libusb REQUIRED)\nset(STLINK_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR} CACHE PATH "Main library install directory")|' CMakeLists.txt + sed -i 's|static char serialnumber\[28\]|static char serialnumber\[STLINK_SERIAL_MAX_SIZE\]|' src/st-util/gdb-server.c + sed -i 's|CMP0153|CMP0042|' CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9TUZj6 + umask 022 + cd /builddir/build/BUILD/stlink-1.8.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd stlink-1.8.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DSTLINK_UDEV_RULES_DIR=/usr/lib/udev/rules.d -DSTLINK_STATIC_LIB=OFF -DSTLINK_GENERATE_MANPAGES=ON -- The C compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Git and/or repository not found. -- Try to detect version from "/builddir/build/BUILD/stlink-1.8.0-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/include/libusb-1.0 -- Looking for __stack_chk_fail in ssp -- Looking for __stack_chk_fail in ssp - not found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for dirent.h -- Looking for dirent.h - found -- STLINK_LIB_SHARED: stlink-shared -- VERSION: 1.8.0 -- STLINK_LIB_STATIC: stlink-static -- VERSION: 1.8.0 -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Checking for module 'gtk+-3.0' -- Found gtk+-3.0, version 3.24.43 -- 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/webp;/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/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.2s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX STLINK_STATIC_LIB SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j12 --verbose Change Dir: '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j12 /usr/bin/cmake -S/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0 -B/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/stlink-shared.dir/build.make CMakeFiles/stlink-shared.dir/depend /usr/bin/gmake -f CMakeFiles/stlink-static.dir/build.make CMakeFiles/stlink-static.dir/depend /usr/bin/gmake -f doc/man/CMakeFiles/st-info.1.dir/build.make doc/man/CMakeFiles/st-info.1.dir/depend /usr/bin/gmake -f doc/man/CMakeFiles/st-flash.1.dir/build.make doc/man/CMakeFiles/st-flash.1.dir/depend /usr/bin/gmake -f doc/man/CMakeFiles/st-util.1.dir/build.make doc/man/CMakeFiles/st-util.1.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/CMakeFiles/stlink-shared.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/CMakeFiles/stlink-static.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/doc/man /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/CMakeFiles/st-info.1.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/doc/man /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/CMakeFiles/st-flash.1.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/doc/man /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/CMakeFiles/st-util.1.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' /usr/bin/gmake -f doc/man/CMakeFiles/st-flash.1.dir/build.make doc/man/CMakeFiles/st-flash.1.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/stlink-static.dir/build.make CMakeFiles/stlink-static.dir/build /usr/bin/gmake -f CMakeFiles/stlink-shared.dir/build.make CMakeFiles/stlink-shared.dir/build /usr/bin/gmake -f doc/man/CMakeFiles/st-info.1.dir/build.make doc/man/CMakeFiles/st-info.1.dir/build /usr/bin/gmake -f doc/man/CMakeFiles/st-util.1.dir/build.make doc/man/CMakeFiles/st-util.1.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' [ 8%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o [ 8%] Generating st-util.md [ 8%] Generating st-info.md [ 8%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o [ 8%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o [ 10%] Generating st-flash.md [ 16%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o [ 16%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o [ 16%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o [ 16%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o [ 18%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o [ 20%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/calculate.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/calculate.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/calculate.c cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/doc/man/st-info.md /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/st-info.md cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/doc/man/st-util.md /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/st-util.md /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/doc/man/st-flash.md /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/st-flash.md /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/common.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/flash_loader.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/chipid.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/common_flash.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/common_flash.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/common_flash.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/helper.c [ 22%] Generating st-flash.1 cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E make_directory /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/usr/share [ 23%] Generating st-info.1 cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E make_directory /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/usr/share [ 25%] Generating st-util.1 cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E make_directory /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/usr/share cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/pandoc /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/st-flash.md -s -t man -o st-flash.1 cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/pandoc /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/st-info.md -s -t man -o st-info.1 cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/pandoc /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man/st-util.md -s -t man -o st-util.1 [ 27%] Generating ../../usr/share/st-info.1 [ 28%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy st-info.1 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/usr/share /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/logging.c [ 30%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/common.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/common.c Error copying file "st-info.1" to "/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/usr/share". gmake[2]: *** [doc/man/CMakeFiles/st-info.1.dir/build.make:82: usr/share/st-info.1] Error 1 gmake[2]: *** Waiting for unfinished jobs.... [ 32%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/flash_loader.c gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:427: doc/man/CMakeFiles/st-info.1.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 33%] Generating ../../usr/share/st-flash.1 [ 35%] Generating ../../usr/share/st-util.1 cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy st-flash.1 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/usr/share cd /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/doc/man && /usr/bin/cmake -E copy st-util.1 /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/usr/share [ 37%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/map_file.c gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' [ 38%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/lib_md5.c [ 38%] Built target st-util.1 [ 38%] Built target st-flash.1 [ 42%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o [ 42%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/helper.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/md5.c [ 44%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/logging.c [ 45%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/map_file.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/map_file.c [ 47%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/lib_md5.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/lib_md5.c [ 49%] Building C object CMakeFiles/stlink-shared.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/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/option_bytes.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/md5.c [ 52%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o [ 54%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/option_bytes.c /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/read_write.c [ 55%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/sg.c [ 57%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/usb.c [ 59%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/read_write.c [ 61%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/usb.c [ 62%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o /usr/bin/gcc -DSTLINK_CHIPS_DIR=\"/usr/share/stlink/config/chips\" -DSTLINK_HAVE_DIRENT_H -DSTLINK_HAVE_SYS_MMAN_H -DSTLINK_HAVE_SYS_TIME_H -DSTLINK_HAVE_UNISTD_H -Dstlink_shared_EXPORTS -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build/inc -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-flash -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-info -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-trace -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/st-util -I/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -std=gnu11 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o -c /builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/src/stlink-lib/sg.c [ 64%] 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/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" [ 66%] Linking C shared library lib/libstlink.so /usr/bin/cmake -E cmake_link_script CMakeFiles/stlink-shared.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libstlink.so.1 -o lib/libstlink.so.1.8.0 "CMakeFiles/stlink-shared.dir/src/stlink-lib/calculate.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/common_flash.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/common.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/map_file.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/lib_md5.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o" "CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o" /usr/lib64/libusb-1.0.so /usr/bin/ranlib lib/libstlink.a gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' [ 66%] Built target stlink-static /usr/bin/cmake -E cmake_symlink_library lib/libstlink.so.1.8.0 lib/libstlink.so.1 lib/libstlink.so gmake[2]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' [ 66%] Built target stlink-shared gmake[1]: Leaving directory '/builddir/build/BUILD/stlink-1.8.0-build/stlink-1.8.0/redhat-linux-build' gmake: *** [Makefile:159: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.9TUZj6 (%build) Macro expanded in comment on line 1: %global gitcommit_full f82700623127538c8cf5cddbbeba6afc12d3adbf Macro expanded in comment on line 2: %global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7}) Macro expanded in comment on line 3: %global date 20200420 Macro expanded in comment on line 7: %{date}git%{gitcommit}%{?dist} Macro expanded in comment on line 13: %{url}/tarball/%{gitcommit_full} Macro expanded in comment on line 90: %{_includedir}/stm32.h Macro expanded in comment on line 92: %{_libdir}/pkgconfig/%{name}.pc Bad exit status from /var/tmp/rpm-tmp.9TUZj6 (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 945e83c2e66244b2b8b22270f6bf9fd0 -D /var/lib/mock/f42-build-54765578-6529317/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.54u68j5c:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/stlink.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 945e83c2e66244b2b8b22270f6bf9fd0 -D /var/lib/mock/f42-build-54765578-6529317/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.54u68j5c:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/stlink.spec'