Skip to contentSkip to conversation

t9902-completion.sh failed

DISCUSSION Alex Kuleshov 2 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello all,

i just got git from master (f6f61cbbad0611e03b712cc354f1665b5d7b087e), built and installed it successfully, now i'm running make test and got following error:

*** t9902-completion.sh ***
t9902-completion.sh: 118:
/home/shk/dev/git/t/../contrib/completion/git-completion.bash: Syntax
error: "(" unexpected (expecting "fi")
FATAL: Unexpected exit with code 2
make[2]: *** [t9902-completion.sh] Error 1
make[2]: Leaving directory `/home/shk/dev/git/t'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/shk/dev/git/t'
make: *** [test] Error 2

$ bash --version
4.3.11(1)-release (x86_64-pc-linux-gnu)

--
Best regards.
0xAX

#1 lore raw
Quoted 15 lines · Alex Kuleshov

i just got git from master (f6f61cbbad0611e03b712cc354f1665b5d7b087e), built and installed it successfully, now i'm running make test and got following error:

*** t9902-completion.sh ***
t9902-completion.sh: 118:
/home/shk/dev/git/t/../contrib/completion/git-completion.bash: Syntax
error: "(" unexpected (expecting "fi")
FATAL: Unexpected exit with code 2
make[2]: *** [t9902-completion.sh] Error 1
make[2]: Leaving directory `/home/shk/dev/git/t'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/shk/dev/git/t'
make: *** [test] Error 2

Quoted 2 lines
$ bash --version
4.3.11(1)-release (x86_64-pc-linux-gnu)

Weird. I can't reproduce here, using the version of bash from Debian unstable (4.3.30(1)), nor compiling 4.3.11 from sources. What platform are you on (i.e., might it be bash + some other patches installed by the distro)?

-Peff

#2 lore raw

Hello Jeff,

I'm using ubuntu 14.04 x86_64 and bash GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu).

I didn't applied any patches to bash for all time since i installed system. so it reall weird

Jeff King <[email protected]> @ 2014-11-13 17:24 ALMT:

Quoted 20 lines · Alex Kuleshov
Quoted 16 lines

i just got git from master (f6f61cbbad0611e03b712cc354f1665b5d7b087e), built and installed it successfully, now i'm running make test and got following error:

*** t9902-completion.sh ***
t9902-completion.sh: 118:
/home/shk/dev/git/t/../contrib/completion/git-completion.bash: Syntax
error: "(" unexpected (expecting "fi")
FATAL: Unexpected exit with code 2
make[2]: *** [t9902-completion.sh] Error 1
make[2]: Leaving directory `/home/shk/dev/git/t'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/shk/dev/git/t'
make: *** [test] Error 2

Quoted 2 lines
$ bash --version
4.3.11(1)-release (x86_64-pc-linux-gnu)
Quoted 6 lines

Weird. I can't reproduce here, using the version of bash from Debian unstable (4.3.30(1)), nor compiling 4.3.11 from sources. What platform are you on (i.e., might it be bash + some other patches installed by the distro)?

-Peff

--
Best regards.
0xAX

#3 lore raw
Quoted 5 lines · Alex Kuleshov

I'm using ubuntu 14.04 x86_64 and bash GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu).

I didn't applied any patches to bash for all time since i installed system. so it reall weird

I tried on a fresh install of Ubuntu 14.04.1, with the same version of bash, and I still can't reproduce the problem. I'm not sure what else to check.

-Peff

#4 lore raw
In reply to Jeff King

ah, i catched the problem, I launched make test with sudo and now all tests passed successfully.

Jeff King <[email protected]> @ 2014-11-13 17:24 ALMT:

Quoted 20 lines · Alex Kuleshov
Quoted 16 lines

i just got git from master (f6f61cbbad0611e03b712cc354f1665b5d7b087e), built and installed it successfully, now i'm running make test and got following error:

*** t9902-completion.sh ***
t9902-completion.sh: 118:
/home/shk/dev/git/t/../contrib/completion/git-completion.bash: Syntax
error: "(" unexpected (expecting "fi")
FATAL: Unexpected exit with code 2
make[2]: *** [t9902-completion.sh] Error 1
make[2]: Leaving directory `/home/shk/dev/git/t'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/shk/dev/git/t'
make: *** [test] Error 2

Quoted 2 lines
$ bash --version
4.3.11(1)-release (x86_64-pc-linux-gnu)
Quoted 6 lines

Weird. I can't reproduce here, using the version of bash from Debian unstable (4.3.30(1)), nor compiling 4.3.11 from sources. What platform are you on (i.e., might it be bash + some other patches installed by the distro)?

-Peff

--
Best regards.
0xAX