>>> gptfdisk: Building main/gptfdisk 1.0.9-r2 (using abuild 3.9.0-r0) started Thu, 07 Jul 2022 09:10:35 +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_p20220521-r0) (2/14) Installing libblkid (2.38-r1) (3/14) Installing libuuid (2.38-r1) (4/14) Installing libfdisk (2.38-r1) (5/14) Installing libmount (2.38-r1) (6/14) Installing libsmartcols (2.38-r1) (7/14) Installing util-linux-dev (2.38-r1) (8/14) Installing gawk (5.1.1-r0) (9/14) Installing libcom_err (1.46.5-r0) (10/14) Installing e2fsprogs-libs (1.46.5-r0) (11/14) Installing e2fsprogs-dev (1.46.5-r0) (12/14) Installing popt-dev (1.18-r0) (13/14) Installing linux-headers (5.16.7-r1) (14/14) Installing .makedepends-gptfdisk (20220707.091035) Executing busybox-1.35.0-r14.trigger OK: 310 MiB in 103 packages >>> gptfdisk: Cleaning up srcdir >>> gptfdisk: Cleaning up pkgdir >>> gptfdisk: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/gptfdisk-1.0.9.tar.gz >>> gptfdisk: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/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.16/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 -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o crc32.o crc32.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o support.o support.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o guid.o guid.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o gptpart.o gptpart.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o mbrpart.o mbrpart.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o basicmbr.o basicmbr.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o mbr.o mbr.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o gpt.o gpt.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o bsd.o bsd.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o parttypes.o parttypes.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o attributes.o attributes.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o diskio.o diskio.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o diskio-unix.o diskio-unix.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o gdisk.o gdisk.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o gpttext.o gpttext.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o cgdisk.o cgdisk.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o gptcurses.o gptcurses.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o sgdisk.o sgdisk.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o gptcl.o gptcl.cc g++ -Os -fomit-frame-pointer -O2 -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o fixparts.o fixparts.cc 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.nBghcK. 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.nBghcK. 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.nBghcK. 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 -> LPTgcPIr) 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.nBghcK. 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.nBghcK. 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.nBghcK. 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 B7A2B69A-B91D-4FCD-95C7-E41E5CE8ECC3 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.nBghcK. 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.nBghcK. 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 -> LPTgcPIr) 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.nBghcK. 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-armhf.so.1 so:libgcc_s.so.1 so:libncursesw.so.6 so:libstdc++.so.6 so:libuuid.so.1 >>> gptfdisk*: Package size: 388.0 KB >>> gptfdisk*: Compressing data... >>> gptfdisk*: Create checksum... >>> gptfdisk*: Create gptfdisk-1.0.9-r2.apk >>> sgdisk*: Tracing dependencies... so:libc.musl-armhf.so.1 so:libgcc_s.so.1 so:libpopt.so.0 so:libstdc++.so.6 so:libuuid.so.1 >>> sgdisk*: Package size: 168.0 KB >>> sgdisk*: Compressing data... >>> sgdisk*: Create checksum... >>> sgdisk*: Create sgdisk-1.0.9-r2.apk >>> gptfdisk: Build complete at Thu, 07 Jul 2022 09:10:56 +0000 elapsed time 0h 0m 21s >>> gptfdisk: Cleaning up srcdir >>> gptfdisk: Cleaning up pkgdir >>> gptfdisk: Uninstalling dependencies... (1/14) Purging .makedepends-gptfdisk (20220707.091035) (2/14) Purging ncurses-dev (6.3_p20220521-r0) (3/14) Purging e2fsprogs-dev (1.46.5-r0) (4/14) Purging util-linux-dev (2.38-r1) (5/14) Purging libfdisk (2.38-r1) (6/14) Purging libmount (2.38-r1) (7/14) Purging libsmartcols (2.38-r1) (8/14) Purging libuuid (2.38-r1) (9/14) Purging gawk (5.1.1-r0) (10/14) Purging e2fsprogs-libs (1.46.5-r0) (11/14) Purging libcom_err (1.46.5-r0) (12/14) Purging popt-dev (1.18-r0) (13/14) Purging linux-headers (5.16.7-r1) (14/14) Purging libblkid (2.38-r1) Executing busybox-1.35.0-r14.trigger OK: 297 MiB in 89 packages >>> gptfdisk: Updating the main/armhf repository index... >>> gptfdisk: Signing the index...