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:Gcc7/hplip/standard/x86_64 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_type=heads 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] | ^~~~~~