Public bug reported:

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,
causing this ambiguity. It might help to clearly pass a Glib::ustring
instead of const char [5].

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


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077346

Title:
  Version 0.10.1-1 FTBFS

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to