On 04/21/2018 11:01 PM, Ken Moffat wrote:
In inkscape,
[ 41%] Building CXX object
src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-parser.cpp.o
/scratch/working/inkscape-0.92.3/src/extension/internal/pdfinput/pdf-parser.cpp:
In member function 'void PdfParser::opShowText(Object*, int)':
/scratch/working/inkscape-0.92.3/src/extension/internal/pdfinput/pdf-parser.cpp:2493:31:
error: invalid conversion from 'const GooString*' to 'GooString*'
[-fpermissive]
doShowText(args[0].getString());
~~~~~~~~~~~~~~~~~^~
In file included from
/scratch/working/inkscape-0.92.3/src/extension/internal/pdfinput/pdf-parser.cpp:36:0:
/scratch/working/inkscape-0.92.3/src/extension/internal/pdfinput/pdf-parser.h:290:8:
note: initializing argument 1 of 'void PdfParser::doShowText(GooString*)'
void doShowText(GooString *s);
^~~~~~~~~~
and more lines only referencing pdf-parser.cpp. I can't be sure,
but since this is for PDF it smells like more breakage from poppler.
Looking at the NEWS fie for poppler-0.64.0, it appears the problem is:
* Add const to several classes and members
It may end up being a PITA. These are the files that reverence poppler:
general/genutils/graphviz.xml: <xref linkend="poppler"/>
gnome/applications/evince.xml: <xref linkend="poppler"/>
kde/kf5-apps/okular5.xml: <xref linkend="poppler"/> (built with Qt5,
pst/printing/cups-filters.xml: <xref linkend="poppler"/>, and
pst/ps/epdfview.xml: <xref linkend="poppler"/>
x/lib/cairo.xml: <xref linkend="poppler"/>,
xfce/core/tumbler.xml: <xref linkend="poppler"/>,
xincludes/texrecommendlibs.xml: <xref linkend="poppler"/>
xsoft/office/libreoffice.xml: <xref linkend="poppler"/>,
xsoft/other/inkscape.xml: <xref linkend="poppler"/>,
xsoft/other/gimp.xml: <xref linkend="poppler"/>,
Obviously inkscape is a problem.
I did a quick test build of graphviz and cairo and they seem ok.
I can confirm the inkscape problem though. In addition to
pdf-parser.cpp, I have an error in svg-builder.cpp.
I see that arch has a patch
https://git.archlinux.org/svntogit/packages.git/tree/trunk/noconst.patch?h=packages/inkscape
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page