libcap with header-fix.patch applied breaks building of applications that are using libcap or the detection of libcap presence, an example is cdrkit in both primary and s390x architectures. https://koji.fedoraproject.org/koji/taskinfo?taskID=1389393 https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=73154 The check fails with: ... Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o /usr/bin/gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -march=z9-109 -mtune=z10 -Wall -Werror -Wno-unused-function -Wno-unused-variable -fno-strict-aliasing -o CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o -c /builddir/build/BUILD/cdrkit-1.1.9/fedora/CMakeFiles/CMakeTmp/CheckIncludeFiles.c In file included from /usr/include/sys/capability.h:23, from /builddir/build/BUILD/cdrkit-1.1.9/fedora/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2: /usr/include/stdint.h:41: error: conflicting types for 'int64_t' /usr/include/linux/types.h:98: note: previous declaration of 'int64_t' was here /usr/include/stdint.h:56: error: conflicting types for 'uint64_t' /usr/include/linux/types.h:96: note: previous declaration of 'uint64_t' was here gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o] Error 1 gmake[1]: Leaving directory `/builddir/build/BUILD/cdrkit-1.1.9/fedora/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec/fast] Error 2 Source: /* */ #include <sys/capability.h> int main(){return 0;} After replacing <linux/types.h> back with <sys/types.h> in /usr/include/sys/capability.h this check is successful.
I've dropped the patch again.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Will this be build in koji soon?
libcap-2.16-4.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/libcap-2.16-4.fc11
libcap-2.16-4.fc11, libcap-2.16-4.fc11.1 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.