Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797412 - sys-apps/gptfdisk-1.0.7 - **FAILED** Create new partition
Summary: sys-apps/gptfdisk-1.0.7 - **FAILED** Create new partition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH, REGRESSION, TESTFAILURE
Depends on:
Blocks: 795207
  Show dependency tree
 
Reported: 2021-06-21 21:57 UTC by ernsteiswuerfel
Modified: 2021-07-10 17:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (gptfdisk-1.0.7:20210621-215329.log,7.64 KB, text/plain)
2021-06-21 21:57 UTC, ernsteiswuerfel
Details
emerge --info (file_797412.txt,5.79 KB, text/plain)
2021-06-21 21:57 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-06-21 21:57:00 UTC
Created attachment 717528 [details]
build.log

[...]
**SUCCESS** Create new empty GPT table

GPT fdisk (gdisk) version 1.0.7

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 = 131038) 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 /var/tmp/portage/sys-apps/gptfdisk-1.0.7/temp/tmp.oKPREs4qet.
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.
**FAILED** Create new partition
make: *** [Makefile:30: test] Error 1
 * ERROR: sys-apps/gptfdisk-1.0.7::gentoo failed (test phase):
 *   Make test failed. See above for details.
Comment 1 ernsteiswuerfel archtester 2021-06-21 21:57:43 UTC
Created attachment 717531 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-21 22:00:52 UTC
Regression or no?
Comment 3 ernsteiswuerfel archtester 2021-06-22 00:00:06 UTC
Checked it out. Yes it's an regression over gptfdisk-1.0.6-r1 which passes all tests. Same on ppc.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-22 00:26:22 UTC
(In reply to ernsteiswuerfel from comment #3)
> Checked it out. Yes it's an regression over gptfdisk-1.0.6-r1 which passes
> all tests. Same on ppc.

By any chance, is it fixed by https://sourceforge.net/p/gptfdisk/code/ci/fded770b55fdb3a201ad515d785c17ac35705652/tree/gptpart.cc?diff=2a15a246a1d416b17f1b958cc3a9e3e21ee5b839 ?
Comment 5 ernsteiswuerfel archtester 2021-06-22 00:40:11 UTC
(In reply to Sam James from comment #4)
> (In reply to ernsteiswuerfel from comment #3)
> > Checked it out. Yes it's an regression over gptfdisk-1.0.6-r1 which passes
> > all tests. Same on ppc.
> 
> By any chance, is it fixed by
> https://sourceforge.net/p/gptfdisk/code/ci/
> fded770b55fdb3a201ad515d785c17ac35705652/tree/gptpart.
> cc?diff=2a15a246a1d416b17f1b958cc3a9e3e21ee5b839 ?
Success! \o/
Yes it is.
Comment 6 Larry the Git Cow gentoo-dev 2021-07-05 12:20:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=020a3783272ae302333d167a3ce37dc4bdfcffec

commit 020a3783272ae302333d167a3ce37dc4bdfcffec
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-07-05 12:19:53 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-07-05 12:20:24 +0000

    sys-apps/gptfdisk: Added a patch to remove byteswap
    
    Closes: https://bugs.gentoo.org/797412
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/gptfdisk-1.0.7-remove_byteswap.patch     | 50 ++++++++++++++++++++++
 sys-apps/gptfdisk/gptfdisk-1.0.7.ebuild            |  4 ++
 2 files changed, 54 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2021-07-10 17:28:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c995103de83381960caab234441ea6060b14c54

commit 8c995103de83381960caab234441ea6060b14c54
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-10 16:58:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-10 17:28:38 +0000

    sys-apps/gptfdisk: revbump for big-endian patch
    
    Revbumping to ensure users don't hit any runtime problems on big-endian.
    
    See: 020a3783272ae302333d167a3ce37dc4bdfcffec
    Bug: https://bugs.gentoo.org/797412
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/gptfdisk/{gptfdisk-1.0.7.ebuild => gptfdisk-1.0.7-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)