bug-bison
[Top][All Lists]
Advanced

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

Build problem: gzip help message is displayed


From: Keith Thompson
Subject: Build problem: gzip help message is displayed
Date: Sat, 20 May 2006 20:44:06 -0700
User-agent: Mutt/1.4.1i

When I build bison-2.2 from source (on Solaris 9), the gzip help
message shows up several times in the output log.

The problem seems to be in the file "Makefile.maint":

# Do not save the original name or timestamp in the .tar.gz file.
# Use --rsyncable if available.
gzip_rsyncable := \
  $(shell gzip --help|grep rsyncable >/dev/null && echo --rsyncable)

The problem: in some versions of gzip (particularly 1.2.4), the output
of "gzip --help" is written to stderr, not stdout.

Here's a context diff for Makefile.maint; I've confirmed that this
fixes the problem:
========================================================================
*** Makefile.maint.orig Fri Feb 10 16:42:27 2006
--- Makefile.maint      Sat May 20 20:20:53 2006
***************
*** 26,32 ****
  # Do not save the original name or timestamp in the .tar.gz file.
  # Use --rsyncable if available.
  gzip_rsyncable := \
!   $(shell gzip --help|grep rsyncable >/dev/null && echo --rsyncable)
  GZIP_ENV = '--no-name --best $(gzip_rsyncable)'
  
  CVS = cvs
--- 26,32 ----
  # Do not save the original name or timestamp in the .tar.gz file.
  # Use --rsyncable if available.
  gzip_rsyncable := \
!   $(shell gzip --help 2>&1|grep rsyncable >/dev/null && echo --rsyncable)
  GZIP_ENV = '--no-name --best $(gzip_rsyncable)'
  
  CVS = cvs
========================================================================

-- 
Keith Thompson (The_Other_Keith) address@hidden  <http://www.ghoti.net/~kst>
San Diego Supercomputer Center           <*>  <http://users.sdsc.edu/~kst>
We must do something.  This is something.  Therefore, we must do this.




reply via email to

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