Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120741 - sys-block/gpart: -amd64 keywording
Summary: sys-block/gpart: -amd64 keywording
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-28 09:24 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-11-19 23:23 UTC (History)
3 users (show)

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


Attachments
gpart-0.1h-r1.ebuild.patch (diff,806 bytes, patch)
2009-11-19 22:44 UTC, Fabio Rossi
Details | Diff
gpart-0.1h-l64seek.patch (gpart-0.1h-l64seek.patch,1.32 KB, patch)
2009-11-19 22:45 UTC, Fabio Rossi
Details | Diff
gpart-0.1h-openmode.patch (gpart-0.1h-openmode.patch,404 bytes, patch)
2009-11-19 22:46 UTC, Fabio Rossi
Details | Diff
gpart-0.1h-ext3.patch (gpart-0.1h-ext3.patch,422 bytes, patch)
2009-11-19 22:47 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-28 09:24:53 UTC
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.
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-06-22 12:23:30 UTC
alright
Comment 2 Fabio Rossi 2009-11-19 22:43:30 UTC
I have copied some patches from Debian to have gpart running on my amd64 arch.
Comment 3 Fabio Rossi 2009-11-19 22:44:23 UTC
Created attachment 210652 [details, diff]
gpart-0.1h-r1.ebuild.patch

The patch for the current ebuild
Comment 4 Fabio Rossi 2009-11-19 22:45:45 UTC
Created attachment 210654 [details, diff]
gpart-0.1h-l64seek.patch

The patch which solves the current bug.
Comment 5 Fabio Rossi 2009-11-19 22:46:15 UTC
Created attachment 210655 [details, diff]
gpart-0.1h-openmode.patch

This patch solves a compilation issue
Comment 6 Fabio Rossi 2009-11-19 22:47:24 UTC
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 :-(
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-19 23:23:54 UTC
Please open a new bug, don't abuse your editbugs to reopen a three years old bug.