[Bug 1166504] all scripts with 'use Pod::Usage' broken

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 21 06:47:17 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1166504



--- Comment #3 from Doug Maxey <dwm at enoyolf.org> ---
More background - all these scripts that I have (close to a hundred), when run
as root, throw this error:

# git-sys-filter --man
Can't find any loadable formatter class in Pod::Perldoc::Toterm
Pod::Perldoc::Toterm Pod::Perldoc::ToTerm Pod::Perldoc::ToTERM
Pod::Simple::term Pod::Simple::term Pod::Simple::Term Pod::Simple::TERM
Pod::term Pod::term Pod::Term Pod::TERM Pod::Perldoc::Totext
Pod::Perldoc::Totext Pod::Perldoc::ToText Pod::Perldoc::ToTEXT
Pod::Simple::text Pod::Simple::text Pod::Simple::Text Pod::Simple::TEXT
Pod::text Pod::text Pod::Text Pod::TEXT Pod::Perldoc::ToPod?!
Aborting
 at /usr/bin/perldoc line 9.

Did a google, and came up with a thread that seemed to indicate there was a
problem when running as root, so sez to self, oh, just ignore this for now and
run them as a regular user.  

http://code.activestate.com/lists/perl5-porters/200430/

Alas, the error message in this bug seems a little more direct.  And hoping a
large and important vendor might have a little sway in persuading the powers
that be there should be a 'feature' backout.  :)

I can see it with a one liner, with a related error message:

$ perl -MPod::Usage -E 'say "hello world"'
Can't locate Pod/Usage.pm:   Permission denied.
BEGIN failed--compilation aborted.
$ 
$ ls -l /usr/share/perl5/vendor_perl/Pod/Usage.pm 
-rw-r--r--. 1 root root 26857 Jun 29 13:00
/usr/share/perl5/vendor_perl/Pod/Usage.pm
$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=xQks7G9dZB&a=cc_unsubscribe



More information about the perl-devel mailing list