Page MenuHomeSolus

xdg-screensaver missing dependencies
Closed, ResolvedPublic

Description

running the command xdg-screensaver suspend 0x800012 yeilds the following output

/usr/bin/xdg-screensaver: line 640: xset: command not found
Can't locate Net/DBus.pm in @INC (you may need to install the Net::DBus module) (@INC contains: /usr/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.24.1 /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.24.1 /usr/lib/perl5/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/5.24.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at -e line 5.
BEGIN failed--compilation aborted at -e line 5.

The first line is easily fixed with sudo eopkg it xset but there isn't even a perl-net-dbus package to install to fix the second issue. I'm thinking that we'll need to create that second package and then add them both as rundeps to xdg-utils.

Event Timeline

I built a package for perl-net-dbus locally, installed it, and tried again. That got me past this error, but there were more missing dependencies. Here's the full transcript with all errors before I got the command to stop complaining.

$ xdg-screensaver suspend 0x800012
/usr/bin/xdg-screensaver: line 640: xset: command not found
Can't locate Net/DBus.pm in @INC (you may need to install the Net::DBus module) (@INC contains: /usr/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.24.1 /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.24.1 /usr/lib/perl5/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/5.24.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at -e line 5.
BEGIN failed--compilation aborted at -e line 5.

$ sudo eopkg it xset
# create perl-net-dbus package locally
$ sudo eopkg it perl-net-dbus

$ xdg-screensaver suspend 0x800012
Can't locate XML/Twig.pm in @INC (you may need to install the XML::Twig module) (@INC contains: /usr/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.24.1 /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.24.1 /usr/lib/perl5/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/5.24.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Net/DBus/Binding/Introspector.pm line 57.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Net/DBus/Binding/Introspector.pm line 57.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Net/DBus/RemoteObject.pm line 58.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Net/DBus/RemoteObject.pm line 58.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Net/DBus/RemoteService.pm line 55.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Net/DBus/RemoteService.pm line 55.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Net/DBus.pm line 97.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Net/DBus.pm line 97.
Compilation failed in require at -e line 5.
BEGIN failed--compilation aborted at -e line 5.

$ sudo eopkg it perl-xml-twig

$ xdg-screensaver suspend 0x800012
Can't locate X11/Protocol.pm in @INC (you may need to install the X11::Protocol module) (@INC contains: /usr/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.24.1 /usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.24.1 /usr/lib/perl5/5.24.1/x86_64-linux-thread-multi /usr/lib/perl5/5.24.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at -e line 6.
BEGIN failed--compilation aborted at -e line 6.


# create perl-x11-protocol package locally
$ sudo eopkg it perl-x11-protocol

$ xdg-screensaver suspend 0x800012
# success!

For some reason, even after all of this fixing xdg-screensaver status still shows "enabled", so something still seems wrong.

DataDrake renamed this task from error running xdg-screensaver suspend to xdg-screensaver missing dependencies.Nov 24 2017, 5:17 PM
DataDrake claimed this task.
DataDrake triaged this task as Normal priority.
DataDrake removed a project: Lacks Project.
DataDrake added a project: Software.
DataDrake moved this task from Backlog to Package Fixes on the Software board.