Bug 531

Summary: let e2fsprogs package to export headers to staging dir if needed
Product: buildroot Reporter: Daniele Salvatore Albano <d.albano>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: 2010.05   
Hardware: PC   
OS: Linux   
Host: Ubuntu 9.0.4 Server 32 Bit Target: i686
Build: i686
Bug Depends on:    
Bug Blocks: 529    
Attachments: Let e2fsprogs headers to be copied in staging dir if needed

Description Daniele Salvatore Albano 2009-08-02 14:58:38 UTC
Created attachment 563 [details]
Let e2fsprogs headers to be copied in staging dir if needed

Hi,

as, specificed in bug #529, e2fsprogs package actually doesn't copy headers into staging dir so util-linux doesn't compile complaining about missing blkid/blkid/.h

The attached patch add support exporting only headers to staging dir
Comment 1 Peter Korsgaard 2009-08-31 08:06:59 UTC
(In reply to comment #0)
> as, specificed in bug #529, e2fsprogs package actually doesn't copy headers
> into staging dir so util-linux doesn't compile complaining about missing
> blkid/blkid/.h
> 
> The attached patch add support exporting only headers to staging dir

What about the corresponding libraries like libklkid? There also needs to be a configuration setting to enable/disable this target.


Comment 2 Daniele Salvatore Albano 2009-08-31 08:15:21 UTC
This patch just add headers export to staging dir, not liblkid library support ... but yes, can be useful have the ability to put this library into the target.

I made this modification to fix compilation of util-linux, he need only the header, not the library (however i didn't tested the resulting binary because i'm having problem to get a working initrd for my rootfs)
Comment 3 Thomas Petazzoni 2010-07-19 07:16:23 UTC
Here util-linux builds just fine. Could you post a non-working .config ?
Comment 4 Thomas Petazzoni 2011-09-18 14:13:21 UTC
libblkid is now part of util-linux, and both e2fsprogs and util-linux have been reworked significantly since the bump of util-linux to 2.19.x. So, I strongly suspect that the bug no longer exists.