Stock /usr/bin/makeinfo creates empty info files which are refused to be installed. emerge sys-apps/texinfo installs the proper makeinfo script but now needless .info files are produced. adding FEATURES=noinfo to prefix/etc/portage/make.conf does not fix the issue Reproducible: Always Steps to Reproduce: 1. Run ./bootstrap-prefix.sh $PWD/prefix noninteractive 2. Run emerge sys-apps/groff 3. Emerge operation dies in install stage of the groff ebuild because of .info files with zero size. Actual Results: emerge fails. Expected Results: either FEATURES=noinfo should work or fake makeinfo script should produce info files with size > 0 Workaround: emerge -1 sys-apps/texinfo to make sure info files worthy of install scripts are generated.
Addendum: Step 1.5: Run ./prefix/startprefix before attempting emerge.
Thanks for the workaround!
I wonder if we're hitting the same issue. From time to time I take the stable stage3 of amd64 and upgrade it to ~amd64. I am getting groff failures and the noinfo feature does not do trick for me. Can't locate Locale/Messages.pm in @INC (you may need to install the Locale::Messages module) (@INC contains: /usr/lib64/texinfo /usr/share/texinfo /usr/share/texinfo /etc/perl /usr/local/lib64/perl5/5.26.2/x86_64-linux /usr/local/lib64/perl5/5.26.2 /usr/lib64/perl5/vendor_perl/5.26.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.26.2 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.24.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.26.2/x86_64-linux /usr/lib64/perl5/5.26.2) at /usr/bin/makeinfo line 109. BEGIN failed--compilation aborted at /usr/bin/makeinfo line 109. make: *** [Makefile:11892: doc/groff.info] Error 2 In my case it looks like a perl-cleaner should be executed after upgrade of perl but before rest of system upgrade. I do not see a logs for your failure, can you check them if it's not the same case here?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b109ca82c51df4073dbb37ff239f6097504582ef commit b109ca82c51df4073dbb37ff239f6097504582ef Author: Michael Haubenwallner <haubi@gentoo.org> AuthorDate: 2019-01-28 17:28:23 +0000 Commit: Michael Haubenwallner <haubi@gentoo.org> CommitDate: 2019-01-28 17:34:57 +0000 bootstrap-prefix.sh: provide fake makeinfo early Provide fake makeinfo scripts early enough to avoid MAKEINFO variable. Closes: https://bugs.gentoo.org/673808 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> scripts/bootstrap-prefix.sh | 55 ++++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 26 deletions(-)