Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44888 - [[ Headers ]] dosfstools fails to compile on linux 2.6
Summary: [[ Headers ]] dosfstools fails to compile on linux 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 12:58 UTC by Mathy Vanvoorden
Modified: 2004-03-24 16:03 UTC (History)
1 user (show)

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


Attachments
Proposed patch (dosfstools.patch,452 bytes, patch)
2004-03-16 12:58 UTC, Mathy Vanvoorden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathy Vanvoorden 2004-03-16 12:58:27 UTC
dosfstools fails to compile when using 2.6 headers. The name of a constant changed somewhere during development. Patch is attached, on http://forums.gentoo.org/viewtopic.php?t=146970&highlight=dosfstools there's another proposed patch.
Comment 1 Mathy Vanvoorden 2004-03-16 12:58:55 UTC
Created attachment 27493 [details, diff]
Proposed patch
Comment 2 Jeff 2004-03-18 15:03:08 UTC
I'll second this:
root@NexGen jeff # emerge dosfstools
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/dosfstools-2.10 to /
>>> md5 src_uri ;-) dosfstools-2.10.src.tar.gz
>>> Unpacking source...
>>> Unpacking dosfstools-2.10.src.tar.gz to /var/tmp/portage/dosfstools-2.10/wor
k
 * Applying errno.patch...                                                [ ok ]
>>> Source unpacked.
make -C mkdosfs all
make[1]: Entering directory `/var/tmp/portage/dosfstools-2.10/work/dosfstools-2.
10/mkdosfs'
gcc -O2 -fomit-frame-pointer -Wall  -c mkdosfs.c -o mkdosfs.o
gcc  mkdosfs.o -o mkdosfs
make[1]: Leaving directory `/var/tmp/portage/dosfstools-2.10/work/dosfstools-2.1
0/mkdosfs'
make -C dosfsck all
make[1]: Entering directory `/var/tmp/portage/dosfstools-2.10/work/dosfstools-2.
10/dosfsck'
gcc -c -O2 -fomit-frame-pointer -Wall  boot.c
boot.c: In function `read_boot':
boot.c:327: error: `MSDOS_FAT12' undeclared (first use in this function)
boot.c:327: error: (Each undeclared identifier is reported only once
boot.c:327: error: for each function it appears in.)
make[1]: *** [boot.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dosfstools-2.10/work/dosfstools-2.1
0/dosfsck'
make: *** [all] Error 2

!!! ERROR: sys-fs/dosfstools-2.10 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)

2.6.4 headers
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-03-24 16:03:36 UTC
Fixed in CVS; it should reach the Portage rsync servers within an hour. Thanks!