kou opened a new issue, #220: URL: https://github.com/apache/arrow-flight-sql-postgresql/issues/220
The "Test" workflow fails on Ubuntu because `ubuntu-latest` is Ubuntu 26.04 that ships Bash 5.3: https://github.com/apache/arrow-flight-sql-postgresql/actions/runs/43714314335/job/132812428318 ```text ========================= Ensuring source directory ========================= Verifying local checkout at ./dev/release/verify-rc.sh: line 185: pushd: null directory Failed to verify release candidate. See /tmp/arrow-flight-sql-postgresql-HEAD.b02jP for details. ``` `ensure_source_directory()` doesn't set `TARGET_SOURCE_DIR` for local checkout because the condition checks `TOP_SOURCE_DIR` instead of `TARGET_SOURCE_DIR`: ```bash if [ -z "${TOP_SOURCE_DIR}" ]; then export TARGET_SOURCE_DIR="${TOP_SOURCE_DIR}" fi ``` So `pushd "${TARGET_SOURCE_DIR}"` is `pushd ""`. It works with Bash 5.2 or earlier but fails with Bash 5.3: ```console $ podman run --rm ubuntu:24.04 bash -c 'echo $BASH_VERSION; pushd "" > /dev/null; echo "pushd exit=$?"' 5.2.21(1)-release pushd exit=0 $ podman run --rm ubuntu:26.04 bash -c 'echo $BASH_VERSION; pushd "" > /dev/null; echo "pushd exit=$?"' 5.3.9(1)-release bash: line 1: pushd: null directory pushd exit=1 ``` The macOS jobs pass because their Bash accepts `pushd ""`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
