found 577340 1:0.4001-1 tags 577340 confirmed -squeeze affects 577340 lemonldap-ng retitle 577340 libnet-ldap-perl: Modification of a read-only value attempted at Net::LDAP::Constants line 13 thanks
-=| Debian Bug Tracking System, Tue, Apr 13, 2010 at 05:21:07AM +0000 |=- > Processing commands for cont...@bugs.debian.org: > > > reassign 577340 libnet-ldap-perl > Bug #577340 [src:lemonldap-ng] lemonldap-ng: FTBFS: tests failed > Bug reassigned from package 'src:lemonldap-ng' to 'libnet-ldap-perl'. A bit of explaination would have been nice :/ After some bouncing of ideas on IRC, it appears the bug is really in Net-LDAP, but only lemonldap-ng's test suite manages to trigger it. The read-only value in question is $_, which is aliased to a constant. Thanks to the world-dominating search engine, we have found this educational link[1] [1] http://www.perlmonks.org/?node_id=570712#default_unlocalized In essence, this doesn't work: perl -we'for(1,2) { require Net::LDAP }' How lemonldap-ng's test suite manages to alias $_ to a constant is not yet known, but the details are not important. The above code sould work even if it looks weird. My proposal is to patch Constants.pm to use local $_; while(<DATA>) { ... } instead of while(<DATA>) { ... } Any objections?
signature.asc
Description: Digital signature