glibc 2.25 error during install

Leo Butler leobutler@gmail.com
Tue Aug 7 05:00:00 GMT 2018


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.
>>>
>>



More information about the Libc-help mailing list