Hi Jakub, Jakub Wilk <jw...@debian.org> (09/05/2011): > * Jakub Wilk <jw...@debian.org>, 2011-05-09, 03:17: > >So hopefully it should be a matter of fixing 44_nlist_kvm.patch. > > ...And indeed, with the updated 44_nlist_kvm.patch, I could > successfully rebuild the package.
thanks, I just uploaded a fixed package (also adding libbsd-dev to B-D). Debdiff attached. Mraw, KiBi.
diff -Nru net-snmp-5.4.3~dfsg/debian/changelog net-snmp-5.4.3~dfsg/debian/changelog --- net-snmp-5.4.3~dfsg/debian/changelog 2011-05-07 12:22:54.000000000 +0200 +++ net-snmp-5.4.3~dfsg/debian/changelog 2011-05-09 11:19:06.000000000 +0200 @@ -1,3 +1,12 @@ +net-snmp (5.4.3~dfsg-2.2) unstable; urgency=high + + * Non-maintainer upload. + * Fix FTBFS on kfreebsd-* by updating 44_nlist_kvm.patch to detect nlist + (in libbsd), thanks to Jakub Wilk (Closes: #625985). + * Add build-dependency on libbsd-dev on kfreebsd-* accordingly. + + -- Cyril Brulebois <k...@debian.org> Mon, 09 May 2011 11:12:31 +0200 + net-snmp (5.4.3~dfsg-2.1) unstable; urgency=high [ Julien Cristau ] diff -Nru net-snmp-5.4.3~dfsg/debian/control net-snmp-5.4.3~dfsg/debian/control --- net-snmp-5.4.3~dfsg/debian/control 2011-01-05 13:12:03.000000000 +0100 +++ net-snmp-5.4.3~dfsg/debian/control 2011-05-09 11:19:06.000000000 +0200 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Net-SNMP Packaging Team <pkg-net-snmp-de...@lists.alioth.debian.org> Uploaders: Jochen Friedrich <joc...@scram.de>, Thomas Anders <tand...@users.sourceforge.net>, Noah Meyerhans <no...@debian.org> -Build-Depends: debhelper (>= 7.0.50~), libtool, libwrap0-dev, libssl-dev (>> 0.9.8), perl (>=5.8), libperl-dev, python-all-dev (>= 2.5.4-1~), python-central (>=0.5.6), python (>=2.3.5-7), python-setuptools (>=0.6b3), autoconf, automake1.9, autotools-dev, debianutils (>=1.13.1), bash (>=2.05), findutils (>=4.1.20), procps, libkvm-dev [kfreebsd-i386 kfreebsd-amd64], libsensors4-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64] +Build-Depends: debhelper (>= 7.0.50~), libtool, libwrap0-dev, libssl-dev (>> 0.9.8), perl (>=5.8), libperl-dev, python-all-dev (>= 2.5.4-1~), python-central (>=0.5.6), python (>=2.3.5-7), python-setuptools (>=0.6b3), autoconf, automake1.9, autotools-dev, debianutils (>=1.13.1), bash (>=2.05), findutils (>=4.1.20), procps, libbsd-dev [kfreebsd-i386 kfreebsd-amd64], libkvm-dev [kfreebsd-i386 kfreebsd-amd64], libsensors4-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64] Standards-Version: 3.8.4 Vcs-Svn: svn://svn.debian.org/pkg-net-snmp/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-net-snmp/ diff -Nru net-snmp-5.4.3~dfsg/debian/patches/44_nlist_kvm.patch net-snmp-5.4.3~dfsg/debian/patches/44_nlist_kvm.patch --- net-snmp-5.4.3~dfsg/debian/patches/44_nlist_kvm.patch 2011-01-05 13:12:04.000000000 +0100 +++ net-snmp-5.4.3~dfsg/debian/patches/44_nlist_kvm.patch 2011-05-09 11:19:11.000000000 +0200 @@ -1,12 +1,12 @@ ---- net-snmp-5.4.1~dfsg.orig/configure.in -+++ net-snmp-5.4.1~dfsg/configure.in -@@ -2854,6 +2854,9 @@ - AC_CHECK_FUNC(kvm_getswapinfo, AC_DEFINE(HAVE_KVM_GETSWAPINFO, 1, [Define to 1 if you have the `kvm_getswapinfo' function.]), - AC_CHECK_LIB(kvm, kvm_getswapinfo, AC_DEFINE(HAVE_KVM_GETSWAPINFO, 1, [Define to 1 if you have the `kvm_getswapinfo' function.]) - _libkvm="-lkvm")) -+AC_CHECK_FUNC(nlist, AC_DEFINE(HAVE_NLIST, 1, [Define to 1 if you have the `nlist' function.]), -+ AC_CHECK_LIB(kvm, nlist, AC_DEFINE(HAVE_NLIST, 1, [Define to 1 if you have the `nlist' function.]) -+ _libkvm="-lkvm")) - if test "x${_libkvm}" != "x"; then - AC_DEFINE(HAVE_LIBKVM, 1, [Define to 1 if you have the `kvm' library (-lkvm).]) - LAGENTLIBS="$LAGENTLIBS ${_libkvm}" +--- net-snmp-5.4.3~dfsg.orig/configure.in ++++ net-snmp-5.4.3~dfsg/configure.in +@@ -2890,6 +2890,9 @@ + AC_DEFINE(HAVE_LIBKVM, 1, [Define to 1 if you have the `kvm' library (-lkvm).]) + LAGENTLIBS="$LAGENTLIBS ${_libkvm}" + fi ++AC_CHECK_FUNC(nlist, AC_DEFINE(HAVE_NLIST, 1, [Define to 1 if you have the `nlist' function.]), ++ AC_CHECK_LIB(bsd, nlist, AC_DEFINE(HAVE_NLIST, 1, [Define to 1 if you have the `nlist' function.]) ++ LAGENTLIBS="$LAGENTLIBS bsd")) + + # DYNAMIC MODULE SUPPORT + AC_CHECK_FUNC(dlopen, AC_DEFINE(HAVE_DLOPEN, 1, [Define to 1 if you have the `dlopen' function.]),
signature.asc
Description: Digital signature