Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31419 - e2fsprogs-1.33 failes to compile against 2.6 kernel headers
Summary: e2fsprogs-1.33 failes to compile against 2.6 kernel headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 31695
  Show dependency tree
 
Reported: 2003-10-18 09:16 UTC by Peter Gnodde
Modified: 2003-12-24 03:43 UTC (History)
2 users (show)

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


Attachments
e2fsprogs-1.33 ebuild with patch for missing define with 2.6 headers (e2fsprogs-1.33.ebuild.tar.gz,3.74 KB, application/x-gzip-compressed)
2003-10-18 09:16 UTC, Peter Gnodde
Details
fix undefined SCSI_DISK_MAJOR in e2fs-utils 1.33 (e2fsprogs-1.33-scsi-major-fix.patch,934 bytes, patch)
2003-10-21 00:33 UTC, Peter Gnodde
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gnodde 2003-10-18 09:16:13 UTC
Due to a missing #define SCSI_DISK_MAJOR in /usr/include/linux/major.h, e2fsprogs-1.33 will not compile. The attached version of this ebuild includes a patch for this problem (and will not cause problems when using 2.4 headers).
Comment 1 Peter Gnodde 2003-10-18 09:16:45 UTC
Created attachment 19405 [details]
e2fsprogs-1.33 ebuild with patch for missing define with 2.6 headers
Comment 2 David Nielsen 2003-10-19 08:54:47 UTC
version 1.34 also displays this problem, but the patch applies to this one
as well so no problem.
Comment 3 Brian Jackson (RETIRED) gentoo-dev 2003-10-20 10:28:04 UTC
Can you attach just the patch please?
Comment 4 Peter Gnodde 2003-10-21 00:33:49 UTC
Created attachment 19571 [details, diff]
fix undefined SCSI_DISK_MAJOR in e2fs-utils 1.33
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-12-21 07:57:10 UTC
how about 1.34 ?
Comment 6 Jyrki Muukkonen 2003-12-22 05:45:02 UTC
http://linuxfromscratch.org/pipermail/lfs-hackers/2003-October/000028.html seems to have a prettier patch for 1.34 (please read the whole thread).

The somewhat dynamic numbering doesn't really fit in that #ifndef scheme. And the #define is only used for a warning message while trying to make ext2fs on a whole disk instead of a single partition.
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2003-12-24 03:43:38 UTC
Fixed in CVS, thanks.