Bug 537

Summary: gzip complains about existing function futimens from glibc
Product: buildroot Reporter: Daniele Salvatore Albano <d.albano>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Ubuntu 9.0.4 Server 32 Bit Target: i686
Build: i686

Description Daniele Salvatore Albano 2009-08-02 16:29:52 UTC
Hi,

gzip complains, while compiling, about an existing function called futimens

Here is the output:
/home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir//usr/include/sys/stat.h:370: error: conflicting types for 'futimens'
utimens.h:2: error: previous declaration of 'futimens' was here
mv -f .deps/open-safer.Tpo .deps/open-safer.Po
utimens.c: In function 'utimens':
utimens.c:188: warning: passing argument 2 of 'futimens' from incompatible pointer type
utimens.c:188: error: too many arguments to function 'futimens'
make[3]: *** [utimens.o] Error 1

On ubuntu launchpad i've discovered that newer glibc contains this function so it doesn't compile with newer glibc, here is the link to ubuntu launchpad.

https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/127206
Comment 1 Will Newton 2009-08-05 10:01:16 UTC
This bug should be fixed by this commit:

http://git.buildroot.net/buildroot/commit/?id=27c667c782d90c43fb6148134feb207307674019