bug-bash
[Top][All Lists]
Advanced

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

patch bash 4.2 succeed , but make test & run bash failed


From: boblin
Subject: patch bash 4.2 succeed , but make test & run bash failed
Date: Sat, 18 May 2013 19:01:27 +0800

I download the bash-4.2 and patched it (all pathes from 001~045) succeed。

but when I run 'make test' , lots of error showed 


root@ruby-mine:/data/source/bash/src/bash-4.2# mkdir patch
root@ruby-mine:/data/source/bash/src/bash-4.2# cd patch
root@ruby-mine:/data/source/bash/src/bash-4.2/patch#
root@ruby-mine:/data/source/bash/src/bash-4.2/patch# rsync -a  
rsync://ftp.gnu.org/ftp/bash/bash-4.2-patches/* .
root@ruby-mine:/data/source/bash/src/bash-4.2# cd /data/source/bash/src/bash-4.2
root@ruby-mine:/data/source/bash/src/bash-4.2# for i in {001..045}  ; do patch 
-b -p0 -i patch/bash42-$i ; done
root@ruby-mine:/data/source/bash/src/bash-4.2# ./configure 
--prefix=/usr/local/bash-4.2
root@ruby-mine:/data/source/bash/src/bash-4.2# make
root@ruby-mine:/data/source/bash/src/bash-4.2# make test

version: 4.2.45(1)-release
versinfo: 4 2 45 1 release x86_64-unknown-linux-gnu
HOSTTYPE = x86_64
OSTYPE = linux-gnu
MACHTYPE = x86_64-unknown-linux-gnu
Any output from any test, unless otherwise noted, indicates a possible anomaly
run-alias
run-appendop
run-arith
214,215d213
< ./arith.tests: command substitution: line 290: syntax error near unexpected 
token `)'
< ./arith.tests: command substitution: line 290: `printf "%o\n" $n) ))'
217,220c215,217
< ./arith.tests: command substitution: line 292: syntax error near unexpected 
token `)'
< ./arith.tests: command substitution: line 292: `printf "%x\n" $n) ))'
< ./arith.tests: command substitution: line 293: syntax error near unexpected 
token `)'
< ./arith.tests: command substitution: line 293: `printf "%X\n" $n) ))'
---

(omitted)
< ./comsub1.sub: command substitution: line 16: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 16: `esac)'
< ./comsub1.sub: command substitution: line 19: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 19: `esac)'
< ./comsub1.sub: command substitution: line 22: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 22: `esac)'
< ./comsub1.sub: command substitution: line 25: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 25: `esac)'
< ./comsub1.sub: command substitution: line 28: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 28: `echo a)'
< ./comsub1.sub: command substitution: line 31: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 31: `esac)'
< ./comsub1.sub: command substitution: line 36: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 36: `esac)'
< ./comsub1.sub: command substitution: line 40: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 40: `esac)'
< ./comsub1.sub: command substitution: line 42: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 42: `esac)'
< ./comsub1.sub: command substitution: line 47: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 47: `esac)'
< ./comsub1.sub: command substitution: line 51: syntax error near unexpected 
token `)'
< ./comsub1.sub: command substitution: line 51: `esac)'

(omitted)
root@ruby-mine:/data/source/bash/src/bash-4.2# echo $?
0
root@ruby-mine:/data/source/bash/src/bash-4.2# 



after 'make install' , I run the bash program ,and got this 


root@ruby-mine:/usr/local/bash-4.2/bin# ./bash
bash: command substitution: line 25: syntax error near unexpected token `)'
bash: command substitution: line 25: `SHELL=/bin/sh lesspipe)"'
bash: command substitution: line 71: syntax error near unexpected token `)'
bash: command substitution: line 71: `dircolors -b)"'
root@ruby-mine:/usr/local/bash-4.2/bin#

reply via email to

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