Bug 40152 - missing deps on perl-Net-DBus and perl-X11-Protocol
Summary: missing deps on perl-Net-DBus and perl-X11-Protocol
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: xdg-utils (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 major
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-04 09:53 MSK by ildar
Modified: 2021-06-04 17:16 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ildar 2021-06-04 09:53:22 MSK
> $ xdg-screensaver suspend 0x4e00001

Ругается такими словами:

> Can't locate Net/DBus.pm in @INC (you may need to install the Net::DBus module) (@INC contains: /usr/local/lib64/perl/5.30 /usr/local/share/perl/5.30 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl) at -e line 5.
> BEGIN failed--compilation aborted at -e line 5.

и

> Can't locate X11/Protocol.pm in @INC (you may need to install the X11::Protocol module) (@INC contains: /usr/local/lib64/perl/5.30 /usr/local/share/perl/5.30 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl) at -e line 6.
> BEGIN failed--compilation aborted at -e line 6.

установка обозначенных пакетов решает проблему.
Comment 1 Vitaly Lipatov 2021-06-04 12:16:36 MSK
(Ответ для ildar на комментарий #0)
> > $ xdg-screensaver suspend 0x4e00001
> 
> Ругается такими словами:
> 
> > Can't locate Net/DBus.pm in @INC (you may need to install the Net::DBus module) (@INC contains: 
Запустите
$ bash -x /usr/bin/xdg-screensaver suspend 0x4e00001

Чтобы увидеть, какая именно команда так делать. xdg-utils написан на шелле, и у него таких зависимостей не может быть.
Comment 2 ildar 2021-06-04 14:53:52 MSK
$  grep Net::DBus /usr/bin/xdg-screensaver 
use Net::DBus;
my $bus = Net::DBus->session();
Comment 3 Repository Robot 2021-06-04 17:16:33 MSK
xdg-utils-1.1.3-alt8 -> sisyphus:

 Fri Jun 04 2021 Vitaly Lipatov <lav@altlinux.ru> 1.1.3-alt8
 - add requires: perl-X11-Protocol perl-Net-DBus (ALT bug 40152)