Debian Patches

Status for libeval-context-perl/0.09.11-7

Patch Description Author Forwarded Bugs Origin Last update
00-drop_useless_dependencies.patch remove useless build-dependencies David Paleino <dapal@debian.org> no
Eval-Context-0.09.11-Adapt-tests-to-perl-5.40.0.patch [PATCH] Adapt tests to perl 5.40.0
After upgrading perl from 5.38.2 to 5.40.0, t/012_safe.t test failed:

not ok 8 - COMPARTMENT
# Failed test 'COMPARTMENT'
# at t/012_safe.t line 110.
# died: *** Eval::Context code ***
# #line 0 'Anonymous_called_at_t_012_safe.t:109'
# # PRE_CODE
#
# #line 0 'Anonymous_called_at_t_012_safe.t:109'
# # CODE
# eval "1 + 1" ;
# # POST_CODE
#
# #end of context 'Anonymous_called_at_t_012_safe.t:109'
#
# *** Error below ***
# 'eval hints' trapped by operation mask at 'Anonymous_called_at_t_012_safe.t:109' line 1.
# at lib/Eval/Context.pm line 601.
# Eval::Context::__ANON__() called at lib/Eval/Context.pm line 767
# Eval::Context::eval() called at t/012_safe.t line 109
# Test::Exception::lives_ok() called at t/012_safe.t line 110

It seems that something has changes how perl compiles evals as "entereval" is
not enough any longer:

$ perl -MSafe -e 'my $c=Safe->new; $c->permit(q{entereval}); $c->reval(q{eval}); print $@;'
'eval hints' trapped by operation mask at (eval 7) line 1.

This patch permits the newly employed "hintseval" opcode.

CPAN RT#153484
=?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> no debian 2024-07-25
hash-randomization.patch sort expected and retrieved variables due the hash randomization in perl 5.17.* the order varies gregor herrmann <gregoa@debian.org> yes debian upstream vendor 2013-06-09
D:TD-0.41.patch adapt test for Data::TreeDumper 0.41 Data::TreeDumper 0.41 omits the starting newline Damyan Ivanov <dmn@debian.org> yes upstream
pod-spelling.patch a couple of spelling fixes in POD Damyan Ivanov <dmn@debian.org> yes upstream
Attempt_to_call_undefined_import_method_with_arguments.patch fix warnings with perl 5.40: Attempt to call undefined import method with arguments ("constants") via package "Eval::Context" (Perhaps you forgot to load the package?) at t/010_shared_variables.t line 41. gregor herrmann <gregoa@debian.org> no debian vendor 2024-08-07

All known versions for source package 'libeval-context-perl'

Links