Summary: | xdg-screensaver should call system perl instead of just perl | ||
---|---|---|---|
Product: | Portland | Reporter: | Tim Heaney <theaney> |
Component: | xdg-utils | Assignee: | Portland Bugs <portland-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | 1.1.0 rc3 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | patch against current git repo |
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 https://bugs.freedesktop.org/show_bug.cgi?id=16642 I guess it's just a warning, not an error, but still. Seems like an easy win. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/87. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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.