Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131690 - pdfkit-0.8-r4 fails to compile w/ GCC 4.1
Summary: pdfkit-0.8-r4 fails to compile w/ GCC 4.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
: 161628 171301 188146 (view as bug list)
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-04-29 08:59 UTC by Charlie Shepherd (RETIRED)
Modified: 2007-08-08 18:55 UTC (History)
3 users (show)

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 Charlie Shepherd (RETIRED) gentoo-dev 2006-04-29 08:59:24 UTC
pdfkit-0.8-r4 fails to compile with error:

>>> Emerging (1 of 2) gnustep-libs/pdfkit-0.8-r4 to /
>>> checking ebuild checksums
>>> checking auxfile checksums
>>> checking miscfile checksums
>>> checking distfiles checksums
>>> Unpacking source...
>>> Unpacking PDFKit-0.8.tar.bz2 to /var/tmp/portage/pdfkit-0.8-r4/work
 * Applying xpdf-3.00-CESA-2004-007.diff ...                                                                          [ ok ]
 * Applying xpdf-goo-sizet.patch ...                                                                                  [ ok ]
 * Applying xpdf-3.00pl2.patch ...                                                                                    [ ok ]
 * Applying xpdf-3.00pl3.patch ...                                                                                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/pdfkit-0.8-r4/work/PDFKit ...
Making build-headers in subprojects of framework PDFKit...
make[1]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf'
Making build-headers in subprojects of subproject xpdf...
make[2]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/bridge'
Making build-headers for subproject xpdfbridge...
make[3]: Nothing to be done for `internal-subproject-build-headers'.
make[2]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/bridge'
Making build-headers for subproject xpdf...
make[2]: Nothing to be done for `internal-subproject-build-headers'.
make[1]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf'
Making build-headers for framework PDFKit...
 Creating PDFKit.framework/Versions/0.8/Headers...
 Creating derived_src/.stamp...
 Creating PDFKit.framework/Versions/0.8/Resources...
Making all in subprojects of framework PDFKit...
make[1]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf'
Making all in xpdf-3.00...
make[2]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00'
echo "configure xpdf ..."
configure xpdf ...
ADD_FT_INCLUDE_PATH=-I/usr/include/freetype2  ./configure --without-x \
                    --with-freetype2-includes=/usr/include/freetype2/freetype \
                    --with-freetype2-library=/usr/lib \
                    --without-t1 \
                    --without-libpaper
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /bin/install -c
checking for ranlib... ranlib
checking for OS/2 (with EMX)... no
checking for DOS (with DJGPP)... no
checking how to run the C preprocessor... gcc -E
checking for X... disabled
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gethostbyname... yes
checking select() and fd_set in sys/select.h and sys/bsdtypes.h... not needed
checking FD_ZERO and strings.h or bstring.h... not needed
checking for rewinddir... yes
checking for popen... yes
checking for mkstemp... yes
checking for mkstemps... no
checking whether select takes fd_set arguments... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for fseek64... no
checking for ftell64... no
checking whether to use freetype2 library... (cached) /usr/lib
checking where to find the freetype2 header files... (cached) /usr/include/freetype2/freetype
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for FT_Get_Name_Index in -lfreetype... yes
using freetype2 library
checking whether to use libpaper library... maybe
checking where to find the libpaper header files...
checking paper.h usability... no
checking paper.h presence... no
checking for paper.h... no
not using libpaper library
configure: creating ./config.status
config.status: creating Makefile
config.status: creating goo/Makefile
config.status: creating fofi/Makefile
config.status: creating splash/Makefile
config.status: creating xpdf/Makefile
config.status: creating aconf.h
configure: WARNING: Couldn't find X / Motif -- you will be able to compile
        pdftops, pdftotext, pdfinfo, pdffonts, pdftoppm, and pdfimages,
        but not xpdf
make -f Makefile pdfkit
make[3]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00'
cd goo; make
make[4]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/goo'
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I. -c GHash.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I. -c GList.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I. -c GString.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I. -c gmempp.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I. -c gfile.cc
gcc -DHAVE_CONFIG_H -I.. -I.   -c -o gmem.o gmem.c
gcc -DHAVE_CONFIG_H -I.. -I.   -c -o parseargs.o parseargs.c
rm -f libGoo.a
ar rc libGoo.a GHash.o GList.o GString.o gmempp.o gfile.o gmem.o parseargs.o
ranlib libGoo.a
make[4]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/goo'
cd fofi; make
make[4]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/fofi'
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiBase.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiEncodings.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiTrueType.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiType1.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiType1C.cc
rm -f libfofi.a
ar rc libfofi.a FoFiBase.o FoFiEncodings.o FoFiTrueType.o FoFiType1.o FoFiType1C.o
ranlib libfofi.a
make[4]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/fofi'
cd splash; make
make[4]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/splash'
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c Splash.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashBitmap.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashClip.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashFTFont.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashFTFontEngine.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashFTFontFile.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashFont.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashFontEngine.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashFontFile.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashFontFileID.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashPath.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashPattern.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashScreen.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashState.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashT1Font.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashT1FontEngine.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashT1FontFile.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashXPath.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -c SplashXPathScanner.cc
rm -f libsplash.a
ar rc libsplash.a Splash.o SplashBitmap.o SplashClip.o SplashFTFont.o SplashFTFontEngine.o SplashFTFontFile.o SplashFont.o SplashFontEngine.o SplashFontFile.o SplashFontFileID.o SplashPath.o SplashPattern.o SplashScreen.o SplashState.o SplashT1Font.o SplashT1FontEngine.o SplashT1FontFile.o SplashXPath.o SplashXPathScanner.o
ranlib libsplash.a
make[4]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/splash'
cd xpdf; make pdfkit
make[4]: Entering directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/xpdf'
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Annot.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Array.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c BuiltinFont.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c BuiltinFontTables.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Catalog.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c CharCodeToUnicode.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c CMap.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Decrypt.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Dict.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Error.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c FontEncodingTables.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Function.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Gfx.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c GfxFont.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c GfxState.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c GlobalParams.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c JArithmeticDecoder.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c JBIG2Stream.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c JPXStream.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Lexer.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Link.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c NameToCharCode.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Object.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Outline.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c OutputDev.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Page.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Parser.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c PDFDoc.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c PDFDocEncoding.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c PSTokenizer.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c SplashOutputDev.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c Stream.cc
g++ -march=i686 -O2 -pipe -fvisibility-inlines-hidden -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I. -I/usr/include/freetype2/freetype -I/usr/include/freetype2          -c TextOutputDev.cc
TextOutputDev.h:172: error: expected `)' before '*' token
TextOutputDev.h:198: error: ISO C++ forbids declaration of 'TextBlock' with no type
TextOutputDev.h:198: error: expected ';' before '*' token
TextOutputDev.h:229: error: expected `)' before '*' token
TextOutputDev.h:253: error: ISO C++ forbids declaration of 'TextPage' with no type
TextOutputDev.h:253: error: expected ';' before '*' token
TextOutputDev.h:285: error: expected `)' before '*' token
TextOutputDev.h:299: error: ISO C++ forbids declaration of 'TextPage' with no type
TextOutputDev.h:299: error: expected ';' before '*' token
TextOutputDev.h:419: error: 'TextLineFrag' has not been declared
TextOutputDev.cc:480: error: prototype for 'TextLine::TextLine(TextBlock*, int, double)' does not match any in class 'TextLine'
TextOutputDev.h:169: error: candidates are: TextLine::TextLine(const TextLine&)
TextOutputDev.h:169: error:                 TextLine::TextLine()
TextOutputDev.cc: In constructor 'TextLine::TextLine(TextBlock*, int, double)':
TextOutputDev.cc:481: error: 'blk' was not declared in this scope
TextOutputDev.cc: In member function 'void TextLineFrag::computeCoords(GBool)':
TextOutputDev.cc:771: error: 'class TextLine' has no member named 'blk'
TextOutputDev.cc:781: error: 'class TextLine' has no member named 'blk'
TextOutputDev.cc:829: error: 'class TextLine' has no member named 'blk'
TextOutputDev.cc: In static member function 'static int TextLineFrag::cmpYXPrimaryRot(const void*, const void*)':
TextOutputDev.cc:870: error: 'class TextLine' has no member named 'blk'
TextOutputDev.cc: At global scope:
TextOutputDev.cc:961: error: prototype for 'TextBlock::TextBlock(TextPage*, int)' does not match any in class 'TextBlock'
TextOutputDev.h:226: error: candidates are: TextBlock::TextBlock(const TextBlock&)
TextOutputDev.h:226: error:                 TextBlock::TextBlock()
TextOutputDev.cc: In constructor 'TextBlock::TextBlock(TextPage*, int)':
TextOutputDev.cc:962: error: 'page' was not declared in this scope
TextOutputDev.cc: In member function 'void TextBlock::coalesce(UnicodeMap*)':
TextOutputDev.cc:1118: error: new initializer expression list treated as compound expression
TextOutputDev.cc:1118: error: no matching function for call to 'TextLine::TextLine(double&)'
TextOutputDev.h:169: note: candidates are: TextLine::TextLine()
TextOutputDev.h:169: note:                 TextLine::TextLine(const TextLine&)
TextOutputDev.cc: In member function 'void TextBlock::updatePriMinMax(TextBlock*)':
TextOutputDev.cc:1258: error: 'page' was not declared in this scope
TextOutputDev.cc: In static member function 'static int TextBlock::cmpXYPrimaryRot(const void*, const void*)':
TextOutputDev.cc:1310: error: 'class TextBlock' has no member named 'page'
TextOutputDev.cc: In static member function 'static int TextBlock::cmpYXPrimaryRot(const void*, const void*)':
TextOutputDev.cc:1341: error: 'class TextBlock' has no member named 'page'
TextOutputDev.cc: In member function 'GBool TextBlock::isBelow(TextBlock*)':
TextOutputDev.cc:1412: error: 'page' was not declared in this scope
TextOutputDev.cc: At global scope:
TextOutputDev.cc:1438: error: prototype for 'TextFlow::TextFlow(TextPage*, TextBlock*)' does not match any in class 'TextFlow'
TextOutputDev.h:282: error: candidates are: TextFlow::TextFlow(const TextFlow&)
TextOutputDev.h:282: error:                 TextFlow::TextFlow()
TextOutputDev.cc: In constructor 'TextFlow::TextFlow(TextPage*, TextBlock*)':
TextOutputDev.cc:1439: error: 'page' was not declared in this scope
TextOutputDev.cc: In member function 'GBool TextFlow::blockFits(TextBlock*, TextBlock*)':
TextOutputDev.cc:1490: error: 'page' was not declared in this scope
TextOutputDev.cc: In member function 'void TextPage::coalesce(GBool)':
TextOutputDev.cc:2038: error: new initializer expression list treated as compound expression
TextOutputDev.cc:2038: error: no matching function for call to 'TextBlock::TextBlock(int&)'
TextOutputDev.h:226: note: candidates are: TextBlock::TextBlock()
TextOutputDev.h:226: note:                 TextBlock::TextBlock(const TextBlock&)
TextOutputDev.cc:2523: error: new initializer expression list treated as compound expression
TextOutputDev.cc:2523: error: no matching function for call to 'TextFlow::TextFlow(TextBlock*&)'
TextOutputDev.h:282: note: candidates are: TextFlow::TextFlow()
TextOutputDev.h:282: note:                 TextFlow::TextFlow(const TextFlow&)
TextOutputDev.cc: In member function 'GString* TextPage::getText(double, double, double, double)':
TextOutputDev.cc:2931: error: no matching function for call to 'TextPage::assignColumns(TextLineFrag*&, int&, GBool&)'
TextOutputDev.h:419: note: candidates are: void TextPage::assignColumns(int*, int, int)
TextOutputDev.cc: At global scope:
TextOutputDev.cc:3230: error: prototype for 'void TextPage::assignColumns(TextLineFrag*, int, GBool)' does not match any in class 'TextPage'
TextOutputDev.h:419: error: candidate is: void TextPage::assignColumns(int*, int, int)
make[4]: *** [TextOutputDev.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/xpdf'
make[3]: *** [pdfkit] Error 2
make[3]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf'
make: *** [PDFKit.all.framework.variables] Error 2

!!! ERROR: gnustep-libs/pdfkit-0.8-r4 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  ebuild.sh, line 1237:   Called gnustep_src_compile
  gnustep.eclass, line 107:   Called egnustep_make
  gnustep-funcs.eclass, line 173:   Called die

!!! package make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info

Portage 2.1_pre9-r5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1,
2.6.16-suspend2-r4 i686)
=================================================================
System uname: 2.6.16-suspend2-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1, 2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="en_GB"
LC_ALL="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip S3TC X X509 aac acl acpi activefilter aim alsa amd ansi apache2
aper apm arts asf asm asterisk audacious audiofile authdaemond avantgo avi
bash-completion bcmath bdf berkdb bidi bitmap-fonts bittorrent blender-game
bzip2 bzlib cap ccache cdda cddb cdinstall cdparanoia cdr cdrom cgi chroot cjk
cli client codecs cpdflib cracklib crypt css cups curl curlwrappers dhcp dio
directfb divx4linux djbfft dnd dri droproot dts dv dvd dvdr dvdread edl eds eep
emboss encode erandom esd evo exif ext-png ext-zlib extensions fastcgi fbcon
fbsplash ffmpeg firefox flash fluidsynth fmod foomaticdb foreign-package
foreign-sysvinit fortran fpx freetype freewnn gb gcl gdbm geoip gif gimp
gimpprint ginac glade glgd glitz glut gmp gmtfull gnuplot gpm graphviz gs gsl
gstreamer gtk gtk2 gtkhtml hal hardenedphp hbci hdf iconv icq ide idl image
imap imlib imlib2 innodb ipv6 irda irmc isdnlog j2ee jabber javacomm javadoc
javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg jpeg2k jta jython
kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms leim libclamav
libdsk libg++ libgd libgda libsamplerate libwww live lua lufsusermount lzo lzw
lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb migemo mikmod mime mixer
mjpeg mls mmap mng monkey motif mozcalendar mozdevelop mozp3p mozsvg mozxmlterm
mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mysqli mythtv nagios-dns
nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf network neural nis
nls nowin nptl nptlonly ntlm nviz oav objc ocaml offensive ofx ogg openal
opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pda pdf pdflib
perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png
portaudio postgresql povray ppds pppd pri print procmail pthreads python qt qt4
quicktime quotas quotes readline real reflection reiserfs resperl rhino rogue
rplay sasl sdl servlet-2.3 servlet-2.4 session sftplogging shared sharedmem
silc skk slp smime sndfile snortsam socks5 softquota sox spell spl ssl
stencil-buffer stroke struts svg symlink sysvipc szip t1lib tcltk tcpd tcsim
tga theora tidy tiff transcode truetype truetype-fonts type1-fonts udev uim
unicode usb v4l v4l2 vcd vda videos virus-scan vorbis wddx wifi win32codecs
winbind wmf wxwindows xanim xatrix xchatdccserver xchattext xemacs xface
xgetdefault xine xml xmlreader xmlrpc xmlwriter xmms xorg xosd xpm xprint
xrandr xscreensaver xsettings xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib
zvbi elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS
Comment 1 Charlie Shepherd (RETIRED) gentoo-dev 2006-05-02 12:51:25 UTC
Going over it the problem seems to be with a couple of "*"s in classes generally causing havoc. Being a relative novice at C++ I havn't know what the problem is, but I know it starts at about line 172 in /var/tmp/portage/pdfkit-0.8-r4/work/PDFKit/xpdf/xpdf-3.00/xpdf/TextOutputDev.h and continues into TextOutputDev.cc.
Comment 2 Fabian Groffen gentoo-dev 2006-06-25 07:54:09 UTC
From http://home.gna.org/gsimageapps/:
 	PDFKit is not maintained any more. It is replaced by PopplerKit.

So this won't be fixed, and we should focus on getting PopplerKit getting to work.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 21:26:48 UTC
*** Bug 161628 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 07:15:26 UTC
*** Bug 171301 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-08 18:55:54 UTC
*** Bug 188146 has been marked as a duplicate of this bug. ***