Package: pdf2djvu Version: 0.4.11a-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 pdf2djvu_0.4.11a-1 on em64t by sbuild/amd64 0.53 ... > /usr/include/poppler/Object.h:325: warning: deprecated conversion from string > constant to 'char*' > In file included from pdf2djvu.cc:21: > compoppler.hh: At global scope: > compoppler.hh:166: error: ISO C++ forbids declaration of 'uint8_t' with no > type > compoppler.hh:166: error: expected ';' before '*' token > compoppler.hh:167: error: ISO C++ forbids declaration of 'uint8_t' with no > type > compoppler.hh:167: error: expected ';' before '*' token > compoppler.hh:170: error: ISO C++ forbids declaration of 'uint8_t' with no > type > compoppler.hh:170: error: expected ',' or '...' before '*' token > compoppler.hh:187: error: ISO C++ forbids declaration of 'uint8_t' with no > type > compoppler.hh:187: error: expected ';' before 'operator' > compoppler.hh:191: error: expected ';' before '}' token > compoppler.hh: In constructor 'pdf::PixmapIterator::PixmapIterator(int)': > compoppler.hh:172: error: 'class pdf::PixmapIterator' has no member named > 'row_ptr' > compoppler.hh:172: error: 'class pdf::PixmapIterator' has no member named > 'ptr' > compoppler.hh:172: error: 'raw_data' was not declared in this scope > compoppler.hh: In member function 'pdf::PixmapIterator& > pdf::PixmapIterator::operator++(int)': > compoppler.hh:178: error: 'ptr' was not declared in this scope > compoppler.hh: In member function 'void pdf::PixmapIterator::next_row()': > compoppler.hh:184: error: 'ptr' was not declared in this scope > compoppler.hh:184: error: 'row_ptr' was not declared in this scope > compoppler.hh: At global scope: > compoppler.hh:203: error: ISO C++ forbids declaration of 'uint8_t' with no > type > compoppler.hh:203: error: expected ';' before '*' token > compoppler.hh: In constructor 'pdf::Pixmap::Pixmap(pdf::Renderer*)': > compoppler.hh:226: error: 'raw_data' was not declared in this scope > compoppler.hh:226: error: ISO C++ forbids declaration of 'type name' with no > type > compoppler.hh:226: error: expected '>' before 'uint8_t' > compoppler.hh:226: error: expected '(' before 'uint8_t' > compoppler.hh:226: error: 'uint8_t' was not declared in this scope > compoppler.hh:226: error: expected primary-expression before '>' token > compoppler.hh:226: error: expected ')' before ';' token > compoppler.hh: In member function 'pdf::PixmapIterator pdf::Pixmap::begin() > const': > compoppler.hh:242: error: 'raw_data' was not declared in this scope > compoppler.hh: At global scope: > compoppler.hh:329: error: 'uint8_t' has not been declared > compoppler.hh:329: error: 'uint8_t' has not been declared > compoppler.hh:329: error: 'uint8_t' has not been declared > make[1]: *** [pdf2djvu.o] Error 1 > make[1]: Leaving directory `/build/tbm/pdf2djvu-0.4.11a' > make: *** [debian/stamp-makefile-build] Error 2 --- compoppler.hh~ 2008-11-14 12:52:45.000000000 +0000 +++ compoppler.hh 2008-11-14 12:52:52.000000000 +0000 @@ -8,6 +8,7 @@ #ifndef PDF2DJVU_COMPOPPLER_H #define PDF2DJVU_COMPOPPLER_H +#include <stdint.h> #include <string> #include <ostream> #include <vector> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]