Skip to content

cpan2dist Infinite Recursive Dependencies, EU::MM & Encode & Carp & Test::Simple etc. #14

@wbraswell

Description

@wbraswell

I am unable to use cpan2dist for even simple cases, because it gets caught in a seemingly infinite loop of recursive dependencies between a relatively small set of core packages. Please help!

cpan2dist --format CPANPLUS::Dist::Fedora --verbose --keepsource --force --nobuildprereq ExtUtils::MakeMaker > ~/cpan2dist_fedora_eumm.log 2>&1

cpan2dist_fedora_eumm.log

I let it run overnight and it generated a 44MB log file w/out ever getting anywhere, for obvious reasons I have NOT attached the huge log.

For example, if you search for the test name "662-tbt-no-plan.t" in the attached log file, you will see it appear 11 times. In the huge overnight log, this particular test was run 778 times!

There are a number of other errors as well, not sure if related...

Line 694:

[ERROR] Failed to create Fedora package for 'Carp': error: Failed build dependencies:
    perl(IPC::Open3) >= 1.0103 is needed by perl-Carp-1.38-1.el7.centos.noarch
[ERROR] Unable to create a new distribution object for 'Carp::Heavy' -- cannot continue
[ERROR] Failed to install 'Carp::Heavy' as prerequisite for 'File::Temp'
[ERROR] Unable to satisfy prerequisites for 'File::Temp' -- aborting install

Line 1243:

RPM build errors:
    File not found by glob: /home/wbraswell/rpmbuild/BUILDROOT/perl-XSLoader-0.24-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/*
[ERROR] Failed to create Fedora package for 'XSLoader': Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Li2NKP

Line 2416:

error: Failed build dependencies:
    perl(IPC::Open3) >= 1.0103 is needed by perl-Carp-1.38-1.el7.centos.noarch
[ERROR] Failed to create Fedora package for 'Carp': error: Failed build dependencies:
    perl(IPC::Open3) >= 1.0103 is needed by perl-Carp-1.38-1.el7.centos.noarch
[ERROR] Unable to create a new distribution object for 'Carp' -- cannot continue
[ERROR] Failed to install 'Carp' as prerequisite for 'Exporter'
[ERROR] Unable to satisfy prerequisites for 'Exporter' -- aborting install

etc...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions