See the kdebase log on s390, at: http://buildd.debian.org/fetch.php?&pkg=kdebase&ver=4%3A3.1.5-2&arch=s390&stamp=1076056706&file=log&as=raw :
This looks like a glibc/linux-kernel-headers bug, since the problems are coming from sys/user.h, which is a perfectly legitimate header to include. I don't *think* it's been reported yet. I'm sending the message to this list in the hopes that the Qt/KDE maintainers can analyze this better than I can and file the glibc/linux-kernel-headers bug if necessary. :-) I notice the following: Toolchain package versions: libc6-dev_2.3.2.ds1-11 ... Unfortunately, the linux-kernel-headers version isn't listed in the toolchain package versions line. (I'd file a wishlist bug -- but against what package?) >From the log: Making all in Linux make[5]: Entering directory `/build/buildd/kdebase-3.1.5/obj-s390-linux/ksysguard/ksysguardd/Linux' if gcc -DHAVE_CONFIG_H -I. -I../../../../ksysguard/ksysguardd/Linux -I../../.. -I../../../../ksysguard/ksysguardd/Linux/../../CContLib -I../../../../ksysguard/ksysguardd/Linux/.. -D_GNU_SOURCE -DQT_THREAD_SUPPORT -D_REENTRANT -Wall -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -D_GNU_SOURCE -MT ProcessList.o -MD -MP -MF ".deps/ProcessList.Tpo" \ -c -o ProcessList.o `test -f '../../../../ksysguard/ksysguardd/Linux/ProcessList.c' || echo '../../../../ksysguard/ksysguardd/Linux/'`../../../../ksysguard/ksysguardd/Linux/ProcessList.c; \ then mv -f ".deps/ProcessList.Tpo" ".deps/ProcessList.Po"; \ else rm -f ".deps/ProcessList.Tpo"; exit 1; \ fi In file included from /usr/include/linux/ptrace.h:49, from /usr/include/asm/user.h:13, from /usr/include/sys/user.h:22, from ../../../../ksysguard/ksysguardd/Linux/ProcessList.c:29: /usr/include/asm/ptrace.h:193: error: syntax error before "__u64" /usr/include/asm/ptrace.h:199: error: syntax error before '}' token /usr/include/asm/ptrace.h:199: error: ISO C forbids data definition with no type or storage class /usr/include/asm/ptrace.h:204: error: syntax error before "freg_t" /usr/include/asm/ptrace.h:205: error: ISO C forbids data definition with no type or storage class /usr/include/asm/ptrace.h:448: error: syntax error before "s390_fp_regs" /usr/include/asm/ptrace.h:457: error: syntax error before '}' token In file included from /usr/include/sys/user.h:22, from ../../../../ksysguard/ksysguardd/Linux/ProcessList.c:29: /usr/include/asm/user.h:55: error: field `regs' has incomplete type make[5]: *** [ProcessList.o] Error 1 make[5]: Leaving directory `/build/buildd/kdebase-3.1.5/obj-s390-linux/ksysguard/ksysguardd/Linux' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/build/buildd/kdebase-3.1.5/obj-s390-linux/ksysguard/ksysguardd' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/build/buildd/kdebase-3.1.5/obj-s390-linux/ksysguard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/buildd/kdebase-3.1.5/obj-s390-linux' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/buildd/kdebase-3.1.5/obj-s390-linux' make: *** [build-arch-stamp] Error 2 -- Nathanael Nerode <neroden at gcc.gnu.org> US citizens: if you're considering voting for Bush, look at these first: http://www.misleader.org/ http://www.cbc.ca/news/background/arar/ http://www.house.gov/reform/min/politicsandscience/