>>> stlink: Building community/stlink 1.7.0-r1 (using abuild 3.9.0-r0) started Fri, 20 May 2022 13:53:26 +0000 >>> stlink: Checking sanity of /home/buildozer/aports/community/stlink/APKBUILD... >>> stlink: Analyzing dependencies... >>> stlink: Installing for build: build-base cmake libusb-dev (1/7) Installing libarchive (3.6.1-r0) (2/7) Installing rhash-libs (1.4.2-r2) (3/7) Installing libuv (1.44.1-r0) (4/7) Installing cmake (3.23.1-r0) (5/7) Installing libusb (1.0.26-r0) (6/7) Installing libusb-dev (1.0.26-r0) (7/7) Installing .makedepends-stlink (20220520.135327) Executing busybox-1.35.0-r13.trigger OK: 385 MiB in 106 packages >>> stlink: Cleaning up srcdir >>> stlink: Cleaning up pkgdir >>> stlink: Fetching https://distfiles.alpinelinux.org/distfiles/edge/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 3474k 0 --:--:-- --:--:-- --:--:-- 3479k >>> stlink: Fetching https://distfiles.alpinelinux.org/distfiles/edge/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/edge/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 11.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.36.1") -- 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.8.0") -- Checking for module 'gtk+-3.0' -- Package 'gtk+-3.0', required by 'virtual:world', not found -- GTK3 not found! -- Manpage generation disabled -- Configuring done -- Generating done -- Build files have been written to: /home/buildozer/aports/community/stlink/src/stlink-1.7.0/build make: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[1]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 2%] Building C object CMakeFiles/stlink-shared.dir/src/common.c.o [ 5%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/chipid.c.o [ 11%] Building C object CMakeFiles/stlink-static.dir/src/common.c.o [ 11%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/flash_loader.c.o [ 16%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/chipid.c.o [ 16%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/flash_loader.c.o [ 19%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/usb.c.o [ 22%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/logging.c.o [ 25%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/md5.c.o [ 27%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/md5.c.o [ 30%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/sg.c.o [ 36%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/logging.c.o [ 36%] Building C object CMakeFiles/stlink-shared.dir/src/stlink-lib/helper.c.o [ 38%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/sg.c.o [ 41%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/usb.c.o [ 44%] Building C object CMakeFiles/stlink-static.dir/src/stlink-lib/helper.c.o [ 47%] Linking C static library lib/libstlink.a [ 50%] Linking C shared library lib/libstlink.so make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 50%] Built target stlink-static make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 50%] Built target stlink-shared make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 52%] Building C object CMakeFiles/st-info.dir/src/st-info/info.c.o [ 55%] Building C object CMakeFiles/st-flash.dir/src/st-flash/flash.c.o [ 63%] Building C object CMakeFiles/st-trace.dir/src/st-trace/trace.c.o [ 63%] Building C object CMakeFiles/st-flash.dir/src/st-flash/flash_opts.c.o [ 63%] Building C object CMakeFiles/st-util.dir/src/st-util/gdb-remote.c.o [ 66%] Building C object CMakeFiles/st-util.dir/src/st-util/gdb-server.c.o [ 69%] Building C object tests/CMakeFiles/test-usb.dir/usb.c.o [ 72%] Building C object tests/CMakeFiles/test-sg.dir/sg.c.o [ 77%] Building C object tests/CMakeFiles/test-flash.dir/flash.c.o [ 77%] Building C object CMakeFiles/st-util.dir/src/st-util/semihosting.c.o [ 80%] Building C object tests/CMakeFiles/test-flash.dir/__/src/st-flash/flash_opts.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 | ^~~~~~~ [ 83%] Linking C executable ../bin/test-sg make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 86%] Linking C executable ../bin/test-usb [ 86%] Built target test-sg make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 86%] Built target test-usb [ 88%] Linking C executable bin/st-info make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 88%] Built target st-info [ 91%] Linking C executable bin/st-flash [ 94%] Linking C executable ../bin/test-flash make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 94%] Built target st-flash [ 94%] Built target test-flash [ 97%] Linking C executable bin/st-trace make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 97%] Built target st-trace [100%] Linking C executable bin/st-util make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [100%] Built target st-util make[1]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' >>> stlink: Entering fakeroot... make: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[1]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' Consolidate compiler generated dependencies of target stlink-shared Consolidate compiler generated dependencies of target stlink-static make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 25%] Built target stlink-shared [ 50%] Built target stlink-static make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Entering directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' Consolidate compiler generated dependencies of target st-info Consolidate compiler generated dependencies of target st-trace Consolidate compiler generated dependencies of target st-util Consolidate compiler generated dependencies of target test-usb Consolidate compiler generated dependencies of target test-sg make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' Consolidate compiler generated dependencies of target st-flash make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' Consolidate compiler generated dependencies of target test-flash make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' make[2]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' [ 55%] Built target st-info [ 61%] Built target st-trace [ 66%] Built target test-usb [ 72%] Built target test-sg [ 88%] Built target st-flash [ 91%] Built target st-util [100%] Built target test-flash make[1]: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' Install the project... -- 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 make: Leaving directory '/home/buildozer/aports/community/stlink/src/stlink-1.7.0/build' >>> 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-r1 >>> stlink-dev*: Package size: 284.0 KB >>> stlink-dev*: Compressing data... >>> stlink-dev*: Create checksum... >>> stlink-dev*: Create stlink-dev-1.7.0-r1.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-r1.apk >>> stlink*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libusb-1.0.so.0 >>> stlink*: Package size: 296.0 KB >>> stlink*: Compressing data... >>> stlink*: Create checksum... >>> stlink*: Create stlink-1.7.0-r1.apk >>> stlink: Build complete at Fri, 20 May 2022 13:53:35 +0000 elapsed time 0h 0m 9s >>> stlink: Cleaning up srcdir >>> stlink: Cleaning up pkgdir >>> stlink: Uninstalling dependencies... (1/7) Purging .makedepends-stlink (20220520.135327) (2/7) Purging cmake (3.23.1-r0) (3/7) Purging libusb-dev (1.0.26-r0) (4/7) Purging libusb (1.0.26-r0) (5/7) Purging libarchive (3.6.1-r0) (6/7) Purging rhash-libs (1.4.2-r2) (7/7) Purging libuv (1.44.1-r0) Executing busybox-1.35.0-r13.trigger OK: 332 MiB in 99 packages >>> stlink: Updating the community/x86_64 repository index... >>> stlink: Signing the index...