Package: pinot
Version: 0.85-1
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 pinot_0.85-1 on em64t by sbuild/amd64 0.53
...
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -fPIC -DUSE_CURL -DUSE_SSL
> -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXDG_PREFIX=pinot_xdg -g
> -O2 -DNDEBUG -MT DocumentInfo.lo -MD -MP -MF .deps/DocumentInfo.Tpo -c
> DocumentInfo.cpp -fPIC -DPIC -o .libs/DocumentInfo.o
> DocumentInfo.cpp: In member function 'std::string DocumentInfo::serialize()
> const':
> DocumentInfo.cpp:123: error: 'snprintf' was not declared in this scope
> DocumentInfo.cpp: In member function 'virtual void
> DocumentInfo::setSize(off_t)':
> DocumentInfo.cpp:239: error: 'snprintf' was not declared in this scope
> make[3]: *** [DocumentInfo.lo] Error 1
--- IndexSearch/DBusIndex.cpp~ 2008-11-07 20:58:02.000000000 +0000
+++ IndexSearch/DBusIndex.cpp 2008-11-07 20:58:07.000000000 +0000
@@ -17,6 +17,7 @@
*/
#include <iostream>
+#include <cstdio>
#include <cstdlib>
#include "Languages.h"
--- Utils/DocumentInfo.cpp~ 2008-11-07 20:49:23.000000000 +0000
+++ Utils/DocumentInfo.cpp 2008-11-07 20:49:30.000000000 +0000
@@ -16,6 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
--- Utils/TimeConverter.cpp~ 2008-11-07 20:51:57.000000000 +0000
+++ Utils/TimeConverter.cpp 2008-11-07 20:52:11.000000000 +0000
@@ -17,6 +17,7 @@
*/
#include "config.h"
+#include <cstdio>
#ifdef HAVE_TIMEGM
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE
--- Utils/Url.cpp~ 2008-11-07 20:52:24.000000000 +0000
+++ Utils/Url.cpp 2008-11-07 20:52:29.000000000 +0000
@@ -19,6 +19,8 @@
#include "StringManip.h"
#include "Url.h"
+#include <cstdio>
+
using std::string;
static const int g_rfc2396Encoded[] = {
--- Monitor/INotifyMonitor.h~ 2008-11-07 21:03:13.000000000 +0000
+++ Monitor/INotifyMonitor.h 2008-11-07 21:07:01.000000000 +0000
@@ -19,6 +19,7 @@
#ifndef _INOTIFY_MONITOR_H
#define _INOTIFY_MONITOR_H
+#include <stdint.h>
#include <pthread.h>
#include <string>
#include <map>
--- UI/GTK2/src/DaemonState.cpp~ 2008-11-07 21:11:15.000000000 +0000
+++ UI/GTK2/src/DaemonState.cpp 2008-11-07 21:11:27.000000000 +0000
@@ -22,6 +22,7 @@
#include <dirent.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <stdint.h>
#include <stdlib.h>
#ifdef HAVE_STATFS
#ifdef HAVE_SYS_VFS_H
--- Tokenize/filters/TagLibMusicFilter.cc~ 2008-11-07 20:55:56.000000000
+0000
+++ Tokenize/filters/TagLibMusicFilter.cc 2008-11-07 20:56:01.000000000
+0000
@@ -20,6 +20,7 @@
#include <fileref.h>
#include <tfile.h>
#include <tag.h>
+#include <cstdio>
#include "TagLibMusicFilter.h"
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]