Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95208 - compilation of pdftk fails with gcc-3.3.5-20050130
Summary: compilation of pdftk fails with gcc-3.3.5-20050130
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 06:10 UTC by Y-z
Modified: 2006-03-25 01:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Y-z 2005-06-06 06:10:02 UTC
In file included from pdftk.cc:49: 
../java_libs/com/lowagie/text/Document.h: In member function `virtual jboolean 
   com::lowagie::text::Document::isOpen()': 
../java_libs/com/lowagie/text/Document.h:75: error: argument of type `void 
   (com::lowagie::text::Document::)()' does not match `jboolean' 
In file included from pdftk.cc:50: 
../java_libs/com/lowagie/text/Rectangle.h: In member function `virtual jint 
   com::lowagie::text::Rectangle::border()': 
../java_libs/com/lowagie/text/Rectangle.h:66: error: argument of type `jint 
   (com::lowagie::text::Rectangle::)()' does not match `jint' 
../java_libs/com/lowagie/text/Rectangle.h: In member function `virtual jfloat 
   com::lowagie::text::Rectangle::borderWidth()': 
../java_libs/com/lowagie/text/Rectangle.h:67: error: argument of type `jfloat 
   (com::lowagie::text::Rectangle::)()' does not match `jfloat' 
../java_libs/com/lowagie/text/Rectangle.h: In member function `virtual jfloat 
   com::lowagie::text::Rectangle::grayFill()': 
../java_libs/com/lowagie/text/Rectangle.h:70: error: argument of type `jfloat 
   (com::lowagie::text::Rectangle::)()' does not match `jfloat' 
In file included from ../java_libs/com/lowagie/text/pdf/PdfName.h:8, 
                 from pdftk.cc:51: 
../java_libs/com/lowagie/text/pdf/PdfObject.h:9:24: java-array.h: No such file 
or directory 
In file included from ../java_libs/com/lowagie/text/pdf/PdfName.h:8, 
                 from pdftk.cc:51: 
../java_libs/com/lowagie/text/pdf/PdfObject.h: In member function `virtual jint 
   com::lowagie::text::pdf::PdfObject::type()': 
../java_libs/com/lowagie/text/pdf/PdfObject.h:43: error: argument of type `jint 
   (com::lowagie::text::pdf::PdfObject::)()' does not match `jint' 
In file included from pdftk.cc:51: 
../java_libs/com/lowagie/text/pdf/PdfName.h:9:24: java-array.h: No such file or 
directory 
In file included from pdftk.cc:52: 
../java_libs/com/lowagie/text/pdf/PdfString.h:9:24: java-array.h: No such file 
or directory 
In file included from pdftk.cc:54: 
../java_libs/com/lowagie/text/pdf/PdfArray.h:9:24: java-array.h: No such file 
or directory 
In file included from pdftk.cc:56: 
../java_libs/com/lowagie/text/pdf/PdfOutline.h: In member function `virtual 
   com::lowagie::text::pdf::PdfOutline* 
   com::lowagie::text::pdf::PdfOutline::parent()': 
../java_libs/com/lowagie/text/pdf/PdfOutline.h:64: error: argument of type ` 
   com::lowagie::text::pdf::PdfOutline*(com::lowagie::text::pdf::PdfOutline::)
() 
   ' does not match `com::lowagie::text::pdf::PdfOutline*' 
In file included from ../java_libs/com/lowagie/text/pdf/PdfWriter.h:8, 
                 from ../java_libs/com/lowagie/text/pdf/PdfCopy.h:8, 
                 from pdftk.cc:57: 
../java_libs/com/lowagie/text/DocWriter.h:9:24: java-array.h: No such file or 
directory 
In file included from ../java_libs/com/lowagie/text/pdf/PdfCopy.h:8, 
                 from pdftk.cc:57: 
../java_libs/com/lowagie/text/pdf/PdfWriter.h:9:24: java-array.h: No such file 
or directory 
In file included from ../java_libs/com/lowagie/text/pdf/PdfCopy.h:8, 
                 from pdftk.cc:57: 
../java_libs/com/lowagie/text/pdf/PdfWriter.h: At global scope: 
../java_libs/com/lowagie/text/pdf/PdfWriter.h:297: error: syntax error before ` 
   *' token 
In file included from pdftk.cc:58: 
../java_libs/com/lowagie/text/pdf/PdfReader.h:9:24: java-array.h: No such file 
or directory 
In file included from ../java_libs/com/lowagie/text/pdf/PdfTemplate.h:8, 
                 from ../java_libs/com/lowagie/text/pdf/PdfImportedPage.h:8, 
                 from pdftk.cc:59: 
../java_libs/com/lowagie/text/pdf/PdfContentByte.h:9:24: java-array.h: No such 
file or directory 
In file included from ../java_libs/com/lowagie/text/pdf/PdfTemplate.h:8, 
                 from ../java_libs/com/lowagie/text/pdf/PdfImportedPage.h:8, 
                 from pdftk.cc:59: 
../java_libs/com/lowagie/text/pdf/PdfContentByte.h:235: error: syntax error 
   before `*' token 
In file included from pdftk.cc:61: 
../java_libs/com/lowagie/text/pdf/PdfStamperImp.h:9:24: java-array.h: No such 
file or directory 
In file included from pdftk.cc:61: 
../java_libs/com/lowagie/text/pdf/PdfStamperImp.h:50: error: `PageStamp' is not 
   a member of type `com::lowagie::text::pdf::PdfStamperImp' 
../java_libs/com/lowagie/text/pdf/PdfStamperImp.h:50: error: parse error before 
   `)' token 
../java_libs/com/lowagie/text/pdf/PdfStamperImp.h:55: error: ISO C++ forbids 
   declaration of `PageStamp' with no type 
../java_libs/com/lowagie/text/pdf/PdfStamperImp.h:55: error: `PageStamp' 
   declared as a `virtual' field 
../java_libs/com/lowagie/text/pdf/PdfStamperImp.h:55: error: parse error before 
   `*' token 
In file included from pdftk.cc:62: 
../java_libs/com/lowagie/text/pdf/PdfEncryptor.h:9:24: java-array.h: No such 
file or directory 
In file included from pdftk.cc:64: 
../java_libs/com/lowagie/text/pdf/FdfReader.h:9:24: java-array.h: No such file 
or directory 
In file included from pdftk.cc:65: 
../java_libs/com/lowagie/text/pdf/AcroFields.h:9:24: java-array.h: No such file 
or directory 
In file included from pdftk.cc:65: 
../java_libs/com/lowagie/text/pdf/AcroFields.h:72: error: ISO C++ forbids 
   declaration of `Item' with no type 
../java_libs/com/lowagie/text/pdf/AcroFields.h:72: error: `Item' declared as a 
   `virtual' field 
../java_libs/com/lowagie/text/pdf/AcroFields.h:72: error: parse error before `* 
   ' token 
In file included from pdftk.cc:67: 
../java_libs/com/lowagie/text/pdf/PdfIndirectObject.h:9:24: java-array.h: No 
such file or directory 
In file included from pdftk.cc:68: 
../java_libs/com/lowagie/text/pdf/PdfFileSpecification.h:9:24: java-array.h: No 
such file or directory 
pdftk.cc:160: confused by earlier errors, bailing out 
distcc[15975] ERROR: compile pdftk.cc on localhost failed 
make: *** [pdftk.o] Error 1 
 

Reproducible: Always
Steps to Reproduce:
1. emerge pdftk 
2. 
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 06:14:13 UTC
>distcc[15975] ERROR: compile pdftk.cc on localhost failed 

Please, could you try without distcc?
Comment 2 Y-z 2005-06-07 01:55:10 UTC
Done that, still fails.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-25 01:06:41 UTC
Reopen with emerge --info it it's still a problem with current stable gcc-3.4.5