Red Hat Bugzilla – Bug 242321
rebuild of 6.9-2.fc7 fails with futimens error
Last modified: 2007-11-30 17:12:06 EST
Description of problem:
When trying to compile coreutils-6.9-2.fc7 from srpm the compilation fail with
In file included from utimecmp.c:34:
utimens.h:2: error: conflicting types for 'futimens'
///usr/include/sys/stat.h:370: error: previous declaration of 'futimens' was here
make: *** [utimecmp.o] Error 1
Version-Release numbers of selected component (if applicable):
Steps to Reproduce:
1. download srpm of coreutils-6.9-2.fc7, decompress it or checkout sources from cvs
2. try to build
rpmbuild crash with errors
rpmbuild should rebuild that package without problem
it's light rain here in Brno
Created attachment 156019 [details]
Created attachment 156020 [details]
The problem occur with glibc-2.6. Glibc now declares "futimens" and it
conflicts with "futimens" in gnulib. Upstream decided to rename it to
coreutils-6.9-3.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
coreutils-6.9-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.