Your message dated Sat, 01 Jun 2013 12:03:18 +0000
with message-id <[email protected]>
and subject line Bug#709055: fixed in netmrg 0.20-6.2
has caused the Debian Bug report #709055,
regarding netmrg: FTBFS with multiarch net-snmp
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
709055: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709055
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netmrg
Version: 0.20-6.1
Severity: serious
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch saucy

netmrg fails to build with the multiarch net-snmp in unstable, as
follows:

  configure: error: Cannot find SNMP libraries.  Use --with-snmp-lib-dir= to 
specify non-default path.
  make: *** [config.status] Error 1

configure is really being far too controlling here; this problem goes
away if configure scripts are prepared to admit that the system linker
might have a clue where to find system libraries.  However, here's a
patch to work around this brain damage for now.

  * Work around configure wanting to know too much detail about where a
    system libsnmp.so is installed rather than trusting the linker.

diff -u netmrg-0.20/debian/rules netmrg-0.20/debian/rules
--- netmrg-0.20/debian/rules
+++ netmrg-0.20/debian/rules
@@ -11,6 +11,7 @@
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 
 CFLAGS = -Wall -g
@@ -24,10 +25,16 @@
        INSTALL_PROGRAM += -s
 endif
 
+ifneq (,$(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/libsnmp.so))
+       confflags := --with-snmp-lib-dir=/usr/lib/$(DEB_HOST_MULTIARCH)
+else
+       confflags :=
+endif
+
 config.status: configure
        dh_testdir
        # Add here commands to configure the package.
-       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info --sysconfdir=/etc/netmrg --localstatedir=/var 
--libexecdir=/usr/lib
+       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info --sysconfdir=/etc/netmrg --localstatedir=/var 
--libexecdir=/usr/lib $(confflags)
 
 
 build: build-stamp

Thanks,

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Source: netmrg
Source-Version: 0.20-6.2

We believe that the bug you reported is fixed in the latest version of
netmrg, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated netmrg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 30 May 2013 13:38:37 +0200
Source: netmrg
Binary: netmrg
Architecture: source amd64
Version: 0.20-6.2
Distribution: unstable
Urgency: low
Maintainer: Uwe Steinmann <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description: 
 netmrg     - network monitoring tool
Closes: 709055
Changes: 
 netmrg (0.20-6.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix "FTBFS with multiarch net-snmp":
     apply patch from Ubuntu / Colin Watson:
 .
   - Work around configure wanting to know too much detail about where a
     system libsnmp.so is installed rather than trusting the linker.
 .
     (Closes: #709055)
 .
   * Add build-dependency on docbook-xml, otherwise xsltproc tries to download
     the dtd from the net.
Checksums-Sha1: 
 a7e5155d482e94402d1c542851294e3cbf2f079d 1733 netmrg_0.20-6.2.dsc
 141682dba7b2cf1ff4a339431ecf5edc0a5239f9 50989 netmrg_0.20-6.2.diff.gz
 db45c0026d1ed9b1c18dbffe51b2007d59f00eb8 406242 netmrg_0.20-6.2_amd64.deb
Checksums-Sha256: 
 ca010ce8b62210389dbeb4623f523f436f579d2e25e470e447ce13ac99400889 1733 
netmrg_0.20-6.2.dsc
 340f2738fcb431950f76cfa83efc9b5b22c6435ea1a01d38f8d8eb52bc2eeaa0 50989 
netmrg_0.20-6.2.diff.gz
 016c8c3fdceb91e6e458ec0c3cdde67922142aa01453e9cf9f564f76278ea2a0 406242 
netmrg_0.20-6.2_amd64.deb
Files: 
 266f39252decee253972eacd1cea65ad 1733 net optional netmrg_0.20-6.2.dsc
 2e8fa7e030bf96cc324c6d9773fce654 50989 net optional netmrg_0.20-6.2.diff.gz
 816863f0abedae2286e5986c87a11b3f 406242 net optional netmrg_0.20-6.2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRpzp5AAoJELs6aAGGSaoGKdoP/1i07Yx5WzKOB51jZP8j5fo3
ljFZDPtrVJCEMcPS3BX4PPRRnqD3hP2wTOeSn+eVy5M+mdmDoP5EVvrIj1G4t1D4
zyyw641XA+powALKRwHISryIaxx5aBupcXaapHDfnytJUTeN66cWBd+vzjBnFBUy
z6HF1rcySVwz3SE6NOmJuHQQ+k5LvpnWENXsmUZciLu+w3S7TD+pshIZkydEWIWw
8DrfTyDzcISVyKRP4Ytiu2H+h9O0CEIkG6xF//MpjphOL09RZDCQMchDcqIRH+jW
nSMfnRdEZkulumvVovckaAFFtj3S6cDozHJGuLtHwDK+svCXKVXFEmrhvaXmKDdw
d4eBYzio1TBz7J/T3eRKdUuG4LDfcZVCCMcSP47R7gpnqrEjBohIUN8RAiJ2VJrq
uFqBngtvqSWeus6/EBVFUFekF0i6U2s9AlfInqaAq8zhudklGj5IPcmnccgyWfre
bUxJqBtMMJBvz3ETKqpB0HPWTMwL+QMwo114xCLSfCeWdzcOoMot58U1jXEcJq+4
xr8YkxPC2MU7r7Ss7O1GfhdxaG8J4ym/I42+hV0GRGkLtdI4C2ZSMbYbsN4V/p5x
8XcH0VsiOK55Sr2K9dvC1/+eeHBGss79Aeb0AVboNpJj4Ydy6cJmAYm859HoDMtr
vepZxzXlcNNwOT5xVNdw
=d0Vd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to