>>> stlink: Building community/stlink 1.7.0-r3 (using abuild 3.11.0_rc13-r0) started Mon, 24 Apr 2023 04:13:13 +0000 >>> stlink: Checking sanity of /home/buildozer/aports/community/stlink/APKBUILD... >>> stlink: Analyzing dependencies... >>> stlink: Installing for build: build-base cmake libusb-dev samurai (1/11) Installing libbz2 (1.0.8-r5) (2/11) Installing xz-libs (5.4.2-r1) (3/11) Installing libarchive (3.6.2-r2) (4/11) Installing libformw (6.4_p20230401-r5) (5/11) Installing rhash-libs (1.4.3-r2) (6/11) Installing libuv (1.44.2-r2) (7/11) Installing cmake (3.26.3-r1) (8/11) Installing libusb (1.0.26-r2) (9/11) Installing libusb-dev (1.0.26-r2) (10/11) Installing samurai (1.2-r3) (11/11) Installing .makedepends-stlink (20230424.041332) Executing busybox-1.36.0-r7.trigger OK: 434 MiB in 109 packages >>> stlink: Cleaning up srcdir >>> stlink: Cleaning up pkgdir >>> stlink: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/stlink-1.7.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 327k 100 327k 0 0 1276k 0 --:--:-- --:--:-- --:--:-- 1277k >>> stlink: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/stlink-1.7.0.tar.gz >>> stlink: Checking sha512sums... stlink-1.7.0.tar.gz: OK Fixed-get-flash-base-address-for-STM32L152RE.patch: OK >>> stlink: Unpacking /var/cache/distfiles/v3.18/stlink-1.7.0.tar.gz... >>> stlink: Fixed-get-flash-base-address-for-STM32L152RE.patch patching file src/common.c -- The C compiler identification is GNU 12.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 -- Found Git: /usr/bin/git (found version "2.40.0") -- Git and/or repository not found. -- Try to detect version from "/home/buildozer/aports/community/stlink/src/stlink-1.7.0/.version" file instead... -- Performing Test C_SUPPORTS_STD_GNU11 -- Performing Test C_SUPPORTS_STD_GNU11 - Success -- Performing Test C_SUPPORTS_STD_GNU18 -- Performing Test C_SUPPORTS_STD_GNU18 - Success -- 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_D_FORTIFY_SOURCE_2 -- Performing Test C_SUPPORTS_D_FORTIFY_SOURCE_2 - Success -- Performing Test C_SUPPORTS_FSTRICT_ALIASING -- Performing Test C_SUPPORTS_FSTRICT_ALIASING - Success -- Performing Test C_SUPPORTS_WUNDEF -- Performing Test C_SUPPORTS_WUNDEF - Success -- Performing Test C_SUPPORTS_WFORMAT -- Performing Test C_SUPPORTS_WFORMAT - Success -- Performing Test C_SUPPORTS_WFORMAT_SECURITY -- Performing Test C_SUPPORTS_WFORMAT_SECURITY - Success -- Performing Test C_SUPPORTS_WMAYBE_UNINITIALIZED -- Performing Test C_SUPPORTS_WMAYBE_UNINITIALIZED - Success -- Performing Test C_SUPPORTS_WMISSING_VARIABLE_DECLARATIONS -- Performing Test C_SUPPORTS_WMISSING_VARIABLE_DECLARATIONS - Failed -- Performing Test C_SUPPORTS_WSHORTEN_64_TO_32 -- Performing Test C_SUPPORTS_WSHORTEN_64_TO_32 - Failed -- Performing Test C_SUPPORTS_WIMPLICIT_FUNCTION_DECLARATION -- Performing Test C_SUPPORTS_WIMPLICIT_FUNCTION_DECLARATION - Success -- Performing Test C_SUPPORTS_WREDUNDANT_DECLS -- Performing Test C_SUPPORTS_WREDUNDANT_DECLS - Success -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test C_SUPPORTS_O2 -- Performing Test C_SUPPORTS_O2 - Success -- Performing Test C_SUPPORTS_WERROR -- Performing Test C_SUPPORTS_WERROR - Success -- Found libusb: /usr/lib/libusb-1.0.so -- Looking for __stack_chk_fail in ssp -- Looking for __stack_chk_fail in ssp - not found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- STLINK_LIB_SHARED: stlink-shared -- PROJECT_VERSION_MAJOR: 1 -- VERSION: 1.7.0 -- STLINK_LIB_STATIC: stlink-static -- PROJECT_VERSION_MAJOR: 1 -- VERSION: 1.7.0 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.4") -- Checking for module 'gtk+-3.0' -- Package 'gtk+-3.0', required by 'virtual:world', not found -- GTK3 not found! -- Manpage generation disabled -- Configuring done (2.7s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/stlink/src/stlink-1.7.0/build [1/37] Building C object tests/CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.c.o [2/37] Building C object tests/CMakeFiles/test-flash.dir/flash.c.o [3/37] Building C object tests/CMakeFiles/test-sg.dir/sg.c.o [4/37] Building C object tests/CMakeFiles/test-usb.dir/usb.c.o [5/37] Building C object CMakeFiles/st-trace.dir/src/st-trace/trace.c.o [6/37] Building C object CMakeFiles/st-util.dir/src/st-util/semihosting.c.o [7/37] Building C object CMakeFiles/st-util.dir/src/st-util/gdb-server.c.o [8/37] Building C object CMakeFiles/st-util.dir/src/st-util/gdb-remote.c.o [9/37] Building C object CMakeFiles/st-info.dir/src/st-info/info.c.o [10/37] Building C object CMakeFiles/st-flash.dir/src/st-flash/flash_opts.c.o [11/37] Building C object CMakeFiles/st-flash.dir/src/st-flash/flash.c.o [12/37] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o [13/37] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o [14/37] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o [15/37] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o [16/37] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o [17/37] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o [18/37] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o [19/37] Building C object CMakeFiles/stlink-static.dir/src/common.c.o [20/37] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o [21/37] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o [22/37] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o [23/37] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o [24/37] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o [25/37] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o [26/37] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o [27/37] Building C object CMakeFiles/stlink-shared.dir/src/common.c.o In file included from /home/buildozer/aports/community/stlink/src/stlink-1.7.0/src/st-util/gdb-remote.c:15: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [28/37] Linking C static library lib/libstlink.a [29/37] Linking C shared library lib/libstlink.so.1.7.0 [30/37] Creating library symlink lib/libstlink.so.1 lib/libstlink.so [31/37] Linking C executable bin/test-flash [32/37] Linking C executable bin/test-sg [33/37] Linking C executable bin/test-usb [34/37] Linking C executable bin/st-trace [35/37] Linking C executable bin/st-util [36/37] Linking C executable bin/st-info [37/37] Linking C executable bin/st-flash >>> stlink: Entering fakeroot... -- Install configuration: "None" -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/lib/libstlink.so.1.7.0 -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/lib/libstlink.so.1 -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/lib/libstlink.so -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/lib/libstlink.a -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/bin/st-flash -- Set runtime path of "/home/buildozer/aports/community/stlink/pkg/stlink/usr/bin/st-flash" to "" -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/bin/st-info -- Set runtime path of "/home/buildozer/aports/community/stlink/pkg/stlink/usr/bin/st-info" to "" -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/bin/st-util -- Set runtime path of "/home/buildozer/aports/community/stlink/pkg/stlink/usr/bin/st-util" to "" -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/bin/st-trace -- Set runtime path of "/home/buildozer/aports/community/stlink/pkg/stlink/usr/bin/st-trace" to "" -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/etc/modprobe.d/stlink_v1.conf -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/lib/udev/rules.d/49-stlinkv1.rules -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/lib/udev/rules.d/49-stlinkv2-1.rules -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/lib/udev/rules.d/49-stlinkv2.rules -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/lib/udev/rules.d/49-stlinkv3.rules -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/version.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/backend.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/stlink.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/stm32.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/chipid.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/commands.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/flash_loader.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/helper.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/libusb_settings.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/logging.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/md5.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/reg.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/sg.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/include/stlink/usb.h -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/share/man/man1/st-util.1 -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/share/man/man1/st-flash.1 -- Installing: /home/buildozer/aports/community/stlink/pkg/stlink/usr/share/man/man1/st-info.1 >>> stlink-doc*: Running split function doc... >>> stlink-doc*: Preparing subpackage stlink-doc... >>> stlink-doc*: Running postcheck for stlink-doc >>> stlink-dev*: Running split function dev... >>> stlink-dev*: Preparing subpackage stlink-dev... >>> stlink-dev*: Stripping binaries >>> stlink-dev*: Running postcheck for stlink-dev >>> stlink*: Running postcheck for stlink >>> stlink*: Preparing package stlink... >>> stlink*: Stripping binaries >>> stlink-dev*: Scanning shared objects >>> stlink-doc*: Scanning shared objects >>> stlink*: Scanning shared objects >>> stlink-dev*: Tracing dependencies... stlink=1.7.0-r3 >>> stlink-dev*: Package size: 260.0 KB >>> stlink-dev*: Compressing data... >>> stlink-dev*: Create checksum... >>> stlink-dev*: Create stlink-dev-1.7.0-r3.apk >>> stlink-doc*: Tracing dependencies... >>> stlink-doc*: Package size: 124.0 KB >>> stlink-doc*: Compressing data... >>> stlink-doc*: Create checksum... >>> stlink-doc*: Create stlink-doc-1.7.0-r3.apk >>> stlink*: Tracing dependencies... so:libc.musl-x86.so.1 so:libusb-1.0.so.0 >>> stlink*: Package size: 300.0 KB >>> stlink*: Compressing data... >>> stlink*: Create checksum... >>> stlink*: Create stlink-1.7.0-r3.apk >>> stlink: Build complete at Mon, 24 Apr 2023 04:13:39 +0000 elapsed time 0h 0m 26s >>> stlink: Cleaning up srcdir >>> stlink: Cleaning up pkgdir >>> stlink: Uninstalling dependencies... (1/11) Purging .makedepends-stlink (20230424.041332) (2/11) Purging cmake (3.26.3-r1) (3/11) Purging libusb-dev (1.0.26-r2) (4/11) Purging libusb (1.0.26-r2) (5/11) Purging samurai (1.2-r3) (6/11) Purging libarchive (3.6.2-r2) (7/11) Purging libbz2 (1.0.8-r5) (8/11) Purging libformw (6.4_p20230401-r5) (9/11) Purging libuv (1.44.2-r2) (10/11) Purging rhash-libs (1.4.3-r2) (11/11) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r7.trigger OK: 373 MiB in 98 packages >>> stlink: Updating the community/x86 repository index... >>> stlink: Signing the index...