* glibc 2.25 error during install @ 2018-08-06 16:18 Leo Butler 2018-08-06 17:34 ` Carlos O'Donell 0 siblings, 1 reply; 11+ messages in thread From: Leo Butler @ 2018-08-06 16:18 UTC (permalink / raw) To: libc-help Greetings! This is my first time posting to the list. I'm hoping someone can provide a little insight into a failure I'm getting while installing glibc in a Gentoo Prefix build under a CentOS 6.9 host OS. The step that's failing involves generating the libc.info* files; somewhere around the libc-texinfo.sh script, the file libc.info is found to be zero-length and the install fails. I've been looking for missing dependencies and I saw a reference to texi2dvi in the manual/Makefile so I installed the necessary tex* RPMs so it would be available, but that didn't allow the install to finish. I'm rebuilding glibc on the chance that it gets compiled first and installed later (seems to be how Prefix does it) so we'll see what happens in a few hours. In the meantime, if you have any suggestions, I'd sure welcome them. Here's the specific error I get: LANGUAGE=C LC_ALL=C makeinfo -P /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ --output=/auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ libc.info libc.texinfo makeinfo GNU texinfo 4.13 .././scripts/mkinstalldirs /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/image//auto/ins-tools/linux_rh6/usr/share/info mkdir -p -- /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/image//auto/ins-tools/linux_rh6/usr/share/info for file in /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ libc.info*; do \ /auto/ins-tools/linux_rh6/usr/bin/install -c -m 644 $file /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/image//auto/ins-tools/linux_rh6/usr/share/info/; \ done install-info: /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/image//auto/ins-tools/linux_rh6/usr/share/info/ libc.info: empty file make[2]: *** [Makefile:180: install] Error 1 Thanks, - Leo ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-06 16:18 glibc 2.25 error during install Leo Butler @ 2018-08-06 17:34 ` Carlos O'Donell 2018-08-06 17:53 ` Leo Butler 0 siblings, 1 reply; 11+ messages in thread From: Carlos O'Donell @ 2018-08-06 17:34 UTC (permalink / raw) To: Leo Butler, libc-help On 08/06/2018 12:18 PM, Leo Butler wrote: > Here's the specific error I get: > > LANGUAGE=C LC_ALL=C makeinfo -P > /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > --output=/auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > libc.info libc.texinfo > makeinfo GNU texinfo 4.13 Enter the build directory and issue 'make pdf', do you get an error? -- Cheers, Carlos. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-06 17:34 ` Carlos O'Donell @ 2018-08-06 17:53 ` Leo Butler 2018-08-06 19:16 ` Leo Butler 2018-08-06 19:17 ` Carlos O'Donell 0 siblings, 2 replies; 11+ messages in thread From: Leo Butler @ 2018-08-06 17:53 UTC (permalink / raw) To: libc-help Hi Carlos, No error, that worked just fine. bash-4.1$ make pdf make -r PARALLELMFLAGS="" -C /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25 objdir=`pwd` pdf [snip] Output written on libc.pdf (1124 pages, 5879560 bytes). Transcript written on libc.log. bash-4.1$ ls -rlt manual/libc.pdf -rw-r--r-- 1 insrgr eng 5879560 Aug 6 10:48 manual/libc.pdf Regards, - Leo On Mon, Aug 6, 2018 at 10:33 AM Carlos O'Donell <carlos@redhat.com> wrote: > On 08/06/2018 12:18 PM, Leo Butler wrote: > > Here's the specific error I get: > > > > LANGUAGE=C LC_ALL=C makeinfo -P > > > /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > > > --output=/auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > > libc.info libc.texinfo > > makeinfo GNU texinfo 4.13 > > Enter the build directory and issue 'make pdf', do you get an error? > > -- > Cheers, > Carlos. > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-06 17:53 ` Leo Butler @ 2018-08-06 19:16 ` Leo Butler 2018-08-06 19:29 ` Carlos O'Donell 2018-08-06 19:17 ` Carlos O'Donell 1 sibling, 1 reply; 11+ messages in thread From: Leo Butler @ 2018-08-06 19:16 UTC (permalink / raw) To: libc-help Removing the empty manual/libc.info and running "make info" generates another empty libc.info. bash-4.1$ rm manual/libc.info bash-4.1$ make info make -r PARALLELMFLAGS="" -C /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25 objdir=`pwd` info make[1]: Entering directory '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' make -C manual info make[2]: Entering directory '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' LANGUAGE=C LC_ALL=C makeinfo -P /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ --output=/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ libc.info libc.texinfo makeinfo GNU texinfo 4.13 make[2]: Leaving directory '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' make[1]: Leaving directory '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' bash-4.1$ !find find . -name libc.info ./manual/libc.info bash-4.1$ ls -rlt manual/libc.info -rw-r--r-- 1 insrgr eng 0 Aug 6 12:01 manual/libc.info I do see the texinfo file, looks like it's part of the source tarball (not generated): bash-4.1$ ls -rlt /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo -rw-r--r-- 1 insrgr eng 4460 Feb 5 2017 /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo Regards, - Leo On Mon, Aug 6, 2018 at 10:52 AM Leo Butler <leobutler@gmail.com> wrote: > Hi Carlos, > > No error, that worked just fine. > > bash-4.1$ make pdf > make -r PARALLELMFLAGS="" -C > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25 > objdir=`pwd` pdf > [snip] > Output written on libc.pdf (1124 pages, 5879560 bytes). > Transcript written on libc.log. > bash-4.1$ ls -rlt manual/libc.pdf > -rw-r--r-- 1 insrgr eng 5879560 Aug 6 10:48 manual/libc.pdf > > Regards, > > - Leo > > On Mon, Aug 6, 2018 at 10:33 AM Carlos O'Donell <carlos@redhat.com> wrote: > >> On 08/06/2018 12:18 PM, Leo Butler wrote: >> > Here's the specific error I get: >> > >> > LANGUAGE=C LC_ALL=C makeinfo -P >> > >> /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ >> > >> --output=/auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ >> > libc.info libc.texinfo >> > makeinfo GNU texinfo 4.13 >> >> Enter the build directory and issue 'make pdf', do you get an error? >> >> -- >> Cheers, >> Carlos. >> > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-06 19:16 ` Leo Butler @ 2018-08-06 19:29 ` Carlos O'Donell 2018-08-06 20:32 ` Leo Butler 0 siblings, 1 reply; 11+ messages in thread From: Carlos O'Donell @ 2018-08-06 19:29 UTC (permalink / raw) To: Leo Butler, libc-help On 08/06/2018 03:16 PM, Leo Butler wrote: > Removing the empty manual/libc.info and running "make info" generates > another empty libc.info. > > bash-4.1$ rm manual/libc.info > bash-4.1$ make info > make -r PARALLELMFLAGS="" -C > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25 > objdir=`pwd` info > make[1]: Entering directory > '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' > make -C manual info > make[2]: Entering directory > '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' > LANGUAGE=C LC_ALL=C makeinfo -P > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > --output=/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > libc.info libc.texinfo > makeinfo GNU texinfo 4.13 > make[2]: Leaving directory > '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' > make[1]: Leaving directory > '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' > bash-4.1$ !find > find . -name libc.info > ./manual/libc.info > bash-4.1$ ls -rlt manual/libc.info > -rw-r--r-- 1 insrgr eng 0 Aug 6 12:01 manual/libc.info > > I do see the texinfo file, looks like it's part of the source tarball (not > generated): > > bash-4.1$ ls -rlt > /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo > -rw-r--r-- 1 insrgr eng 4460 Feb 5 2017 > /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo It should be doing way more work than this. grep 'makeinfo' config.log configure:4799: checking for makeinfo configure:4815: found /usr/bin/makeinfo configure:4826: result: makeinfo configure:4841: checking version of makeinfo ac_cv_prog_MAKEINFO=makeinfo MAKEINFO='makeinfo' Which makeinfo is being used? Then run makeinfo --version? -- Cheers, Carlos. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-06 19:29 ` Carlos O'Donell @ 2018-08-06 20:32 ` Leo Butler 2018-08-06 21:25 ` Leo Butler 0 siblings, 1 reply; 11+ messages in thread From: Leo Butler @ 2018-08-06 20:32 UTC (permalink / raw) To: carlos; +Cc: libc-help Hi Carlos, Here you go: bash-4.1$ grep makeinfo config.log configure:4843: checking for makeinfo configure:4859: found /auto/ins-tools/linux_cel69/usr/bin/makeinfo configure:4870: result: makeinfo configure:4885: checking version of makeinfo ac_cv_prog_MAKEINFO=makeinfo MAKEINFO='makeinfo' bash-4.1$ makeinfo --version makeinfo GNU texinfo 4.13 touch (GNU coreutils) 8.30 Packaged by Gentoo (8.30 (p01)) Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. There is a /usr/bin/makeinfo on the system, but it's not being used. I intentionally added the Gentoo Prefix EPREFIX bin paths into the front of the PATH variable before beginning to be absolutely sure newly built tools are found in the correct location. I think the bootstrap script provided by Prefix does that already, though. - Leo On Mon, Aug 6, 2018 at 12:29 PM Carlos O'Donell <carlos@redhat.com> wrote: > On 08/06/2018 03:16 PM, Leo Butler wrote: > > Removing the empty manual/libc.info and running "make info" generates > > another empty libc.info. > > > > bash-4.1$ rm manual/libc.info > > bash-4.1$ make info > > make -r PARALLELMFLAGS="" -C > > > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25 > > objdir=`pwd` info > > make[1]: Entering directory > > > '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' > > make -C manual info > > make[2]: Entering directory > > > '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' > > LANGUAGE=C LC_ALL=C makeinfo -P > > > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > > > --output=/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > > libc.info libc.texinfo > > makeinfo GNU texinfo 4.13 > > make[2]: Leaving directory > > > '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' > > make[1]: Leaving directory > > > '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' > > bash-4.1$ !find > > find . -name libc.info > > ./manual/libc.info > > bash-4.1$ ls -rlt manual/libc.info > > -rw-r--r-- 1 insrgr eng 0 Aug 6 12:01 manual/libc.info > > > > I do see the texinfo file, looks like it's part of the source tarball > (not > > generated): > > > > bash-4.1$ ls -rlt > > > /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo > > -rw-r--r-- 1 insrgr eng 4460 Feb 5 2017 > > > /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo > > It should be doing way more work than this. > > grep 'makeinfo' config.log > configure:4799: checking for makeinfo > configure:4815: found /usr/bin/makeinfo > configure:4826: result: makeinfo > configure:4841: checking version of makeinfo > ac_cv_prog_MAKEINFO=makeinfo > MAKEINFO='makeinfo' > > Which makeinfo is being used? > > Then run makeinfo --version? > > -- > Cheers, > Carlos. > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-06 20:32 ` Leo Butler @ 2018-08-06 21:25 ` Leo Butler 2018-08-07 5:00 ` Leo Butler 0 siblings, 1 reply; 11+ messages in thread From: Leo Butler @ 2018-08-06 21:25 UTC (permalink / raw) To: libc-help I removed the file again and ran "make -n info" and I got 27 lines. I ran each and every one of them in turn (had to fix one special character in a sort command) and each one generated the desired file *except* for the last one, the makeinfo step. I modified the command to use the makeinfo from /usr/bin/makeinfo explicitly, and it worked with a few warnings issued: bash-4.1$ LANGUAGE=C LC_ALL=C /usr/bin/makeinfo -P /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ --output=/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ libc.info libc.texinfo /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual//string.texi:1125: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that. /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual//string.texi:2490: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that. /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual//filesys.texi:3257: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that. bash-4.1$ ls -rlt /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ libc.info -rw-r--r-- 1 insrgr eng 91678 Aug 6 14:16 /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ libc.info bash-4.1$ /usr/bin/makeinfo --version makeinfo (GNU texinfo) 4.13 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html > This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. So looks like we're down to something wrong in the makeinfo build under Gentoo. While looking for a "verbose" flag on makeinfo, I found something odd: bash-4.1$ makeinfo --verbose makeinfo GNU texinfo 4.13 touch: unrecognized option '--verbose' Try 'touch --help' for more information. It looks like "makeinfo" is more like a wrapper around "touch". I get a very different result if I try that with the CentOS makeinfo: bash-4.1$ /usr/bin/makeinfo --verbose makeinfo: missing file argument. Try `makeinfo --help' for more information. So I'm going to go back and report this to the Gentoo devs. Doesn't look like an issue in glibc. And I'll take a chance and copy in the CentOS makeinfo and try the install again. Regards, - Leo On Mon, Aug 6, 2018 at 1:32 PM Leo Butler <leobutler@gmail.com> wrote: > Hi Carlos, > > Here you go: > > bash-4.1$ grep makeinfo config.log > configure:4843: checking for makeinfo > configure:4859: found /auto/ins-tools/linux_cel69/usr/bin/makeinfo > configure:4870: result: makeinfo > configure:4885: checking version of makeinfo > ac_cv_prog_MAKEINFO=makeinfo > MAKEINFO='makeinfo' > > bash-4.1$ makeinfo --version > makeinfo GNU texinfo 4.13 > touch (GNU coreutils) 8.30 > Packaged by Gentoo (8.30 (p01)) > Copyright (C) 2018 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later < > https://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by Paul Rubin, Arnold Robbins, Jim Kingdon, > David MacKenzie, and Randy Smith. > > There is a /usr/bin/makeinfo on the system, but it's not being used. I > intentionally added the Gentoo Prefix EPREFIX bin paths into the front of > the PATH variable before beginning to be absolutely sure newly built tools > are found in the correct location. I think the bootstrap script provided by > Prefix does that already, though. > > - Leo > > On Mon, Aug 6, 2018 at 12:29 PM Carlos O'Donell <carlos@redhat.com> wrote: > >> On 08/06/2018 03:16 PM, Leo Butler wrote: >> > Removing the empty manual/libc.info and running "make info" generates >> > another empty libc.info. >> > >> > bash-4.1$ rm manual/libc.info >> > bash-4.1$ make info >> > make -r PARALLELMFLAGS="" -C >> > >> /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25 >> > objdir=`pwd` info >> > make[1]: Entering directory >> > >> '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' >> > make -C manual info >> > make[2]: Entering directory >> > >> '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' >> > LANGUAGE=C LC_ALL=C makeinfo -P >> > >> /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ >> > >> --output=/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ >> > libc.info libc.texinfo >> > makeinfo GNU texinfo 4.13 >> > make[2]: Leaving directory >> > >> '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' >> > make[1]: Leaving directory >> > >> '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' >> > bash-4.1$ !find >> > find . -name libc.info >> > ./manual/libc.info >> > bash-4.1$ ls -rlt manual/libc.info >> > -rw-r--r-- 1 insrgr eng 0 Aug 6 12:01 manual/libc.info >> > >> > I do see the texinfo file, looks like it's part of the source tarball >> (not >> > generated): >> > >> > bash-4.1$ ls -rlt >> > >> /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo >> > -rw-r--r-- 1 insrgr eng 4460 Feb 5 2017 >> > >> /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo >> >> It should be doing way more work than this. >> >> grep 'makeinfo' config.log >> configure:4799: checking for makeinfo >> configure:4815: found /usr/bin/makeinfo >> configure:4826: result: makeinfo >> configure:4841: checking version of makeinfo >> ac_cv_prog_MAKEINFO=makeinfo >> MAKEINFO='makeinfo' >> >> Which makeinfo is being used? >> >> Then run makeinfo --version? >> >> -- >> Cheers, >> Carlos. >> > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-06 21:25 ` Leo Butler @ 2018-08-07 5:00 ` Leo Butler 2018-08-07 5:31 ` Jeffrey Walton 0 siblings, 1 reply; 11+ messages in thread From: Leo Butler @ 2018-08-07 5:00 UTC (permalink / raw) To: libc-help Just to provide some closure to this issue, I want to report back that 'makeinfo' isn't the true makeinfo at the time that installation of glibc is initiated in Gentoo Prefix. I suspect the presence of this script is a bootstrapping compromise that needs to be improved upon, as later in the flow it becomes a symlink to a perl script called 'texi2any' from package sys-apps/texinfo. I managed to finish installation of Gentoo Prefix by temporarily replacing the stub script with the symlink to the CentOS version of makeinfo mentioned previously. So it's "case closed" as far as glibc is concerned. - Leo On Mon, Aug 6, 2018 at 2:25 PM Leo Butler <leobutler@gmail.com> wrote: > I removed the file again and ran "make -n info" and I got 27 lines. I ran > each and every one of them in turn (had to fix one special character in a > sort command) and each one generated the desired file *except* for the last > one, the makeinfo step. I modified the command to use the makeinfo from > /usr/bin/makeinfo explicitly, and it worked with a few warnings issued: > > bash-4.1$ LANGUAGE=C LC_ALL=C /usr/bin/makeinfo -P > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > --output=/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > libc.info libc.texinfo > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual//string.texi:1125: > warning: @strong{Note...} produces a spurious cross-reference in Info; > reword to avoid that. > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual//string.texi:2490: > warning: @strong{Note...} produces a spurious cross-reference in Info; > reword to avoid that. > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual//filesys.texi:3257: > warning: @strong{Note...} produces a spurious cross-reference in Info; > reword to avoid that. > bash-4.1$ ls -rlt > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > libc.info > -rw-r--r-- 1 insrgr eng 91678 Aug 6 14:16 > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ > libc.info > > bash-4.1$ /usr/bin/makeinfo --version > makeinfo (GNU texinfo) 4.13 > > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later < > http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > So looks like we're down to something wrong in the makeinfo build under > Gentoo. While looking for a "verbose" flag on makeinfo, I found something > odd: > > bash-4.1$ makeinfo --verbose > makeinfo GNU texinfo 4.13 > touch: unrecognized option '--verbose' > Try 'touch --help' for more information. > > It looks like "makeinfo" is more like a wrapper around "touch". I get a > very different result if I try that with the CentOS makeinfo: > > bash-4.1$ /usr/bin/makeinfo --verbose > makeinfo: missing file argument. > Try `makeinfo --help' for more information. > > So I'm going to go back and report this to the Gentoo devs. Doesn't look > like an issue in glibc. And I'll take a chance and copy in the CentOS > makeinfo and try the install again. > > Regards, > > - Leo > > > On Mon, Aug 6, 2018 at 1:32 PM Leo Butler <leobutler@gmail.com> wrote: > >> Hi Carlos, >> >> Here you go: >> >> bash-4.1$ grep makeinfo config.log >> configure:4843: checking for makeinfo >> configure:4859: found /auto/ins-tools/linux_cel69/usr/bin/makeinfo >> configure:4870: result: makeinfo >> configure:4885: checking version of makeinfo >> ac_cv_prog_MAKEINFO=makeinfo >> MAKEINFO='makeinfo' >> >> bash-4.1$ makeinfo --version >> makeinfo GNU texinfo 4.13 >> touch (GNU coreutils) 8.30 >> Packaged by Gentoo (8.30 (p01)) >> Copyright (C) 2018 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later < >> https://gnu.org/licenses/gpl.html>. >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. >> >> Written by Paul Rubin, Arnold Robbins, Jim Kingdon, >> David MacKenzie, and Randy Smith. >> >> There is a /usr/bin/makeinfo on the system, but it's not being used. I >> intentionally added the Gentoo Prefix EPREFIX bin paths into the front of >> the PATH variable before beginning to be absolutely sure newly built tools >> are found in the correct location. I think the bootstrap script provided by >> Prefix does that already, though. >> >> - Leo >> >> On Mon, Aug 6, 2018 at 12:29 PM Carlos O'Donell <carlos@redhat.com> >> wrote: >> >>> On 08/06/2018 03:16 PM, Leo Butler wrote: >>> > Removing the empty manual/libc.info and running "make info" generates >>> > another empty libc.info. >>> > >>> > bash-4.1$ rm manual/libc.info >>> > bash-4.1$ make info >>> > make -r PARALLELMFLAGS="" -C >>> > >>> /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25 >>> > objdir=`pwd` info >>> > make[1]: Entering directory >>> > >>> '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' >>> > make -C manual info >>> > make[2]: Entering directory >>> > >>> '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' >>> > LANGUAGE=C LC_ALL=C makeinfo -P >>> > >>> /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ >>> > >>> --output=/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/ >>> > libc.info libc.texinfo >>> > makeinfo GNU texinfo 4.13 >>> > make[2]: Leaving directory >>> > >>> '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual' >>> > make[1]: Leaving directory >>> > >>> '/auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25' >>> > bash-4.1$ !find >>> > find . -name libc.info >>> > ./manual/libc.info >>> > bash-4.1$ ls -rlt manual/libc.info >>> > -rw-r--r-- 1 insrgr eng 0 Aug 6 12:01 manual/libc.info >>> > >>> > I do see the texinfo file, looks like it's part of the source tarball >>> (not >>> > generated): >>> > >>> > bash-4.1$ ls -rlt >>> > >>> /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo >>> > -rw-r--r-- 1 insrgr eng 4460 Feb 5 2017 >>> > >>> /auto/ins-tools/linux_rh6/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25/manual/libc.texinfo >>> >>> It should be doing way more work than this. >>> >>> grep 'makeinfo' config.log >>> configure:4799: checking for makeinfo >>> configure:4815: found /usr/bin/makeinfo >>> configure:4826: result: makeinfo >>> configure:4841: checking version of makeinfo >>> ac_cv_prog_MAKEINFO=makeinfo >>> MAKEINFO='makeinfo' >>> >>> Which makeinfo is being used? >>> >>> Then run makeinfo --version? >>> >>> -- >>> Cheers, >>> Carlos. >>> >> ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-07 5:00 ` Leo Butler @ 2018-08-07 5:31 ` Jeffrey Walton 2018-08-07 11:18 ` Carlos O'Donell 0 siblings, 1 reply; 11+ messages in thread From: Jeffrey Walton @ 2018-08-07 5:31 UTC (permalink / raw) To: Leo Butler; +Cc: libc-help On Tue, Aug 7, 2018 at 1:00 AM, Leo Butler <leobutler@gmail.com> wrote: > Just to provide some closure to this issue, I want to report back that > 'makeinfo' isn't the true makeinfo at the time that installation of glibc > is initiated in Gentoo Prefix. I suspect the presence of this script is a > bootstrapping compromise that needs to be improved upon, as later in the > flow it becomes a symlink to a perl script called 'texi2any' from package > sys-apps/texinfo. Forcing users to build docs and making them do stupid tricks like MAKEINFO = true is an absolute waste of time and energy. I've got a half a dozen dev-boards and gadgets used for testing. Some of the boards don't have storage space for the tools or the docs. I am constantly patching configure scripts to get rid of the docs. The Configure scripts need to be fixed and stop trying to build docs if the doc tools are not installed. If the tools are installed then build them with an --enable-XXX just like any other feature. Jeff ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-07 5:31 ` Jeffrey Walton @ 2018-08-07 11:18 ` Carlos O'Donell 0 siblings, 0 replies; 11+ messages in thread From: Carlos O'Donell @ 2018-08-07 11:18 UTC (permalink / raw) To: noloader, Leo Butler; +Cc: libc-help On 08/07/2018 01:31 AM, Jeffrey Walton wrote: > On Tue, Aug 7, 2018 at 1:00 AM, Leo Butler <leobutler@gmail.com> wrote: >> Just to provide some closure to this issue, I want to report back that >> 'makeinfo' isn't the true makeinfo at the time that installation of glibc >> is initiated in Gentoo Prefix. I suspect the presence of this script is a >> bootstrapping compromise that needs to be improved upon, as later in the >> flow it becomes a symlink to a perl script called 'texi2any' from package >> sys-apps/texinfo. > > Forcing users to build docs and making them do stupid tricks like > MAKEINFO = true is an absolute waste of time and energy. I've got a > half a dozen dev-boards and gadgets used for testing. Some of the > boards don't have storage space for the tools or the docs. I am > constantly patching configure scripts to get rid of the docs. Nobody is forcing anyone to do anything. What you have is a need, and it is not being met. This is free software, and your patches are welcome to fix this use case by disabling the manual generation. > The Configure scripts need to be fixed and stop trying to build docs > if the doc tools are not installed. If the tools are installed then > build them with an --enable-XXX just like any other feature. Sounds great. I look forward to the patches. -- Cheers, Carlos. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: glibc 2.25 error during install 2018-08-06 17:53 ` Leo Butler 2018-08-06 19:16 ` Leo Butler @ 2018-08-06 19:17 ` Carlos O'Donell 1 sibling, 0 replies; 11+ messages in thread From: Carlos O'Donell @ 2018-08-06 19:17 UTC (permalink / raw) To: Leo Butler, libc-help On 08/06/2018 01:52 PM, Leo Butler wrote: > Hi Carlos, > > No error, that worked just fine. > > bash-4.1$ make pdf > make -r PARALLELMFLAGS="" -C > /auto/ins-tools/linux_cel69/var/tmp/portage/sys-libs/glibc-2.25-r11/work/glibc-2.25 > objdir=`pwd` pdf > [snip] > Output written on libc.pdf (1124 pages, 5879560 bytes). > Transcript written on libc.log. > bash-4.1$ ls -rlt manual/libc.pdf > -rw-r--r-- 1 insrgr eng 5879560 Aug 6 10:48 manual/libc.pdf OK, next is: make info. Does that fail? -- Cheers, Carlos. ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2018-08-07 11:18 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-08-06 16:18 glibc 2.25 error during install Leo Butler 2018-08-06 17:34 ` Carlos O'Donell 2018-08-06 17:53 ` Leo Butler 2018-08-06 19:16 ` Leo Butler 2018-08-06 19:29 ` Carlos O'Donell 2018-08-06 20:32 ` Leo Butler 2018-08-06 21:25 ` Leo Butler 2018-08-07 5:00 ` Leo Butler 2018-08-07 5:31 ` Jeffrey Walton 2018-08-07 11:18 ` Carlos O'Donell 2018-08-06 19:17 ` Carlos O'Donell
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).