Bug#943597: Seems to be missing required dependencies

gregor herrmann gregoa at debian.org
Sun Oct 27 11:50:58 GMT 2019


On Sun, 27 Oct 2019 03:09:54 -0400, Anthony DeRobertis wrote:

> Tried to use Sys::Info::Device::CPU today, and first the Synopsis from
> the perldoc doesn't work — it starts with 'use Sys::Info', which isn't
> installed. Nor packaged, AFAICT. 

Thanks for your bug report.

The documentation for Sys::Info::Device::CPU is indeed a bit
confusing, as it refers to Sys::Info although it does not use it.

We've had this topic recently in #941982, and libsys-info-perl is in
the NEW queue since Friday.
 
> So tried to use it directly:
> 
> $ perl -MSys::Info::Device::CPU -E 'my $info = Sys::Info::Device::CPU->new'
> Operating system identified as: 'Linux'. Native driver can not be loaded: Error loading Sys::Info::Driver::Linux::Device::CPU: Can't locate Sys/Info/Driver/Linux/Device/CPU.pm in @INC (you may need to install the Sys::Info::Driver::Linux::Device::CPU module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Sys/Info/Base.pm line 45.
>  at /usr/share/perl5/Sys/Info/Device/CPU.pm line 9.
> . Falling back to compatibility mode
> Error loading Sys::Info::Driver::Unknown::Device::CPU: Can't locate Sys/Info/Driver/Unknown/Device/CPU.pm in @INC (you may need to install the Sys::Info::Driver::Unknown::Device::CPU module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Sys/Info/Base.pm line 45.
>  at /usr/share/perl5/Sys/Info/Device/CPU.pm line 9.
> BEGIN failed--compilation aborted at /usr/share/perl5/Sys/Info/Device/CPU.pm line 9.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> 
> Those come from the Sys-Info-Driver-Linux and Sys-Info-Driver-Unknown
> packages on CPAN, also AFAIK not packaged.

Oops, that's interesting and means we'll need a dependency (at least
a Recommends) on libsys-info-driver-linux-perl (which is also in NEW
as it's also a dependency of libsys-info-perl).
 

Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: B.B. King and Eric Clapton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20191027/184890ab/attachment.sig>


More information about the pkg-perl-maintainers mailing list