Created attachment 599132 [details] preprocessed Monitor.i Description of problem: gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DUSE_PTHREADS -c -o Kill.o Kill.c Monitor.c: In function 'WaitClean': Monitor.c:1080:4: error: signed and unsigned type in conditional expression [-Werror=sign-compare] Monitor.c:1080:4: error: signed and unsigned type in conditional expression [-Werror=sign-compare] cc1: all warnings being treated as errors make: *** [Monitor.o] Error 1 There was a recent change in the glibc headers that exposed incompatible macros between kernel-headers and glibc-headers (bugzilla 837641 and bugzilla 840902). It looks like packages need to make sure to include <linux/types.h> before all other headers to make sure the correct macros get used. Version-Release number of selected component (if applicable): mdadm-3.2.5-3.fc18 How reproducible: always Steps to Reproduce: 1.ppc-koji build --scratch f18 mdadm-3.2.5-3.fc18.src.rpm) 2. 3. Actual results: http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=89511 Expected results: Additional info:
Reading through https://bugzilla.redhat.com/show_bug.cgi?id=837641 it is obvious that this is *not* a problem in mdadm, but rather a problem with kernel-headers on PPC. In particular comments #10 and #30 Trying to fix this by adding a hack to mdadm is just broken and plain wrong! Please fix the kernel-headers package for PPC! Jes
*** This bug has been marked as a duplicate of bug 837641 ***