Source: hexchat
Version: 2.16.2-1
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: perl-5.44-transition

As of Perl 5.44.0 (currently in experimental), Perl headers now require C99
features. This makes hexchat fail to build.

  In file included from ../plugins/perl/perl.c:152:
  /usr/lib/x86_64-linux-gnu/perl/5.44/CORE/perl.h:5436:1: warning: function 
declaration isn’t a prototype [-Wstrict-prototypes]
   5436 | typedef void (*shutdown_proc_t)();
        | ^~~~~~~
  In file included from /usr/lib/x86_64-linux-gnu/perl/5.44/CORE/perl.h:8004:
  /usr/lib/x86_64-linux-gnu/perl/5.44/CORE/inline.h: In function 
‘Perl_cx_poploop’:
  /usr/lib/x86_64-linux-gnu/perl/5.44/CORE/inline.h:4357:9: error: ‘for’ loop 
initial declarations are only allowed in C99 or C11 mode
   4357 |         for (SV **svp = cx->blk_loop.itervar_u.svp + 1; how_many; 
svp++, how_many--) {
        |         ^~~
  /usr/lib/x86_64-linux-gnu/perl/5.44/CORE/inline.h:4357:9: note: use option 
‘-std=c99’, ‘-std=gnu99’, ‘-std=c11’ or ‘-std=gnu11’ to compile your code

There's a possible patch by Sam James in

  https://bugs.gentoo.org/979428

  
https://gitweb.gentoo.org/repo/gentoo.git/commit/net-irc/hexchat?id=bdcd95a02a4116e97680081ae31819e273a72033

A full build log is at

  
https://perl.debian.net/rebuild-logs/perl-5.44/hexchat_2.16.2-1/hexchat_2.16.2-1+b10_amd64-2026-09-07T11:22:58Z.build

If you want to test changes against Perl 5.44 in experimental and run
into uninstallability problems, there is a test repository of rebuilt
Debian sid packages for amd64 available at <https://perl.debian.net/>.
-- 
Niko Tyni       [email protected]

Reply via email to