[Bug 1225909] New: Package perl-Tk does not build with gcc14 because of new errors
https://bugzilla.suse.com/show_bug.cgi?id=1225909 Bug ID: 1225909 Summary: Package perl-Tk 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: Development 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 perl-Tk 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 Hopefully relevant upstream pull request is: https://github.com/eserte/perl-tk/pull/91 Fedora apparently fixed this with https://src.fedoraproject.org/rpms/perl-Tk/c/8c1ed1e6b9efa3e28e9858ffeb73b7b... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225909 https://bugzilla.suse.com/show_bug.cgi?id=1225909#c1 --- Comment #1 from Martin Jambor <mjambor@suse.com> --- Created attachment 875581 --> https://bugzilla.suse.com/attachment.cgi?id=875581&action=edit Possible fix We need more than what is in the pull request referenced in the bug summary. I made the package build with this patch. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225909 https://bugzilla.suse.com/show_bug.cgi?id=1225909#c2 --- Comment #2 from Martin Jambor <mjambor@suse.com> --- I have created https://build.opensuse.org/request/show/1185237 which contains just the configury bits of the patch from comment #1 and then added -fpermissive to the optflags in the spec file. This is the safest we can do without diverging from the upstream too much, which is where the issues will hopefully be solved when GCC 14 is more widespread. I plan to keep this bug opened so that the need for -fpermissive can be reviewed in the future. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225909 https://bugzilla.suse.com/show_bug.cgi?id=1225909#c3 --- Comment #3 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1225909) was mentioned in https://build.opensuse.org/request/show/1186036 Factory / perl-Tk -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225909 https://bugzilla.suse.com/show_bug.cgi?id=1225909#c7 --- Comment #7 from Martin Jambor <mjambor@suse.com> --- And there is also the https://github.com/eserte/perl-tk/pull/91 Hopefully people will start to care with GCC 14 out now and being used in Fedora and hopefully by us soon too. Thanks for all the help. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com