Package: fusecompress
Version: 2.6-1
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with GCC 4.4, which has 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-4.4/g++-4.4 from unstable.

> Automatic build of fusecompress_2.6-1 on em64t by sbuild/amd64 0.53
...
> mv -f .deps/lzma.Tpo .deps/lzma.Po
> g++ -DHAVE_CONFIG_H -I. -I..  -D_GNU_SOURCE -D_REENTRANT 
> -D_POSIX_C_SOURCE=200112L -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE 
> -D_XOPEN_SOURCE=500 -Wno-long-long -Wall -fpermissive -D_FILE_OFFSET_BITS=64 
> -DFUSE_USE_VERSION=26 -DNDEBUG  -g -O2   -MT CompressionType.o -MD -MP -MF 
> .deps/CompressionType.Tpo -c -o CompressionType.o CompressionType.cpp
> In file included from ./assert.h:4,
>                  from /usr/include/c++/4.4/cassert:45,
>                  from /usr/include/boost/iostreams/filter/zlib.hpp:18,
>                  from CompressionType.cpp:7:
> ./rlog/rlog.h: In member function 'void rlog::RLog::log(int, const char*, 
> ...)':
> ./rlog/rlog.h:48: error: 'vprintf' was not declared in this scope
> make[3]: *** [CompressionType.o] Error 1
> make[3]: Leaving directory `/build/tbm/fusecompress-2.6/src'
> make[2]: *** [all-recursive] Error 1

--- src/rlog/rlog.h~    2009-10-15 17:42:40.000000000 +0000
+++ src/rlog/rlog.h     2009-10-15 17:42:57.000000000 +0000
@@ -1,6 +1,7 @@
 #ifndef RLOG_H
 #define RLOG_H
 
+#include <cstdio>
 #include <syslog.h>
 #include <stdarg.h>
 #include <string>

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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to