This issue was triggered by gtkmm4.0 4.15.0 and is fixed in gtkmm4.0
4.15.1.
** Also affects: gtkmm4.0 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: gtkmm4.0 (Ubuntu)
Status: New => Fix Committed
** Changed in: gtkmm4.0 (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtkmm4.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2077346
Title:
Version 0.10.1-1 FTBFS
Status in eiciel package in Ubuntu:
New
Status in gtkmm4.0 package in Ubuntu:
Fix Committed
Bug description:
0.10.1-1 fails to build from source on all archs. Builds fail with
this compilation error:
-----
../src/acl_editor_controller.cpp:316:63: error: call of overloaded
‘create(const char [5])’ is ambiguous
316 | Glib::RefPtr<Gdk::Cursor> clock_cursor =
Gdk::Cursor::create("wait");
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/gtkmm-4.0/gtkmm/widget.h:34,
from /usr/include/gtkmm-4.0/gtkmm/builder.h:28,
from ../include/eiciel/acl_list_widget.h:29,
from ../include/eiciel/acl_editor_widget.h:28,
from ../include/eiciel/acl_editor_controller.h:27,
from ../src/acl_editor_controller.cpp:21:
/usr/include/gtkmm-4.0/gdkmm/cursor.h:177:31: note: candidate: ‘static
Glib::RefPtr<Gdk::Cursor> Gdk::Cursor::create(const Glib::ustring&,
Glib::RefPtr<Gdk::Cursor>&)’
177 | static Glib::RefPtr<Cursor> create(const Glib::ustring& name, const
Glib::RefPtr<Cursor>& fallback = {});
| ^~~~~~
/usr/include/gtkmm-4.0/gdkmm/cursor.h:219:31: note: candidate: ‘static
Glib::RefPtr<Gdk::Cursor> Gdk::Cursor::create(const SlotGetTexture&,
Glib::RefPtr<Gdk::Cursor>&)’
219 | static Glib::RefPtr<Cursor> create(const SlotGetTexture& slot,
const Glib::RefPtr<Cursor>& fallback = {});
---
I took a quick glance at the code. It looks likes gtkmm4.0 4.15.0-1
introduced the second candidate, with the SlotGetTexture argument,
leading to this ambiguity. It might help to clearly pass a
Glib::ustring instead of const char [5].
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eiciel/+bug/2077346/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp