Package: freetds Version: 0.91-2 Severity: serious Tags: patch Justification: fails to build from source (but built successfully in the past) User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu raring ubuntu-patch
Dear Maintainer, During a test rebuild of all packages in Ubuntu, it was found that freetds failed to build from source because it did not explicitly link against libgcrypt. In Ubuntu, the attached patch was applied to achieve the following: * debian/rules: Add -lgcrypt to LDFLAGS to fix underlinking FTBFS. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers raring-updates APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring'), (100, 'raring-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8.0-15-generic (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/rules' --- debian/rules 2011-11-14 21:20:25 +0000 +++ debian/rules 2013-04-03 02:12:54 +0000 @@ -1,6 +1,7 @@ #!/usr/bin/make -f export DEB_CFLAGS_MAINT_APPEND = -Wall -DDBLIB_UNIMPLEMENTED=1 +export DEB_LDFLAGS_MAINT_APPEND = -lgcrypt DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)