>>> gptfdisk: Building main/gptfdisk 1.0.9-r2 (using abuild 3.10.0_rc1-r2) started Tue, 25 Oct 2022 17:16:57 +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/14) Installing ncurses-dev (6.3_p20221008-r0) (2/14) Installing libblkid (2.38.1-r0) (3/14) Installing libuuid (2.38.1-r0) (4/14) Installing libfdisk (2.38.1-r0) (5/14) Installing libmount (2.38.1-r0) (6/14) Installing libsmartcols (2.38.1-r0) (7/14) Installing util-linux-dev (2.38.1-r0) (8/14) Installing gawk (5.1.1-r1) (9/14) Installing libcom_err (1.46.5-r3) (10/14) Installing e2fsprogs-libs (1.46.5-r3) (11/14) Installing e2fsprogs-dev (1.46.5-r3) (12/14) Installing popt-dev (1.19-r0) (13/14) Installing linux-headers (5.19.5-r0) (14/14) Installing .makedepends-gptfdisk (20221025.171658) Executing busybox-1.35.0-r27.trigger OK: 283 MiB in 106 packages >>> gptfdisk: Cleaning up srcdir >>> gptfdisk: Cleaning up pkgdir >>> gptfdisk: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/gptfdisk-1.0.9.tar.gz >>> gptfdisk: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/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.17/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 -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o crc32.o crc32.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o support.o support.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o guid.o guid.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o gptpart.o gptpart.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o mbrpart.o mbrpart.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o basicmbr.o basicmbr.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o mbr.o mbr.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o gpt.o gpt.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o bsd.o bsd.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o parttypes.o parttypes.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o attributes.o attributes.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o diskio.o diskio.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o diskio-unix.o diskio-unix.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o gdisk.o gdisk.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o gpttext.o gpttext.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o cgdisk.o cgdisk.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o gptcurses.o gptcurses.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o sgdisk.o sgdisk.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -c -o gptcl.o gptcl.cc g++ -Os -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -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 -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 -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 -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 -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.IHAhah. 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.IHAhah. 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.IHAhah. 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 -> AsKKbgSm) 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.IHAhah. 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.IHAhah. 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.IHAhah. 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 AC74920E-321A-41E3-A355-AD335CDF494A 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.IHAhah. 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.IHAhah. 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 -> AsKKbgSm) 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.IHAhah. 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-r2.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-r2.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-r2.apk >>> gptfdisk: Build complete at Tue, 25 Oct 2022 17:17:18 +0000 elapsed time 0h 0m 21s >>> gptfdisk: Cleaning up srcdir >>> gptfdisk: Cleaning up pkgdir >>> gptfdisk: Uninstalling dependencies... (1/14) Purging .makedepends-gptfdisk (20221025.171658) (2/14) Purging ncurses-dev (6.3_p20221008-r0) (3/14) Purging e2fsprogs-dev (1.46.5-r3) (4/14) Purging util-linux-dev (2.38.1-r0) (5/14) Purging libfdisk (2.38.1-r0) (6/14) Purging libmount (2.38.1-r0) (7/14) Purging libsmartcols (2.38.1-r0) (8/14) Purging libuuid (2.38.1-r0) (9/14) Purging gawk (5.1.1-r1) (10/14) Purging e2fsprogs-libs (1.46.5-r3) (11/14) Purging libcom_err (1.46.5-r3) (12/14) Purging popt-dev (1.19-r0) (13/14) Purging linux-headers (5.19.5-r0) (14/14) Purging libblkid (2.38.1-r0) Executing busybox-1.35.0-r27.trigger OK: 268 MiB in 92 packages >>> gptfdisk: Updating the main/aarch64 repository index... >>> gptfdisk: Signing the index...