Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339432 - sys-apps/util-linux-2.18-r1 fails to compile with linux-headers-2.6.24 due to missing linux/falloc.h
Summary: sys-apps/util-linux-2.18-r1 fails to compile with linux-headers-2.6.24 due to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-02 07:36 UTC by Andrew Randrianasulu
Modified: 2010-10-03 20:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Randrianasulu 2010-10-02 07:36:42 UTC
due to missing linux/falloc.h

I'm upgrading from 2008.0

May be adding dependency on linux-headers >= 2.6.25 or better test for fallocate usability will help here?

I found one patch about exporting falloca.h on 2.6.24 (http://patchwork.openembedded.org/patch/3119/ ), but i guess this kernel just too old for gentoo users, and i think not many of them hit this bug, but on slow machine re-emerging stuff after dependency failure like this  still can be issue .. so, reporting here. Feel free to set as low priority.
Comment 1 Andrew Randrianasulu 2010-10-02 07:41:14 UTC
falloc.h , without "a". (typo)
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-10-02 12:15:26 UTC
Attach build.log of the failure too, as well as emerge --info
Comment 3 Andrew Randrianasulu 2010-10-03 07:24:05 UTC
(In reply to comment #2)
> Attach build.log of the failure too, as well as emerge --info
> 

Ops. Failure log was overwritten with successful installation (after i upgrade linux-headers). I'll try again with older snapshot of my system.
Comment 4 SpanKY gentoo-dev 2010-10-03 20:09:40 UTC
i looked into the source and found the issue.  sent a patch upstream and added to util-linux-2.18-r1.

http://sources.gentoo.org/sys-apps/util-linux/util-linux-2.18-r1.ebuild?r1=1.1&r2=1.2
http://sources.gentoo.org/sys-apps/util-linux/files/util-linux-2.18-falloc.patch?rev=1.1