Summary: | app-office/libreoffice sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1104:24: error: no matching function for call to ‘Stream::getImageParams(int*, StreamColorSpaceMode*)’ with poppler-9999 (24.11.0) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jospezial <jospezial> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | jospezial |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log |
Created attachment 908894 [details]
build.log
Do not block stabilisation unless app-office/libreoffice-24.2.7.2 is broken. /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In member function ‘virtual void pdfi::PDFOutDev::drawImageMask(GfxState*, Object*, Stream*, int, int, pdfi::poppler_bool, pdfi::poppler_bool, pdfi::poppler_bool)’: /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1040:24: error: no matching function for call to ‘Stream::getImageParams(int*, StreamColorSpaceMode*)’ 1040 | str->getImageParams( &bitsPerComponent, &csMode ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/poppler/Object.h:595, from /usr/include/poppler/GfxState.h:43, from /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:36, from /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20: /usr/include/poppler/Stream.h:255:18: note: candidate: ‘virtual void Stream::getImageParams(int*, StreamColorSpaceMode*, bool*)’ 255 | virtual void getImageParams(int * /*bitsPerComponent*/, StreamColorSpaceMode * /*csMode*/, bool * /*hasAlpha*/) { } | ^~~~~~~~~~~~~~ /usr/include/poppler/Stream.h:255:18: note: candidate expects 3 arguments, 2 provided make[1]: *** [/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/solenv/gbuild/LinkTarget.mk:340: /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o] Error 1 It looks as compilation goes through with app-text/poppler-24.11.0-r1 . app-office/libreoffice-9999 [CXX] sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx S=/var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/sdext/source/pdfimport/xpdfwrapper/ $W/Dep/CxxObject/sdext/source/pdfimport/xpdfwrapper/ && cd /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999 && x86_64-pc-linux-gnu-g++ -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -DSYSTEM_EXPAT -DSYSTEM_ZLIB -DZLIB_CONST -DSYSTEM_POPPLER -fvisibility=hidden -Wall -Wno-missing-braces -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -fstack-protector-strong -Wdeprecated-copy-dtor -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1 -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=c++20 -pthread -march=native -mtune=native -O2 -pipe -fexceptions -fno-enforce-eh-specs -DLIBO_INTERNAL_ONLY -c $S/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx -o $W/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o -isystem /usr/include/poppler/cpp -isystem /usr/include/poppler -I$S/include -I/opt/openjdk-bin-21.0.5_p11/include -I/opt/openjdk-bin-21.0.5_p11/include/linux -I$S/config_host -I/usr/include -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include [CXX] sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx S=/var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/sdext/source/pdfimport/xpdfwrapper/ $W/Dep/CxxObject/sdext/source/pdfimport/xpdfwrapper/ && cd /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999 && x86_64-pc-linux-gnu-g++ -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -DSYSTEM_EXPAT -DSYSTEM_ZLIB -DZLIB_CONST -DSYSTEM_POPPLER -fvisibility=hidden -Wall -Wno-missing-braces -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -fstack-protector-strong -Wdeprecated-copy-dtor -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1 -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=c++20 -pthread -march=native -mtune=native -O2 -pipe -fexceptions -fno-enforce-eh-specs -DLIBO_INTERNAL_ONLY -c $S/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx -o $W/CxxObject/sdext/source/pdfimport/xpdfwrapper/pnghelper.o -isystem /usr/include/poppler/cpp -isystem /usr/include/poppler -I$S/include -I/opt/openjdk-bin-21.0.5_p11/include -I/opt/openjdk-bin-21.0.5_p11/include/linux -I$S/config_host -I/usr/include -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include [CXX] sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx S=/var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/sdext/source/pdfimport/xpdfwrapper/ $W/Dep/CxxObject/sdext/source/pdfimport/xpdfwrapper/ && cd /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999 && x86_64-pc-linux-gnu-g++ -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -DSYSTEM_EXPAT -DSYSTEM_ZLIB -DZLIB_CONST -DSYSTEM_POPPLER -fvisibility=hidden -Wall -Wno-missing-braces -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -fstack-protector-strong -Wdeprecated-copy-dtor -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1 -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=c++20 -pthread -march=native -mtune=native -O2 -pipe -fexceptions -fno-enforce-eh-specs -DLIBO_INTERNAL_ONLY -c $S/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx -o $W/CxxObject/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.o -isystem /usr/include/poppler/cpp -isystem /usr/include/poppler -I$S/include -I/opt/openjdk-bin-21.0.5_p11/include -I/opt/openjdk-bin-21.0.5_p11/include/linux -I$S/config_host -I/usr/include -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include [PKG] sdext_pdfimport_pdf poppler git commit at the time of build failure? Or was it literally 24.11.0, as mentioned in $summary? (consider that release broken without our patches) I rebuilt poppler right before I tried to rebuild libreoffice. So it must have been at https://gitlab.freedesktop.org/poppler/poppler/-/commit/92cf4406b1c41d3f59aa5c80dd8f761d0ef61a18 from 15.11. One commit between this and the poppler 24.11.0 release commit must cause the break. But I have not found which wile looking at. I did not bisect. And we can exclude the commits as cause that were added as patches to app-text/poppler-24.11.0-r1. We have to deal with it when poppler-24.12 comes, if it is not fixed upstream by libreoffice then. Btw, the app-office/libreoffice live ebuild needs some changes. I will post my changes in another bug. I have seen you are working on it too. |
Created attachment 908893 [details] emerge --info [PKG] sdext_pdfimport_pdf /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx: In member function ‘virtual void pdfi::PDFOutDev::drawImageMask(GfxState*, Object*, Stream*, int, int, pdfi::poppler_bool, pdfi::poppler_bool, pdfi::poppler_bool)’: /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:1104:24: error: no matching function for call to ‘Stream::getImageParams(int*, StreamColorSpaceMode*)’ 1104 | str->getImageParams( &bitsPerComponent, &csMode ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/poppler/Object.h:595, from /usr/include/poppler/GfxState.h:43, from /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:36, from /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20: /usr/include/poppler/Stream.h:255:18: note: candidate: ‘virtual void Stream::getImageParams(int*, StreamColorSpaceMode*, bool*)’ 255 | virtual void getImageParams(int * /*bitsPerComponent*/, StreamColorSpaceMode * /*csMode*/, bool * /*hasAlpha*/) { } | ^~~~~~~~~~~~~~ /usr/include/poppler/Stream.h:255:18: note: candidate expects 3 arguments, 2 provided make[1]: *** [/var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/solenv/gbuild/LinkTarget.mk:339: /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o] Error 1