The configure script accepts --disable-nls, and without it, people who have nls useflag turned off, and therefor no gettext will be unable to install. Its a trivial patch to add an nls useflag so that the grub ebuild behaves as most other core compents do. Therefor I would like to request that such a useflag be added, to make it behave better. The only other option seems to be to add a dependancy to gettext, which seems wrong. Reproducible: Always
Created attachment 227897 [details, diff] Patch against current grub-1.98.ebuild
Seems my "simple" patch doesn't work...
Created attachment 228117 [details, diff] Patch against current grub-1.98.ebuild
Created attachment 228119 [details, diff] Patch against current grub-1.98.ebuild Correct patch this time
Created attachment 228121 [details, diff] Patch to grub-1.98 to remove dependancy on gettext Not sure this is a good idea, but it works for me and lets me not have gettext.
Well, I'm getting something that looks like this bug, just I do have nls enabled. I am unsure if it is related, but this line gives me the clue it also has to do with gettext: Can't locate Locale/gettext.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.10.1/x86_64-linux /usr/lib64/perl5/site_perl/5.10.1 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.10.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.10.1/x86_64-linux /usr/lib64/perl5/5.10.1 .) at /usr/bin/help2man line 29. Working off a really old bug on an unrelated package but with the same message tho I tried running 'perl-cleaner reallyall' which fixed the issue.
i have no problem with the USE=nls changes to the ebuild wrt econf, but applying patches is out. grub-2 changes should go through upstream.