[rt-users] Scalar::Util::weaken error

kjcsb kjcsb at yahoo.com
Mon Jan 2 20:55:00 EST 2012


I have recently run a yum update and am now getting the following error


[Tue Jan  3 01:14:31 2012] [error]: Scrip Prepare 15 died. - Undefined subroutine &Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 107.

Stack:
  [/opt/rt3/lib/RT/Action/Generic.pm:107]
  [/opt/rt3/lib/RT/Action/Generic.pm:79]
  [/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
  [/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
  [/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
  [/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
  [/opt/rt3/lib/RT/Record.pm:1444]
  [/opt/rt3/lib/RT/Ticket_Overlay.pm:744]
  [/opt/rt3/lib/RT/Interface/Email.pm:719]
  [/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:59] (/opt/rt3/lib/RT/Scrip_Overlay.pm:479)


Note that Scalar::Util is installed
perl -MCPAN -e 'force install "Scalar::Util"'
...
Running make install
Installing /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/List/Util/Util.so
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/List/Util.pm
Installing /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Scalar/Util.pm
Installing /usr/share/man/man3/List::Util.3pm
Installing /usr/share/man/man3/Scalar::Util.3pm
...

perl -v

This is perl, v5.8.8 built for x86_64-linux-thread-multi

After researching this issue there is some discussion of an issue with certain packaged versions of perl. Refer https://bugzilla.redhat.com/show_bug.cgi?id=507378. However when I run the command that should error it doesn't:


perl -MScalar::Util=dualvar -e 1
Any advice appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120102/9c0f8a66/attachment.htm>


More information about the rt-users mailing list