pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Inkscape build failure



Hi,

I see I am almost repeating another mail from about a year ago.

Inkscape-0.92.4nb7 used to build fine with poppler 0.91.

Inkscape-0.92.4nb8 with poppler 0.92 fails with:
.....

[ 20%] Generating inkscape-version.cpp
revision is 5da689c313, 2019-01-14
[ 20%] Building CXX object
src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-parser.cpp.o
/usr/pkgsrc/graphics/inkscape/work/inkscape-0.92.4/src/extension/internal/pdfinput/pdf-parser.cpp:
In member function 'void PdfParser::doShowText(const GooString*)':
/usr/pkgsrc/graphics/inkscape/work/inkscape-0.92.4/src/extension/internal/pdfinput/pdf-parser.cpp:2468:8:
error: invalid conversion from 'Unicode**' {aka 'unsigned int**'} to
'const Unicode**' {aka 'const unsigned int**'} [-fpermissive]
        &u, &uLen,  /* TODO: This looks like a memory leak for u. */
        ^~
In file included from
/usr/pkgsrc/graphics/inkscape/work/inkscape-0.92.4/src/extension/internal/pdfinput/pdf-parser.cpp:49:
/usr/pkg/include/poppler/GfxFont.h:273:22: note:   initializing
argument 4 of 'virtual int GfxFont::getNextChar(const char*, int,
CharCode*, const Unicode**, int*, double*, double*, double*, double*)
const'
      Unicode const **u, int *uLen,
      ~~~~~~~~~~~~~~~~^
/usr/pkgsrc/graphics/inkscape/work/inkscape-0.92.4/src/extension/internal/pdfinput/pdf-parser.cpp:2517:8:
error: invalid conversion from 'Unicode**' {aka 'unsigned int**'} to
'const Unicode**' {aka 'const unsigned int**'} [-fpermissive]
        &u, &uLen,  /* TODO: This looks like a memory leak for u. */
        ^~
In file included from
/usr/pkgsrc/graphics/inkscape/work/inkscape-0.92.4/src/extension/internal/pdfinput/pdf-parser.cpp:49:
/usr/pkg/include/poppler/GfxFont.h:273:22: note:   initializing
argument 4 of 'virtual int GfxFont::getNextChar(const char*, int,
CharCode*, const Unicode**, int*, double*, double*, double*, double*)
const'
      Unicode const **u, int *uLen,
      ~~~~~~~~~~~~~~~~^
*** Error code 1

Stop.

-- 
----


Home | Main Index | Thread Index | Old Index