[From nobody Tue Jul  7 17:37:06 2026
Received: (at submit) by bugs.debian.org; 7 Jul 2026 13:23:31 +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=-119.5 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 MD5_SHA1_SUM,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, 40; hammy, 150; neutral, 85; 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]:34276)
 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 1wh5lr-00A6sZ-2o
 for submit@bugs.debian.org; Tue, 07 Jul 2026 13:23:31 +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-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=oYb/Lysy2eloxJ1ujx7Rt4ct4fqh3IjVaz8fDWmFVwI=; b=GrnywZR30cKmIXnNXuN9Xi+r21
 VLFyeQ+PJBld3kQlBmPjO/8PGWMz2pFEw7zqVZbmvNreHUXgCjBo+VwWdU0FfKntH7P+hArYSm8tL
 Pgm+Nv7o9MFUUap/5BpQqN9yTc9ATgBGLEfVPBQOfSoUXFD9qFnTFZ10PljajnKN9BUiAHPWYskyU
 c7vR0N52By6zgMhXBVQGnuV+pb+klBz6U6LpfKEmxcG8LN0mKUY70ou5WJnLHdl44zjFlWGCkII7R
 zhiMq2Sg0wQQ77OH/OVVY/SHjXrKJ+2WHm9QCpcJxo/2z0rBXldbQe2V2Nmp6UqpxZQe4MSgqetmv
 hwypzGUA==;
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 1wh5lq-002DYs-0o
 for submit@bugs.debian.org; Tue, 07 Jul 2026 13:23:30 +0000
Date: Tue, 7 Jul 2026 16:23:21 +0300
From: Niko Tyni &lt;ntyni@debian.org&gt;
To: submit@bugs.debian.org
Subject: libauthen-libwrap-perl: invalid XS comment syntax, breaks with Perl
 5.44
Message-ID: &lt;akz9yaJAt9DKeV5B@app-dd&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;6bvVJ++yQa4K7L69&quot;
Content-Disposition: inline
X-Debian-User: ntyni
Delivered-To: submit@bugs.debian.org


--6bvVJ++yQa4K7L69
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: libauthen-libwrap-perl
Version: 0.23-2
Severity: normal
Tags: patch
User: debian-perl@lists.debian.org
Usertags: perl-5.44-transition

This package fails to build with Perl 5.44.0-RC1 (not in Debian quite
yet), because lib/Authen/Libwrap.xs has a C style comment (/* ... */)
at the end where only XS style comments (# ...) are allowed.

The ExtUtils::ParseXS module, which does the parsing, was
largely rewritten during the Perl 5.44 development cycle,
and the new versions consider this a hard error.

  Building Authen-Libwrap
  Error: unrecognised line: '/ * EOF * /' in Libwrap.xs, line 32
    (possible start of a truncated XSUB definition?)

The perlxs documentation in 5.44.0-RC1 has this to say on the subject:

  An XSUB ends when /\n\n\S/ is encountered: i.e. a blank line followed
  by something on column one. (This is why it's recommended to indent
  XSUB-scoped keywords.) If the thing at column one matches any of the
  items which can appear in between XSUBs (such as file-scoped keywords)
  then it, and any subsequent lines, are processed as such. Anything
  starting on column one which isn't otherwise recognised, is interpreted
  as the first line of the next XSUB definition. In particular it is
  interpreted as the return type of the XSUB: this can lead to weird
  errors when something is unexpectedly interpreted as the start of a
  new XSUB, such as /* */, which isn't valid in the XS half of the file
  apart from within code blocks.

The attached trivial patch makes libauthen-libwrap-perl build with
both Perl 5.40 and Perl 5.44.
-- 
Niko Tyni	ntyni@debian.org

--6bvVJ++yQa4K7L69
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=&quot;fix-xs-comment-syntax.patch&quot;

From: Niko Tyni &lt;ntyni@debian.org&gt;
Date: Tue, 7 Jul 2026 14:12:41 +0100
X-Dgit-Generated: 0.23-2 1a40c8da2f2aeb4c5f452ddd6a3614eeb315a4e7
Subject: Fix XS comment syntax

C style comments are not supported in the XS part, and they cause
a hard error with newer versions of ExtUtils::ParseXS (3.63 or so.)

---

diff --git a/lib/Authen/Libwrap.xs b/lib/Authen/Libwrap.xs
index da197df..8e50bf8 100644
--- a/lib/Authen/Libwrap.xs
+++ b/lib/Authen/Libwrap.xs
@@ -29,4 +29,4 @@ _hosts_ctl(daemon, client_name, client_addr, client_user)
             XSRETURN_UNDEF;
         }
 
-/* EOF */
+# EOF

--6bvVJ++yQa4K7L69--
]