-
-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
Description
Defect/Bug Report
- OpenCoarrays Version: 1.9.2
- Fortran Compiler: gfortran 7.2.0
- C compiler used for building lib: gcc 7.2.0
- Installation method: install.sh
- Output of
uname -a
: "Linux login4 2.6.32-696.6.3.el6.x86_64 tests dis_transpose: test passed #1 SMP Wed Jul 12 14:17:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux" running linuxbrew master, updated - MPI library being used: MPICH 3.2
- Machine architecture and number of physical cores: Dual Core, Intel Xeon E5-2670 v2, 10-core, 2.5GHz
- Version of CMake: 3.9.3
Observed Behavior
/bin/bash --version: GNU bash, version 4.1.2(2)-release (x86_64-redhat-linux-gnu)
~/.linuxbrew/bin/bash --version: GNU bash, version 4.4.12(1)-release (x86_64-unknown-linux-gnu)
When executing install.sh -d -e under /bin/bash (version 4.1.2(2)), script hangs at:
#### Functions added by Damian Rouson
# Get the top element from the stack and return the stack
# to its state before invocation of the function.
#
# Usage: stack_peek name var
#
# Example:
# stack_peek mystack top
# echo "Got $top"
function stack_peek
{
: "${1?'Missing stack name'}"
: "${2?'Missing variable name in stack_peek'}"
if no_such_stack "$1"
then
echo "No such stack -- $1" >&2
return 1
fi
stack_pop "$1" "$2"
eval argument_name="\$$2"
# shellcheck disable=SC2154
stack_push "$1" "$argument_name"
}
stack_new dependency_pkg
+ stack_new dependency_pkg
+ : dependency_pkg
+ stack_exists dependency_pkg
+ : dependency_pkg
+ eval '_i=${_stack_dependency_pkg_i:-}'
_i=${_stack_dependency_pkg_i:-}
++ _i=
+ [[ -z '' ]]
+ return 1
++ uname
+ [[ Linux == \D\a\r\w\i\n ]]
+ eval 'declare -ag _stack_dependency_pkg'
Expected Behavior
When executing install.sh under bash 4.1.12(2), script executes and produces clean build/test/install.
Steps to Reproduce
Execute install.sh under bash 4.4.12(1).