autoconf-prs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autoconf/231: autoconf/231: config/missing makeinfo emulation can create


From: sdouglass
Subject: autoconf/231: autoconf/231: config/missing makeinfo emulation can create aribtrary files that prevent building
Date: Wed, 1 Dec 2004 12:55:09 -0600 (CST)

The following reply was made to PR autoconf/231; it has been noted by GNATS.

From: address@hidden
To: address@hidden,address@hidden
Cc: 
Subject: autoconf/231: config/missing makeinfo emulation can create aribtrary 
files that prevent building
Date: Fri, 07 Feb 2003 08:13:53 -0500

 >Number:         231
 >Category:       autoconf
 >Synopsis:       config/missing makeinfo emulation can create aribtrary files 
 >that prevent building
 >Confidential:   no
 >Severity:       critical
 >Priority:       high
 >Responsible:    akim
 >State:          open
 >Quarter:        
 >Keywords:       
 >Class:          sw-bug
 >Submitter-Id:   net
 >Arrival-Date:   Fri Feb 07 08:13:52 -0500 2003
 >Cases:          
 >Originator:     address@hidden
 >Release:        
 >Organization:
 
 >Environment:
 no makeinfo
 GNU sed
 
 I was trying to configure sed-4.0.5 on Solaris 2.6 using CONFIG_SHELL=/bin/ksh.
 >Description:
 During configure when config/missing is invoked as
   config/missing --run makeinfo --help
 It decides that '--help' is a file to scan for "@setfilename" and then decides 
the output of "sed -n '...' --help" is a (list of) filenames to touch.
 
 [I don't know if the "Category" of this PR should be "autoconf" or "config".]
 >How-To-Repeat:
 Try to configure, e.g. sed-4.0.5, when there is no makeinfo and the sed 
already on the path is GNU sed.  A bunch of arbitrary files are created as if
     touch `sed --help`
 In the sed-4.0.5 case this includes a file 'sed' which prevents configure from 
completing sucessfully.
 >Fix:
 Ignore arguments starting with '-' in the makeinfo emulation of 
config/missing.  E.g.
 
 --- sed-4.0.5/config/missing   2002-09-29 17:33:25.000000000 +0100
 +++ sed-4.0.5/config/missing.new       2003-02-07 12:28:39.000000000 +0000
 @@ -276,7 +276,7 @@
           the \`GNU make' package.  Grab either from any GNU archive site."
      file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
      if test -z "$file"; then
 -      file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
 +      file=`echo "$*" | sed 's/-[^ ]*//g s/.* \([^ ]*\) *$/\1/'`
        file=`sed -n '/address@hidden/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
      fi
      touch $file
 >Unformatted:
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]