Package: rsync Version: 3.0.9-4 Severity: serious Tags: patch Justification: fails to build from source
On squeeze, I failed to compile rsync/unstable from source: dpkg-source -x rsync_3.0.9-4.dsc cd rsync-3.0.9 dpkg-buildpackage -rfakeroot -b [...] errors related to compiler not found.. but after a look at config.log it was because not expanding `dpkg-buildflags --get CFLAGS`. I traced that back to debian/rules, where for CFLAGS/LDFLAGS: CFLAGS += `dpkg-buildflags --get CFLAGS` LDFLAGS = `dpkg-buildflags --get LDFLAGS` while for CPPFLAGS: CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) The following patch for debian/rules solved the issue: -CFLAGS += `dpkg-buildflags --get CFLAGS` -LDFLAGS = `dpkg-buildflags --get LDFLAGS` +CFLAGS += $(shell dpkg-buildflags --get CFLAGS) +LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) Cheers, StalkR -- System Information: Debian Release: 6.0.6 APT prefers stable APT policy: (800, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages rsync depends on: ii base-files 6.0squeeze6 Debian base system miscellaneous f ii libacl1 2.2.49-4 Access control list shared library ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib ii libpopt0 1.16-1 lib for parsing cmdline parameters ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip Other: ii gcc 4:4.4.5-1 The GNU C compiler ii gcc-4.4 4.4.5-8 The GNU C compiler ii gcc-4.4-base 4.4.5-8 The GNU Compiler Colle -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org