[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#231972: lkh: /usr/include/linux/ptrace.h buggy



Package: linux-kernel-headers
Version: 2.5.999-test7-bk-15
Severity: serious

I saw in the s390 buildd attempt of kdebase 3.1.5-2 that if failed with
the error below. Notice the application is attempting to use
/usr/include/sys/user.h which is supposed to be safe to use... before
anyone says you aren't supposed to include kernel headers. ;)

Thanks,

Chris Cheney

BTW - The sbuild toolchain printout should probably also list the
linux-kernel-headers version, I noticed it was absent.


http://buildd.debian.org/fetch.php?&pkg=kdebase&ver=4%3A3.1.5-2&arch=s390&stamp=1076056706&file=log&as=raw


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


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.2-bk2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

-- no debconf information

Attachment: signature.asc
Description: Digital signature


Reply to: