Bug#1017375: liblexical-accessor-perl: test failure with Sub::HandlesVia 0.034

Damyan Ivanov dmn at debian.org
Mon Aug 15 06:26:39 BST 2022


Package: liblexical-accessor-perl
Version: 0.014-1
Severity: serious
Tags: upstream ftbfs
Justification: fails to build from source (but built successfully in the past)

t/30shv.t fails with:

Usage: Sub::HandlesVia::CodeGenerator::method_installer(self) at 
.../lib/Sub/HandlesVia/Toolkit/SubAccessorSmall.pm line 58.

In version 0.034, Sub::HandlesVia::CodeGenerator's method_installer field 
is read-only and the above line tries to modify it:

	$gen->method_installer( sub {
		my ( $method_name, $coderef ) = @_;
		my $real_destination = $handles_map->{$method_name};
		$realattr->install_coderef( $real_destination, $coderef );
	} );



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-perl-maintainers mailing list