[Bug 1225755] New: Package autofs does not build with gcc14 because of a call argument with an incompatible pointer type
https://bugzilla.suse.com/show_bug.cgi?id=1225755 Bug ID: 1225755 Summary: Package autofs does not build with gcc14 because of a call argument with an incompatible pointer type Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: mjambor@suse.com QA Contact: qa-bugs@suse.de Blocks: 1220571 Target Milestone: --- Found By: --- Blocker: --- 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 autofs fails to compile. This can be seen online at: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... It can be reproduced locally with command: osc build --clean --alternative-project home:rguenther:nextgcc The error (that halts the build) is: [ 15s] lookup_udisks.c: In function ‘parse_config’: [ 15s] lookup_udisks.c:1527:41: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] [ 15s] 1527 | xmlSetStructuredErrorFunc(ctxt, &xmlerror); [ 15s] | ^~~~~~~~~ [ 15s] | | [ 15s] | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} [ 15s] In file included from /usr/include/libxml/valid.h:15, [ 15s] from /usr/include/libxml/parser.h:19, [ 15s] from lookup_udisks.c:29: [ 15s] /usr/include/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} [ 15s] 898 | xmlStructuredErrorFunc handler); [ 15s] | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225755 https://bugzilla.suse.com/show_bug.cgi?id=1225755#c1 hui <sturm-fr@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #1 from hui <sturm-fr@web.de> --- . *** This bug has been marked as a duplicate of bug 1221682 *** -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com