Package: btrfs-tools Version: 0.19+20100601 Severity: serious Justification: no longer builds from source
I'm trying to backport btrfs-tools to lenny and I'm getting this error for btrfs-list.c and btrfs.c. Seems like adding #define _GNU_SOURCE to these files resolves the compile error. gcc -Wp,-MMD,./.btrfs-list.o.d,-MT,btrfs-list.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c btrfs-list.c cc1: warnings being treated as errors btrfs-list.c: In function ‘ino_resolve’: btrfs-list.c:512: error: implicit declaration of function ‘strndup’ btrfs-list.c:512: error: incompatible implicit declaration of built-in function ‘strndup’ make[2]: *** [btrfs-list.o] Error 1 make[2]: Leaving directory `/root/debian-unstable/btrfs-tools-0.19+20100601' make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory `/root/debian-unstable/btrfs-tools-0.19+20100601' make: *** [build] Error 2 -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-23-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org