Bug#775725: -make-perl requires YAML::XS, which is not installed (nor even packaged for Debian)

gregor herrmann gregoa at debian.org
Mon Jan 19 11:25:25 UTC 2015


Control: retitle -1 -make-perl requires YAML::XS, which is not installed

On Mon, 19 Jan 2015 11:39:25 +0100, Moritz Lenz wrote:

> when running
> 
>     dh-make-perl --vcs '' --desc 'dummy' .
> 
> on a git-clone of https://github.com/jamesc/nagios-plugins-rabbitmq I got
> this output:
> 
> [...]
> Needs the following debian packages during building: perl (>= 5.9.4)
> Package does not provide a long description -  Please fill it in manually.
> Using maintainer: Moritz Lenz <mlenz at noris.net>
> Found docs: README.md
> Using rules: /usr/share/dh-make-perl/rules.dh.tiny
> Module::Build needs perl
> Can't locate YAML/XS.pm in @INC (you may need to install the YAML::XS
> module) (@INC contains: /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1
> /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20
> /usr/local/lib/site_perl /home/mlenz/src/nagios-plugins-rabbitmq) at
> /usr/share/perl5/DhMakePerl/Command/Packaging.pm line 1580, <DATA> line 6.

Thanks for your bugreport.
 
> And indeed, line 1580 of /usr/share/perl5/DhMakePerl/Command/Packaging.pm is
> 
>     require YAML::XS;
> 
> but dh-make-perl neither depends on libyaml-xs-perl, nor does such a package
> exist in Debian Jessie.

YAML::XS is packaged as libyaml-libyaml-perl:

% apt-file search YAML/XS.pm
libyaml-libyaml-perl: /usr/lib/perl5/YAML/XS.pm
libyaml-libyaml-perl: /usr/lib/x86_64-linux-gnu/perl5/5.20/YAML/XS.pm

But yes, there's a dependency missing.
 
Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   BOFH excuse #432:  Borg nanites have infested the server 



More information about the pkg-perl-maintainers mailing list