-
Notifications
You must be signed in to change notification settings - Fork 97
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
carton install works, but carton install --deployment doesn't #227
Comments
This should be |
I don't have this file that you describe:
I don't have neither in the local/ directory that was produced successfully (with |
Okay.
|
I'll open a bug on that module, with a pointer to this discussion. Thanks! |
There's an open bug there already (4 days old), but I cannot reply to it (I see no such option even though I'm logged in): https://rt.cpan.org/Public/Bug/Display.html?id=123030 |
Seems my problem is related. When try to But I want to report that Here is STDOUT:
|
@KES777 Could you copy and paste cpanfile and cpanfile.snapshot not in comment but in gist.github.com? And give us the gist urls. |
See ~/.cpanm/build.log Thanks for uploading snapshot and cpanfile to gist. |
This is situation as normal whenever you try to deploy on a different Perl version than you built the snapshot. If that is the case (probably not here) the solution is to generate a separate snapshot for each distro. This is how I usually do it in the build shell script:
|
@geira yes. I deploy on different host. And there is different perl. Local:
Remote:
I suppose that on remote host Maybe remote host has newer version than UPD |
Hello! Hypothetically, should |
The main issues have been between major Perl versions, especially where modules have been removed from core. The difference between 5.24.0 and 5.24.1 should in theory be negligible, as long as you deploy on the newest version. What I suggest is that you build a new snapshot on each platform and compare the differences. Also remember that the dependency chain might be different depending on which C libraries are present, e.g. it might need to install a pure Perl parser if a binary isn't available. |
I faced into this issues again. Now I dig more info. Target host have DEBIAN perl with patch which removes '.' from On local host I use Thus problem because of different perl destributions although perl versions are same For reference: Why current issue occur: @akarelas |
Again got errors while
|
Faced the same issue. I created snapshot file with perl 5.26.1 (running locally inside docker container) and tried to rebuild modules on my deployment host with exactly the same version. It fails. That's output from
In ~/.cpanm/build.log
In local/cache/modules/02packages.details.txt
No standalone Devel::StackTrace there. It's my first attempt to use carton in deployment mode and it looks like feature is broken. |
@elcamlost please attach |
I'm having the issue where "carton install" will install everything but "carton install --deployment" won't because the cpanfile.snapshot isn't being updated correctly. I'll open up a separate issue for that... |
carton install created a cpanfile.snapshot file. This same file, when passed to carton install --deployment, fails to execute correctly.
This is my cpanfile:
And this is my cpanfile.snapshot: https://pastebin.com/9R9WxU5g
I get this error (on perl 5.26.0):
Is this normal and expected, or a bug?
I remove my /local directory each time.
The text was updated successfully, but these errors were encountered: