FTBFS with new poppler: ‘starts_with’ has not been declared

Bug #2070399 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calligra (Ubuntu)
Fix Released
Undecided
Andreas Hasenack

Bug Description

Same as https://launchpad.net/bugs/2070284

https://launchpadlibrarian.net/736232558/buildlog_ubuntu-oracular-amd64.calligra_1%3A3.2.1+dfsg-8build5_BUILDING.txt.gz

In file included from /usr/include/poppler/Object.h:44,
                 from /<<PKGBUILDDIR>>/filters/karbon/pdf/SvgOutputDev.h:23,
                 from /<<PKGBUILDDIR>>/filters/karbon/pdf/PdfImport.cpp:23:
/usr/include/poppler/goo/GooString.h:241:24: error: ‘starts_with’ has not been declared in ‘std::string’
  241 | using std::string::starts_with;
      | ^~~~~~~~~~~
/usr/include/poppler/goo/GooString.h:244:24: error: ‘ends_with’ has not been declared in ‘std::string’
  244 | using std::string::ends_with;
      | ^~~~~~~~~
In file included from /usr/include/poppler/Object.h:690:
/usr/include/poppler/Stream.h:300:26: error: ‘std::span’ has not been declared
  300 | virtual size_t write(std::span<unsigned char> data) = 0;
      | ^~~
/usr/include/poppler/Stream.h:300:35: error: expected ‘,’ or ‘...’ before ‘<’ token
  300 | virtual size_t write(std::span<unsigned char> data) = 0;
      | ^
/usr/include/poppler/Stream.h:321:18: error: ‘std::span’ has not been declared
  321 | size_t write(std::span<unsigned char> data) override;
      | ^~~
/usr/include/poppler/Stream.h:321:27: error: expected ‘,’ or ‘...’ before ‘<’ token
  321 | size_t write(std::span<unsigned char> data) override;
      | ^

Tags: ftbfs
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Uploaded.

Changed in calligra (Ubuntu):
assignee: nobody → Andreas Hasenack (ahasenack)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package calligra - 1:3.2.1+dfsg-8ubuntu1

---------------
calligra (1:3.2.1+dfsg-8ubuntu1) oracular; urgency=medium

  * d/p/upstream_Fix-compile-with-poppler-2405-or-higher.patch: require
    C++20 to fix the build with poppler >= 24.05 (LP: #2070399)

 -- Andreas Hasenack <email address hidden> Tue, 25 Jun 2024 15:59:54 -0300

Changed in calligra (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.