[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cme broken (just in case you do not now yet)



On Wed, 18 Mar 2020 11:54:47 +0100, Andreas Tille wrote:

> I'm quite busy so I did not checked BTS or other resources.  I'm currently
> observing
> 
> ragout(master) $ cme fix dpkg-control
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut.       
> Statusinformationen werden eingelesen.... Fertig
> Backend Dpkg::Control failed to read debian/control: Single parameters to new() must be a HASH ref data => debian at /usr/share/perl5/Config/Model/Dpkg/Control/Source/StandardVersion.pm line 19.
> Compilation failed in require at /usr/share/perl5/Config/Model/Node.pm line 260.

And this line 19 is

    my $profile = Lintian::Profile->new ('debian');

So the new lintian broke Config::Model::Dpkg.

The manpage for Lintian::Profile still says

    my $profile = Lintian::Profile->new ('debian');

which is apparently wrong.

Just

    my $profile = Lintian::Profile->new ();

also doesn't work (fails later) although my reading of the manpage
suggests that in that case the 'debian' profile should be loaded.

What does work is

    my $profile = Lintian::Profile->new ();
    $profile->load('debian');


Felix, does this change look ok?
    

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: Bob Dylan: Tempest

Attachment: signature.asc
Description: Digital Signature


Reply to: