Public bug reported:

gtk4 fails to build after the upload of cpdb-libs 2.0~b7-0ubuntu1

Full build log
=============
https://launchpad.net/~jbicha/+archive/ubuntu/arch/+build/30363110


Build log excerpt
=================

../../../modules/printbackends/gtkprintbackendcpdb.c: In function 
‘gtk_print_backend_cpdb_init’:
../../../modules/printbackends/gtkprintbackendcpdb.c:291:55: error: passing 
argument 1 of ‘cpdbGetNewFrontendObj’ from incompatible pointer type 
[-Wincompatible-pointer-types]
  291 |   backend_cpdb->frontend_obj = cpdbGetNewFrontendObj (instance_name,
      |                                                       ^~~~~~~~~~~~~
      |                                                       |
      |                                                       char *
In file included from /usr/include/cpdb/frontend.h:4,
                 from ../../../modules/printbackends/gtkprintbackendcpdb.c:22:
/usr/include/cpdb/cpdb-frontend.h:102:66: note: expected 
‘cpdb_printer_callback’ {aka ‘void (*)(struct cpdb_frontend_obj_s *, struct 
cpdb_printer_obj_s *, enum cpdb_printer_update_e)’} but argument is of type 
‘char *’
  102 | cpdb_frontend_obj_t *cpdbGetNewFrontendObj(cpdb_printer_callback 
printer_cb);
      |                                            
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../../../modules/printbackends/gtkprintbackendcpdb.c:291:32: error: too many 
arguments to function ‘cpdbGetNewFrontendObj’
  291 |   backend_cpdb->frontend_obj = cpdbGetNewFrontendObj (instance_name,
      |                                ^~~~~~~~~~~~~~~~~~~~~
/usr/include/cpdb/cpdb-frontend.h:102:22: note: declared here
  102 | cpdb_frontend_obj_t *cpdbGetNewFrontendObj(cpdb_printer_callback 
printer_cb);
      |                      ^~~~~~~~~~~~~~~~~~~~~

Other Info
=========
I believe this needs to be fixed in cpdb-libs but I'm adding other affected 
packages to show on the excuses report. Some packages are indirectly affected 
because they depend on gtk4 being updated but we can't update gtk4.

** Affects: cpdb-libs (Ubuntu)
     Importance: High
     Assignee: Till Kamppeter (till-kamppeter)
         Status: Triaged

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

** Affects: gtk4 (Ubuntu)
     Importance: High
         Status: Triaged

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


** Tags: ftbfs plucky update-excuse

** Also affects: fragments (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: warp (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: cpdb-libs (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: cpdb-libs (Ubuntu)
       Status: New => Triaged

** Changed in: cpdb-libs (Ubuntu)
   Importance: Undecided => High

** Changed in: cpdb-libs (Ubuntu)
     Assignee: (unassigned) => Till Kamppeter (till-kamppeter)

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

Title:
  gtk4 fails to build with cpdb-libs 2.0~b7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cpdb-libs/+bug/2100307/+subscriptions


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

Reply via email to