miyagawa / cpanminus

cpanminus - get, unpack, build and install modules from CPAN
http://cpanmin.us
750 stars 213 forks source link

dependency (cpanfile.snapshot) ignored and system package not upgraded after build failure #590

Open matthewlenz opened 5 years ago

matthewlenz commented 5 years ago

I had a situation where Net-SSLeay (a dependency for IO-Socket-SSL) failed to build (missing ssl-dev) when deploying with cpanm. The system (debian) already had a much older version of Net-SSLeay installed which met the version dependency of IO-Socket-SSL. Subsequent runs of cpanm wouldn't install the new version of Net-SSLeay until I did a clean deployment (removing the deployed lib directory).

cpanm does use the cpanfile.snapshot, correct?