>>> qbootctl: Building community/qbootctl 0.1.2-r0 (using abuild 3.12.0-r0) started Wed, 25 Oct 2023 13:17:49 +0000 >>> qbootctl: Checking sanity of /home/buildozer/aports/community/qbootctl/APKBUILD... >>> qbootctl: Analyzing dependencies... >>> qbootctl: Installing for build: build-base linux-headers meson zlib-dev (1/18) Installing linux-headers (6.5-r0) (2/18) Installing samurai (1.2-r5) (3/18) Installing libbz2 (1.0.8-r6) (4/18) Installing libffi (3.4.4-r3) (5/18) Installing gdbm (1.23-r1) (6/18) Installing xz-libs (5.4.4-r0) (7/18) Installing mpdecimal (2.5.1-r2) (8/18) Installing libpanelw (6.4_p20231007-r0) (9/18) Installing readline (8.2.1-r2) (10/18) Installing sqlite-libs (3.43.2-r0) (11/18) Installing python3 (3.11.6-r1) (12/18) Installing python3-pycache-pyc0 (3.11.6-r1) (13/18) Installing pyc (3.11.6-r1) (14/18) Installing meson-pyc (1.2.3-r0) (15/18) Installing python3-pyc (3.11.6-r1) (16/18) Installing meson (1.2.3-r0) (17/18) Installing zlib-dev (1.3-r0) (18/18) Installing .makedepends-qbootctl (20231025.131758) Executing busybox-1.36.1-r13.trigger OK: 494 MiB in 123 packages >>> qbootctl: Cleaning up srcdir >>> qbootctl: Cleaning up pkgdir >>> qbootctl: Cleaning up tmpdir >>> qbootctl: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/qbootctl-0.1.2.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 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> qbootctl: Fetching qbootctl-0.1.2.tar.gz::https://gitlab.com/sdm845-mainline/qbootctl/-/archive/0.1.2/qbootctl-0.1.2.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 31540 0 31540 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k >>> qbootctl: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/qbootctl-0.1.2.tar.gz >>> qbootctl: Checking sha512sums... qbootctl-0.1.2.tar.gz: OK qbootctl-openrc.initd: OK >>> qbootctl: Unpacking /var/cache/distfiles/v3.19/qbootctl-0.1.2.tar.gz... The Meson build system Version: 1.2.3 Source dir: /home/buildozer/aports/community/qbootctl/src/qbootctl-0.1.2 Build dir: /home/buildozer/aports/community/qbootctl/src/qbootctl-0.1.2/output Build type: native build Project name: qbootctl Project version: undefined C++ compiler for the host machine: g++ (gcc 13.2.1 "g++ (Alpine 13.2.1_git20231014) 13.2.1 20231014") C++ linker for the host machine: g++ ld.bfd 2.41 Host machine cpu family: s390x Host machine cpu: s390x Found pkg-config: /usr/bin/pkg-config (2.0.3) Run-time dependency zlib found: YES 1.3 Build targets in project: 1 qbootctl undefined User defined options auto_features : auto bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc werror : false wrap_mode : nodownload python.bytecompile: 0 b_lto : false b_pie : true b_staticpic : true Found ninja-1.9 at /usr/bin/ninja ninja: entering directory '/home/buildozer/aports/community/qbootctl/src/qbootctl-0.1.2/output' [1/6] Compiling C++ object qbootctl.p/ufs-bsg.cpp.o [2/6] Compiling C++ object qbootctl.p/gpt-utils.cpp.o [3/6] Compiling C++ object qbootctl.p/bootctrl_test.cpp.o [4/6] Compiling C++ object qbootctl.p/bootctrl_impl.cpp.o [5/6] Compiling C++ object qbootctl.p/qbootctl.cpp.o ninja: job failed: g++ -Iqbootctl.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fPIE -MD -MQ qbootctl.p/bootctrl_impl.cpp.o -MF qbootctl.p/bootctrl_impl.cpp.o.d -o qbootctl.p/bootctrl_impl.cpp.o -c ../bootctrl_impl.cpp In file included from ../bootctrl_impl.cpp:35: ../gpt-utils.h:97:9: error: 'uint8_t' does not name a type 97 | uint8_t *hdr; | ^~~~~~~ ../gpt-utils.h:40:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 39 | #include +++ |+#include  40 | ../gpt-utils.h:101:9: error: 'uint8_t' does not name a type 101 | uint8_t *hdr_bak; | ^~~~~~~ ../gpt-utils.h:101:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../gpt-utils.h:105:9: error: 'uint8_t' does not name a type 105 | uint8_t *pentry_arr; | ^~~~~~~ ../gpt-utils.h:105:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../gpt-utils.h:107:9: error: 'uint8_t' does not name a type 107 | uint8_t *pentry_arr_bak; | ^~~~~~~ ../gpt-utils.h:107:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../gpt-utils.h:132:1: error: 'uint8_t' does not name a type 132 | uint8_t *gpt_disk_get_pentry(struct gpt_disk *disk, const char *partname, | ^~~~~~~ ../gpt-utils.h:132:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../bootctrl_impl.cpp: In function 'int get_partition_attribute(char*, part_attr_type)': ../bootctrl_impl.cpp:106:9: error: 'uint8_t' was not declared in this scope 106 | uint8_t *pentry = NULL; | ^~~~~~~ ../bootctrl_impl.cpp:39:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 38 | #include "bootctrl.h" +++ |+#include  39 | ../bootctrl_impl.cpp:106:18: error: 'pentry' was not declared in this scope 106 | uint8_t *pentry = NULL; | ^~~~~~ ../bootctrl_impl.cpp:108:18: error: 'attr' was not declared in this scope 108 | uint8_t *attr = NULL; | ^~~~ ../bootctrl_impl.cpp:120:18: error: 'gpt_disk_get_pentry' was not declared in this scope 120 | pentry = gpt_disk_get_pentry(disk, partname, PRIMARY_GPT); | ^~~~~~~~~~~~~~~~~~~ ../bootctrl_impl.cpp: In function 'int update_slot_attribute(const char*, part_attr_type)': ../bootctrl_impl.cpp:159:9: error: 'uint8_t' was not declared in this scope 159 | uint8_t *pentry = NULL; | ^~~~~~~ ../bootctrl_impl.cpp:159:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../bootctrl_impl.cpp:159:18: error: 'pentry' was not declared in this scope 159 | uint8_t *pentry = NULL; | ^~~~~~ ../bootctrl_impl.cpp:160:18: error: 'pentry_bak' was not declared in this scope 160 | uint8_t *pentry_bak = NULL; | ^~~~~~~~~~ ../bootctrl_impl.cpp:162:18: error: 'attr' was not declared in this scope 162 | uint8_t *attr = NULL; | ^~~~ ../bootctrl_impl.cpp:163:18: error: 'attr_bak' was not declared in this scope 163 | uint8_t *attr_bak = NULL; | ^~~~~~~~ ../bootctrl_impl.cpp:211:26: error: 'gpt_disk_get_pentry' was not declared in this scope 211 | pentry = gpt_disk_get_pentry(disk, partName, PRIMARY_GPT); | ^~~~~~~~~~~~~~~~~~~ ../bootctrl_impl.cpp: In function 'int boot_ctl_set_active_slot_for_partitions(std::vector >, unsigned int)': ../bootctrl_impl.cpp:438:9: error: 'uint8_t' was not declared in this scope 438 | uint8_t *pentryA = NULL; | ^~~~~~~ ../bootctrl_impl.cpp:438:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../bootctrl_impl.cpp:438:18: error: 'pentryA' was not declared in this scope 438 | uint8_t *pentryA = NULL; | ^~~~~~~ ../bootctrl_impl.cpp:439:18: error: 'pentryA_bak' was not declared in this scope 439 | uint8_t *pentryA_bak = NULL; | ^~~~~~~~~~~ ../bootctrl_impl.cpp:441:18: error: 'pentryB' was not declared in this scope 441 | uint8_t *pentryB = NULL; | ^~~~~~~ ../bootctrl_impl.cpp:442:18: error: 'pentryB_bak' was not declared in this scope 442 | uint8_t *pentryB_bak = NULL; | ^~~~~~~~~~~ ../bootctrl_impl.cpp:495:27: error: 'gpt_disk_get_pentry' was not declared in this scope 495 | pentryA = gpt_disk_get_pentry(disk, slotA, PRIMARY_GPT); | ^~~~~~~~~~~~~~~~~~~ ninja: job failed: g++ -Iqbootctl.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fPIE -MD -MQ qbootctl.p/qbootctl.cpp.o -MF qbootctl.p/qbootctl.cpp.o.d -o qbootctl.p/qbootctl.cpp.o -c ../qbootctl.cpp ../qbootctl.cpp: In function 'int get_slot_info(slot_info*)': ../qbootctl.cpp:105:9: error: 'uint32_t' was not declared in this scope 105 | uint32_t active_slot = impl->getActiveBootSlot(); | ^~~~~~~~ ../qbootctl.cpp:30:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? 29 | #include "bootctrl.h" +++ |+#include  30 | ../qbootctl.cpp:107:15: error: 'active_slot' was not declared in this scope 107 | slots[active_slot].active = true; | ^~~~~~~~~~~ ninja: subcommands failed INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/buildozer/aports/community/qbootctl/src/qbootctl-0.1.2/output >>> ERROR: qbootctl: build failed >>> qbootctl: Uninstalling dependencies... (1/18) Purging .makedepends-qbootctl (20231025.131758) (2/18) Purging linux-headers (6.5-r0) (3/18) Purging meson-pyc (1.2.3-r0) (4/18) Purging meson (1.2.3-r0) (5/18) Purging samurai (1.2-r5) (6/18) Purging zlib-dev (1.3-r0) (7/18) Purging python3-pyc (3.11.6-r1) (8/18) Purging python3-pycache-pyc0 (3.11.6-r1) (9/18) Purging pyc (3.11.6-r1) (10/18) Purging python3 (3.11.6-r1) (11/18) Purging gdbm (1.23-r1) (12/18) Purging libbz2 (1.0.8-r6) (13/18) Purging libffi (3.4.4-r3) (14/18) Purging libpanelw (6.4_p20231007-r0) (15/18) Purging mpdecimal (2.5.1-r2) (16/18) Purging readline (8.2.1-r2) (17/18) Purging sqlite-libs (3.43.2-r0) (18/18) Purging xz-libs (5.4.4-r0) Executing busybox-1.36.1-r13.trigger OK: 435 MiB in 105 packages