Skip to content

poppler: 25.10.0 -> 26.06.0 - #521663

Merged
dotlambda merged 5 commits into
NixOS:stagingfrom
arehtyH:update/poppler
Jun 21, 2026
Merged

dotlambda merged 5 commits into
NixOS:stagingfrom
arehtyH:update/poppler

Conversation

@Hythera

@Hythera Hythera commented May 18, 2026 •

Copy link
Copy Markdown
Contributor

changelog: https://poppler.freedesktop.org/releases.html
diff: https://gitlab.freedesktop.org/poppler/poppler/-/compare/poppler-25.10.0...poppler-26.06.0

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Successfully built the following dependencies:
    • diffpdf
    • enlightenment.efl
    • gimp
    • kdePackages.calligra
    • kdePackages.poppler
    • libreoffice-collabora
    • libreoffice-fresh
    • libreoffice-still
    • mate.atril
    • miktex
    • qpdfview
    • python3Packages.python-poppler
    • xfce.tumbler
    • zathuraPkgs.zathura_pdf_poppler
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.
  • Follows the automation/AI policy.

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. labels May 18, 2026
@Hythera
Hythera force-pushed the update/poppler branch 2 times, most recently from 39d16cd to 55cf403 Compare May 20, 2026 21:57
@nixpkgs-ci nixpkgs-ci Bot added the 6.topic: qt/kde Object-oriented framework for GUI creation label May 20, 2026
@Hythera

Hythera commented May 21, 2026 •

Copy link
Copy Markdown
Contributor Author

Poppler currently fails to build on darwin due to some errors. This can probably be fixed by setting some build flags for C++. I have too little experience on darwin though so help with that would be appreciated. Going to mark this as ready-for-review since most of the dependencies are either already working or patched to work with the latest version of poppler.

@Hythera Hythera added the 9.needs: help on darwin Also consider pinging @NixOS/darwin-maintainers. label May 21, 2026
@Hythera
Hythera marked this pull request as ready for review May 21, 2026 14:14
@K900

K900 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Calligra LGTM.

@dotlambda dotlambda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a separate commit per package.

I say we merge and then Darwin people can fix it on staging.

@dotlambda dotlambda Jun 20, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
version = "26.06.0"; # beware: updates often break cups-filters build, check scribus too!

fixes CVE-2026-10118

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Going to test the build on other platforms + likely to break dependencies in a sec.

@Hythera Hythera changed the title poppler: 25.10.0 -> 26.05.0 poppler: 25.10.0 -> 26.06.0 Jun 20, 2026
@dotlambda dotlambda added backport staging-26.05 Backport PR automatically and removed 9.needs: port to stable A PR needs a backport to the stable release. labels Jun 20, 2026
@Hythera

Hythera commented Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

Fixed build of libreoffice* and inkscape which should be the most important ones for now.

@dotlambda

dotlambda commented Jun 21, 2026 •

Copy link
Copy Markdown
Member

gdal will be fixed by #518799
@NixOS/geospatial Make sure to merge that PR before the next staging-next merge.

@Hythera Are you sure 3df41bb fixes scribus? I tried building it after applying your changes on top of master and got

In file included from /build/scribus-1.7.3/scribus/plugins/import/pdf/pdftextrecognition.h:16,
                 from /build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp:33:
/build/scribus-1.7.3/scribus/plugins/import/pdf/slaoutput.h:240:14: error: 'void SlaOutputDev::beginMarkedContent(const char*, Dict*)' marked 'override', but does not override
  240 |         void beginMarkedContent(const char *name, Dict *properties) override;
      |              ^~~~~~~~~~~~~~~~~~
/build/scribus-1.7.3/scribus/plugins/import/pdf/slaoutput.h:243:14: error: 'void SlaOutputDev::markPoint(const char*)' marked 'override', but does not override
  243 |         void markPoint(const char *name) override;
      |              ^~~~~~~~~
/build/scribus-1.7.3/scribus/plugins/import/pdf/slaoutput.h:244:14: error: 'void SlaOutputDev::markPoint(const char*, Dict*)' marked 'override', but does not override
  244 |         void markPoint(const char *name, Dict *properties) override;
      |              ^~~~~~~~~
/build/scribus-1.7.3/scribus/plugins/import/pdf/slaoutput.h:277:14: error: 'void SlaOutputDev::setSoftMask(GfxState*, const std::array<double, 4>&, bool, Function*, GfxColor*)' marked 'override', but does not override
  277 |         void setSoftMask(GfxState * /*state*/, const std::array<double, 4> & /*bbox*/, bool /*alpha*/, Function * /*transferFunc*/, GfxColor * /*backdropColor*/) override;
      |              ^~~~~~~~~~~
[ 78%] Building CXX object scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdfplugin.cpp.o
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp: In member function 'bool PdfPlug::convert(const QString&)':
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp:353:87: error: cannot convert 'const PDFRectangle' to 'const PDFRectangle*' in initialization
  353 |                         const PDFRectangle *mediaBox = pdfDoc->getPage(1)->getMediaBox();
      |                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                                                       |
      |                                                                                       const PDFRectangle
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp: In member function 'QRectF PdfPlug::getCBox(int, int)':
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp:863:61: error: cannot convert 'const PDFRectangle' to 'const PDFRectangle*' in assignment
  863 |                 cBox = m_pdfDoc->getPage(pgNum)->getMediaBox();
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                             |
      |                                                             const PDFRectangle
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp:865:61: error: cannot convert 'const PDFRectangle' to 'const PDFRectangle*' in assignment
  865 |                 cBox = m_pdfDoc->getPage(pgNum)->getBleedBox();
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                             |
      |                                                             const PDFRectangle
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp:867:60: error: cannot convert 'const PDFRectangle' to 'const PDFRectangle*' in assignment
  867 |                 cBox = m_pdfDoc->getPage(pgNum)->getTrimBox();
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                            |
      |                                                            const PDFRectangle
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp:869:60: error: cannot convert 'const PDFRectangle' to 'const PDFRectangle*' in assignment
  869 |                 cBox = m_pdfDoc->getPage(pgNum)->getCropBox();
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                            |
      |                                                            const PDFRectangle
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp:871:59: error: cannot convert 'const PDFRectangle' to 'const PDFRectangle*' in assignment
  871 |                 cBox = m_pdfDoc->getPage(pgNum)->getArtBox();
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                           |
      |                                                           const PDFRectangle
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp: In member function 'QString PdfPlug::UnicodeParsedString(const GooString*) const':
/build/scribus-1.7.3/scribus/plugins/import/pdf/importpdf.cpp:897:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  897 |         while (i < s1->size())
      |                ~~^~~~~~~~~~~~
[ 78%] Building CXX object scribus/plugins/import/pm/CMakeFiles/importpm.dir/__/revenge/rawpainter.cpp.o
make[2]: *** [scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/build.make:98: scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o] Error 1

EDIT: Also, why not update to 1.7.4?

@Hythera

Hythera commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

@Hythera Are you sure 3df41bb fixes scribus? I tried building it after applying your changes on top of master and got

Commit 3df41bb only fixed Scribus for poppler 26.05.0. I've marked it with [failing] yesterday to imply it's currently not building anymore with the latest update.

EDIT: Also, why not update to 1.7.4?

Version 1.7.4 doesn't really seem to be released yet. I can't find any files on the mirror right now. There is an upstream patch for fixing the build with poppler 26.06.0 but it currently seems a little bit annoying to apply since it has some EOL issues for me.

@dotlambda

dotlambda commented Jun 21, 2026 •

Copy link
Copy Markdown
Member

@Hythera Please add d9e0b08 to your branch.

@dotlambda
dotlambda added this pull request to the merge queue Jun 21, 2026
Merged via the queue into NixOS:staging with commit 288399c Jun 21, 2026
24 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for staging-26.05:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 6.topic: qt/kde Object-oriented framework for GUI creation 8.has: package (update) This PR updates a package to a newer version 8.has: port to stable This PR already has a backport to the stable release. 9.needs: help on darwin Also consider pinging @NixOS/darwin-maintainers. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. backport staging-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Poppler: integer overflow in poppler splashoutputdev::tilingpatternfill leads to heap buffer overflow via unchecked dimension multiplication

3 participants