Bug 1224897 - Package gamin does not build with gcc14 because of implicit function declaration (and possibly more new errors)
Summary: Package gamin does not build with gcc14 because of implicit function declarat...
Status: RESOLVED DUPLICATE of bug 1220481
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-05-22 10:34 UTC by Martin Jambor
Modified: 2024-05-31 19:25 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***