I was building a new chroot for testing LibreSSL on Gentoo. I downloaded stage3-amd64-nomultilib-20160225.tar.bz2 and extracted it to /opt/libreroot. Went through the normal set up, added ~amd64 to ACCEPT_KEYWORDS, and ran emerge -avuND @world before proceeding (so this is still a normal stage3 install). Perl was upgraded from 5.20 to 5.22. texinfo had a preserved library, so I attempted to upgrade it using emerge -av1 texinfo. [ebuild R ] sys-apps/texinfo-6.1::gentoo USE="nls -static" 0 KiB Can't locate Locale/Messages.pm in @INC (you may need to install the Locale::Messages module) (@INC contains: ../tp/Texinfo/Convert/XSParagraph ../tp/maintain ../tp ../tp ../tp /etc/perl /usr/local/lib64/perl5/5.22.1/x86_64-linux /usr/local/lib64/perl5/5.22.1 /usr/lib64/perl5/vendor_perl/5.22.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.22.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.22.1/x86_64-linux /usr/lib64/perl5/5.22.1 .) at ../tp/texi2any line 109. BEGIN failed--compilation aborted at ../tp/texi2any line 109. Can't locate Locale/Messages.pm in @INC (you may need to install the Locale::Messages module) (@INC contains: ../tp/Texinfo/Convert/XSParagraph ../tp/maintain ../tp ../tp ../tp /etc/perl /usr/local/lib64/perl5/5.22.1/x86_64-linux /usr/local/lib64/perl5/5.22.1 /usr/lib64/perl5/vendor_perl/5.22.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.22.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.22.1/x86_64-linux /usr/lib64/perl5/5.22.1 .) at ../tp/texi2any line 109. BEGIN failed--compilation aborted at ../tp/texi2any line 109. Makefile:1214: recipe for target 'texinfo.info' failed make[3]: *** [texinfo.info] Error 2 make[3]: *** Waiting for unfinished jobs.... Makefile:1274: recipe for target 'info-stnd.info' failed make[3]: *** [info-stnd.info] Error 2 make[3]: Leaving directory '/var/tmp/portage/sys-apps/texinfo-6.1/work/texinfo-6.1/doc' Makefile:1417: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-apps/texinfo-6.1/work/texinfo-6.1/doc' Makefile:1174: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/texinfo-6.1/work/texinfo-6.1' Makefile:1113: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: sys-apps/texinfo-6.1::gentoo failed (compile phase): * emake failed I had to run perl-cleaner --reallyall to fix this, which then told me: * It seems like perl-cleaner had to rebuild some packages. * * If you have just updated your major Perl version (e.g. from 5.20.2 to 5.22.0), * and have run perl-cleaner _after_ that update, then this means most likely * that these packages are buggy. Please file a bug on http://bugs.gentoo.org/ and * report that perl-cleaner needed to reinstall the following list: * sys-apps/texinfo:0 app-text/po4a:0 perl-core/File-Temp:0 virtual/perl-File-Temp:0 perl-core/Module-Metadata:0 virtual/perl-Module-Metadata:0 dev-perl/libintl-perl:0 dev-perl/Text-CharWidth:0 dev-perl/Locale-gettext:0 dev-perl/Module-Build:0 dev-perl/XML-Parser:0 dev-perl/Text-Unidecode:0 dev-perl/Unicode-EastAsianWidth:0 dev-perl/Text-WrapI18N:0 dev-perl/SGMLSpm:0 dev-perl/TermReadKey:0 * I am therefore performing what it told me to, filing a bug that perl-cleaner needed to reinstall the following list and texinfo is buggy. I'm not really a Perl guru so I'm not sure if any other information is helpful. I didn't think to save the workdir for the failed texinfo merge, I'm sorry. If it would be helpful, I can attempt to reproduce it in another chroot.
Known, sadly we dont have a clear idea yet how to fix it *** This bug has been marked as a duplicate of bug 463976 ***
*** This bug has been marked as a duplicate of bug 583674 ***