[From nobody Mon Sep 21 19:21:06 2026
Received: (at submit) by bugs.debian.org; 19 Sep 2026 08:08:15 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-107.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FOURLA,FROMDEVELOPER,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 45; hammy, 150; neutral, 139; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;ntyni@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:59840)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ntyni@debian.org&gt;) id 1x7pk4-003jbq-1x
 for submit@bugs.debian.org; Sat, 19 Sep 2026 07:44:12 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=ZxgO5N2RMe8hYmUzLDVyf+JWruxTHTBioqpOKgqmAYA=; b=mDIiu8SGRGIN7oHcxvIF5uq3L+
 GLG3Rrb5+OZ9rA4NXbawIcrog5p6noKHQXZyE4Cwr5Qn3PxtA3MdZjeR0HvhprLWCNGV7EpQA2Pzu
 AVe10orAhlE7tmnR7qzhtPSOITGpwFYifKox12A4pyEj432gxFaDWCAUEojhk3vwBLSryRKnzJmHJ
 betSCrRpBl4+cSPnsXPPCfhQ/3p3AjU/CaRj9kdzBUCkHkBoJFCf2X9zR+L82nBCur7yl8dft1Zsl
 iejc5LxNhOygmmBKcYwkuWAQM82/yfyGqzd1XfvLWDUqTURKanmfLdxEQ6TO1yhs8cGwzpZjBmgA2
 EnbvGmEw==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ntyni@debian.org&gt;) id 1x7pk2-000UtO-2A
 for submit@bugs.debian.org; Sat, 19 Sep 2026 07:44:11 +0000
Date: Sat, 19 Sep 2026 10:44:08 +0300
From: Niko Tyni &lt;ntyni@debian.org&gt;
To: submit@bugs.debian.org
Subject: libmarpa-r2-perl: FTBFS with Perl 5.44: Perl headers now require C99
Message-ID: &lt;aq49SA2CKHnZPKnT@app-dd&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-User: ntyni
Delivered-To: submit@bugs.debian.org

Source: libmarpa-r2-perl
Version: 12.000000-1
Severity: important
Forwarded: https://github.com/jeffreykegler/Marpa--R2/pull/299
Tags: ftbfs fixed-upstream
User: debian-perl@lists.debian.org
Usertags: perl-5.44-transition

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

  x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.44/CORE '-DVERSION=&quot;12.000000&quot;' '-DXS_VERSION=&quot;12.000000&quot;' -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -I /build/libmarpa-r2-perl-5mtTJ8/libmarpa-r2-perl-12.000000/libmarpa_build -I xs -Wall -W -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wmissing-declarations -ansi -Wdeclaration-after-statement -g -O2 '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/libmarpa-r2-perl-5mtTJ8/libmarpa-r2-perl-12.000000=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' -fcf-protection -g -O2 '-Werror=implicit-function-declaration' '-ffile-prefix-map=/build/libmarpa-r2-perl-5mtTJ8/libmarpa-r2-perl-12.000000=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' -fcf-protection -Wdate-time '-D_FORTIFY_SOURCE=2' -o lib/Marpa/R2.o lib/Marpa/R2.c
  In file included from lib/Marpa/R2.xs:24:
  /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_av_store_simple’:
  /usr/lib/x86_64-linux-gnu/perl/5.44/CORE/inline.h:101:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    101 |     SV** ary;
        |     ^~
[...]
  /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-&gt;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

This is fixed upstream in 14.000000 according to its change log.

A full build log is at

  https://perl.debian.net/rebuild-logs/perl-5.44/libmarpa-r2-perl_12.000000-1/libmarpa-r2-perl_12.000000-1+b2_amd64-2026-09-07T19:08:02Z.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 &lt;https://perl.debian.net/&gt;.
-- 
Niko Tyni	ntyni@debian.org
]