Package: glibc Version: 2.7-11 Severity: serious Justification: FTBFS on arm
http://buildd.debian.org/fetch.cgi?pkg=glibc;ver=2.7-11;arch=arm;stamp=1210520966 gcc-4.3 ../ports/sysdeps/unix/sysv/linux/arm/ioperm.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fstrict-aliasing -g -pipe -Wstrict-prototypes -I../include -I/build/buildd/glibc-2.7/build-tree/arm-libc/misc -I/build/buildd/glibc-2.7/build-tree/arm-libc -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/fpu -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../nptl -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/arm-linux-gnu/4.3.1/include -isystem /usr/lib/gcc/arm-linux-gnu/4.3.1/include-fixed -isystem /build/buildd/glibc-2.7/debian/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /build/buildd/glibc-2.7/build-tree/arm-libc/misc/ioperm.o -MD -MP -MF /build/buildd/glibc-2.7/build-tree/arm-libc/misc/ioperm.o.dt -MT /build/buildd/glibc-2.7/build-tree/arm-libc/misc/ioperm.o ../ports/sysdeps/unix/sysv/linux/arm/ioperm.c:48:22: error: asm/page.h: No such file or directory ../ports/sysdeps/unix/sysv/linux/arm/ioperm.c: In function 'init_iosys': ../ports/sysdeps/unix/sysv/linux/arm/ioperm.c:108: warning: unused variable 'len' make[3]: *** [/build/buildd/glibc-2.7/build-tree/arm-libc/misc/ioperm.o] Error 1 make[3]: Leaving directory `/build/buildd/glibc-2.7/build-tree/glibc-2.7/misc' make[2]: *** [misc/subdir_lib] Error 2 make[2]: Leaving directory `/build/buildd/glibc-2.7/build-tree/glibc-2.7' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/buildd/glibc-2.7/build-tree/arm-libc' make: *** [/build/buildd/glibc-2.7/stamp-dir/build_libc] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 This bug has already been identified on the cross-gcc list: http://sourceware.org/ml/crossgcc/2008-05/msg00014.html Courtesy of Matthias Kaehlcke <matthias at kaehlcke dot net> ARM toolchains with glibc 2.7 don't build with crosstool-ng, due to an include that is no longer exported by the linux kernel. the following patch fixes this problem diff -urN crosstool-ng-1.1.0.orig/patches/glibc/ports-2.7/100-ARM.patch crosstool-ng-1.1.0/patches/glibc/ports-2.7/100-ARM.patch --- crosstool-ng-1.1.0.orig/patches/glibc/ports-2.7/100-ARM.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-ng-1.1.0/patches/glibc/ports-2.7/100-ARM.patch 2008-05-12 16:51:33.000000000 +0200 @@ -0,0 +1,10 @@ +--- glibc-2.7.orig/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-12 13:09:37.000000000 +0200 ++++ glibc-2.7/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-12 13:09:50.000000000 +0200 +@@ -45,7 +45,6 @@ + #include <sys/mman.h> + + #include <linux/version.h> +-#include <asm/page.h> + #include <sys/sysctl.h> + + #define PATH_ARM_SYSTYPE "/etc/arm_systype" -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]