[Bug 1225777] New: Package hplip does not build with gcc14 because of new errors
https://bugzilla.suse.com/show_bug.cgi?id=1225777 Bug ID: 1225777 Summary: Package hplip 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: Printing Assignee: jsmeix@suse.com Reporter: mjambor@suse.com QA Contact: jsmeix@suse.com 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 hplip 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 Fedora dealt with these issues as described at https://gitlab.com/fweimer-rh/fedora-modernc/-/blob/main/pkg/h/hplip.md?ref_... We seem to need at least https://bugs.launchpad.net/hplip/+bug/1997875 and https://bugs.launchpad.net/hplip/+bug/2048780 The error (that halts the build) is: [ 31s] prnt/hpps/pserror.c: In function ‘message’: [ 31s] prnt/hpps/pserror.c:27:10: error: type defaults to ‘int’ in declaration of ‘column’ [-Wimplicit-int] [ 31s] 27 | static column = 0 ; /* current screen column for message wrap */ [ 31s] | ^~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225777 https://bugzilla.suse.com/show_bug.cgi?id=1225777#c1 --- Comment #1 from Martin Jambor <mjambor@suse.com> --- I have used (the relevant) patches were taken from https://src.fedoraproject.org/rpms/hplip/c/bbb19dff5e32c47720b7523412dd7a591... and https://src.fedoraproject.org/rpms/hplip/c/d726b77698ed806fb84e482fb40202548... and created https://build.opensuse.org/request/show/1187590 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com