Package: nepenthes
Version: 0.2.2-3
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of nepenthes_0.2.2-3 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../include -I 
> ../.. -Wall -Werror -D _GNU_SOURCE -I/usr/local/include 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -g -O2 -MT 
> DownloadManager.o -MD -MP -MF ".deps/DownloadManager.Tpo" -c -o 
> DownloadManager.o DownloadManager.cpp; \
>       then mv -f ".deps/DownloadManager.Tpo" ".deps/DownloadManager.Po"; else 
> rm -f ".deps/DownloadManager.Tpo"; exit 1; fi
> DownloadManager.cpp: In member function 'virtual bool 
> nepenthes::DownloadManager::downloadUrl(nepenthes::Download*)':
> DownloadManager.cpp:345: error: 'asprintf' was not declared in this scope
> make[4]: *** [DownloadManager.o] Error 1
> make[4]: Leaving directory `/build/tbm/nepenthes-0.2.2/nepenthes-core/src'
> make[3]: *** [all-recursive] Error 1

--- modules/shellcode-generic/sch_generic_connect_trans.cpp~    2008-11-11 
22:12:44.000000000 +0000
+++ modules/shellcode-generic/sch_generic_connect_trans.cpp     2008-11-11 
22:12:53.000000000 +0000
@@ -31,6 +31,7 @@
 #include <sys/socket.h>

 #include <netinet/in.h>

 #include <arpa/inet.h>
+#include <cstdio>
 
 #include "LogManager.hpp"
 #include "Message.hpp"
--- modules/shellcode-generic/sch_generic_createprocess.cpp~    2008-11-11 
22:13:32.000000000 +0000
+++ modules/shellcode-generic/sch_generic_createprocess.cpp     2008-11-11 
22:13:37.000000000 +0000
@@ -38,6 +38,7 @@
 
 /* $Id: sch_generic_createprocess.cpp 550 2006-05-04 10:25:35Z common $ */
 
+#include <cstdio>
 #include <cstring>
 
 #include "sch_generic_createprocess.hpp"
--- modules/shellcode-generic/sch_generic_link_bind_trans.cpp~  2008-11-11 
22:13:49.000000000 +0000
+++ modules/shellcode-generic/sch_generic_link_bind_trans.cpp   2008-11-11 
22:13:54.000000000 +0000
@@ -27,6 +27,7 @@
 
  /* $Id: sch_generic_link_bind_trans.cpp 2271 2006-01-14 20:31:52Z common $ */
 
+#include <cstdio>
 #include <cstring>
 
 #include <sys/types.h>
--- modules/shellcode-generic/sch_generic_link_trans.cpp~       2008-11-11 
22:14:09.000000000 +0000
+++ modules/shellcode-generic/sch_generic_link_trans.cpp        2008-11-11 
22:14:14.000000000 +0000
@@ -27,6 +27,7 @@
 
  /* $Id: sch_generic_link_trans.cpp 2271 2006-01-14 20:31:52Z common $ */
 
+#include <cstdio>
 #include <cstring>
 
 #include <sys/types.h>
--- modules/shellcode-generic/sch_generic_stuttgart.cpp~        2008-11-11 
22:14:39.000000000 +0000
+++ modules/shellcode-generic/sch_generic_stuttgart.cpp 2008-11-11 
22:14:47.000000000 +0000
@@ -27,6 +27,7 @@
 
  /* $Id: sch_generic_link_trans.cpp 1664 2005-07-15 03:33:39Z common $ */
  
+#include <cstdio>
 #include <cstring>
 
 #include <sys/types.h>
--- modules/shellcode-generic/sch_generic_url.cpp~      2008-11-11 
22:15:01.000000000 +0000
+++ modules/shellcode-generic/sch_generic_url.cpp       2008-11-11 
22:15:12.000000000 +0000
@@ -40,6 +40,8 @@
 
 
  
+#include <cstdio>
+
 #include "sch_generic_url.hpp"
 #include "LogManager.hpp"
 #include "Message.hpp"
--- modules/shellcode-generic/sch_generic_wuerzburg.cpp~        2008-11-11 
22:15:23.000000000 +0000
+++ modules/shellcode-generic/sch_generic_wuerzburg.cpp 2008-11-11 
22:15:31.000000000 +0000
@@ -27,6 +27,7 @@
 
  /* $Id: sch_generic_wuerzburg.cpp 2271 2006-01-14 20:31:52Z common $ */
 
+#include <cstdio>
 #include <cstring>
 
 #include <sys/types.h>
--- modules/shellcode-generic/sch_generic_xor.cpp~      2008-11-11 
22:15:41.000000000 +0000
+++ modules/shellcode-generic/sch_generic_xor.cpp       2008-11-11 
22:15:48.000000000 +0000
@@ -42,6 +42,8 @@
 
 #include "sch_generic_xor.hpp"
 
+#include <cstdio>
+
 #include "Nepenthes.hpp"
 #include "Message.hpp"
 #include "Message.cpp"
--- modules/shellcode-signatures/sch_namespace_connectbackfiletransfer.cpp~     
2008-11-11 22:30:03.000000000 +0000
+++ modules/shellcode-signatures/sch_namespace_connectbackfiletransfer.cpp      
2008-11-11 22:30:10.000000000 +0000
@@ -27,6 +27,8 @@
 
 /* $Id: sch_namespace_connectbackfiletransfer.cpp 499 2006-04-08 18:40:14Z 
common $ */
 
+#include <cstdio>
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
--- modules/shellcode-signatures/sch_namespace_bindfiletransfer.cpp~    
2008-11-11 22:30:31.000000000 +0000
+++ modules/shellcode-signatures/sch_namespace_bindfiletransfer.cpp     
2008-11-11 22:30:37.000000000 +0000
@@ -27,6 +27,8 @@
 
 /* $Id: sch_namespace_bindfiletransfer.cpp 499 2006-04-08 18:40:14Z common $ */
 
+#include <cstdio>
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
--- modules/submit-file/submit-file.cpp~        2008-11-11 22:08:39.000000000 
+0000
+++ modules/submit-file/submit-file.cpp 2008-11-11 22:09:05.000000000 +0000
@@ -30,6 +30,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <errno.h>
+#include <cstdio>
 
 #include "submit-file.hpp"
 #include "Download.hpp"
--- modules/download-creceive/CReceiveDialogue.cpp~     2008-11-11 
22:02:42.000000000 +0000
+++ modules/download-creceive/CReceiveDialogue.cpp      2008-11-11 
22:02:53.000000000 +0000
@@ -53,6 +53,8 @@
 
 #include "SubmitManager.hpp"
 
+#include <cstdio>
+
 #ifdef STDTAGS 
 #undef STDTAGS 
 #endif
--- modules/download-http/HTTPDialogue.cpp~     2008-11-11 22:04:34.000000000 
+0000
+++ modules/download-http/HTTPDialogue.cpp      2008-11-11 22:04:40.000000000 
+0000
@@ -29,6 +29,7 @@
 
 #include "HTTPDialogue.hpp"
 
+#include <cstdio>
 #include <cstdlib> 
 #include <cstring> 
 
--- modules/shellemu-winnt/VFS.cpp~     2008-11-11 22:16:49.000000000 +0000
+++ modules/shellemu-winnt/VFS.cpp      2008-11-11 22:16:56.000000000 +0000
@@ -22,6 +22,7 @@
 
 
 #include <ctype.h>
+#include <cstdio>
 #include <cstring>
 
 #include "VFS.hpp"
--- modules/shellemu-winnt/VFSCommand.hpp~      2008-11-11 22:17:27.000000000 
+0000
+++ modules/shellemu-winnt/VFSCommand.hpp       2008-11-11 22:17:35.000000000 
+0000
@@ -30,6 +30,7 @@
 #ifndef HAVE_VFSCOMMANDECHO
 #define HAVE_VFSCOMMANDECHO
 
+#include <stdint.h>
 #include <list>
 #include <string>
 #include <vector>
--- modules/shellemu-winnt/VFSCommandRCP.cpp~   2008-11-11 22:18:41.000000000 
+0000
+++ modules/shellemu-winnt/VFSCommandRCP.cpp    2008-11-11 22:18:50.000000000 
+0000
@@ -27,6 +27,7 @@
 
 /* $Id: VFSCommandRCP.cpp 550 2006-05-04 10:25:35Z common $ */
  
+#include <cstdio>
 #include <cstring>
 
 #include "VFSCommandRCP.hpp"
--- nepenthes-core/src/DownloadManager.cpp~     2008-11-11 21:58:23.000000000 
+0000
+++ nepenthes-core/src/DownloadManager.cpp      2008-11-11 21:58:31.000000000 
+0000
@@ -42,6 +42,7 @@
 #include "SubmitEvent.hpp"
 #include "EventManager.hpp"
 
+#include <cstdio>
 #include <cstdlib>
 
 using namespace std;
--- nepenthes-core/src/ModuleManager.cpp~       2008-11-11 21:59:40.000000000 
+0000
+++ nepenthes-core/src/ModuleManager.cpp        2008-11-11 21:59:47.000000000 
+0000
@@ -35,6 +35,7 @@
 #include "Nepenthes.hpp"
 #include "LogManager.hpp"
 
+#include <cstdio>
 #include <cstdlib>
 
 using namespace nepenthes;
--- nepenthes-core/src/Socket.cpp~      2008-11-11 22:00:32.000000000 +0000
+++ nepenthes-core/src/Socket.cpp       2008-11-11 22:00:42.000000000 +0000
@@ -29,6 +29,7 @@
 
 #include <string>
 #include <sstream>
+#include <cstdio>
 #include <cstring>
 
 #include <time.h>
--- nepenthes-core/src/ShellcodeManager.cpp~    2008-11-11 22:01:05.000000000 
+0000
+++ nepenthes-core/src/ShellcodeManager.cpp     2008-11-11 22:01:15.000000000 
+0000
@@ -35,6 +35,8 @@
 #include "SocketEvent.hpp"
 #include "EventManager.hpp"
 
+#include <cstdio>
+
 using namespace nepenthes;
 
 #ifdef STDTAGS 
--- nepenthes-core/src/Utilities.cpp~   2008-11-11 22:02:07.000000000 +0000
+++ nepenthes-core/src/Utilities.cpp    2008-11-11 22:02:16.000000000 +0000
@@ -38,6 +38,7 @@
 #include <inttypes.h>
 #include <ctype.h>
 
+#include <cstdio>
 #include <cstdlib>
 
 #include "Utilities.hpp"

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to