[Bug 1225908] New: Package osinfo-db-tools does not build with gcc14 because of new errors
https://bugzilla.suse.com/show_bug.cgi?id=1225908 Bug ID: 1225908 Summary: Package osinfo-db-tools does not build with gcc14 because of new errors 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 osinfo-db-tools 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 (first) error (that halts the build) is: [ 11s] ../tools/osinfo-db-validate.c: In function ‘validate_files’: [ 11s] ../tools/osinfo-db-validate.c:176:37: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] [ 11s] 176 | xmlSetStructuredErrorFunc(NULL, validate_structured_error_nop); [ 11s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11s] | | [ 11s] | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} [ 11s] In file included from /usr/include/libxml2/libxml/relaxng.h:14, [ 11s] from ../tools/osinfo-db-validate.c:23: [ 11s] /usr/include/libxml2/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 *)’} [ 11s] 898 | xmlStructuredErrorFunc handler); [ 11s] | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225908 https://bugzilla.suse.com/show_bug.cgi?id=1225908#c1 --- Comment #1 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1225908) was mentioned in https://build.opensuse.org/request/show/1184376 Factory / osinfo-db-tools -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225908 https://bugzilla.suse.com/show_bug.cgi?id=1225908#c2 Martin Jambor <mjambor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Martin Jambor <mjambor@suse.com> --- This has been fixed by https://build.opensuse.org/request/show/1184376 Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com