Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 339432

Summary: sys-apps/util-linux-2.18-r1 fails to compile with linux-headers-2.6.24 due to missing linux/falloc.h
Product: Gentoo Linux Reporter: Andrew Randrianasulu <randrik>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: siarhei.siamashka
Priority: High    
Version: unspecified   
Hardware: MIPS   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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