I'm going to keyword gpart -amd64 until it's tested and fixed to work with 64-bit systems. In those, it does not run at all: flame@enterprise ~ $ gpart -g /dev/loop0 *** Fatal error: dev(/dev/loop0): seek failure. while the 32-bit compiler version seems to work. The problem might be due to the way it's defining its own lseek 64-bit function. Unfortunately neither GCC 4.0 nor 4.1 seems to bail out while building it so the bug is non-trivial.
alright
I have copied some patches from Debian to have gpart running on my amd64 arch.
Created attachment 210652 [details, diff] gpart-0.1h-r1.ebuild.patch The patch for the current ebuild
Created attachment 210654 [details, diff] gpart-0.1h-l64seek.patch The patch which solves the current bug.
Created attachment 210655 [details, diff] gpart-0.1h-openmode.patch This patch solves a compilation issue
Created attachment 210657 [details, diff] gpart-0.1h-ext3.patch This patch should introduce ext3 support (looking at Debian changelog) but it doesn't work properly with my disk :-(
Please open a new bug, don't abuse your editbugs to reopen a three years old bug.