Inkscape Trunk build fails on Debian Sid

Bug #545580 reported by Marc J. Driftmeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Krzysztof Kosinski

Bug Description

System: Debian Sid
Poppler: libpoppler-dev-0.12.2-2.1
Cairo: libcairo2-dev-1.9.6-6

Builds have been failing for the past 2 days:

Terminal output results:

  CXX extension/internal/pdf-input-cairo.o
  CXX extension/internal/cairo-ps-out.o
  CXX extension/internal/cairo-render-context.o
  CXX extension/internal/cairo-renderer.o
  CXX extension/internal/cairo-renderer-pdf-out.o
../../bazaar-fork/inkscape/src/extension/internal/cairo-renderer.cpp: In function ‘void Inkscape::Extension::Internal::sp_shape_render(SPItem*, Inkscape::Extension::Internal::CairoRenderContext*)’:
../../bazaar-fork/inkscape/src/extension/internal/cairo-renderer.cpp:189: warning: ‘void sp_item_invoke_bbox(const SPItem*, NRRect*, const Geom::Matrix&, unsigned int, SPItem::BBoxType)’ is deprecated (declared at ../../bazaar-fork/inkscape/src/sp-item.h:213)
../../bazaar-fork/inkscape/src/extension/internal/cairo-renderer.cpp: In member function ‘bool Inkscape::Extension::Internal::CairoRenderer::setupDocument(Inkscape::Extension::Internal::CairoRenderContext*, SPDocument*, bool, SPItem*)’:
../../bazaar-fork/inkscape/src/extension/internal/cairo-renderer.cpp:614: warning: ‘void sp_item_invoke_bbox(const SPItem*, NRRect*, const Geom::Matrix&, unsigned int, SPItem::BBoxType)’ is deprecated (declared at ../../bazaar-fork/inkscape/src/sp-item.h:213)
  CXX extension/internal/cairo-png-out.o
  CXX extension/internal/javafx-out.o
  CXX extension/internal/gdkpixbuf-input.o
../../bazaar-fork/inkscape/src/extension/internal/cairo-png-out.cpp: In function ‘bool Inkscape::Extension::Internal::png_render_document_to_file(SPDocument*, const gchar*)’:
../../bazaar-fork/inkscape/src/extension/internal/cairo-png-out.cpp:63: warning: unused variable ‘root’
  CXX extension/internal/latex-text-renderer.o
  CXX extension/internal/pdfinput/svg-builder.o
../../bazaar-fork/inkscape/src/extension/internal/javafx-out.cpp:121: warning: ‘Glib::ustring Inkscape::Extension::Internal::istr(double)’ defined but not used
  CXX extension/internal/pdfinput/pdf-parser.o
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetExtGState(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:813: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetFillColorSpace(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1017: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1019: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetStrokeColorSpace(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1048: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1050: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetFillColorN(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1125: error: no matching function for call to ‘GfxResources::lookupPattern(char*, NULL)’
/usr/include/poppler/Gfx.h:112: note: candidates are: GfxPattern* GfxResources::lookupPattern(char*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetStrokeColorN(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1177: error: no matching function for call to ‘GfxResources::lookupPattern(char*, NULL)’
/usr/include/poppler/Gfx.h:112: note: candidates are: GfxPattern* GfxResources::lookupPattern(char*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opShFill(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1583: error: no matching function for call to ‘GfxResources::lookupShading(char*, NULL)’
/usr/include/poppler/Gfx.h:113: note: candidates are: GfxShading* GfxResources::lookupShading(char*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::doImage(Object*, Stream*, GBool)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:2553: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:2642: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::doForm(Object*)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:2821: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
make[2]: *** [extension/internal/pdfinput/pdf-parser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/svg-builder.cpp: In member function ‘std::string Inkscape::Extension::Internal::SvgBuilder::_BestMatchingFont(std::string)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/svg-builder.cpp:907: warning: comparison is always false due to limited range of data type
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/svg-builder.cpp:912: warning: comparison between signed and unsigned integer expressions
make[2]: Leaving directory `/home/mdriftmeyer/DeveloperProjects/GTKProjects/Inkscape/build-bazaar/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mdriftmeyer/DeveloperProjects/GTKProjects/Inkscape/build-bazaar'
make: *** [all] Error 2
mdriftmeyer@horus:~/DeveloperProjects/GTKProjects/Inkscape/build-bazaar$ make
make all-recursive
make[1]: Entering directory `/home/mdriftmeyer/DeveloperProjects/GTKProjects/Inkscape/build-bazaar'
Making all in src
make[2]: Entering directory `/home/mdriftmeyer/DeveloperProjects/GTKProjects/Inkscape/build-bazaar/src'
  CXX extension/internal/pdfinput/pdf-parser.o
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetExtGState(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:813: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetFillColorSpace(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1017: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1019: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetStrokeColorSpace(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1048: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1050: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetFillColorN(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1125: error: no matching function for call to ‘GfxResources::lookupPattern(char*, NULL)’
/usr/include/poppler/Gfx.h:112: note: candidates are: GfxPattern* GfxResources::lookupPattern(char*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opSetStrokeColorN(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1177: error: no matching function for call to ‘GfxResources::lookupPattern(char*, NULL)’
/usr/include/poppler/Gfx.h:112: note: candidates are: GfxPattern* GfxResources::lookupPattern(char*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::opShFill(Object*, int)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:1583: error: no matching function for call to ‘GfxResources::lookupShading(char*, NULL)’
/usr/include/poppler/Gfx.h:113: note: candidates are: GfxShading* GfxResources::lookupShading(char*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::doImage(Object*, Stream*, GBool)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:2553: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:2642: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::doForm(Object*)’:
../../bazaar-fork/inkscape/src/extension/internal/pdfinput/pdf-parser.cpp:2821: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
/usr/include/poppler/GfxState.h:181: note: candidates are: static GfxColorSpace* GfxColorSpace::parse(Object*)
make[2]: *** [extension/internal/pdfinput/pdf-parser.o] Error 1
make[2]: Leaving directory `/home/mdriftmeyer/DeveloperProjects/GTKProjects/Inkscape/build-bazaar/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mdriftmeyer/DeveloperProjects/GTKProjects/Inkscape/build-bazaar'
make: *** [all] Error 2
mdriftmeyer@horus:~/DeveloperProjects/GTKProjects/Inkscape/build-bazaar$ sudo dselect
mdriftmeyer@horus:~/DeveloperProjects/GTKProjects/Inkscape/build-bazaar$

Tags: build

Related branches

Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

There are a few possible causes:
a) Your pkg-config file is lying
b) Your xpdf headers are out of sync with your Poppler version

Those messages indicate that Inkscape's configure script is picking up Poppler >= 0.12.2 but your xpdf headers (e.g. prefix/include/poppler/Gfx.h) are from 0.12.1 or earlier. See also bug 487038.

Revision history for this message
Marc J. Driftmeyer (mjd-reanimality) wrote :

I ran a diff on the last two available updates from Debian on the Poppler 0.12.2 branch and yes, it's installed.

See the attached Gfx.h from that package and if it's packaged incorrectly I'll file a bug with Debian to clear it up.

- Marc

Revision history for this message
Jon A. Cruz (jon-joncruz) wrote :

This seems like the situation that started causing us problems. Since we were using non-public headers we really need to add an AC_CHECK_FUNC or AC_COMPILE_IFELSE

Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

The relevant header is GfxState.h, not Gfx.h.
The problem should be fixed in 9231, because I converted the Poppler API check into a trial compilation.

Changed in inkscape:
assignee: nobody → Krzysztof Kosinski (tweenk)
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Marc J. Driftmeyer (mjd-reanimality) wrote :

FYI: Built cleanly. Thanks for the quick turnaround.

Changed in inkscape:
milestone: none → 0.48
jazzynico (jazzynico)
tags: added: build
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.