Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230373 - sys-fs/diskdev_cmds-332.14 segfault under amd64
Summary: sys-fs/diskdev_cmds-332.14 segfault under amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Joe Jezak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 17:46 UTC by C.
Modified: 2008-12-10 23:35 UTC (History)
3 users (show)

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


Attachments
Fixes segfault and brings over some debian changes (diskdev_cmds-332.14-r1.patch.bz2,21.47 KB, text/plain)
2008-07-01 17:47 UTC, C.
Details
diskdev_cmds-332.14_p1.patch.bz2 (diskdev_cmds-332.14_p1.patch.bz2,21.47 KB, text/plain)
2008-12-10 23:14 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description C. 2008-07-01 17:46:26 UTC
sys-fs/diskdev_cmds-332.14 segfaults under x86_64.

UInt32 needs to be changed over to int to avoid a segfault and return -1.
Comment 1 C. 2008-07-01 17:47:44 UTC
Created attachment 159137 [details]
Fixes segfault and brings over some debian changes

The attached patch is a cumulative patch that includes changes from debian [1] and the trivial x86_64 segfault fix

[1] http://packages.debian.org/changelogs/pool/main/h/hfsprogs/hfsprogs_332.14-4/changelog
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-10 23:03:15 UTC
Now somebody can tell me _why on earth this is marked ~amd64_ ?

I'm going to try the patch myself, since I need this asap, and as I told Jose, if nobody has done work on the 4xx series I'd be glad to do that, using autotools though.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-10 23:14:12 UTC
Created attachment 174918 [details]
diskdev_cmds-332.14_p1.patch.bz2

This is basically the same patch renamed but with a fix for --as-needed and newfs_hfs.

I have a bumped ebuild locally, just need the OK and I'll commit it.

This time it works on amd64.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-10 23:35:42 UTC
_p1 committed, -r0 marked -amd64.

Have fun!