ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #12145
[Bug 2070367] Re: FTBFS with new poppler
After these two patches, the remaining errors are:
a)
/home/ubuntu/git/packages/inkscape/inkscape/src/ui/dialog/filter-effects-dialog.cpp:177:26: error: expected ‘)’ before ‘default_value’
177 | ComboWithTooltip<T>(T default_value, const Util::EnumDataConverter<T>& c, const SPAttr a = SPAttr::INVALID, char* tip_text = nullptr)
| ~ ^~~~~~~~~~~~~~
| )
and
b)
/home/ubuntu/git/packages/inkscape/inkscape/src/ui/dialog/filter-effects-dialog.cpp: In instantiation of ‘Inkscape::UI::Widget::ComboBoxEnum<E>* Inkscape::UI::Dialog::FilterEffectsDialog::Settings::add_combo(T, SPAttr, const Glib::ustring&, const Inkscape::Util::EnumDataConverter<E>&, char*) [with T = SPBlendMode]’:
/home/ubuntu/git/packages/inkscape/inkscape/src/ui/dialog/filter-effects-dialog.cpp:2736:25: required from here
/home/ubuntu/git/packages/inkscape/inkscape/src/ui/dialog/filter-effects-dialog.cpp:969:38: error: no matching function for call to ‘Inkscape::UI::Dialog::ComboWithTooltip<SPBlendMode>::ComboWithTooltip(SPBlendMode&, const Inkscape::Util::EnumDataConverter<SPBlendMode>&, const SPAttr&, char*&)’
969 | ComboWithTooltip<T>* combo = new ComboWithTooltip<T>(default_value, conv, attr, tip_text);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/git/packages/inkscape/inkscape/src/ui/dialog/filter-effects-dialog.cpp:174:29: note: candidate: ‘Inkscape::UI::Dialog::ComboWithTooltip<SPBlendMode>::ComboWithTooltip()’
174 | template< typename T> class ComboWithTooltip : public Gtk::EventBox
| ^~~~~~~~~~~~~~~~
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to inkscape in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/2070367
Title:
FTBFS with new poppler
Status in inkscape package in Ubuntu:
Confirmed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/2070367/+subscriptions
References