The source tree in the below build is under /tmp/gcc-4.2.1--x---x----x/. Note
how the path contains 1, then 2, then 3, then 4 hyphens.

----BEGIN BUILD LOG EXCERPT----
if [ xinfo = xinfo ]; then \
        makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000
--no-split -I . -I ../../gcc-4.2.1--x---x----x/gcc/doc \
                -I ../../gcc-4.2.1--x---x----x/gcc/doc/include -o doc/gcc.info
../../gcc-4.2.1--x---x----x/gcc/doc/gcc.texi; \
fi
../../gcc-4.2.1--x---x----x/gcc/doc//invoke.texi:1080: @include
`../../gcc-4.2.1-x--x---x/gcc/../libiberty/at-file.texi': No such file or
directory.
makeinfo: Removing output file `doc/gcc.info' due to errors; use --force to
preserve.
make[3]: *** [doc/gcc.info] Error 1
make[3]: Leaving directory `/home/cport/tmp/gcc-build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/cport/tmp/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/cport/tmp/gcc-build'
make: *** [bootstrap-lean] Error 2
----END BUILD LOG EXCERPT----

Makeinfo is looking for at-file.texi under an incorrect source path: each run
of two or more hyphens in the path is shortened by one. I believe this is due
to Texinfo's typographic syntax conventions being incorrectly applied to the
@value{srcdir} substitution in invoke.texi.


-- 
           Summary: makeinfo drops hyphens from srcdir path
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: skunk at iskunk dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549

Reply via email to