https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91139

            Bug ID: 91139
           Summary: Attempts, fails to rebuild doc/gcc.info in tarball
                    release build
           Product: gcc
           Version: 9.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: skunk at iskunk dot org
  Target Milestone: ---

There may be one or two bugs in this report.

I am bootstrapping from a release tarball on a Solaris system. The system has
makeinfo 4.7 installed, which the GCC configure script finds.

At a certain point in the build, I get this error:

[...]
(echo "@set version-GCC 9.1.0"; \
 if [ "" = "experimental" ]; \
 then echo "@set DEVELOPMENT"; \
 else echo "@clear DEVELOPMENT"; \
 fi) > gcc-vers.texiT
echo @set srcdir /nfs/gnu/src/gcc/gcc--9.1.0/gcc >> gcc-vers.texiT
if [ -n "(GCC) " ]; then \
  echo "@set VERSION_PACKAGE (GCC) " >> gcc-vers.texiT; \
fi
echo "@set BUGURL @uref{https://gcc.gnu.org/bugs/}"; >> gcc-vers.texiT; \
mv -f gcc-vers.texiT gcc-vers.texi
if [ xinfo = xinfo ]; then \
        /nfs/gnu/src/gcc/gcc--9.1.0/missing makeinfo --split-size=5000000
--split-size=5000000 --split-size=5000000 --no-split -I . -I
/nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc \
                -I /nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc/include -o doc/cpp.info
/nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc/cpp.texi; \
fi
if [ xinfo = xinfo ]; then \
        /nfs/gnu/src/gcc/gcc--9.1.0/missing makeinfo --split-size=5000000
--split-size=5000000 --split-size=5000000 --no-split -I . -I
/nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc \
                -I /nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc/include -o doc/gcc.info
/nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc/gcc.texi; \
fi
/nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc//invoke.texi:1783: @include
`/nfs/gnu/src/gcc/gcc-9.1.0/gcc/../libiberty/at-file.texi': No such file or
directory.
/nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc//extend.texi:7097: warning: `.' or `,' must
follow @xref, not `f'.
/nfs/gnu/src/gcc/gcc--9.1.0/gcc/doc//extend.texi:8181: warning: `.' or `,' must
follow @xref, not `f'.
makeinfo: Removing output file `doc/gcc.info' due to errors; use --force to
preserve.
Makefile:3228: recipe for target 'doc/gcc.info' failed
gmake[3]: *** [doc/gcc.info] Error 1
gmake[3]: Leaving directory '/tmp/gcc--9.1.0.build/gcc'
Makefile:4661: recipe for target 'all-stage1-gcc' failed
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory '/tmp/gcc--9.1.0.build'
Makefile:22313: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/tmp/gcc--9.1.0.build'
Makefile:22660: recipe for target 'bootstrap-lean' failed
gmake: *** [bootstrap-lean] Error 2

Bug-1 is that the build is attempting to rebuild an info file, which should not
even be happening in the first place with an unmodified release tarball.

Bug-2 is the "No such file" error, which appears to be due to Texinfo syntax
processing erroneously being applied to the file path (note how "gcc--9.1.0"
becomes "gcc-9.1.0", despite only the former being valid for this build).

The second bug would be moot if not for the first.

Reply via email to