https://bugs.documentfoundation.org/show_bug.cgi?id=163774

            Bug ID: 163774
           Summary: 24.8.2.1 fails to build with poppler 24.10.0
           Product: LibreOffice
           Version: 24.8.2.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
libreoffice-24.8.2.1 fails to build with poppler 24.10.0

Steps to Reproduce:
1. upgrade to poppler >= 24.10.0
2. see libreoffice 24.8.2.1 fail to build

Actual Results:
Fails to build (complete build.log attached)

/var/tmp/paludis/build/app-office-libreoffice-24.8.2.1/work/libreoffice-24.8.2.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:
In member function 'virtual pdfi::poppler_bool
pdfi::PDFOutDev::tilingPatternFill(GfxState*, Gfx*, Catalog*,
GfxTilingPattern*, const double*, int, int, int, int, double, double)':
/var/tmp/paludis/build/app-office-libreoffice-24.8.2.1/work/libreoffice-24.8.2.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1309:37:
error: no matching function for call to
'GfxImageColorMap::GfxImageColorMap(int, Object*, GfxDeviceRGBColorSpace*)'
 1309 |         new GfxDeviceRGBColorSpace()));
      |                                     ^
In file included from
/var/tmp/paludis/build/app-office-libreoffice-24.8.2.1/work/libreoffice-24.8.2.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:36,
                 from
/var/tmp/paludis/build/app-office-libreoffice-24.8.2.1/work/libreoffice-24.8.2.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20:
/usr/x86_64-pc-linux-gnu/include/poppler/GfxState.h:1258:14: note: candidate:
'GfxImageColorMap::GfxImageColorMap(const GfxImageColorMap*)'
 1258 |     explicit GfxImageColorMap(const GfxImageColorMap *colorMap);
      |              ^~~~~~~~~~~~~~~~
/usr/x86_64-pc-linux-gnu/include/poppler/GfxState.h:1258:14: note:   candidate
expects 1 argument, 3 provided
/usr/x86_64-pc-linux-gnu/include/poppler/GfxState.h:1207:5: note: candidate:
'GfxImageColorMap::GfxImageColorMap(int, Object*,
std::unique_ptr<GfxColorSpace>&&)'
 1207 |     GfxImageColorMap(int bitsA, Object *decode,
std::unique_ptr<GfxColorSpace> &&colorSpaceA);
      |     ^~~~~~~~~~~~~~~~
/usr/x86_64-pc-linux-gnu/include/poppler/GfxState.h:1207:82: note:   no known
conversion for argument 3 from 'GfxDeviceRGBColorSpace*' to
'std::unique_ptr<GfxColorSpace>&&'
 1207 |     GfxImageColorMap(int bitsA, Object *decode,
std::unique_ptr<GfxColorSpace> &&colorSpaceA);
      |                                                
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/var/tmp/paludis/build/app-office-libreoffice-24.8.2.1/work/libreoffice-24.8.2.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1311:38:
error: no matching function for call to
'GfxImageColorMap::GfxImageColorMap(int, Object*, GfxDeviceGrayColorSpace*)'
 1311 |         new GfxDeviceGrayColorSpace()));
      |                                      ^
/usr/x86_64-pc-linux-gnu/include/poppler/GfxState.h:1258:14: note: candidate:
'GfxImageColorMap::GfxImageColorMap(const GfxImageColorMap*)'
 1258 |     explicit GfxImageColorMap(const GfxImageColorMap *colorMap);
      |              ^~~~~~~~~~~~~~~~
/usr/x86_64-pc-linux-gnu/include/poppler/GfxState.h:1258:14: note:   candidate
expects 1 argument, 3 provided
/usr/x86_64-pc-linux-gnu/include/poppler/GfxState.h:1207:5: note: candidate:
'GfxImageColorMap::GfxImageColorMap(int, Object*,
std::unique_ptr<GfxColorSpace>&&)'
 1207 |     GfxImageColorMap(int bitsA, Object *decode,
std::unique_ptr<GfxColorSpace> &&colorSpaceA);
      |     ^~~~~~~~~~~~~~~~
/usr/x86_64-pc-linux-gnu/include/poppler/GfxState.h:1207:82: note:   no known
conversion for argument 3 from 'GfxDeviceGrayColorSpace*' to
'std::unique_ptr<GfxColorSpace>&&'
 1207 |     GfxImageColorMap(int bitsA, Object *decode,
std::unique_ptr<GfxColorSpace> &&colorSpaceA);
      |                                                
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

Expected Results:
Build without failing.


Reproducible: Always


User Profile Reset: No

Additional Info:
Build log attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to