Bug 121303 - Unable to build with poppler 0.71.0
Summary: Unable to build with poppler 0.71.0
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-09 09:44 UTC by Andrey Cherepanov
Modified: 2018-11-09 09:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2018-11-09 09:44:00 UTC
Description:
If build with poppler 0.71.0 I get errors for missing type GBool:

In file included from /usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20:0:
/usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:153:17: error: 'GBool' does not name a type; did you mean 'bool'?ESC[0m
         virtual GBool upsideDown() override { return gTrue; }
                 ^~~~~
                 bool
/usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:156:17: error: 'GBool' does not name a type; did you mean 'bool'?ESC[0m
         virtual GBool useDrawChar() override { return gTrue; }
                 ^~~~~
                 bool
...

There is commit
https://gitlab.freedesktop.org/poppler/poppler/commit/163420b48bdddf9084208b3cadf04dafad52d40a

Replace GBool, gTrue, and gFalse by bool, true, false, resp.

So type GBool is no longer exist and it should be replaced by bool in sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx


Actual Results:
Install development files for poppler 0.71.0 and later.

Expected Results:
LibreOffice is compiled successful.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Xisco Faulí 2018-11-09 09:45:39 UTC
Hello,
Since this is build issue and not a software issue, would you mind sending an
email to the dev list instead? ->
https://wiki.documentfoundation.org/Development/Mailing_List
Closing as RESOLVED MOVED