Created attachment 470540 [details] emerge --info glibc uses texinfo during its build cycle, so if somebody recently upgraded Perl, this means texinfo must be rebuilt before glibc attempts to use it. I know system stuff is a bit picky, but "dwfreed" reccons it should be doable. Stumbled onto this during experimental testing for perl 5.26 Error shown indicates texinfo has not been recompiled against newer perl yet. LANGUAGE=C LC_ALL=C makeinfo -P /var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ --output=/var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/libc.info libc.texinfo Perl API version v5.25.11 of Texinfo::Convert::XSParagraph::XSParagraph does not match v5.25.12 at /usr/share/texinfo/Texinfo/Convert/Paragraph.pm line 229, <$fh> line 8. BEGIN failed--compilation aborted at /usr/share/texinfo/Texinfo/Convert/Paragraph.pm line 249. Compilation failed in require at /usr/share/texinfo/Texinfo/Convert/Plaintext.pm line 29. BEGIN failed--compilation aborted at /usr/share/texinfo/Texinfo/Convert/Plaintext.pm line 29. Compilation failed in require at /usr/share/texinfo/Texinfo/Convert/Info.pm line 25. BEGIN failed--compilation aborted at /usr/share/texinfo/Texinfo/Convert/Info.pm line 25. Compilation failed in require at (eval 13) line 1. make[2]: *** [Makefile:144: /var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/libc.info] Error 2
It probably makes more sense to somehow get along without texinfo. AFAICR upstream pre-builds the docs in the tarballs. Which means our patches touch something that makes the makefiles regenerate them...
0063_all_aarch64-Optimized-memcpy-for-Qualcomm-Falkor-process.patch touches manual/tunables.texi...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abbc4ee764485b39ca6e9861fc3f54b4c793a99b commit abbc4ee764485b39ca6e9861fc3f54b4c793a99b Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2017-12-17 22:26:52 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2017-12-17 22:27:11 +0000 sys-libs/glibc: Add useflag doc; controlls installation of manual and dependency on texinfo, bug 616190 Closes: https://bugs.gentoo.org/616190 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-libs/glibc/glibc-2.26-r3.ebuild | 11 +++++++++-- sys-libs/glibc/glibc-9999.ebuild | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-)
Thanks for USE=doc, I been wishing for that a while. I have noticed rebuilding older glibc often fails during makeinfo as makeinfo gets pickier for each release. I which more pkgs used doc USE flag. I know there are FEATURES="noman nodoc noinfo" but these are suboptimal, they still pull in doc/man dependencies and will build docs/man pages which may fail.
Could we have a USE=doc for glibc-2.25 too?
(In reply to Joakim Tjernlund from comment #5) > Could we have a USE=doc for glibc-2.25 too? I'd prefer not to. 2.25 still uses the monolithic eclass for nearly all code. Meaning, you touch one thing and all other (earlier) glibc ebuilds change too... With 2.26 I've piecewise started migrating away from that, and then it becomes much easier to add features and/or experiment. (The plan is to drop the eclass completely with 2.27.)