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
Still receiving error for perllocal.pod #510
Comments
You can see such messages with --verbose or --debug flag, btw, without having to change the code ;) Can you show me a sample package list where this file is present? I'd love to fix this. |
I was already in there checking it out with vim so I got a little crazy :) So basically on a fresh install of eith CentOS5.5 or 6.3 (two versions we use here), I made the following packages using fpm -s cpan -t rpm $MODULENAME. And after installing perl-File-Temp I could not install any of the others. Also, kind of unrelated but I noticed that as a dependency for perl-Net-STOMP-Client, if you install by itself it lists perl-perl. Is this just something that is worked out once all other dependencies are met, I definitly have perl installed, or is it something weird specific to this module? |
The perl-perl thing is a bug from the dependency name fixer. I added a switch statement to allow for further exceptions but the above pull request resolves this specific case. |
I'm still getting this error with the latest fpm. The two perl modules in question are
installation attempt:
This is on a CentOS 6.4 vm. FYI, I'm checking out the latest version of fpm with this (in case I'm doing it wrong):
@miked63017 - you still having issues? Thanks guys! |
You can see in the installation output that the path for the perllocal.pod file and the one in the code for removal are different. Maybe worth stat'ing or running find on the directory recursively to remove perllocal.pod (and anything else unnecessary) is an option? |
marking this fixed; will be available in the next release (soon) |
I tried deleting perllocal.pod, but still no luck
rpm still seems to know about it
These rpms were built with the fpm master I cloned yesterday with |
can you include the output here of Are you certain you built it with fpm master? Can you show the output of |
5f0d309 is the latest commit as of right now. |
Nevermind, we're good on this. I did NOT have the latest fpm checkout. I had missed that particular commit by an hour or so :). Thanks again. |
woohoo! Thanks for confirming :) |
For example, if cpan_perl_lib_path is set to "/usr/share/perl5", all packages created with fpm will contain this file: /usr/share/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod The current code only works if cpan_perl_lib_path is undefined. Also see jordansissel#443 and jordansissel#510.
For example, if cpan_perl_lib_path is set to "/usr/share/perl5", all packages created with fpm will contain this file: /usr/share/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod The current code only works if cpan_perl_lib_path is undefined. Also see jordansissel#443 and jordansissel#510.
Hi, I am still receiving the perllocal.pod error even after your update. I am using version 0.4.42 and the cpan.rb contains:
I briefly glanced at the code and was wondering if this would be better solved maybe naming it like perllocal.pod.new and then moving it post install? Whatever works would be awesome though. Please let me know if you need any testing, before or after the fact. Thanks.
BTW I changed the logger to error so I can see when it triggers.
The text was updated successfully, but these errors were encountered: