hutch3232 commented on PR #40232: URL: https://github.com/apache/arrow/pull/40232#issuecomment-1970332237
Thank you for catching that @amoeba. I'm encountering the same error. I thought I had transferred the tarball from my Windows computer to my linux machine, but maybe I did the `pkgbuild::build` manually on the linux machine itself. I'll have to test that. I just tried though using a linux docker container and got the same error as you. I suspect it might be this step in `build`: ``` ─ checking for LF line-endings in source and make files and shell scripts (1.3s) ``` Which results in different line-endings than linux uses: ``` docker@362a42843066:~$ cat -A arrow/DESCRIPTION Package: arrow^M$ Title: Integration to 'Apache' 'Arrow'^M$ Version: 14.0.2.1^M$ ``` I'm not sure if this is the issue, but I'm guessing it is based on the fact that characters in the error message were apparently dropped. Here is the `configure` script in debug mode: <details> ```bash docker@362a42843066:~/arrow$ bash -x configure + PKG_CONFIG_NAME=arrow + PKG_BREW_NAME=apache-arrow + PKG_TEST_HEADER='<arrow/api.h>' ++ echo ++ tr '[:upper:]' '[:lower:]' + ARROW_R_DEV= ++ echo ++ tr '[:upper:]' '[:lower:]' + FORCE_BUNDLED_BUILD= ++ echo ++ tr '[:upper:]' '[:lower:]' + ARROW_USE_PKG_CONFIG= ++ echo ++ tr '[:upper:]' '[:lower:]' + ARROW_OFFLINE_BUILD= ++ grep '^Version' DESCRIPTION ++ sed 's/Version: //' + VERSION=$'14.0.2.1\r' ++ uname -s + UNAME=Linux + : pkg-config + '[' '' = true ']' ++ /bin/R CMD config CXX17 + '[' '!' g++ ']' + '[' -z '' ']' ++ /bin/R CMD config CXX17 + CXX17=g++ ++ g++ --version + CXX17_VERSION='g++ (Debian 13.2.0-13) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.' + echo 'g++ (Debian 13.2.0-13) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.' + grep -e g++ + echo 'g++ (Debian 13.2.0-13) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.' + grep -e '13.[0-9]\+.[0-9]\+' + echo '*** Disabling Arrow build with GCS on gcc-13.' *** Disabling Arrow build with GCS on gcc-13. + echo '*** Set ARROW_GCS=ON to explicitly enable.' *** Set ARROW_GCS=ON to explicitly enable. + export ARROW_GCS=OFF + ARROW_GCS=OFF + pkg-config --version + PKG_CONFIG_AVAILABLE=true + echo '*** pkg-config found.' *** pkg-config found. + '[' '' = '' ']' + brew --prefix openssl + '[' '' = '' ']' + '[' true = true ']' + pkg-config --exists openssl + find_or_build_libarrow + '[' '' = true ']' + find_arrow + OLD_PKG_CONFIG_PATH= + '[' '' ']' + '[' '' '!=' false ']' + pkg-config arrow + _LIBARROW_FOUND=false + '[' false '!=' false ']' + '[' false = false ']' + export PKG_CONFIG_PATH= + PKG_CONFIG_PATH= + '[' false = false ']' + do_bundled_build + /bin/Rscript tools/nixlibs.R $'14.0.2.1\r' ’rror: invalid version specification ‘14.0.2.1 Execution halted + '[' 1 -ne 0 ']' + echo '------------------------- NOTE ---------------------------' ------------------------- NOTE --------------------------- + echo 'There was an issue building the Arrow C++ libraries.' There was an issue building the Arrow C++ libraries. + echo 'See https://arrow.apache.org/docs/r/articles/install.html' See https://arrow.apache.org/docs/r/articles/install.html + echo --------------------------------------------------------- --------------------------------------------------------- + exit 1 ``` </details> Any thoughts on how to proceed? -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org