Subject: | Twofish.pm revision tied to CVS and causes bootstrap error |
I get the error "Crypt::Twofish object version 2.12 does not match
bootstrap parameter 1.1 at /usr/lib/perl/i686-linux/DynaLoader.pm"
because the line 12 in Twofish.pm is this:
($VERSION) = q$Revision: 1.2.2.1 $ =~ /([\d.]+)/;
Whenever this file is checked into CVS, CVS does variable substitution
of the revision string. Since we are checking this into multiple
branches with different revision strings within our source code tree,
this breaks the application because the .so file version does not
match the .pm version. Checking this file into CVS should not break
it's functionality, imho.
Running perl 5.8.8 on linux RHEL 4.4