[Bug 1227581] New: Bug report: Vala-generated C code produces int-conversion error in gcc14, causing build to fail
https://bugzilla.suse.com/show_bug.cgi?id=1227581 Bug ID: 1227581 Summary: Bug report: Vala-generated C code produces int-conversion error in gcc14, causing build to fail Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: All OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: gus.kenion@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 875963 --> https://bugzilla.suse.com/attachment.cgi?id=875963&action=edit Build log Summary: I have observed this issue while building the latest GNOME:Factory/gnome-boxes package using pre-release gcc14 from home:rguenther:plgrnd/gcc. I'm building in home:gkenion:gcc14, in which the gnome-boxes and gcc packages are linked to GNOME:Factory and home:rguenther:plagrnd, respectively. The build fails during C compilation, with the following error (from attatched boxes.gcc14.build.log): 2231 [ 23s] In file included from /usr/include/glib-2.0/glib.h:64, 2232 [ 23s] from /usr/include/glib-2.0/gobject/gbinding.h:30, 2233 [ 23s] from /usr/include/glib-2.0/glib-object.h:24, 2234 [ 23s] from src/gnome-boxes.p/libvirt-broker.c:6: 2235 [ 23s] src/gnome-boxes.p/libvirt-broker.c: In function ‘boxes_libvirt_broker_add_domain_co’: 2236 [ 23s] /usr/include/glib-2.0/glib/gmessages.h:671:16: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-W int-conversion] 2237 [ 23s] 671 | return (val); \ 2238 [ 23s] | ^ In this case, the errant call appears in gmessages.h, which is generated by vala during the build. Workaround would be to specify more permissive c_args. Would also be worthwhile to communicate this issue to upstream devs, if they aren't already aware. I haven't found anything indicating they are, but I figured the OpenSUSE GNOME maintainers would follow upstream more closely than I do, and might have existing rapport with the devs. Steps to reproduce: Build the home:gkenion:gcc14/gnome:boxes package hosted on the OpenSUSE OBS instance. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227581 Gus Kenion <gus.kenion@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1220571 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227581 Gus Kenion <gus.kenion@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |os.gnome.maintainers@gmail. | |com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227581 Gus Kenion <gus.kenion@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dleuenberger@suse.com, | |gus.kenion@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com