Bug#707229: libyaml-perl seems require Mo, which is not packaged for debian

gregor herrmann gregoa at debian.org
Wed May 8 17:43:46 UTC 2013


On Wed, 08 May 2013 12:00:47 +0100, Ruslan Kabalin wrote:

> After upgrading to Wheezy I have got a problem with so-called "configbuild
> tool" (which uses libyaml-perl) and reports the following errors:

Thanks for reporting this problem.
 
> DEBUG - Loading YAML data from defaults/params.yml
> FATAL - Can't locate Mo/builder.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
> /usr/local/lib/site_perl . /usr/share/configbuild/lib) at (eval 305) line 2,
> <$IN> line 1.
>  at (eval 305) line 2
>         YAML::Mo::BEGIN() called at (eval 305) line 2
>         eval {...} called at (eval 305) line 2
>         eval 'no Mo::builder
> ;' called at /usr/share/perl5/YAML/Mo.pm line 5
>         YAML::Mo::__ANON__(undef, 'builder', 'default') called at
> /usr/share/perl5/YAML/Loader.pm line 2
>         YAML::Loader::BEGIN() called at (eval 305) line 2
>         eval {...} called at (eval 305) line 2
>         require YAML/Loader.pm called at (eval 304) line 2
>         eval 'require YAML::Loader
> ;' called at /usr/share/perl5/YAML.pm line 82
>         YAML::init_action_object('YAML=HASH(0x1d5d1e0)', 'loader') called at
> /usr/share/perl5/YAML.pm line 21
>         YAML::__ANON__('YAML=HASH(0x1d5d1e0)') called at
> /usr/share/perl5/YAML/Mo.pm line 5
>         YAML::Mo::__ANON__('YAML=HASH(0x1d5d1e0)') called at
> /usr/share/perl5/YAML.pm line 34
>         YAML::Load('---
> #########################################################...') called at
> /usr/share/perl5/YAML.pm line 75
>         YAML::LoadFile('defaults/params.yml') called at /usr/bin/configbuild
> line 500
>         eval {...} called at /usr/bin/configbuild line 500
>         ConfigUtils::ConfigBuild::load_yaml('HASH(0x1d42860)',
> 'defaults/params.yml') called at /usr/bin/configbuild line 716
>         ConfigUtils::ConfigBuild::load_datasource('HASH(0x1d42860)',
> 'params.yml', 'defaults/config.rb3') called at /usr/bin/configbuild line 816
>         ConfigUtils::ConfigBuild::__ANON__() called at
> /usr/share/perl5/Error.pm line 416
>         eval {...} called at /usr/share/perl5/Error.pm line 408
>         Error::subs::try('CODE(0x1d5cdf0)', 'HASH(0x1d5d048)') called at
> /usr/bin/configbuild line 823

Interesting.

My reading is that /usr/bin/configbuild and
ConfigUtils::ConfigBuild::load_yaml load YAML and use YAML::Load,
which calls its own YAML::Mo::* stuff ... and then something (?)
looks for Mo::builder (instead if YAML::Mo::Builder) and fails ...

Is this ConfigUtils::ConfigBuild and /usr/bin/configbuild available
somewhere? Alternatively can you produce some minimal testcase
without it?


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
   `-   NP: Leonard Cohen: Boogie Street
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130508/c083e658/attachment.pgp>


More information about the pkg-perl-maintainers mailing list