Subject: cpio: Cross building for linux fails due to macro redefinition Package: cpio Version: 2.11-4ubuntu1 Severity: important
The definitions of stat & lstat in src/filetypes.h conflict with the linux system definitions. Test case: Cross building for armel using xdeb in natty chroot - xdeb (0.6.4ubuntu1) (patched to pass -M to dpkg-cross) - arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.5.2-3ubuntu3) 4.5.2 -- System Information: Debian Release: squeeze/sid APT prefers maverick-updates APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-proposed'), (500, 'maverick-backports'), (500, 'maverick') Architecture: i386 (i686) Kernel: Linux 2.6.35-28-generic-pae (SMP w/4 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Versions of packages cpio depends on: ii dpkg 1.15.8.4ubuntu3.1 Debian package management system ii install-info 4.13a.dfsg.1-5ubuntu1 Manage installed documentation in ii libc6 2.12.1-0ubuntu10.3 Embedded GNU C Library: Shared lib cpio recommends no packages. cpio suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

