Public bug reported:
In file included from
/<<PKGBUILDDIR>>/src/extension/internal/pdfinput/pdf-input.cpp:22:
/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,
from /usr/include/poppler/XRef.h:44,
from /usr/include/poppler/PDFDoc.h:60,
from
/<<PKGBUILDDIR>>/src/extension/internal/pdfinput/pdf-input.cpp:25:
/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;
| ^
In file included from
/<<PKGBUILDDIR>>/src/extension/internal/pdfinput/pdf-input.cpp:57:
/<<PKGBUILDDIR>>/src/util/units.h:29:42: warning: ‘template<class _Arg, class
_Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
29 | struct hash<Glib::ustring> : public std::unary_function<Glib::ustring,
std::size_t> {
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/13/string:49,
from /usr/include/c++/13/bits/locale_classes.h:40,
from /usr/include/c++/13/bits/ios_base.h:41,
from /usr/include/c++/13/streambuf:43,
from /usr/include/c++/13/bits/streambuf_iterator.h:35,
from /usr/include/c++/13/iterator:66,
from /usr/include/glibmm-2.4/glibmm/ustring.h:25,
from /usr/include/gtkmm-3.0/gtkmm/dialog.h:6,
from
/<<PKGBUILDDIR>>/src/extension/internal/pdfinput/pdf-input.h:21,
from
/<<PKGBUILDDIR>>/src/extension/internal/pdfinput/pdf-input.cpp:19:
/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
Same error as already fixed in https://launchpad.net/bugs/2070284
** Affects: inkscape (Ubuntu)
Importance: High
Status: Confirmed
** Tags: ftbfs
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2070367
Title:
FTBFS with new poppler
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/2070367/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs