Bug#529909: sipsak: Uses deprecated gnutls-config script to search for libgnutls(-extra/-openssl)
tags 529909 patch thanks On 2009-05-22 Andreas Metzler ametz...@downhill.at.eu.org wrote: Package: sipsak Version: 0.9.6-2 Severity: normal The package's ./configure script is trying to invoke libgnutls-config and/or libgnutls-extra-config to search for the gnutls library. [...] Please use another way to search for the gnutls library, e.g. pkg-config or AC_LIB_HAVE_LINKFLAGS or AC_CHECK_FUNCS. [...] Patch attached. (sans adding pkg-config to build-depends and rerunning autotools.) This package does not actually FTBFS with newer versions of gnutls. Instead it is simply not liked against gnutls. For sipsak I am not sure whether this good or bad, since I get this warning when building against old gnutls: dpkg-shlibdeps: warning: dependency on libgnutls.so.26 could be avoided if debian/sipsak/usr/bin/sipsak were not uselessly linked against it (they use none of its symbols). [...] I think it is ok, since sipsak is using the gnutls openssl wrapper. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#529909: sipsak: Uses deprecated gnutls-config script to search for libgnutls(-extra/-openssl)
On 2009-06-11 Andreas Metzler ametz...@downhill.at.eu.org wrote: Patch attached. (sans adding pkg-config to build-depends and rerunning autotools.) there it is. --- sipsak-0.9.6.orig/configure.ac +++ sipsak-0.9.6/configure.ac @@ -53,7 +53,7 @@ AC_CHECK_FUNCS([getchar gethostbyname gethostname getopt getpid gettimeofday memset ntohs regcomp select socket strchr strcmp strstr strtol uname],,[AC_MSG_ERROR([missing required function (see above)])]) AC_CHECK_FUNCS([calloc getdomainname getopt_long inet_ntop strncasecmp strcasestr]) -AM_PATH_SIPSAK_LIBGNUTLS([1.0.0], +PKG_CHECK_MODULES([LIBGNUTLS], [gnutls = 1.0.0], AC_DEFINE([HAVE_GNUTLS], [1], [Has gnutls]) LIBS=$LIBS $LIBGNUTLS_LIBS -lgnutls-openssl CFLAGS=$CFLAGS $LIBGNUTLS_CFLAGS
Bug#529909: sipsak: Uses deprecated gnutls-config script to search for libgnutls(-extra/-openssl)
Package: sipsak Version: 0.9.6-2 Severity: normal The package's ./configure script is trying to invoke libgnutls-config and/or libgnutls-extra-config to search for the gnutls library. Newer versions of gnutls do not ship these scripts anymore. The second release candidata of gnutls 2.8 (2.7.12) is available for testing in Debian/experimental. Please use another way to search for the gnutls library, e.g. pkg-config or AC_LIB_HAVE_LINKFLAGS or AC_CHECK_FUNCS. For packages that already use pkg-config to search for other libraries, pkg-config will probably be the simplest way. Debian's gnutls packages have shipped the necessary .pc files since version 0.3.5-1 (June 2006). This package does not actually FTBFS with newer versions of gnutls. Instead it is simply not liked against gnutls. For sipsak I am not sure whether this good or bad, since I get this warning when building against old gnutls: dpkg-shlibdeps: warning: dependency on libgnutls.so.26 could be avoided if debian/sipsak/usr/bin/sipsak were not uselessly linked against it (they use none of its symbols). In the current state sipsak could be accidentally built against OpenSSL on buildds with unclean chroots since ./configure starts searching for OpenSSL if it cannot find GnuTLS. cu andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org