Your message dated Sat, 08 Oct 2005 11:17:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#332775: fixed in ntop 2:3.2rc1-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Oct 2005 14:33:43 +0000
>From [EMAIL PROTECTED] Sat Oct 08 07:33:43 2005
Return-path: <[EMAIL PROTECTED]>
Received: from asia.telenet-ops.be [195.130.137.74]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EOFlf-0001Ox-00; Sat, 08 Oct 2005 07:33:43 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])
by asia.telenet-ops.be (Postfix) with SMTP id 9C0FF38287
for <[EMAIL PROTECTED]>; Sat, 8 Oct 2005 16:33:42 +0200 (CEST)
Received: from Q.roeckx.be (dD5775F4A.access.telenet.be [213.119.95.74])
by asia.telenet-ops.be (Postfix) with ESMTP id 5379A381FA
for <[EMAIL PROTECTED]>; Sat, 8 Oct 2005 16:33:42 +0200 (CEST)
Received: by Q.roeckx.be (Postfix, from userid 501)
id 3622026136; Sat, 08 Oct 2005 16:33:42 +0200 (CEST)
Date: Sat, 8 Oct 2005 16:33:42 +0200
From: Kurt Roeckx <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: ntop: FTBFS: non-PIC code to make shared lib.
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62"
Content-Disposition: inline
User-Agent: Mutt/1.4.2.1i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: ntop
Version: 2:3.2rc1-2
Severity: serious
Tags: patch
Hi,
Your package is failing to build on some arches because
it's not using PIC code to generate a shared lib.
On alpha you get:
/usr/bin/ld: .libs/libxmldumpPlugin_la-xmldumpPlugin.o: !samegp reloc against
symbol without .prologue: dumpXML
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
On amd64:
/usr/bin/ld: .libs/libxmldumpPlugin_la-xmldumpPlugin.o: relocation
R_X86_64_PC32against `dumpXML' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
It is getting build with -DPIC and -fPIC, so it must be something else.
During build, it shows the following warning:
xmldumpPlugin.c:52:2: warning: #warning
xmldumpPlugin.c:53:2: warning: #warning Missing header files, disabling xmldump
plugin
xmldumpPlugin.c:54:2: warning: #warning
xmldumpPlugin.c:55:2: warning: #warning FOR MOST USERS THIS IS NOT A PROBLEM
xmldumpPlugin.c:56:2: warning: #warning ntop will build and run just fine...
xmldumpPlugin.c:57:2: warning: #warning
xmldumpPlugin.c:58:2: warning: #warning Why?
xmldumpPlugin.c:59:2: warning: #warning
xmldumpPlugin.c:61:2: warning: #warning glibconfig.h unavailable
xmldumpPlugin.c:64:2: warning: #warning glib.h unavailable
xmldumpPlugin.c:67:2: warning: #warning gdome.h unavailable
xmldumpPlugin.c:72:2: warning: #warning
xmldumpPlugin.c:73:2: warning: #warning =======================================
====================
xmldumpPlugin.c:74:2: warning: #warning
xmldumpPlugin.c:28: warning: 'dumpXML' used but never defined
During configure:
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking glibconfig.h usability... no
checking glibconfig.h presence... no
checking for glibconfig.h... no
checking gdome.h usability... no
checking gdome.h presence... no
checking for gdome.h... no
It seems to be using the following code in that case:
#ifndef MAKE_WITH_XMLDUMP
static int dumpXML(char * url) {
return(0);
}
#else
This problem seems to go away when using -O2, in which
case it's probably inlining it.
An other way to fix it would be not to call dumpXML() when
MAKE_WITH_XMLDUMP isn't defined. I've attached a patch
for it.
You could also just complete remove the dumpXML() in case
it's not defined.
Kurt
--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ntop-xmldump.diff"
--- xmldumpPlugin.c.old 2005-10-08 16:25:07.760558536 +0200
+++ xmldumpPlugin.c 2005-10-08 16:29:19.279226640 +0200
@@ -486,8 +486,10 @@
return;
}
+#ifdef MAKE_WITH_XMLDUMP
/* Process it */
dumpXML(url);
+#endif
#if defined(PARM_FORK_CHILD_PROCESS) && (!defined(WIN32))
if(myGlobals.childntoppid != 0)
--+QahgC5+KEYLbs62--
---------------------------------------
Received: (at 332775-close) by bugs.debian.org; 8 Oct 2005 18:18:06 +0000
>From [EMAIL PROTECTED] Sat Oct 08 11:18:06 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1EOJFq-0004VS-00; Sat, 08 Oct 2005 11:17:06 -0700
From: Ola Lundqvist <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#332775: fixed in ntop 2:3.2rc1-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 08 Oct 2005 11:17:06 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2
Source: ntop
Source-Version: 2:3.2rc1-3
We believe that the bug you reported is fixed in the latest version of
ntop, which is due to be installed in the Debian FTP archive:
ntop_3.2rc1-3.diff.gz
to pool/main/n/ntop/ntop_3.2rc1-3.diff.gz
ntop_3.2rc1-3.dsc
to pool/main/n/ntop/ntop_3.2rc1-3.dsc
ntop_3.2rc1-3_i386.deb
to pool/main/n/ntop/ntop_3.2rc1-3_i386.deb
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.
Ola Lundqvist <[EMAIL PROTECTED]> (supplier of updated ntop 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: SHA1
Format: 1.7
Date: Sat, 8 Oct 2005 19:05:18 +0200
Source: ntop
Binary: ntop
Architecture: source i386
Version: 2:3.2rc1-3
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[EMAIL PROTECTED]>
Changed-By: Ola Lundqvist <[EMAIL PROTECTED]>
Description:
ntop - display network usage in top-like format
Closes: 332581 332775
Changes:
ntop (2:3.2rc1-3) unstable; urgency=low
.
* Applied patch from Kurt Roeckx <[EMAIL PROTECTED]> to make ntop build
properly on some more architectures, closes: #332775.
* Added /etc/ntop/protocol.list to the init script, closes: #332581.
Files:
343bdca32d628d8005e5471baa3f6600 717 net optional ntop_3.2rc1-3.dsc
9c5ee8e3c5525147bcc962cfa76663b7 198619 net optional ntop_3.2rc1-3.diff.gz
17ce4ad0d0c00f06fb905a422ce0dcea 2723858 net optional ntop_3.2rc1-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDSA48GKGxzw/lPdkRAkdcAKCzAPT4Y9NErW9poIsucoonhMzwtwCfRsCD
8p5kE2n+/xSF/200as5ep0E=
=/x6k
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]