>>> gptfdisk: Building main/gptfdisk 1.0.9-r3 (using abuild 3.11.0_rc12-r0) started Thu, 20 Apr 2023 03:58:59 +0000 >>> gptfdisk: Checking sanity of /home/buildozer/aports/main/gptfdisk/APKBUILD... >>> gptfdisk: Analyzing dependencies... >>> gptfdisk: Installing for build: build-base ncurses-dev e2fsprogs-dev popt-dev linux-headers (1/18) Installing libformw (6.4_p20230401-r4) (2/18) Installing libmenuw (6.4_p20230401-r4) (3/18) Installing libpanelw (6.4_p20230401-r4) (4/18) Installing libncurses++ (6.4_p20230401-r4) (5/18) Installing ncurses-dev (6.4_p20230401-r4) (6/18) Installing libblkid (2.38.1-r7) (7/18) Installing libuuid (2.38.1-r7) (8/18) Installing libfdisk (2.38.1-r7) (9/18) Installing libmount (2.38.1-r7) (10/18) Installing libsmartcols (2.38.1-r7) (11/18) Installing util-linux-dev (2.38.1-r7) (12/18) Installing gawk (5.2.1-r2) (13/18) Installing libcom_err (1.47.0-r2) (14/18) Installing e2fsprogs-libs (1.47.0-r2) (15/18) Installing e2fsprogs-dev (1.47.0-r2) (16/18) Installing popt-dev (1.19-r2) (17/18) Installing linux-headers (6.2-r0) (18/18) Installing .makedepends-gptfdisk (20230420.035901) Executing busybox-1.36.0-r7.trigger OK: 425 MiB in 115 packages >>> gptfdisk: Cleaning up srcdir >>> gptfdisk: Cleaning up pkgdir >>> gptfdisk: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/gptfdisk-1.0.9.tar.gz >>> gptfdisk: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/gptfdisk-1.0.9.tar.gz >>> gptfdisk: Checking sha512sums... gptfdisk-1.0.9.tar.gz: OK fix-wrong-include.patch: OK 0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch: OK 0002-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch: OK 0003-Fix-NULL-dereference-when-duplicating-string-argumen.patch: OK >>> gptfdisk: Unpacking /var/cache/distfiles/v3.18/gptfdisk-1.0.9.tar.gz... >>> gptfdisk: fix-wrong-include.patch patching file gptcurses.cc >>> gptfdisk: 0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch patching file NEWS patching file gptcl.cc patching file support.h >>> gptfdisk: 0002-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch patching file NEWS patching file guid.cc >>> gptfdisk: 0003-Fix-NULL-dereference-when-duplicating-string-argumen.patch patching file gptcl.cc TARGET is not set; trying to determine target based on host OS.... Detected OS is Linux Build target is linux g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o crc32.o crc32.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o support.o support.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o guid.o guid.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o gptpart.o gptpart.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o mbrpart.o mbrpart.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o basicmbr.o basicmbr.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o mbr.o mbr.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o gpt.o gpt.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o bsd.o bsd.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o parttypes.o parttypes.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o attributes.o attributes.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o diskio.o diskio.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o diskio-unix.o diskio-unix.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o gdisk.o gdisk.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o gpttext.o gpttext.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o cgdisk.o cgdisk.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o gptcurses.o gptcurses.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o sgdisk.o sgdisk.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o gptcl.o gptcl.cc g++ -Os -Wformat -Werror=format-security -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -Wformat -Werror=format-security -c -o fixparts.o fixparts.cc gptcurses.cc: In member function 'void GPTDataCurses::ShowInfo(int)': gptcurses.cc:332:29: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 332 | printw("First sector: %lld (at %s)\n", partitions[partNum].GetFirstLBA(), | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld gptcurses.cc:334:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 334 | printw("Last sector: %lld (at %s)\n", partitions[partNum].GetLastLBA(), | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld gptcurses.cc:337:31: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 337 | printw("Partition size: %lld sectors (%s)\n", size, BytesToIeee(size, blockSize).c_str()); | ~~~^ ~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld gptcurses.cc:338:35: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 338 | printw("Attribute flags: %016llx\n", partitions[partNum].GetAttributes().GetAttributes()); | ~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %016lx gptcurses.cc: In member function 'void GPTDataCurses::MakeNewPart()': gptcurses.cc:446:32: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 446 | printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstLBA); | ~~~^ ~~~~~~~~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld gptcurses.cc:446:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 446 | printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstLBA); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld gptcurses.cc:446:53: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 446 | printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstLBA); | ~~~^ ~~~~~~~~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld gptcurses.cc:460:56: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 460 | printw("Size in sectors or {KMGTP} (default = %lld): ", size); | ~~~^ ~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld g++ support.o diskio.o diskio-unix.o basicmbr.o mbrpart.o fixparts.o -Wl,--as-needed,-O1,--sort-common -o fixparts g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o gdisk.o gpttext.o -Wl,--as-needed,-O1,--sort-common -luuid -o gdisk g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o cgdisk.o gptcurses.o -Wl,--as-needed,-O1,--sort-common -luuid -lncursesw -o cgdisk g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o sgdisk.o gptcl.o -Wl,--as-needed,-O1,--sort-common -luuid -lpopt -o sgdisk **SUCCESS** Temp disk sucessfully created **Testing gdisk binary** GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: not present BSD: not present APM: not present GPT: not present Creating new GPT entries in memory. Command (? for help): This option deletes all partitions and creates a new protective MBR. Proceed? (Y/N): Command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /tmp/tmp.IJECkI. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Create new empty GPT table GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Partition number (1-128, default 1): First sector (34-131038, default = 2048) or {+-}size{KMGTP}: Last sector (2048-131038, default = 129023) or {+-}size{KMGTP}: Current type is 8300 (Linux filesystem) Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem' Command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /tmp/tmp.IJECkI. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Create new partition GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Using 1 Enter name: Command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /tmp/tmp.IJECkI. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Change partition 1 name (Linux filesystem -> gkKEPnus) GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Using 1 Current type is 8300 (Linux filesystem) Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux swap' Command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /tmp/tmp.IJECkI. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Change partition 1 type (8300 -> 8200) GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Enter backup filename to save: The operation has completed successfully. Command (? for help): **SUCCESS** GPT data backuped sucessfully GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Using 1 Command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /tmp/tmp.IJECkI. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Delete partition 1 GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Recovery/transformation command (? for help): b use backup GPT header (rebuilding main) c load backup partition table from disk (rebuilding main) d use main GPT header (rebuilding backup) e load main partition table from disk (rebuilding backup) f load MBR and build fresh GPT from it g convert GPT into MBR and exit h make hybrid MBR i show detailed information on a partition l load partition data from a backup file m return to main menu o print protective MBR data p print the partition table q quit without saving changes t transform BSD disklabel partition v verify disk w write table to disk and exit x extra functionality (experts only) ? print this menu Recovery/transformation command (? for help): Enter backup filename to load: Recovery/transformation command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /tmp/tmp.IJECkI. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Restore the GPT backup GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Expert command (? for help): Enter the disk's unique GUID ('R' to randomize): The new disk GUID is 68562F26-07B1-4475-A75E-99BDB84E2EC3 Expert command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /tmp/tmp.IJECkI. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** GUID of disk has been sucessfully changed GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Expert command (? for help): About to wipe out GPT on /tmp/tmp.IJECkI. Proceed? (Y/N): Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) GPT data structures destroyed! You may now partition the disk using fdisk or other utilities. Blank out MBR? (Y/N): **SUCCESS** Wipe GPT table Creating new GPT entries in memory. **SUCCESS** EOF successfully exit gdisk **Testing sgdisk binary** Creating new GPT entries in memory. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Create new empty GPT table Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Create new partition Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Change partition 1 name (Linux filesystem -> gkKEPnus) Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Change partition 1 type (8300 -> 8200) The operation has completed successfully. **SUCCESS** GPT data backuped sucessfully Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Delete partition 1 GPT fdisk (gdisk) version 1.0.9.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Recovery/transformation command (? for help): b use backup GPT header (rebuilding main) c load backup partition table from disk (rebuilding main) d use main GPT header (rebuilding backup) e load main partition table from disk (rebuilding backup) f load MBR and build fresh GPT from it g convert GPT into MBR and exit h make hybrid MBR i show detailed information on a partition l load partition data from a backup file m return to main menu o print protective MBR data p print the partition table q quit without saving changes t transform BSD disklabel partition v verify disk w write table to disk and exit x extra functionality (experts only) ? print this menu Recovery/transformation command (? for help): Enter backup filename to load: Recovery/transformation command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /tmp/tmp.IJECkI. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** Restore the GPT backup Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. **SUCCESS** GUID of disk has been sucessfully changed Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) GPT data structures destroyed! You may now partition the disk using fdisk or other utilities. **SUCCESS** Wipe GPT table Creating new GPT entries in memory. **SUCCESS** EOF successfully exit gdisk >>> gptfdisk: Entering fakeroot... >>> gptfdisk-doc*: Running split function doc... >>> gptfdisk-doc*: Preparing subpackage gptfdisk-doc... >>> gptfdisk-doc*: Running postcheck for gptfdisk-doc >>> sgdisk*: Running split function sgdisk... >>> sgdisk*: Preparing subpackage sgdisk... >>> sgdisk*: Stripping binaries >>> sgdisk*: Running postcheck for sgdisk >>> gptfdisk*: Running postcheck for gptfdisk >>> gptfdisk*: Preparing package gptfdisk... >>> gptfdisk*: Stripping binaries >>> gptfdisk-doc*: Scanning shared objects >>> gptfdisk*: Scanning shared objects >>> sgdisk*: Scanning shared objects >>> gptfdisk-doc*: Tracing dependencies... >>> gptfdisk-doc*: Package size: 60.0 KB >>> gptfdisk-doc*: Compressing data... >>> gptfdisk-doc*: Create checksum... >>> gptfdisk-doc*: Create gptfdisk-doc-1.0.9-r3.apk >>> gptfdisk*: Tracing dependencies... so:libc.musl-aarch64.so.1 so:libgcc_s.so.1 so:libncursesw.so.6 so:libstdc++.so.6 so:libuuid.so.1 >>> gptfdisk*: Package size: 472.0 KB >>> gptfdisk*: Compressing data... >>> gptfdisk*: Create checksum... >>> gptfdisk*: Create gptfdisk-1.0.9-r3.apk >>> sgdisk*: Tracing dependencies... so:libc.musl-aarch64.so.1 so:libgcc_s.so.1 so:libpopt.so.0 so:libstdc++.so.6 so:libuuid.so.1 >>> sgdisk*: Package size: 208.0 KB >>> sgdisk*: Compressing data... >>> sgdisk*: Create checksum... >>> sgdisk*: Create sgdisk-1.0.9-r3.apk >>> gptfdisk: Build complete at Thu, 20 Apr 2023 03:59:26 +0000 elapsed time 0h 0m 27s >>> gptfdisk: Cleaning up srcdir >>> gptfdisk: Cleaning up pkgdir >>> gptfdisk: Uninstalling dependencies... (1/18) Purging .makedepends-gptfdisk (20230420.035901) (2/18) Purging ncurses-dev (6.4_p20230401-r4) (3/18) Purging libncurses++ (6.4_p20230401-r4) (4/18) Purging libpanelw (6.4_p20230401-r4) (5/18) Purging e2fsprogs-dev (1.47.0-r2) (6/18) Purging util-linux-dev (2.38.1-r7) (7/18) Purging libfdisk (2.38.1-r7) (8/18) Purging libmount (2.38.1-r7) (9/18) Purging libsmartcols (2.38.1-r7) (10/18) Purging libuuid (2.38.1-r7) (11/18) Purging gawk (5.2.1-r2) (12/18) Purging e2fsprogs-libs (1.47.0-r2) (13/18) Purging libcom_err (1.47.0-r2) (14/18) Purging popt-dev (1.19-r2) (15/18) Purging linux-headers (6.2-r0) (16/18) Purging libblkid (2.38.1-r7) (17/18) Purging libformw (6.4_p20230401-r4) (18/18) Purging libmenuw (6.4_p20230401-r4) Executing busybox-1.36.0-r7.trigger OK: 409 MiB in 97 packages >>> gptfdisk: Updating the main/aarch64 repository index... >>> gptfdisk: Signing the index...