Even if -nls is set in USE, fetchmail requires libiconv and gettext (its in the DEPEND). Reproducible: Always Steps to Reproduce: 1. USE=-nls 2. 3. Actual Results: fetchmail gets compiled with localization. Expected Results: fetchmail should be compiled without localization. libiconv and gettext creates problems in embedded.
Created attachment 67344 [details, diff] fetchmail-6.2.5.2-nonls.patch This patch should be applied when USE=-nls. sys-devel/gettext should *only* be in RDEPEND when USE=nls
Created attachment 67347 [details, diff] fetchmail-6.2.5.2-nonls.patch This patch also strips some lines in the install section in Makefile.in that I forgot in the previous.
Created attachment 67348 [details, diff] fetchmail-6.2.5.2.ebuild.patch Patch for the ebuild to apply the previously posted nonls patch.
Sorry for making noise, but... I just fixed this thing once again and were just about to submit a new, very similar patch when I found out that I already had submitted one. While I were there, I noticed that the entire thing is trigged by the kerberos patch who modifies configure.in. That makes make execute autoconf and autoconf needs the AM_GNU_GETTEXT which fails on embedded (uclibc) systems. So, I suggest this should happen: if kerberos is turned on: apply kerberos path if nls is disabled: apply the nonls-patch otherwise... just ingnore those patches. That way will neither the kerberos patch or nonls patch be applied if kerberos is turned off and autoconf will not be executed. That will dramatically reduce build time for all non-kerberos users and it will work without the nonsl patch on embedded.
Created attachment 70159 [details, diff] fetchmail-6.2.5.2.ebuild.patch (update) It would be nice if this could be commited. (so I won't forget it and fix it a third time)
This should be OK in freshly added fetchmail-6.3.0 - it builds fine with USE=-nls, and it doesn't install .po files into system. Please test and comment here. Thank you.
Works like a charm. Thanks!
I'm glad. Closing bug.