[Bug bootstrap/17261] New: Boostrap generates suprious files if makeinfo is missing

ehrhardt at mathematik dot uni-ulm dot de gcc-bugzilla@gcc.gnu.org
Wed Sep 1 12:52:00 GMT 2004


Shortly after bootstrap starts I see the following contents in my
build directory:

4.0.9                    Copyright    Inc.             not         source
A                        even         intl             or          the
build-i686-pc-linux-gnu  extent       is               PARTICULAR  There
by                       FITNESS      law.             permitted   This
(C)                      for          log              PURPOSE,    to
conditions.              FOR          log2             sed         version
config.cache             Foundation,  logflex          see         warranty;
config.log               free         Makefile         serdep.tmp
config.status            Free         MERCHANTABILITY  software;
copying                  GNU          NO               Software

Note that there are lots of (empty) files that seem to be part of
some GNU license text. I tracked this down and found that the following
lines from the top level makefile generate this:

CONFIGURED_MAKEINFO = /home/ehrhardt/gcc-3.5-cvs/gcc/missing makeinfo
MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
        then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
        else if (${CONFIGURED_MAKEINFO} --version \
          | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
        then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`

More specifically the fact that configure did not find a makeinfo
leads to the following call to missing:

   /home/ehrhardt/gcc-3.5-cvs/gcc/missing makeinfo --version

which missing can't handle properly. Instead it will interpret --version
as a file that is passed to sed. sed happily outputs it's version and
copyright which is then passed to touch.

    regards   Christian

-- 
           Summary: Boostrap generates suprious files if makeinfo is missing
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ehrhardt at mathematik dot uni-ulm dot de
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list