FS#8017 - gzip failed to build with new glibc
Attached to Project:
Arch Linux
Opened by Val L. (onestep_ua) - Friday, 14 September 2007, 12:24 GMT
Last edited by Alexander Baldeck (kth5) - Tuesday, 18 September 2007, 16:04 GMT
Opened by Val L. (onestep_ua) - Friday, 14 September 2007, 12:24 GMT
Last edited by Alexander Baldeck (kth5) - Tuesday, 18 September 2007, 16:04 GMT
|
Details
Description:
Declaration of gzip's futimens() function conflicts with glibc's. Additional info: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -march=nocona -O2 -pipe -MT utimens.o -MD -MP -MF .deps/utimens.Tpo -c -o utimens.o utimens.c In file included from ./sys/stat.h:27, from ./fcntl.h:26, from utimens.c:29: ///usr/include/sys/stat.h:370: error: conflicting types for 'futimens' utimens.h:2: error: previous declaration of 'futimens' was here ///usr/include/sys/stat.h:452: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:452: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute ///usr/include/sys/stat.h:459: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:466: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:474: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:482: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:491: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:501: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:508: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:515: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:523: warning: C99 inline functions are not supported; using GNU89 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[2]: *** [utimens.o] Error 1 make[2]: Leaving directory `/var/abs/local/gzip/src/gzip-1.3.12/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/abs/local/gzip/src/gzip-1.3.12/lib' make: *** [all-recursive] Error 1 ==> ERROR: Build Failed. Aborting... Steps to reproduce: install new glibc cd /path/to/gzip && makepkg -bic Patch attached |
This task depends upon
Closed by Alexander Baldeck (kth5)
Tuesday, 18 September 2007, 16:04 GMT
Reason for closing: Fixed
Additional comments about closing: patched in -3
Tuesday, 18 September 2007, 16:04 GMT
Reason for closing: Fixed
Additional comments about closing: patched in -3