Bug 1224897

Summary: Package gamin does not build with gcc14 because of implicit function declaration (and possibly more new errors)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Jambor <mjambor>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: mgorse
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1220571    

Description Martin Jambor 2024-05-22 10:34:26 UTC
Gcc 14 newly by default treats as errors a number of situations which
before were only warnings.  For more information see
https://gcc.gnu.org/gcc-14/porting_to.html and meta bug #1220571.

Because of this, package gamin fails to compile.  This can be seen online
at: https://build.opensuse.org/package/live_build_log/home:rguenther:plgrnd/gamin/openSUSE_Factory/x86_64

It can be reproduced locally with command: osc build --clean
--alternative-project home:rguenther:nextgcc

The error (that halts the build) is:

[   33s] gam_node.c: In function ‘gam_node_emit_event’:
[   33s] gam_node.c:375:9: error: implicit declaration of function ‘gam_server_emit_event’; did you mean ‘gam_node_emit_event’? [-Wimplicit-function-declaration]
[   33s]   375 |         gam_server_emit_event(gam_node_get_path(node), is_dir_node, event, subs, 0);
[   33s]       |         ^~~~~~~~~~~~~~~~~~~~~
[   33s]       |         gam_node_emit_event
Comment 1 Michael Gorse 2024-05-22 15:18:19 UTC
Do we still need this package? Fedora has removed it.
osc whatdependson openSUSE:Factory gamin standard x86_64 gives me
      installation-images:MicroOS
      installation-images:openSUSE
Comment 2 Martin Jambor 2024-05-31 19:25:54 UTC
I missed that this bug has been already filed by Michal.  Bug #1220481 even has a proposed patch.

*** This bug has been marked as a duplicate of bug 1220481 ***