Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPANPLUS package adds a perl-cpanplus-dist-arch dependency. #1

Open
juster opened this issue Feb 23, 2010 · 1 comment
Open

CPANPLUS package adds a perl-cpanplus-dist-arch dependency. #1

juster opened this issue Feb 23, 2010 · 1 comment

Comments

@juster
Copy link
Owner

juster commented Feb 23, 2010

For some reason, when creating a package for CPANPLUS, perl-cpanplus-dist-arch is listed as a dependency (version 0.0 to be exact).

This is most likely inside CPANPLUS's source code because C::D::A only translates the dependencies CPANPLUS gives it into pacman packages.

@juster
Copy link
Owner Author

juster commented Feb 24, 2010

CPANPLUS::Dist::Arch is added as a requirement of CPANPLUS when Makefile.PL runs. Makefile.PL creates a Makefile with modules required for certain features. Features are enabled (and modules required) if the running instance of CPANPLUS has certain configuration values set.
(See Makefile.PL:160)

There is a 'dist_type' feature which is enabled if the 'dist_type' config value is set to anything. The 'dist_type' in this case is set to CPANPLUS::Dist::Arch.
(See Selfupdate:95)

If the 'dist_type' feature is "enabled", its value (C::D::A) is added to CPANPLUS's prerequisite modules! Bummmer!

When 'dist_type' is set that means the packager CPANPLUS::Dist::Whatever module is trying to package CPANPLUS. This new CPANPLUS package then has a dependency on CPANPLUS::Dist::Whatever, which of course depends on CPANPLUS to even run! Weird.

juster pushed a commit that referenced this issue Oct 8, 2015
Merge pull request #26 from jnbek/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant