From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 345 invoked by alias); 1 Sep 2004 12:52:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 32757 invoked by uid 48); 1 Sep 2004 12:51:56 -0000 Date: Wed, 01 Sep 2004 12:52:00 -0000 From: "ehrhardt at mathematik dot uni-ulm dot de" To: gcc-bugs@gcc.gnu.org Message-ID: <20040901125142.17261.ehrhardt@mathematik.uni-ulm.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/17261] New: Boostrap generates suprious files if makeinfo is missing X-Bugzilla-Reason: CC X-SW-Source: 2004-09/txt/msg00041.txt.bz2 List-Id: 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