Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hello,

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.

The version we have there is 0.12 which is supposed to work based on
configure.ac but fails as follows:

 [  442s] In file included from
/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20:0:

[  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':
[  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]
[  442s] In file included from
/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:24:0,

[  442s]                  from
/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20:

[  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':
[  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]
[  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
[  442s] make[1]: ***
[/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.o]
Error 1
[  442s] make[1]: *** Waiting for unfinished jobs....
[  442s] In file included from
/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20:0:

[  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':
[  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]
[  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
[  442s] make[1]: ***
[/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pnghelper.o]
Error 1
[  442s]
/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:
In constructor 'pdfi::PDFOutDev::PDFOutDev(PDFDoc*)':
[  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]
[  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
[  442s] make[1]: ***
[/usr/src/packages/BUILD/libreoffice-5.0.0.0.beta3/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o]
Error 1
[  444s] Makefile:247: recipe for target 'build' failed
[  444s] make: *** [build] Error 2

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.

Cheers

Tom

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.