← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 2070284] [NEW] FTBFS: ‘starts_with’ has not been declared in ‘std::string’

 

Public bug reported:

FTBFS in Oracular:
https://launchpadlibrarian.net/736230415/buildlog_ubuntu-oracular-
amd64.dia_0.98+git20240130-1build5_BUILDING.txt.gz

c++ -Iplug-ins/libpdf_filter.so.p -Iplug-ins -I../plug-ins -Ilib -I../lib -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/poppler -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu++17 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_8 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_70 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70 -DGSEAL_ENABLE -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/dia-0.98+git20240130-1build5 -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -mfpmath=sse -msse -msse2 -pthread -MD -MQ plug-ins/libpdf_filter.so.p/pdf_pdf-import.cpp.o -MF plug-ins/libpdf_filter.so.p/pdf_pdf-import.cpp.o.d -o plug-ins/libpdf_filter.so.p/pdf_pdf-import.cpp.o -c ../plug-ins/pdf/pdf-import.cpp
In file included from /usr/include/poppler/Object.h:44,
                 from /usr/include/poppler/OutputDev.h:42,
                 from ../plug-ins/pdf/pdf-import.cpp:36:
/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;
      |                           ^

** Affects: dia (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to dia in Ubuntu.
https://bugs.launchpad.net/bugs/2070284

Title:
  FTBFS: ‘starts_with’ has not been declared in ‘std::string’

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dia/+bug/2070284/+subscriptions



Follow ups