Package: honeyd Version: 1.5c-8 Followup-For: Bug #632484 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu oneiric ubuntu-patch
*** /tmp/tmpNjoEKf In Ubuntu, the attached patch was applied to achieve the following: [ Steve Langasek ] * configure.in: Fix wrong attempt to use dlsym() without linking against -ldl, which resulted in a build-time failure to detect support for RTLD_NEXT and ultimately leads to a build failure with multiarch due to wrong probing of libc.so. Closes: #632484, LP: #749247. This is Ubuntu bug: https://bugs.launchpad.net/ubuntu/oneiric/+source/honeyd/+bug/749247 After applying the patch, you will want to install autoconf and libtool, then run 'autoreconf -fi'. In the Ubuntu package I just did this and had it be part of the diff.gz, but I thought you may want to handle it differently. The patch also includes declaring the package as source format 1.0. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-11-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/dash
diff -u honeyd-1.5c/configure.in honeyd-1.5c/configure.in --- honeyd-1.5c/configure.in +++ honeyd-1.5c/configure.in @@ -680,6 +680,9 @@ HAVEMETHOD=no +dnl Better look at libdl if trying to use dlsym()... +LIBS="$LIBDL" + AC_MSG_CHECKING(if we can access libc without dlopen) AC_TRY_RUN( #include <dlfcn.h> @@ -702,9 +705,6 @@ if test "$HAVEMETHOD" = "no"; then - dnl Make sure we use libld if necessary -- CPK - LIBS="$LIBDL $LIBS" - dnl ugly, ugly hack LIBCGUESS=`echo /lib/libc.so.*` USRLIBCGUESS=`echo /usr/lib/libc.so*` --- honeyd-1.5c.orig/debian/source/format +++ honeyd-1.5c/debian/source/format @@ -0,0 +1 @@ +1.0