Your message dated Thu, 18 Feb 2010 15:40:16 +0000
with message-id <e1ni8uc-0008ih...@ries.debian.org>
and subject line Bug#570306: fixed in guessnet 0.51-1.1
has caused the Debian Bug report #570306,
regarding FTBFS: runner/fake.cc:32: error: 'printf' was not declared in this 
scope
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 ow...@bugs.debian.org
immediately.)


-- 
570306: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570306
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: guessnet
Version: 0.51-1
Severity: important
Tags: patch
Justification: fails to build from source

Apparently guessnet no longer builds from source:

g++ -DHAVE_CONFIG_H -I. -I.. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
-DHAVE_NET_ETHERNET_H   -DSCRIPTDIR=\"/usr/share/guessnet/test\"    -g -O2 -g 
-Wall -O2 -c -o runner/fake.o runner/fake.cc
runner/fake.cc: In member function 'void runner::Fake::startScans()':
runner/fake.cc:32: error: 'printf' was not declared in this scope
runner/fake.cc: In member function 'void runner::Fake::interact()':
runner/fake.cc:82: error: 'fopen' was not declared in this scope
runner/fake.cc:95: error: 'fscanf' was not declared in this scope
runner/fake.cc:107: error: 'fclose' was not declared in this scope
make[3]: *** [runner/fake.o] Error 1

This was built from an up-to-date sid amd64 sbuild chroot. The fix is to add
the missing "#include <cstdio>" to fake.cc:

diff --git a/src/runner/fake.cc b/src/runner/fake.cc
index c6055d5..f6ee175 100644
--- a/src/runner/fake.cc
+++ b/src/runner/fake.cc
@@ -20,6 +20,7 @@
 
 #include "runner/fake.h"
 #include <iostream>
+#include <cstdio>
 
 using namespace std;
 using namespace scanner;

With the above patch, guessnet builds cleanly again.



--- End Message ---
--- Begin Message ---
Source: guessnet
Source-Version: 0.51-1.1

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

guessnet_0.51-1.1.diff.gz
  to main/g/guessnet/guessnet_0.51-1.1.diff.gz
guessnet_0.51-1.1.dsc
  to main/g/guessnet/guessnet_0.51-1.1.dsc
guessnet_0.51-1.1_amd64.deb
  to main/g/guessnet/guessnet_0.51-1.1_amd64.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 570...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philipp Kern <pk...@debian.org> (supplier of updated guessnet 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 18 Feb 2010 15:29:06 +0100
Source: guessnet
Binary: guessnet
Architecture: source amd64
Version: 0.51-1.1
Distribution: unstable
Urgency: low
Maintainer: Enrico Zini <enr...@debian.org>
Changed-By: Philipp Kern <pk...@debian.org>
Description: 
 guessnet   - Guess which LAN a network device is connected to
Closes: 570306
Changes: 
 guessnet (0.51-1.1) unstable; urgency=low
 .
   * Non-maintainer upload with the ACK of the maintainer.
   * Fix FTBFS with newer g++ by adding a missing include directive.
     (Thanks to Fabian Knittel.)  (Closes: #570306)
Checksums-Sha1: 
 e702c8bed9ef72b317e2d4f484508cc09bccd7a1 1254 guessnet_0.51-1.1.dsc
 0972c0d9021b93c660655eb4ee5a6194fbd4a939 9337 guessnet_0.51-1.1.diff.gz
 0326e833f90e837917b6523d6491fbe5817a1fa6 196618 guessnet_0.51-1.1_amd64.deb
Checksums-Sha256: 
 9ef3156a538ddb53a500596919e4aacf8cc0f978103d188e7f63fe3e47006d24 1254 
guessnet_0.51-1.1.dsc
 964759a478d2ea729ef84498ff0d66a1fe0fe04d85e989e7feaefa92383f79ce 9337 
guessnet_0.51-1.1.diff.gz
 9e6a6731ecef95f89542ff66b77579eb36ca143b179229afdacd825990988192 196618 
guessnet_0.51-1.1_amd64.deb
Files: 
 54f86e787ea6bf12cf712e756dbedca1 1254 net optional guessnet_0.51-1.1.dsc
 ad7d8a2e8e23a89c59c29ebc6d0237f2 9337 net optional guessnet_0.51-1.1.diff.gz
 4bd812b4ab1af8eb965128cf0761ce79 196618 net optional 
guessnet_0.51-1.1_amd64.deb

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

iEYEARECAAYFAkt9UEIACgkQ7Ro5M7LPzdiRawCg5P3bSpp3KmudPWTJ0SXUcaPN
osIAn1HC+mzcm5gZ8TEpGudQ/u1Tl4SD
=1Qnf
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to