perl-tk icon indicating copy to clipboard operation
perl-tk copied to clipboard

fails with gcc14

Open pgajdos opened this issue 1 year ago • 5 comments

perl-Tk does not build with gcc14.

pgajdos avatar May 09 '24 13:05 pgajdos

Build log: https://build.opensuse.org/package/live_build_log/home:rguenther:plgrnd/perl-Tk/openSUSE_Factory/x86_64

pgajdos avatar May 09 '24 13:05 pgajdos

https://build.opensuse.org/projects/home:pgajdos/packages/perl-Tk/files/perl-Tk-gcc14.patch

This fixes the build for me, however I am not fully confident with it.

pgajdos avatar May 09 '24 13:05 pgajdos

With gcc13, you get warnings.

pgajdos avatar May 09 '24 16:05 pgajdos

@eserte There's fix PRs available for all of the modern compiler issues which distros are all individually pulling in. Would it be possible to cut a new release with them in? Thanks.

thesamesam avatar Jun 14 '24 06:06 thesamesam

For the record, I needed the patch attached to https://bugzilla.opensuse.org/show_bug.cgi?id=1225909#c1 to make openSUSE perl-tk build without -fpermissive with GCC 14. In the end, I decided to use only the configuration options of the patch (mainly because apparently the configuration mechanism was not passing the option to GCC when compiling its snippets and so they are necessary) and rely on -fpermissive for the rest in order not to introduce too much divergence from upstream.

jamborm avatar Jul 08 '24 11:07 jamborm