<div dir="ltr">Hello,<div><br></div><div>I am building 5.0 betas on our openSUSE and while building it also for our old SLE11 It suddenly fails compared to 4.4 series.</div><div><br></div><div>The version we have there is 0.12 which is supposed to work based on <a href="http://configure.ac">configure.ac</a> but fails as follows:<br><div><br></div><div>



<div>
<span style="font-family:monospace"><span style="color:rgb(0,0,0)">[  442s] In file included from /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20:0:
</span><br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx: In member function 'bool pdfi::FontAttributes::operator==(const pdfi::FontAttributes&) const':
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:126:58: error: passing 'const GooString' as 'this' argument of 'int GooString::cmp(GooString*)' discards qualifiers [-fpermissive]
<br>[  442s] In file included from /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:24:0,
<br>[  442s]                  from /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20:
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx: In member function 'bool pdfi::FontAttributes::operator==(const pdfi::FontAttributes&) const':
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:126:58: error: passing 'const GooString' as 'this' argument of 'int GooString::cmp(GooString*)' discards qualifiers [-fpermissive]
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/solenv/gbuild/LinkTarget.mk:189: recipe for target '/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.o' failed
<br>[  442s] make[1]: *** [/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.o] Error 1
<br>[  442s] make[1]: *** Waiting for unfinished jobs....
<br>[  442s] In file included from /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20:0:
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx: In member function 'bool pdfi::FontAttributes::operator==(const pdfi::FontAttributes&) const':
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:126:58: error: passing 'const GooString' as 'this' argument of 'int GooString::cmp(GooString*)' discards qualifiers [-fpermissive]
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/solenv/gbuild/LinkTarget.mk:189: recipe for target '/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pnghelper.o' failed
<br>[  442s] make[1]: *** [/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pnghelper.o] Error 1
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In constructor 'pdfi::PDFOutDev::PDFOutDev(PDFDoc*)':
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:535:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
<br>[  442s] /usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/solenv/gbuild/LinkTarget.mk:189: recipe for target '/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o' failed
<br>[  442s] make[1]: *** [/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o] Error 1
<br>[  444s] Makefile:247: recipe for target 'build' failed
<br>[  444s] make: *** [build] Error 2<br>
<br></span></div></div><div><span style="font-family:monospace">I will try to dig into it cca at the end of the next week, but maybe some of you might fix it faster, thus "reporting" it here.</span><br></div><div><br></div><div>Cheers</div><div><br></div><div>Tom</div></div></div>