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

Incompatible CPAN modules #74

Open
miyagawa opened this issue May 14, 2022 · 0 comments
Open

Incompatible CPAN modules #74

miyagawa opened this issue May 14, 2022 · 0 comments
Labels

Comments

@miyagawa
Copy link
Owner

miyagawa commented May 14, 2022

Here's a list of known modules that could cause problems in Carmel, with or without workarounds. If you want to report a module that's not in this list, please open a new issue.

Generated with .pm.PL

Some modules are generated by .pm.PL execution in configure, and META.json doesn't contain provides fields. This makes Menlo fail to record the correct version number from the generated .pm files. carmel install would fail when verifying the build artifacts to be valid, since there's no version information available.

There're some other modules that caused a similar issue in the past with Carton: perl-carton/carton#210 Most of them have been dealt with by fixing the metadata in the upstream.

Extra code triggered during make/Build

Some modules generate files during the make install execution, which Carmel doesn't run. carmel install succeeds, but you'll get a runtime error with carmel exec.

XS modules that are not relocatable

Some XS module with external C library dependencies record the installation path and does not work when relocated to a new directory. carmel install succeeds, but you'll get a loading error with carmel exec.

Invalid provides in install metadata

Invalid NAME in Makefile.PL and install metadata

Some modules have invalid NAME field in Makefile.PL and that causes invalid package recorded in install.json data generated by Menlo. Carmel would give you a warning when you run carmel update, when there's such a module in your dependencies. There's no actual harm with this issue other than a warning noise in the output.

@miyagawa miyagawa added the doc label May 14, 2022
@miyagawa miyagawa pinned this issue May 15, 2022
Repository owner locked and limited conversation to collaborators May 15, 2022
@miyagawa miyagawa changed the title Incompatible modules Incompatible CPAN modules May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant