Created attachment 120820 [details]
patch against current git repo
I installed an alternate version of Perl higher in my path than the system perl and started getting warnings when I called parole
$ parole foo.mp4
Can't locate Net/DBus.pm in @INC (you may need to install the Net::DBus module) (@INC contains: /home/tim/perl/lib /home/tim/.plenv/versions/5.22.1/lib/perl5/site_perl/5.22.1/x86_64-linux /home/tim/.plenv/versions/5.22.1/lib/perl5/site_perl/5.22.1 /home/tim/.plenv/versions/5.22.1/lib/perl5/5.22.1/x86_64-linux /home/tim/.plenv/versions/5.22.1/lib/perl5/5.22.1 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
After some fussing, I determined that the warning was coming from xdg-screensaver, specifically, the screensaver_gnome_screensaver() function. It calls Perl with just "perl -e" which assumes that whatever perl is highest in the path has the Net::DBus module. I changed line 918 from "perl -e" to "/usr/bin/perl -e" and now all is well.
$ xdg-screensaver --version
xdg-screensaver 1.1.0 rc3
$ lsb_release --description
Description: Ubuntu 15.10
That's on my system, but the issue still seems to be present. I've attached a patch against the current source.
I'm tempted to consider this WONTFIX, but I'll let other mantainers chime in if they feel otherwise.
But why? Isn't this just a sneakier version of
I guess it's just a warning, not an error, but still. Seems like an easy win.