>>> stlink: Building community/stlink 1.7.0-r3 (using abuild 3.12.0-r0) started Thu, 02 Nov 2023 18:46:35 +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/10) Installing libbz2 (1.0.8-r6) (2/10) Installing xz-libs (5.4.5-r0) (3/10) Installing libarchive (3.7.2-r0) (4/10) Installing rhash-libs (1.4.4-r0) (5/10) Installing libuv (1.46.0-r0) (6/10) Installing cmake (3.27.7-r2) (7/10) Installing libusb (1.0.26-r3) (8/10) Installing libusb-dev (1.0.26-r3) (9/10) Installing samurai (1.2-r5) (10/10) Installing .makedepends-stlink (20231102.184728) Executing busybox-1.36.1-r14.trigger OK: 530 MiB in 117 packages >>> stlink: Cleaning up srcdir >>> stlink: Cleaning up pkgdir >>> stlink: Cleaning up tmpdir >>> stlink: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/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 2396k 0 --:--:-- --:--:-- --:--:-- 2422k >>> stlink: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/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.19/stlink-1.7.0.tar.gz... >>> stlink: Fixed-get-flash-base-address-for-STM32L152RE.patch patching file src/common.c CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Git: /usr/bin/git (found version "2.42.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 "2.0.3") -- 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.6s) -- 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: 288.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_64.so.1 so:libusb-1.0.so.0 >>> stlink*: Package size: 292.0 KB >>> stlink*: Compressing data... >>> stlink*: Create checksum... >>> stlink*: Create stlink-1.7.0-r3.apk >>> stlink: Build complete at Thu, 02 Nov 2023 18:47:39 +0000 elapsed time 0h 1m 4s >>> stlink: Cleaning up srcdir >>> stlink: Cleaning up pkgdir >>> stlink: Uninstalling dependencies... (1/10) Purging .makedepends-stlink (20231102.184728) (2/10) Purging cmake (3.27.7-r2) (3/10) Purging libusb-dev (1.0.26-r3) (4/10) Purging libusb (1.0.26-r3) (5/10) Purging samurai (1.2-r5) (6/10) Purging libarchive (3.7.2-r0) (7/10) Purging libbz2 (1.0.8-r6) (8/10) Purging libuv (1.46.0-r0) (9/10) Purging rhash-libs (1.4.4-r0) (10/10) Purging xz-libs (5.4.5-r0) Executing busybox-1.36.1-r14.trigger OK: 472 MiB in 107 packages >>> stlink: Updating the community/x86_64 repository index... >>> stlink: Signing the index...