Hello, there're two issues here: - perl-File-MimeInfo doesn't build with perl-5.14.0, there seems to be a possible fix https://rt.cpan.org/Public/Bug/Display.html?id=66841 - /usr/bin/mimetype hardcodes the perl version: $ mimetype 1 bash: /usr/bin/mimetype: /usr/bin/perl5.12.2: bad interpreter: No such file or directory so it should depend on the specific perlapi-$VERSION of the perl it was built with, so that we don't forget to rebuild it with the next perl major upgrade. Assigning to the perl maintainer.
- patch added to package. - perl scripts installed in /usr/bin have their shebang line replaced with the exact path to the perl that built the package. and adding a perlapi requires would not work, since it *also* breaks on minor perl upgrades. we need to rebuild all of those every time there's a perl upgrade. i need to check whether it's possible to keep /usr/bin/perl in the shebang line
Status: NEW => RESOLVEDResolution: (none) => FIXED
OK, thanks for the clarification.
fyi - i've committed in svn+ssh://svn.mageia.org/svn/packages/cauldron/perl/current a script named find-need-rebuild which will find all packages providing a perl script with a wrong shebang.
That should improve things. The problem is, it'll only catch installed packages, but usually there're many uninstalled packages than installed ones.
indeed, but there's no way to know the shebang used by a non-installed package. note however that i have almost all perl packages installed locally.
(All of them? great, that should work then :)).