perl-carton / carton

Bundler or pip freeze for Perl
http://search.cpan.org/dist/carton
Other
494 stars 96 forks source link

Module::Find 0.09 cannot be snapshotted or bundled #265

Open davel opened 4 years ago

davel commented 4 years ago

Module::Find 0.09 has a unicode BOM on some files and a DOS-style line endings.

https://metacpan.org/release/CRENZ/Module-Find-0.09

root@b0a00a19edbd:~/carton# cat cpanfile 
requires "Module::Find", "== 0.09"
root@b0a00a19edbd:~/carton# carton install
Installing modules using /root/carton/cpanfile
Successfully installed Module-Find-0.09
1 distribution installed
Complete! Modules were installed into /root/carton/local
root@b0a00a19edbd:~/carton# carton bundle 
Bundling modules using /root/carton/cpanfile
Writing /root/carton/vendor/cache/modules/02packages.details.txt.gz
Complete! Modules were bundled into /root/carton/vendor/cache
root@b0a00a19edbd:~/carton# zcat /root/carton/vendor/cache/modules/02packages.details.txt.gz
File:         02packages.details.txt
URL:          http://www.perl.com/CPAN/modules/02packages.details.txt
Description:  Package names found in cpanfile.snapshot
Columns:      package name, version, path
Intended-For: Automated fetch routines, namespace documentation.
Written-By:   Carton v1.0.34
Line-Count:   0
Last-Updated: Thu Feb  6 12:47:01 2020

root@b0a00a19edbd:~/carton# carton version
carton v1.0.34
root@b0a00a19edbd:~/carton# cat cpanfile.snapshot 
# carton snapshot format: version 1.0
DISTRIBUTIONS
root@b0a00a19edbd:~/carton# ls -l local/lib/perl5/Module/Find.pm 
-r--r--r-- 1 root root 6672 Feb 26  2010 local/lib/perl5/Module/Find.pm
minusdavid commented 3 years ago

I'm finding the same thing with Linux::Inotify2.