Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616190 - sys-libs/glibc: undeclared build dependency on texinfo ( Fails building libc.info )
Summary: sys-libs/glibc: undeclared build dependency on texinfo ( Fails building libc....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.27
  Show dependency tree
 
Reported: 2017-04-21 09:25 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2017-12-19 23:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo,5.24 KB, text/plain)
2017-04-21 09:25 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-21 09:25:40 UTC
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
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-10-03 19:45:25 UTC
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...
Comment 2 Felix Janda 2017-11-11 21:55:11 UTC
0063_all_aarch64-Optimized-memcpy-for-Qualcomm-Falkor-process.patch touches manual/tunables.texi...
Comment 3 Larry the Git Cow gentoo-dev 2017-12-17 22:27:22 UTC
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(-)
Comment 4 Joakim Tjernlund 2017-12-18 08:33:55 UTC
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.
Comment 5 Joakim Tjernlund 2017-12-19 15:42:28 UTC
Could we have a USE=doc for glibc-2.25 too?
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2017-12-19 23:02:50 UTC
(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.)