==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: stlink 1.8.0.r121.g8c34a4e-1 (Mon Mar 23 21:18:49 2026)
==> Retrieving sources...
-> Updating stlink git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
stlink ... Passed
==> Validating source files with b2sums...
stlink ... Passed
==> Making package: stlink 1.8.0.r121.g8c34a4e-1 (Tue Mar 24 03:19:16 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (88) adwaita-cursors-49.0-1 adwaita-fonts-50.0-1 adwaita-icon-theme-49.0-1 adwaita-icon-theme-legacy-46.2-3 at-spi2-core-2.58.4-1 avahi-1:0.9rc3-1 bubblewrap-0.11.1-1 cairo-1.18.4-1 dav1d-1.5.3-1 dconf-0.49.0-1 default-cursors-3-1 desktop-file-utils-0.28-1 duktape-2.7.0-7 fontconfig-2:2.17.1-1 freetype2-2.14.2-1 fribidi-1.0.16-2 gdk-pixbuf2-2.44.4-1 giflib-5.2.2-2 glib-networking-1:2.80.1-1 glycin-2.0.8-1 gperftools-2.18.1-1 graphite-1:1.3.14-6 gsettings-desktop-schemas-49.1-1 gsettings-system-schemas-49.1-1 gtest-1.17.0-2 gtk-update-icon-cache-1:4.20.3-1 harfbuzz-13.2.1-1 highway-1.3.0-2 iso-codes-4.20.1-1 jbigkit-2.1-8 json-glib-1.10.8-1 lcms2-2.18-1 libcloudproviders-0.4.0-1 libcolord-1.4.8-1 libcups-2:2.4.16-2 libdaemon-0.14-6 libdatrie-0.2.14-1 libdeflate-1.25-1 libdrm-2.4.131-1 libedit-20251016_3.1-1 libepoxy-1.5.10-3 libglvnd-1.7.0-3 libjpeg-turbo-3.1.3-1 libjxl-0.11.2-2 libpciaccess-0.19-1 libpng-1.6.55-1 libproxy-0.5.12-1 librsvg-2:2.61.4-1 libsoup3-3.6.6-2 libstemmer-3.0.1-1 libthai-0.1.30-1 libtiff-4.7.1-1 libunwind-1.8.2-1 libwebp-1.6.0-2 libx11-1.8.13-1 libxau-1.0.12-1 libxcb-1.17.0-1 libxcomposite-0.4.7-1 libxcursor-1.2.3-1 libxdamage-1.1.7-1 libxdmcp-1.1.5-1.1 libxext-1.3.7-1 libxfixes-6.0.2-1 libxft-2.3.9-1 libxi-1.8.2-1 libxinerama-1.1.6-1 libxkbcommon-1.13.1-1 libxrandr-1.5.5-1 libxrender-0.9.12-1 libxshmfence-1.3.3-1 libxtst-1.2.5-1 libxxf86vm-1.1.7-1 llvm-libs-22.1.1-1 lm_sensors-1:3.6.2-1 lzo-2.10-5 mesa-1:26.0.3-1 pango-1:1.57.0-2 pixman-0.46.4-1.1 shared-mime-info-2.4-3 spirv-tools-1:1.4.341.0-2 tinysparql-3.10.1-2 wayland-1.24.0-1 xcb-proto-1.17.0-4 xkeyboard-config-2.47-1 xorg-xprop-1.2.8-1 xorgproto-2025.1-1 gtk3-1:3.24.51-1 hicolor-icon-theme-0.18-1
Total Installed Size: 450.73 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing adwaita-fonts...
installing hicolor-icon-theme...
installing adwaita-icon-theme-legacy...
installing adwaita-cursors...
installing adwaita-icon-theme...
installing dconf...
installing gsettings-system-schemas...
installing gsettings-desktop-schemas...
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libxfixes...
installing libxi...
installing libxtst...
installing xorg-xprop...
installing at-spi2-core...
installing libpng...
installing freetype2...
Optional dependencies for freetype2
harfbuzz: Improved autohinting [pending]
installing fontconfig...
Creating fontconfig configuration...
Rebuilding fontconfig cache...
installing libxrender...
installing lzo...
installing pixman...
installing cairo...
installing desktop-file-utils...
installing fribidi...
installing bubblewrap...
installing libjpeg-turbo...
installing jbigkit...
installing libdeflate...
installing libwebp...
Optional dependencies for libwebp
libwebp-utils: WebP conversion and inspection tools
installing libtiff...
Optional dependencies for libtiff
freeglut: for using tiffgt
installing lcms2...
installing giflib...
installing libunwind...
installing gperftools...
installing gtest...
Optional dependencies for gtest
python: gmock generator
installing highway...
installing libjxl...
Optional dependencies for libjxl
java-runtime: for JNI bindings
installing dav1d...
Optional dependencies for dav1d
dav1d-doc: HTML documentation
installing graphite...
Optional dependencies for graphite
graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
harfbuzz-utils: utilities
installing libdatrie...
installing libthai...
installing libxft...
installing pango...
installing librsvg...
installing glycin...
Optional dependencies for glycin
libheif: Load .avif, .heic and .heif
installing shared-mime-info...
installing gdk-pixbuf2...
Optional dependencies for gdk-pixbuf2
libheif: Load .avif, .heic and .heif
libopenraw: Load .arw, .cr2, .crw, .dng, .erf, .mrw, .nef, .orf, .pef and .raf
libwmf: Load .apm and .wmf
installing iso-codes...
installing libcloudproviders...
installing libcolord...
installing libdaemon...
installing avahi...
Optional dependencies for avahi
gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc [pending]
libevent: libevent bindings [installed]
nss-mdns: NSS support for mDNS
python-dbus: avahi-bookmarks, avahi-discover
python-gobject: avahi-bookmarks, avahi-discover
python-twisted: avahi-bookmarks
installing libcups...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
cairo: needed for modetest tool [installed]
installing libxshmfence...
installing libxxf86vm...
installing libedit...
installing llvm-libs...
installing lm_sensors...
Optional dependencies for lm_sensors
rrdtool: for logging with sensord
perl: for sensor detection and configuration convert [installed]
installing spirv-tools...
installing default-cursors...
Optional dependencies for default-cursors
adwaita-cursors: default cursor theme [installed]
installing wayland...
installing mesa...
Optional dependencies for mesa
opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
installing libepoxy...
installing libxcomposite...
installing libxcursor...
installing libxdamage...
installing libxinerama...
installing xkeyboard-config...
installing libxkbcommon...
Optional dependencies for libxkbcommon
libxkbcommon-x11: xkbcli interactive-x11
wayland: xkbcli interactive-wayland [installed]
installing libxrandr...
installing json-glib...
installing duktape...
installing libproxy...
installing glib-networking...
installing libsoup3...
Optional dependencies for libsoup3
samba: Windows Domain SSO
installing libstemmer...
installing tinysparql...
installing gtk-update-icon-cache...
installing gtk3...
Optional dependencies for gtk3
evince: Default print preview command
:: Running post-transaction hooks...
( 1/13) Creating system user accounts...
Creating group 'avahi' with GID 968.
Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 968 and GID 968.
( 2/13) Reloading system manager configuration...
Skipped: Current root is not booted.
( 3/13) Reloading user manager configuration...
Skipped: Current root is not booted.
( 4/13) Updating the MIME type database...
( 5/13) Arming ConditionNeedsUpdate...
( 6/13) Updating fontconfig configuration...
( 7/13) Reloading system bus configuration...
Skipped: Current root is not booted.
( 8/13) Updating fontconfig cache...
( 9/13) Updating GIO module cache...
(10/13) Compiling GSettings XML schema files...
(11/13) Probing GTK3 input method modules...
(12/13) Updating icon theme caches...
(13/13) Updating the desktop file MIME type cache...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (11) cppdap-1.58.0-2 jsoncpp-1.9.6-3 libuv-1.52.1-1 perl-error-0.17030-3 perl-mailtools-2.22-3 perl-timedate-2.35-1 rhash-1.4.6-1 zlib-ng-2.3.3-1 cmake-4.3.0-2 git-2.53.0-1 ninja-1.13.2-3
Total Download Size: 0.15 MiB
Total Installed Size: 154.61 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
ninja-1.13.2-3-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
git-zsh-completion: upstream zsh completion
tk: gitk and git gui
openssh: ssh transport and crypto
man: show help with `git command --help`
perl-libwww: git svn
perl-term-readkey: git svn and interactive.singlekey setting
perl-io-socket-ssl: git send-email TLS support
perl-authen-sasl: git send-email TLS support
perl-cgi: gitweb (web interface) support
python: git svn & git p4
subversion: git svn
org.freedesktop.secrets: keyring credential helper
libsecret: libsecret credential helper [installed]
less: the default pager for git
installing cppdap...
installing jsoncpp...
Optional dependencies for jsoncpp
jsoncpp-doc: documentation
installing libuv...
installing rhash...
installing cmake...
Optional dependencies for cmake
make: for unix Makefile generator [installed]
ninja: for ninja generator [pending]
qt6-base: cmake-gui
installing ninja...
:: Running post-transaction hooks...
(1/6) Creating system user accounts...
Creating group 'git' with GID 967.
Creating user 'git' (git daemon user) with UID 967 and GID 967.
(2/6) Reloading system manager configuration...
Skipped: Current root is not booted.
(3/6) Updating the MIME type database...
(4/6) Arming ConditionNeedsUpdate...
(5/6) Updating icon theme caches...
(6/6) Updating the desktop file MIME type cache...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Creating working copy of stlink git repo...
Cloning into 'stlink'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Starting build()...
-- The C compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/distcc/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/bin/git (found version "2.53.0")
-- Rewrite /build/stlink/src/stlink/.version with 1.8.0!
-- stlink version: 1.8.0-121-g8c34a4e
-- Major 1 Minor 8 Patch 0
-- 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 - Failed
-- 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
-- Manpage generation disabled
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- 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/lib/dbus-1.0/include;/usr/include/fribidi;/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/lib/glib-2.0/include;/usr/include/libmount;/usr/include/blkid;/usr/include/sysprof-6, gtk-3;gdk-3;z;pangocairo-1.0;cairo-gobject;gdk_pixbuf-2.0;atk-1.0;pango-1.0;cairo;harfbuzz;gio-2.0;gobject-2.0;glib-2.0
-- Configuring done (7.3s)
-- Generating done (0.1s)
-- Build files have been written to: /build/stlink/src/build
Change Dir: '/build/stlink/src/build'
Run Build Command(s): /usr/bin/ninja -v
[1/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/helper.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[2/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/calculate.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[3/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/chipid.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[4/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/logging.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[5/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/flash_loader.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[6/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/lib_md5.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[7/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/common_flash.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[8/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/programmer.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/programmer.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/programmer.c.o -c /build/stlink/src/stlink/src/stlink-lib/programmer.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[9/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/common_legacy.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/common_legacy.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/common_legacy.c.o -c /build/stlink/src/stlink/src/stlink-lib/common_legacy.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[10/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/md5.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[11/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/map_file.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[12/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/option_bytes.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[13/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/read_write.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[14/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/calculate.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[15/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -fPIC -MD -MT CMakeFiles/stlink-shared.dir/src/stlink-lib/sg_legacy.c.o -MF CMakeFiles/stlink-shared.dir/src/stlink-lib/sg_legacy.c.o.d -o CMakeFiles/stlink-shared.dir/src/stlink-lib/sg_legacy.c.o -c /build/stlink/src/stlink/src/stlink-lib/sg_legacy.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[16/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/chipid.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[17/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/usb.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[18/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/helper.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[19/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/flash_loader.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[20/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/lib_md5.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[21/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/logging.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[22/53] : && /usr/lib/distcc/bin/cc -fPIC -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/stlink-shared.dir/link.d -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_legacy.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/lib_md5.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/md5.c.o CMakeFiles/stlink-shared.dir/src/stlink-lib/option_bytes.c.o CMakeFiles/stlink-shared.dir/src/stlink-lib/programmer.c.o CMakeFiles/stlink-shared.dir/src/stlink-lib/read_write.c.o CMakeFiles/stlink-shared.dir/src/stlink-lib/sg_legacy.c.o CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o /usr/lib/libusb-1.0.so && :
[23/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/common_flash.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[24/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/common_legacy.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/common_legacy.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/common_legacy.c.o -c /build/stlink/src/stlink/src/stlink-lib/common_legacy.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[25/53] /usr/bin/cmake -E cmake_symlink_library lib/libstlink.so.1.8.0 lib/libstlink.so.1 lib/libstlink.so && :
[26/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/programmer.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/programmer.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/programmer.c.o -c /build/stlink/src/stlink/src/stlink-lib/programmer.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[27/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/map_file.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[28/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/md5.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[29/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/read_write.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[30/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/option_bytes.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[31/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -MD -MT CMakeFiles/stlink-static.dir/src/stlink-lib/sg_legacy.c.o -MF CMakeFiles/stlink-static.dir/src/stlink-lib/sg_legacy.c.o.d -o CMakeFiles/stlink-static.dir/src/stlink-lib/sg_legacy.c.o -c /build/stlink/src/stlink/src/stlink-lib/sg_legacy.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[32/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/st-flash/flash_opts.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[33/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/st-info/info.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[34/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/st-flash/flash.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[35/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/st-util/gdb-remote.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[36/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/stlink-lib/usb.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[37/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/st-util/semihosting.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[38/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -MD -MT tests/CMakeFiles/test-usb.dir/usb.c.o -MF tests/CMakeFiles/test-usb.dir/usb.c.o.d -o tests/CMakeFiles/test-usb.dir/usb.c.o -c /build/stlink/src/stlink/tests/usb.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[39/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -MD -MT tests/CMakeFiles/test-sg_legacy.dir/sg_legacy.c.o -MF tests/CMakeFiles/test-sg_legacy.dir/sg_legacy.c.o.d -o tests/CMakeFiles/test-sg_legacy.dir/sg_legacy.c.o -c /build/stlink/src/stlink/tests/sg_legacy.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[40/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/st-trace/trace.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[41/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -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 /build/stlink/src/stlink/src/st-util/gdb-server.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[42/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -MD -MT tests/CMakeFiles/test-flash.dir/flash.c.o -MF tests/CMakeFiles/test-flash.dir/flash.c.o.d -o tests/CMakeFiles/test-flash.dir/flash.c.o -c /build/stlink/src/stlink/tests/flash.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[43/53] /usr/lib/distcc/bin/cc -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/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/src/stlink-lib -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -MD -MT tests/CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o -MF tests/CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o.d -o tests/CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o -c /build/stlink/src/stlink/src/st-flash/flash_opts.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[44/53] : && /usr/lib/distcc/bin/cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -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,/build/stlink/src/build/lib: lib/libstlink.so.1.8.0 /usr/lib/libusb-1.0.so && :
[45/53] : && /usr/lib/distcc/bin/cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -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,/build/stlink/src/build/lib: lib/libstlink.so.1.8.0 /usr/lib/libusb-1.0.so && :
[46/53] : && /usr/bin/cmake -E rm -f lib/libstlink.a && /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_legacy.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/lib_md5.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/md5.c.o CMakeFiles/stlink-static.dir/src/stlink-lib/option_bytes.c.o CMakeFiles/stlink-static.dir/src/stlink-lib/programmer.c.o CMakeFiles/stlink-static.dir/src/stlink-lib/read_write.c.o CMakeFiles/stlink-static.dir/src/stlink-lib/sg_legacy.c.o CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o && /usr/bin/ranlib lib/libstlink.a && :
[47/53] : && /usr/lib/distcc/bin/cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -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,/build/stlink/src/build/lib: lib/libstlink.so.1.8.0 /usr/lib/libusb-1.0.so && :
[48/53] : && /usr/lib/distcc/bin/cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=tests/CMakeFiles/test-usb.dir/link.d tests/CMakeFiles/test-usb.dir/usb.c.o -o bin/test-usb -Wl,-rpath,/build/stlink/src/build/lib lib/libstlink.so.1.8.0 /usr/lib/libusb-1.0.so && :
[49/53] : && /usr/lib/distcc/bin/cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=tests/CMakeFiles/test-sg_legacy.dir/link.d tests/CMakeFiles/test-sg_legacy.dir/sg_legacy.c.o -o bin/test-sg_legacy -Wl,-rpath,/build/stlink/src/build/lib lib/libstlink.so.1.8.0 /usr/lib/libusb-1.0.so && :
[50/53] : && /usr/lib/distcc/bin/cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -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,/build/stlink/src/build/lib: lib/libstlink.so.1.8.0 /usr/lib/libusb-1.0.so && :
[51/53] : && /usr/lib/distcc/bin/cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=tests/CMakeFiles/test-flash.dir/link.d tests/CMakeFiles/test-flash.dir/flash.c.o tests/CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o -o bin/test-flash -Wl,-rpath,/build/stlink/src/build/lib lib/libstlink.so.1.8.0 /usr/lib/libusb-1.0.so && :
[52/53] /usr/lib/distcc/bin/cc -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_UI_DIR=\"/usr/share/stlink\" -I/usr/include/libusb-1.0 -I/build/stlink/src/stlink/inc -I/build/stlink/src/build/inc -I/build/stlink/src/stlink/src -I/build/stlink/src/stlink/src/st-flash -I/build/stlink/src/stlink/src/st-info -I/build/stlink/src/stlink/src/st-trace -I/build/stlink/src/stlink/src/st-util -I/build/stlink/src/stlink/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/lib/dbus-1.0/include -isystem /usr/include/fribidi -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/lib/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/sysprof-6 -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -std=gnu17 -MD -MT src/stlink-gui/CMakeFiles/stlink-gui.dir/gui.c.o -MF src/stlink-gui/CMakeFiles/stlink-gui.dir/gui.c.o.d -o src/stlink-gui/CMakeFiles/stlink-gui.dir/gui.c.o -c /build/stlink/src/stlink/src/stlink-gui/gui.c
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
[53/53] : && /usr/lib/distcc/bin/cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -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 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=src/stlink-gui/CMakeFiles/stlink-gui.dir/link.d src/stlink-gui/CMakeFiles/stlink-gui.dir/gui.c.o -o bin/stlink-gui -Wl,-rpath,/build/stlink/src/build/lib: lib/libstlink.so.1.8.0 -L/usr/lib -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -latk-1.0 -lpango-1.0 -lcairo -lharfbuzz -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/libusb-1.0.so && :
==> Entering fakeroot environment...
==> Starting package()...
-- Install configuration: "None"
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/version.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/stlink.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/stlink_backend.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/stlink_cmd.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/stm32.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/stm32_flash.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/stm32_register.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/calculate.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/chipid.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/common_flash.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/flash_loader.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/helper.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/lib_md5.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/libusb_settings.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/logging.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/logging_spdlog_wr.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/map_file.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/md5.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/option_bytes.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/programmer.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/read_write.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/sg_legacy.h
-- Installing: /build/stlink/pkg/stlink/usr/include/stlink/usb.h
-- Installing: /build/stlink/pkg/stlink/usr/lib/libstlink.so.1.8.0
-- Installing: /build/stlink/pkg/stlink/usr/lib/libstlink.so.1
-- Installing: /build/stlink/pkg/stlink/usr/lib/libstlink.so
-- Installing: /build/stlink/pkg/stlink/usr/lib/libstlink.a
-- Installing: /build/stlink/pkg/stlink/usr/bin/st-flash
-- Set non-toolchain portion of runtime path of "/build/stlink/pkg/stlink/usr/bin/st-flash" to ""
-- Installing: /build/stlink/pkg/stlink/usr/bin/st-info
-- Set non-toolchain portion of runtime path of "/build/stlink/pkg/stlink/usr/bin/st-info" to ""
-- Installing: /build/stlink/pkg/stlink/usr/bin/st-util
-- Set non-toolchain portion of runtime path of "/build/stlink/pkg/stlink/usr/bin/st-util" to ""
-- Installing: /build/stlink/pkg/stlink/usr/bin/st-trace
-- Set non-toolchain portion of runtime path of "/build/stlink/pkg/stlink/usr/bin/st-trace" to ""
-- Installing: /build/stlink/pkg/stlink/usr/lib/modprobe.d/stlink_v1.conf
-- Installing: /build/stlink/pkg/stlink/usr/lib/udev/rules.d/49-stlinkv1.rules
-- Installing: /build/stlink/pkg/stlink/usr/lib/udev/rules.d/49-stlinkv2-1.rules
-- Installing: /build/stlink/pkg/stlink/usr/lib/udev/rules.d/49-stlinkv2.rules
-- Installing: /build/stlink/pkg/stlink/usr/lib/udev/rules.d/49-stlinkv3.rules
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/C011xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/C031xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/C051xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/C071xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/C091xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F03x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F04x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F05x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F07x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F09x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F1xx_CL.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F1xx_HD.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F1xx_LD.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F1xx_MD.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F1xx_VL_HD.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F1xx_VL_MD_LD.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F1xx_XLD.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F2xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F301_F302_F318.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F302_F303_F358.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F302_F303_F398_HD.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F303_F328_F334.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F37x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F401xB_xC.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F401xD_xE.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F410.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F411xC_xE.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F412.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F413_F423.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F42x_F43x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F446.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F46x_F47x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F4x5_F4x7.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F72x_F73x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F74x_F75x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/F76x_F77x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/G03x_G04x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/G05x_G06x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/G07x_G08x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/G0Bx_G0Cx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/G43x_G44x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/G47x_G48x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/G49x_G4Ax.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/H5xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/H72x_H73x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/H74x_H75x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/H7Ax_H7Bx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L0xxx_Cat_1.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L0xxx_Cat_2.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L0xxx_Cat_3.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L0xxx_Cat_5.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L1xx_Cat_1.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L1xx_Cat_2.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L1xx_Cat_3.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L1xx_Cat_4.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L1xx_Cat_5.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L41x_L42x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L43x_L44x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L45x_L46x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L47x_L48x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L496x_L4A6x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L4Px_L4Qx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L4Rx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/L5x2xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/U031xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/U073xx_083xx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/U535_U545.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/U575_U585.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/U59x_U5Ax.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/U5Fx_U5Gx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/WB05.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/WB06_WB07.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/WB09.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/WBx0_WBx5.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/WL3x.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/WLEx.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/config/chips/unknown_device.chip
-- Installing: /build/stlink/pkg/stlink/usr/share/man/man1/st-info.1
-- Installing: /build/stlink/pkg/stlink/usr/share/man/man1/st-flash.1
-- Installing: /build/stlink/pkg/stlink/usr/share/man/man1/st-util.1
-- Installing: /build/stlink/pkg/stlink/usr/share/applications/stlink-gui.desktop
-- Installing: /build/stlink/pkg/stlink/usr/share/icons/hicolor/scalable/apps/stlink-gui.svg
-- Installing: /build/stlink/pkg/stlink/usr/share/stlink/stlink-gui.ui
-- Installing: /build/stlink/pkg/stlink/usr/bin/stlink-gui
-- Set non-toolchain portion of runtime path of "/build/stlink/pkg/stlink/usr/bin/stlink-gui" to ""
install: creating directory '/build/stlink/pkg/stlink/usr/share/licenses'
install: creating directory '/build/stlink/pkg/stlink/usr/share/licenses/stlink'
'stlink/LICENSE.md' -> '/build/stlink/pkg/stlink/usr/share/licenses/stlink/LICENSE.md'
==> Tidying install...
-> Removing libtool files...
-> Removing static library files...
-> Purging unwanted files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/libstlink.so.1.8.0
usr/bin/st-flash
usr/bin/st-trace
usr/bin/st-util
==> Creating package "stlink"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: stlink 1.8.0.r121.g8c34a4e-1 (Tue Mar 24 03:20:20 2026)
==> Cleaning up...
[?12l[?25h