Re: Cannot build bash-4.2 with Patch 53

2014-10-10 Thread TODD TRIMMER
You're right. The y.tab.[ch] files never got rebuilt. They still had the
same timestamps from the base archive of 4.2. Renaming them forced a
rebuild, which had significant diffs. Is there a flag that can be sent to
configure or make to force a rebuild? BTW, bison was already installed.

On Thu, Oct 9, 2014 at 11:47 PM, Steve Simmons s...@umich.edu wrote:


 On Oct 9, 2014, at 9:34 PM, TODD TRIMMER todd.trim...@gmail.com wrote:

  If I compile from bash-4.2 from source, cumulatively applying patches
 through 52, things work fine. If I start from scratch and apply through 53,
 it errors out:
 
  gcc -L.. . .
  ./builtins/libbuiltins.a(evalstring.o): In function `parse_and_execute':
  /home/ttrimmer/depot/ext/bash/patch/src/builtins/evalstring.c:274:
 undefined reference to `parser_remaining_input'
  collect2: ld returned 1 exit status
  make: *** [bash] Error 1
 
 
  I can see parser_remaining_input patched in parse.y and
 builtins/evalstring.c. However, it will not compile.

 Sounds like y.tab.[ch] never got (re)built from parse.y. Try renaming them
 to -old and give the 'make' command again. If you don't have yacc or bison,
 that'll fail. Get and install bison and try again.


Cannot build bash-4.2 with Patch 53

2014-10-09 Thread TODD TRIMMER
If I compile from bash-4.2 from source, cumulatively applying patches through 
52, things work fine. If I start from scratch and apply through 53, it errors 
out:

gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde 
-L./lib/malloc -L./lib/sh  -rdynamic  -g -O2 -o bash shell.o eval.o y.tab.o 
general.o make_cmd.o print_cmd.o  dispose_cmd.o execute_cmd.o variables.o 
copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o 
mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o 
alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o  
list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o 
xmalloc.o  -lbuiltins -lglob -lsh -lreadline -lhistory -ltermcap -ltilde 
-lmalloc-ldl
./builtins/libbuiltins.a(evalstring.o): In function `parse_and_execute':
/home/ttrimmer/depot/ext/bash/patch/src/builtins/evalstring.c:274: undefined 
reference to `parser_remaining_input'
collect2: ld returned 1 exit status
make: *** [bash] Error 1


I can see parser_remaining_input patched in parse.y and builtins/evalstring.c. 
However, it will not compile.