[Pkg-electronics-devel] Bug#1112517: fungw: FTBFS with Perl 5.42: ‘PerlInterpreter’ {aka ‘struct interpreter’} has no member named ‘IXpv’
Niko Tyni
ntyni at debian.org
Sun Aug 31 09:16:11 BST 2025
Control: tag -1 patch
On Sat, Aug 30, 2025 at 02:05:33PM +0300, Niko Tyni wrote:
> Source: fungw
> Version: 1.2.1-3.1
> Severity: important
> Tags: ftbfs forky sid upstream
> User: debian-perl at lists.debian.org
> Usertags: perl-5.42-transition
>
> This package fails to build with Perl 5.42 (currently in experimental.)
> fungw_perl.c:240:48: error: ‘PerlInterpreter’ {aka ‘struct interpreter’} has no member named ‘IXpv’
> The fungw code doesn't really seem to care much about which interpreter
> struct member it uses, it just needs a slot for user data. I wonder if
> modglobal hash would do:
Here's an alternative patch that does this. I tested it as far as I could,
which was running
SCRIPT=../doc/example/00_hello/hello.pl ./test_script
in the regression/ directory. It looked fine on both Perl 5.40 and
5.42. The modglobal slot seems to have been present ever since Perl
5.005 or so.
> I'm not an expert in this area though, and I don't plan to drive such a
> change myself. I assume the Perl upstream developers would be happy to
> give further advice, perhaps on the perl5-porters list.
It might still be a good idea to have somebody who actually knows Perl
internals to have a look at this. Tentatively tagging 'patch' anyway.
Hope this helps,
--
Niko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-perl-Use-the-modglobal-interpreter-slot-for-context-.patch
Type: text/x-diff
Size: 2752 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20250831/50ff4ef1/attachment-0001.patch>
More information about the Pkg-electronics-devel
mailing list