Your message dated Sun, 21 Aug 2011 04:02:23 +0000
with message-id <[email protected]>
and subject line Bug#636389: fixed in ntop 3:4.1.0+dfsg1-1
has caused the Debian Bug report #636389,
regarding ntop: FTBFS(kfreebsd): needs __FAVOR_BSD also on other GLIBC targets
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.)
--
636389: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636389
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:ntop
Version: 3:4.0.3+dfsg1-3
Severity: important
Tags: patch
Justification: fails to build from source (but built successfully in the past)
Hi!
Your package failed to build on kfreebsd as the configure script checks
os but does not have a case for kfreebsd. Later in the build it fails as
the networking usees BSD 'struct tcphdr' (and similar for UDP)
definitions which require __FAVOR_BSD to be defined. I've fixed both
with
--- ntop-4.0.3+dfsg1.orig/configure.in
+++ ntop-4.0.3+dfsg1/configure.in
@@ -427,7 +427,7 @@ case "${target}:${CC}" in
echo "* This appears to be ${DEFINEOS} (MacOSX)"
;;
- *-*-freebsd*:* )
+ *-*-*freebsd*:* )
DEFINEOS="FREEBSD"
RELEASE=`utils/linuxrelease --release | sed -e 's/\.//' -e 's/-.*$//g'`
echo "* This appears to be ${DEFINEOS} ${RELEASE}"
--- ntop-4.0.3+dfsg1.orig/ntop.h
+++ ntop-4.0.3+dfsg1/ntop.h
@@ -80,7 +80,7 @@ ntop.h
#endif
#endif
-#ifdef LINUX
+#ifdef __GLIBC__
/*
* This allows to hide the (minimal) differences between linux and BSD
*/
@@ -114,7 +114,7 @@ ntop.h
#endif
#define _THREAD_SAFE
-#if defined(__linux__)
+#if defined(__GLIBC__)
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
which makes ntop build. Installing failed for me as (at least in default
debconf priority) ntop seems to assume eth0 to be present if it wasn't
installed previously and if there is no eth0 fails in postinst.
After adapting the config it installed fine and seems to work from some
quick checks.
I'm not totally sure setting kFreeBSD to FreeBSD in configure is the
best way depending on how much assumptions based on this switch consider
userland (glibc) and how much actually depend on the kernel but the
FreeBSD way works and these flags don't seem to be widely used anyway.
Regards
Christoph
If you have further questions please mail [email protected]
--
9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
--- End Message ---
--- Begin Message ---
Source: ntop
Source-Version: 3:4.1.0+dfsg1-1
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-data_4.1.0+dfsg1-1_all.deb
to main/n/ntop/ntop-data_4.1.0+dfsg1-1_all.deb
ntop_4.1.0+dfsg1-1.debian.tar.gz
to main/n/ntop/ntop_4.1.0+dfsg1-1.debian.tar.gz
ntop_4.1.0+dfsg1-1.dsc
to main/n/ntop/ntop_4.1.0+dfsg1-1.dsc
ntop_4.1.0+dfsg1-1_amd64.deb
to main/n/ntop/ntop_4.1.0+dfsg1-1_amd64.deb
ntop_4.1.0+dfsg1.orig.tar.gz
to main/n/ntop/ntop_4.1.0+dfsg1.orig.tar.gz
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.
Ludovico Cavedon <[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: SHA512
Format: 1.8
Date: Sat, 20 Aug 2011 20:14:58 -0700
Source: ntop
Binary: ntop ntop-data
Architecture: source amd64 all
Version: 3:4.1.0+dfsg1-1
Distribution: unstable
Urgency: low
Maintainer: Jordan Metzmeier <[email protected]>
Changed-By: Ludovico Cavedon <[email protected]>
Description:
ntop - display network usage in web browser
ntop-data - display network usage in a web browser (data files)
Closes: 520266 629113 636389
Changes:
ntop (3:4.1.0+dfsg1-1) unstable; urgency=low
.
* New upstream version (Closes: #520266, LP: #365145, LP: #777801).
* Add kfreebsd-ftbfs.patch by Christoph Egger to fix FTBS under kFreeBSD
(Closes: #636389).
* Update Brazilian debconf messages translation by Eder L. Marques
(Closes: #629113).
* Update po files.
Checksums-Sha1:
6f157d18ac0802c693a48f187ced77e221c6d5ac 2031 ntop_4.1.0+dfsg1-1.dsc
5782d314707eb8a53d8f7679e08272ac17f38d4f 2737286 ntop_4.1.0+dfsg1.orig.tar.gz
8577b00d3cfaa2a484667ab09ec3166de501f86a 46238 ntop_4.1.0+dfsg1-1.debian.tar.gz
a8f7e491929108293e87f9bfe58c113dba8f5f4b 665738 ntop_4.1.0+dfsg1-1_amd64.deb
19b82a0d8d104a7fd5575220dcf77066f1eb38a7 1104868
ntop-data_4.1.0+dfsg1-1_all.deb
Checksums-Sha256:
09b2c06431fa8e05f6ea99ed3d7dbc5645d7358ffe76958a4068ca4e28138e92 2031
ntop_4.1.0+dfsg1-1.dsc
091972fe64d99215646d484a2c005dae06e93b9e2395a0ddcc965c6edd753932 2737286
ntop_4.1.0+dfsg1.orig.tar.gz
1c78767ddb5201d2b486d896e1a18c05365f9463917a4c713d54a95c3c33789e 46238
ntop_4.1.0+dfsg1-1.debian.tar.gz
f7b434611ad1b9864e79175bff7cdf6752cea3d40cc7e2bd8836c793830897a9 665738
ntop_4.1.0+dfsg1-1_amd64.deb
fbf92bc59317302276ff3fb556371f866e2f0eba2dc75bbf8a50efe1d486c72c 1104868
ntop-data_4.1.0+dfsg1-1_all.deb
Files:
c9e18ff227ecd5864c13f8384b0b32e4 2031 net optional ntop_4.1.0+dfsg1-1.dsc
5ea17afa139f877ee129d2214b903fbe 2737286 net optional
ntop_4.1.0+dfsg1.orig.tar.gz
d6901c0b2e0a70f8cc3818a44867c689 46238 net optional
ntop_4.1.0+dfsg1-1.debian.tar.gz
16d11a3dcec31c44c08d1a5a57b99ca4 665738 net optional
ntop_4.1.0+dfsg1-1_amd64.deb
bfe85c4b8dc6477ccf1a6218992c301f 1104868 net optional
ntop-data_4.1.0+dfsg1-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCgAGBQJOUIFgAAoJEBPAtWZ6OLCwcowP/2lKLqTmOJ4F+Y8L9Q6my0pk
8V0ZMxjAnt4KKqoEFougDWyHQtfzTF/a5TyXO9R8ocs/lsJW85ZwbrmK/vWSXGCe
J5A6yWP5rRFJXBN/usuUKzwfxj2SfhiRyvtzm1QbSrCNgD8kjBtBu4ttJLGtEc7F
NCxsNzzcnC7jqvCfZW7unyBO7klOMBpHqEgOGn7FR1p6NNiMKc4ExM8Si/Zo4VBf
4RgMwRdLW3bTb9ry6vtfgIJvv7RsvDSCVNENgOWWdqSnqmOdBGnYGfsy9ed5hXRC
qAEPYQKe7Fam5V+CSkY1+TFktGzxXXWi9NEKlSltJmGgbDx7LgL3irlBN+jMSAzO
rqJH7y38UmD+pcmt/0dEON8i0/npauRgOk4MltmltG9WYr5bERevY/EYp+1zQmiS
FRG2co/A2Y3/3RGvPoT/ooOQLJbBKmr60PewS1aQfadKY0W5DbCL6NnMqQ9e9YH+
y7Kt3DEyrIY7J2w9UHh/OLq0JVSzTAvlT+rJhskeb3n/7Sw7JXSuzm3NfCfRAPrB
AXZzhE/AwmTYrpxi9n45WlCMz12CuZRUet3q/Qj70E/EblAG772EPDjHfntv2xTz
jviDw+vFl13EU8w4BbadBrij3DDgOuxbXEK0PXE5oTtwDiPbNRY984mUpGkkKmmW
52odcqTL6FbPuM2fit3C
=6/f+
-----END PGP SIGNATURE-----
--- End Message ---