[ 
https://issues.apache.org/jira/browse/ARROW-16878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neal Richardson updated ARROW-16878:
------------------------------------
    Description: 
On ARROW-16510, I added the GCS filesystem to the arrow PKGBUILD, bundling it 
in the arrow build. A better solution would be to put google-cloud-cpp in 
rtools-packages so we don't have to build it every time. 

There is no google-cloud-cpp in https://github.com/msys2/MINGW-packages, so 
either we'd have to make one up for rtools-packages, or we use the bundled 
google-cloud-cpp in our cmake and see if we can put as many of its dependencies 
in rtools-packages to ease the build. 

https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-nlohmann-json 
exists in MINGW-packages and could be brought over, but I don't think it's a 
big deal if it is bundled.

https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-abseil-cpp/PKGBUILD
 exists and could be brought over, but note that it uses C++17. That doesn't 
seem to be a hard requirement, at least for what we're using, since we're 
building it with C++11.


  was:
On ARROW-16510, I made some progress on this but had to back out the changes. 
There is no google-cloud-cpp in https://github.com/msys2/MINGW-packages, so 
either we'd have to make one up for rtools-packages, or we use the bundled 
google-cloud-cpp in our cmake and see if we can put as many of its dependencies 
in rtools-packages to ease the build. 

https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-nlohmann-json 
exists in MINGW-packages and could be brought over, but I don't think it's a 
big deal if it is bundled.

https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-abseil-cpp/PKGBUILD
 exists and could be brought over, but note that it uses C++17. 

It may be that we have to bump arrow up to C++17 for this to work anyway, 
judging from the undefined symbols errors I got (see below). 
https://github.com/msys2/MINGW-packages/pull/11758 and 
https://github.com/apache/arrow/pull/13407 suggest maybe so. That should work 
ok for rtools >= 40, but we'll see what other problems it brings.

In case it's relevant, 
https://github.com/r-windows/rtools-packages/blob/master/mingw-w64-grpc/PKGBUILD
 exists in rtools-packages already, and grpc depends on abseil, but note how it 
handles abseil. It doesn't use all of the same parts of abseil that 
google-cloud-cpp does, so maybe that's fine there but not here?

Here's the diff I backed out of ARROW-16510, and below that is the 
undefined-symbol messages from the build failure. There's something up with 
libcurl too that I don't understand because I added it.

{code}
diff --git a/ci/scripts/PKGBUILD b/ci/scripts/PKGBUILD
index b9b0194f5c8c..566ec881e404 100644
--- a/ci/scripts/PKGBUILD
+++ b/ci/scripts/PKGBUILD
@@ -25,6 +25,7 @@ arch=("any")
 url="https://arrow.apache.org/";
 license=("Apache-2.0")
 depends=("${MINGW_PACKAGE_PREFIX}-aws-sdk-cpp"
+         "${MINGW_PACKAGE_PREFIX}-curl" # for google-cloud-cpp bundled build
          "${MINGW_PACKAGE_PREFIX}-libutf8proc"
          "${MINGW_PACKAGE_PREFIX}-re2"
          "${MINGW_PACKAGE_PREFIX}-thrift"
@@ -79,11 +80,13 @@ build() {
     export PATH="/C/Rtools${MINGW_PREFIX/mingw/mingw_}/bin:$PATH"
     export CPPFLAGS="${CPPFLAGS} -I${MINGW_PREFIX}/include"
     export LIBS="-L${MINGW_PREFIX}/libs"
+    export ARROW_GCS=OFF
     export ARROW_S3=OFF
     export ARROW_WITH_RE2=OFF
     # Without this, some dataset functionality segfaults
     export CMAKE_UNITY_BUILD=ON
   else
+    export ARROW_GCS=ON
     export ARROW_S3=ON
     export ARROW_WITH_RE2=ON
     # Without this, some compute functionality segfaults in tests
@@ -101,6 +104,7 @@ build() {
     -DARROW_CSV=ON \
     -DARROW_DATASET=ON \
     -DARROW_FILESYSTEM=ON \
+    -DARROW_GCS="${ARROW_GCS}" \
     -DARROW_HDFS=OFF \
     -DARROW_JEMALLOC=OFF \
     -DARROW_JSON=ON \
diff --git a/ci/scripts/r_windows_build.sh b/ci/scripts/r_windows_build.sh
index 89d5737a09bd..3334eab8663a 100755
--- a/ci/scripts/r_windows_build.sh
+++ b/ci/scripts/r_windows_build.sh
@@ -87,7 +87,7 @@ if [ -d mingw64/lib/ ]; then
   # These may be from https://dl.bintray.com/rtools/backports/
   cp $MSYS_LIB_DIR/mingw64/lib/lib{thrift,snappy}.a 
$DST_DIR/${RWINLIB_LIB_DIR}/x64
   # These are from https://dl.bintray.com/rtools/mingw{32,64}/
-  cp 
$MSYS_LIB_DIR/mingw64/lib/lib{zstd,lz4,brotli*,crypto,utf8proc,re2,aws*}.a 
$DST_DIR/lib/x64
+  cp 
$MSYS_LIB_DIR/mingw64/lib/lib{zstd,lz4,brotli*,crypto,curl,ss*,utf8proc,re2,aws*}.a
 $DST_DIR/lib/x64
 fi
 
 # Same for the 32-bit versions
@@ -97,7 +97,7 @@ if [ -d mingw32/lib/ ]; then
   mkdir -p $DST_DIR/lib/i386
   mv mingw32/lib/*.a $DST_DIR/${RWINLIB_LIB_DIR}/i386
   cp $MSYS_LIB_DIR/mingw32/lib/lib{thrift,snappy}.a 
$DST_DIR/${RWINLIB_LIB_DIR}/i386
-  cp 
$MSYS_LIB_DIR/mingw32/lib/lib{zstd,lz4,brotli*,crypto,utf8proc,re2,aws*}.a 
$DST_DIR/lib/i386
+  cp 
$MSYS_LIB_DIR/mingw32/lib/lib{zstd,lz4,brotli*,crypto,curl,ss*,utf8proc,re2,aws*}.a
 $DST_DIR/lib/i386
 fi
 
 # Do the same also for ucrt64
@@ -105,7 +105,7 @@ if [ -d ucrt64/lib/ ]; then
   ls $MSYS_LIB_DIR/ucrt64/lib/
   mkdir -p $DST_DIR/lib/x64-ucrt
   mv ucrt64/lib/*.a $DST_DIR/lib/x64-ucrt
-  cp 
$MSYS_LIB_DIR/ucrt64/lib/lib{thrift,snappy,zstd,lz4,brotli*,crypto,utf8proc,re2,aws*}.a
 $DST_DIR/lib/x64-ucrt
+  cp 
$MSYS_LIB_DIR/ucrt64/lib/lib{thrift,snappy,zstd,lz4,brotli*,crypto,curl,ss*,utf8proc,re2,aws*}.a
 $DST_DIR/lib/x64-ucrt
 fi
 
 # Create build artifact
diff --git a/r/configure.win b/r/configure.win
index 9e22136c79f4..0dd11244f6cb 100644
--- a/r/configure.win
+++ b/r/configure.win
@@ -31,6 +31,7 @@ AWS_LIBS="-laws-cpp-sdk-config -laws-cpp-sdk-transfer 
-laws-cpp-sdk-identity-man
           -laws-cpp-sdk-cognito-identity -laws-cpp-sdk-sts -laws-cpp-sdk-s3 \
           -laws-cpp-sdk-core -laws-c-event-stream -laws-checksums 
-laws-c-common \
           -lUserenv -lversion -lws2_32 -lBcrypt -lWininet -lwinhttp"
+GCS_LIBS="-lcurl"
 
 function configure_release() {
   VERSION=$(grep ^Version DESCRIPTION | sed s/Version:\ //)
@@ -64,11 +65,11 @@ function configure_release() {
             -lutf8proc -lthrift -lsnappy -lz -lzstd -llz4 ${BROTLI_LIBS} 
-lole32 \
             ${MIMALLOC_LIBS} ${OPENSSL_LIBS}"
 
-  # S3 and re2 support only for Rtools40 (i.e. R >= 4.0)
+  # S3, GCS, and re2 support only for Rtools40 (i.e. R >= 4.0)
   "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e 'R.version$major >= 4' | grep 
TRUE >/dev/null 2>&1
   if [ $? -eq 0 ]; then
-    PKG_CFLAGS="${PKG_CFLAGS} -DARROW_R_WITH_S3"
-    PKG_LIBS="${PKG_LIBS} -lre2 ${AWS_LIBS}"
+    PKG_CFLAGS="${PKG_CFLAGS} -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS"
+    PKG_LIBS="${PKG_LIBS} -lre2 ${AWS_LIBS} ${GCS_LIBS}"
   else
     # It seems that order matters
     PKG_LIBS="${PKG_LIBS} -lws2_32"
{code}

Build errors:

{code}
g++ -std=gnu++11 -shared -s -static-libgcc -o arrow.dll tmp.def RTasks.o 
altrep.o array.o array_to_vector.o arraydata.o arrowExports.o bridge.o buffer.o 
chunkedarray.o compression.o compute-exec.o compute.o config.o csv.o dataset.o 
datatype.o expression.o extension-impl.o feather.o field.o filesystem.o 
imports.o io.o json.o memorypool.o message.o parquet.o r_to_arrow.o 
recordbatch.o recordbatchreader.o recordbatchwriter.o safe-call-into-r-impl.o 
scalar.o schema.o symbols.o table.o threadpool.o type_infer.o 
-L../windows/arrow-8.0.0.9000/lib-10.3.0/x64 
-L../windows/arrow-8.0.0.9000/lib/x64-ucrt -lparquet -larrow_dataset -larrow 
-larrow_bundled_dependencies -lutf8proc -lthrift -lsnappy -lz -lzstd -llz4 
-lbrotlienc -lbrotlidec -lbrotlicommon -lole32 -lbcrypt -lpsapi -lcrypto 
-lcrypt32 -lre2 -laws-cpp-sdk-config -laws-cpp-sdk-transfer 
-laws-cpp-sdk-identity-management -laws-cpp-sdk-cognito-identity 
-laws-cpp-sdk-sts -laws-cpp-sdk-s3 -laws-cpp-sdk-core -laws-c-event-stream 
-laws-checksums -laws-c-common -lUserenv -lversion -lws2_32 -lBcrypt -lWininet 
-lwinhttp -lcurl -Lc:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 
-Lc:/rtools42/x86_64-w64-mingw32.static.posix/lib -LC:/R/bin/x64 -lR
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs.cc.obj):(.text$_ZN6google5cloud7v1_39_011StreamRangeINS0_7storage7v1_39_014ObjectMetadataEE4NextEv[_ZN6google5cloud7v1_39_011StreamRangeINS0_7storage7v1_39_014ObjectMetadataEE4NextEv]+0xec0):
 undefined reference to 
`absl::lts_20211102::variant_internal::ThrowBadVariantAccess()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs_internal.cc.obj):(.text+0x4ba7):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs_internal.cc.obj):(.text+0x4c79):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs_internal.cc.obj):(.text+0x4f3d):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs_internal.cc.obj):(.text+0x50ea):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs_internal.cc.obj):(.text+0x6071):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs_internal.cc.obj):(.text+0x613d):
 more undefined references to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()' follow
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs_internal.cc.obj):(.text+0x655a):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow.a(gcsfs_internal.cc.obj):(.text+0x655f):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0x69):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0xa53):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0xb5c):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(absl::lts_20211102::time_internal::cctz::detail::civil_time<absl::lts_20211102::time_internal::cctz::detail::second_tag>
 const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0xcc6):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0xcfe):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0xd96):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0xdce):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0xe66):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0xe9e):
 more undefined references to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const' follow
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0x109f):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::next_transition(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&, 
absl::lts_20211102::time_internal::cctz::time_zone::civil_transition*) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0x111f):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::prev_transition(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&, 
absl::lts_20211102::time_internal::cctz::time_zone::civil_transition*) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(time.cc.obj):(.text+0x2a69):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::time_zone::lookup(std::chrono::time_point<std::chrono::_V2::system_clock,
 std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&) const'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0xe0):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::detail::format(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, 
std::chrono::time_point<std::chrono::_V2::system_clock, 
std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&, 
std::chrono::duration<long long, std::ratio<1ll, 1000000000000000ll> > const&, 
absl::lts_20211102::time_internal::cctz::time_zone const&)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0x314):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::detail::format(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, 
std::chrono::time_point<std::chrono::_V2::system_clock, 
std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&, 
std::chrono::duration<long long, std::ratio<1ll, 1000000000000000ll> > const&, 
absl::lts_20211102::time_internal::cctz::time_zone const&)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0x405):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::local_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0x4da):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::detail::format(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, 
std::chrono::time_point<std::chrono::_V2::system_clock, 
std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&, 
std::chrono::duration<long long, std::ratio<1ll, 1000000000000000ll> > const&, 
absl::lts_20211102::time_internal::cctz::time_zone const&)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0x73b):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::detail::parse(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, absl::lts_20211102::time_internal::cctz::time_zone const&, 
std::chrono::time_point<std::chrono::_V2::system_clock, 
std::chrono::duration<long long, std::ratio<1ll, 1ll> > >*, 
std::chrono::duration<long long, std::ratio<1ll, 1000000000000000ll> >*, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0xa31):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0xa86):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0xae5):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0xbba):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::detail::format(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, 
std::chrono::time_point<std::chrono::_V2::system_clock, 
std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&, 
std::chrono::duration<long long, std::ratio<1ll, 1000000000000000ll> > const&, 
absl::lts_20211102::time_internal::cctz::time_zone const&)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0xcb1):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0xd15):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format.cc.obj):(.text+0xdea):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::detail::format(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, 
std::chrono::time_point<std::chrono::_V2::system_clock, 
std::chrono::duration<long long, std::ratio<1ll, 1ll> > > const&, 
std::chrono::duration<long long, std::ratio<1ll, 1000000000000000ll> > const&, 
absl::lts_20211102::time_internal::cctz::time_zone const&)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(duration.cc.obj):(.rdata$.refptr._ZN4absl12lts_2021110211kuint128maxE[.refptr._ZN4absl12lts_2021110211kuint128maxE]+0x0):
 undefined reference to `absl::lts_20211102::kuint128max'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(log.cc.obj):(.text+0x243):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(log.cc.obj):(.text+0xed8):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(log.cc.obj):(.text+0x1422):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(well_known_headers.cc.obj):(.text+0x72):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(well_known_headers.cc.obj):(.text+0x626):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(well_known_headers.cc.obj):(.text+0x986):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(client.cc.obj):(.text+0x5a60):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(client.cc.obj):(.text+0x5af7):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(client.cc.obj):(.text+0x6198):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(client.cc.obj):(.text+0x6460):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(client.cc.obj):(.text+0x649b):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(client.cc.obj):(.text+0x682c):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(str_split.cc.obj):(.text+0x1d8):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(str_split.cc.obj):(.text+0x270):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(str_split.cc.obj):(.text+0x41a):
 undefined reference to 
`absl::lts_20211102::raw_logging_internal::RawLog(absl::lts_20211102::LogSeverity,
 char const*, int, char const*, ...)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(numbers.cc.obj):(.text+0x47b):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(numbers.cc.obj):(.text+0x7cb):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(numbers.cc.obj):(.text+0xb3a):
 undefined reference to 
`absl::lts_20211102::raw_logging_internal::RawLog(absl::lts_20211102::LogSeverity,
 char const*, int, char const*, ...)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(match.cc.obj):(.text+0xb7):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(ascii.cc.obj):(.text+0x28b):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x284):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x445):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x4a3):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x4aa):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x660):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x23a2):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x23a9):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x261d):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x2651):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x2692):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x26c2):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x273e):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x2764):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x2772):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x27fb):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x55d5):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x55dc):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x5eba):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x5eee):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x61c8):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(signed_url_requests.cc.obj):(.text+0x61e3):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(object_requests.cc.obj):(.text+0x132):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(object_requests.cc.obj):(.text+0x1b2):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(object_requests.cc.obj):(.text+0x232):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(object_requests.cc.obj):(.text+0x2b2):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(object_requests.cc.obj):(.text+0x332):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(object_requests.cc.obj):(.text+0x3b2):
 more undefined references to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()' follow
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(hash_function_impl.cc.obj):(.text+0x5c):
 undefined reference to `crc32c::Extend(unsigned int, unsigned char const*, 
unsigned long long)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(default_object_acl_requests.cc.obj):(.text+0x211):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(default_object_acl_requests.cc.obj):(.text+0x2a1):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(default_object_acl_requests.cc.obj):(.text+0x331):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(default_object_acl_requests.cc.obj):(.text+0x3c1):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(default_object_acl_requests.cc.obj):(.text+0x451):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(default_object_acl_requests.cc.obj):(.text+0x4e1):
 more undefined references to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()' follow
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(default_object_acl_requests.cc.obj):(.rdata$.refptr._ZTVN4absl12lts_2021110216strings_internal13OStringStreamE[.refptr._ZTVN4absl12lts_2021110216strings_internal13OStringStreamE]+0x0):
 undefined reference to `vtable for 
absl::lts_20211102::strings_internal::OStringStream'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(default_object_acl_requests.cc.obj):(.rdata$.refptr._ZTTN4absl12lts_2021110216strings_internal13OStringStreamE[.refptr._ZTTN4absl12lts_2021110216strings_internal13OStringStreamE]+0x0):
 undefined reference to `VTT for 
absl::lts_20211102::strings_internal::OStringStream'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0xcac):
 undefined reference to `__imp_curl_easy_getinfo'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0xfa2):
 undefined reference to `__imp_curl_easy_strerror'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0x1799):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0x18df):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0x19e7):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0x3fb5):
 undefined reference to `__imp_curl_easy_strerror'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0x43cd):
 undefined reference to `__imp_curl_easy_getinfo'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0x447c):
 undefined reference to `__imp_curl_easy_init'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle.cc.obj):(.text+0x4483):
 undefined reference to `__imp_curl_easy_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0x69f):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0x6ed):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0x786):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0xb2e):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0xbed):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0x1b70):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0x1f70):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0x14a50):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_client.cc.obj):(.text+0x14a55):
 more undefined references to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()' follow
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_metadata_parser.cc.obj):(.text+0x8278):
 undefined reference to 
`absl::lts_20211102::str_format_internal::FormatPack[abi:cxx11](absl::lts_20211102::str_format_internal::UntypedFormatSpecImpl,
 
absl::lts_20211102::Span<absl::lts_20211102::str_format_internal::FormatArgImpl 
const>)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_metadata_parser.cc.obj):(.rdata$.refptr._ZN4absl12lts_2021110219str_format_internal13FormatArgImpl8DispatchIiEEbNS2_4DataENS1_24FormatConversionSpecImplEPv[.refptr._ZN4absl12lts_2021110219str_format_internal13FormatArgImpl8DispatchIiEEbNS2_4DataENS1_24FormatConversionSpecImplEPv]+0x0):
 undefined reference to `bool 
absl::lts_20211102::str_format_internal::FormatArgImpl::Dispatch<int>(absl::lts_20211102::str_format_internal::FormatArgImpl::Data,
 absl::lts_20211102::str_format_internal::FormatConversionSpecImpl, void*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_metadata_parser.cc.obj):(.rdata$.refptr._ZN4absl12lts_2021110219str_format_internal13FormatArgImpl8DispatchIxEEbNS2_4DataENS1_24FormatConversionSpecImplEPv[.refptr._ZN4absl12lts_2021110219str_format_internal13FormatArgImpl8DispatchIxEEbNS2_4DataENS1_24FormatConversionSpecImplEPv]+0x0):
 undefined reference to `bool 
absl::lts_20211102::str_format_internal::FormatArgImpl::Dispatch<long 
long>(absl::lts_20211102::str_format_internal::FormatArgImpl::Data, 
absl::lts_20211102::str_format_internal::FormatConversionSpecImpl, void*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_acl_requests.cc.obj):(.text+0x1ba):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_acl_requests.cc.obj):(.text+0x23a):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_acl_requests.cc.obj):(.text+0x2ba):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_acl_requests.cc.obj):(.text+0x33a):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_acl_requests.cc.obj):(.text+0x3ba):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_acl_requests.cc.obj):(.text+0x43a):
 more undefined references to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()' follow
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(hashing_options.cc.obj):(.text+0x99):
 undefined reference to `crc32c::Extend(unsigned int, unsigned char const*, 
unsigned long long)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(client_options.cc.obj):(.text+0x5538):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(client_options.cc.obj):(.text+0x5687):
 undefined reference to 
`absl::lts_20211102::base_internal::ThrowStdOutOfRange(char const*)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_metadata.cc.obj):(.text+0x2303):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_metadata.cc.obj):(.text+0x2308):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_metadata.cc.obj):(.text+0x6148):
 undefined reference to 
`absl::lts_20211102::str_format_internal::FormatPack[abi:cxx11](absl::lts_20211102::str_format_internal::UntypedFormatSpecImpl,
 
absl::lts_20211102::Span<absl::lts_20211102::str_format_internal::FormatArgImpl 
const>)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_metadata.cc.obj):(.text+0x6d1f):
 undefined reference to 
`absl::lts_20211102::str_format_internal::FormatPack[abi:cxx11](absl::lts_20211102::str_format_internal::UntypedFormatSpecImpl,
 
absl::lts_20211102::Span<absl::lts_20211102::str_format_internal::FormatArgImpl 
const>)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(bucket_metadata.cc.obj):(.text+0x6f49):
 undefined reference to 
`absl::lts_20211102::str_format_internal::FormatPack[abi:cxx11](absl::lts_20211102::str_format_internal::UntypedFormatSpecImpl,
 
absl::lts_20211102::Span<absl::lts_20211102::str_format_internal::FormatArgImpl 
const>)'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(auto_finalize.cc.obj):(.text+0x80):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format_time_point.cc.obj):(.text+0x2d):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format_time_point.cc.obj):(.text+0x9d):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format_time_point.cc.obj):(.text+0x10d):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(format_time_point.cc.obj):(.text+0x17d):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(well_known_parameters.cc.obj):(.text+0xe22):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(object_metadata.cc.obj):(.text+0x16dd):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(google_credentials.cc.obj):(.text$_ZN6google5cloud7storage7v1_39_06oauth225AuthorizedUserCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv[_ZN6google5cloud7storage7v1_39_06oauth225AuthorizedUserCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv]+0x154):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(google_credentials.cc.obj):(.text$_ZN6google5cloud7storage7v1_39_06oauth225AuthorizedUserCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv[_ZN6google5cloud7storage7v1_39_06oauth225AuthorizedUserCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv]+0x18e):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(google_credentials.cc.obj):(.text$_ZN6google5cloud7storage7v1_39_06oauth225AuthorizedUserCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv[_ZN6google5cloud7storage7v1_39_06oauth225AuthorizedUserCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv]+0x50a):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(google_credentials.cc.obj):(.text$_ZN6google5cloud7storage7v1_39_06oauth225ServiceAccountCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv[_ZN6google5cloud7storage7v1_39_06oauth225ServiceAccountCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv]+0x248):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(google_credentials.cc.obj):(.text$_ZN6google5cloud7storage7v1_39_06oauth225ServiceAccountCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv[_ZN6google5cloud7storage7v1_39_06oauth225ServiceAccountCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv]+0x287):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(google_credentials.cc.obj):(.text$_ZN6google5cloud7storage7v1_39_06oauth225ServiceAccountCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv[_ZN6google5cloud7storage7v1_39_06oauth225ServiceAccountCredentialsINS2_8internal18CurlRequestBuilderENSt6chrono3_V212system_clockEE7RefreshEv]+0x55a):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(service_account_requests.cc.obj):(.text+0x210):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(service_account_requests.cc.obj):(.text$_ZNK6google5cloud7storage7v1_39_08internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_15IfNoneMatchEtagEJNS2_9QuotaUserENS2_6UserIpENS2_11UserProjectEEE11DumpOptionsERSoPKc[_ZNK6google5cloud7storage7v1_39_08internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_15IfNoneMatchEtagEJNS2_9QuotaUserENS2_6UserIpENS2_11UserProjectEEE11DumpOptionsERSoPKc]+0x36b):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(service_account_requests.cc.obj):(.text$_ZNK6google5cloud7storage7v1_39_08internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_9QuotaUserEJNS2_6UserIpENS2_11UserProjectEEE11DumpOptionsERSoPKc[_ZNK6google5cloud7storage7v1_39_08internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_9QuotaUserEJNS2_6UserIpENS2_11UserProjectEEE11DumpOptionsERSoPKc]+0x29b):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(service_account_requests.cc.obj):(.text$_ZNK6google5cloud7storage7v1_39_08internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_11IfMatchEtagEJNS2_15IfNoneMatchEtagENS2_9QuotaUserENS2_6UserIpENS2_11UserProjectEEE11DumpOptionsERSoPKc[_ZNK6google5cloud7storage7v1_39_08internal18GenericRequestBaseINS3_31GetProjectServiceAccountRequestENS2_11IfMatchEtagEJNS2_15IfNoneMatchEtagENS2_9QuotaUserENS2_6UserIpENS2_11UserProjectEEE11DumpOptionsERSoPKc]+0x395):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(retry_object_read_source.cc.obj):(.text+0x3ea):
 undefined reference to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(retry_object_read_source.cc.obj):(.text+0x4081):
 more undefined references to 
`absl::lts_20211102::optional_internal::throw_bad_optional_access()' follow
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_wrappers.cc.obj):(.text+0x6):
 undefined reference to `__imp_curl_global_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_wrappers.cc.obj):(.text+0x35):
 undefined reference to `__imp_curl_version_info'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_wrappers.cc.obj):(.text+0x737):
 undefined reference to `__imp_curl_global_init'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0x489):
 undefined reference to `__imp_curl_slist_append'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0x567):
 undefined reference to `__imp_curl_easy_escape'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0x5b2):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0x764):
 undefined reference to `__imp_curl_free'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0x790):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0x847):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0xa05):
 undefined reference to `__imp_curl_version'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0xb62):
 undefined reference to `__imp_curl_slist_free_all'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request_builder.cc.obj):(.text+0x180c):
 undefined reference to `__imp_curl_slist_free_all'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request.cc.obj):(.text+0x6d4):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request.cc.obj):(.text+0xa26):
 undefined reference to `__imp_curl_easy_perform'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request.cc.obj):(.text+0xf5e):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_request.cc.obj):(.text+0x109e):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x2c):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x3b):
 undefined reference to `__imp_curl_multi_init'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x42):
 undefined reference to `__imp_curl_multi_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x96):
 undefined reference to `__imp_curl_easy_getinfo'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x132):
 undefined reference to `__imp_curl_easy_init'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x142):
 undefined reference to `__imp_curl_easy_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x172):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x1a1):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x226):
 undefined reference to `__imp_curl_easy_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x284):
 undefined reference to `__imp_curl_multi_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x525):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x55d):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x5eb):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x629):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x6c4):
 undefined reference to `__imp_curl_easy_reset'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x716):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x74f):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x756):
 undefined reference to `__imp_curl_easy_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x7ba):
 undefined reference to `__imp_curl_easy_init'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x7f6):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x833):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x90a):
 undefined reference to `__imp_curl_easy_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x939):
 undefined reference to `__imp_curl_easy_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x98f):
 undefined reference to `__imp_curl_multi_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0xa13):
 undefined reference to `__imp_curl_multi_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0xa42):
 undefined reference to `__imp_curl_multi_init'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0xa49):
 undefined reference to `__imp_curl_multi_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x1492):
 undefined reference to `__imp_curl_easy_getinfo'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x14a1):
 undefined reference to `__imp_curl_easy_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_handle_factory.cc.obj):(.text+0x1632):
 undefined reference to `__imp_curl_multi_cleanup'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x16a8):
 undefined reference to `__imp_curl_multi_remove_handle'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x16f2):
 undefined reference to `__imp_curl_easy_pause'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x1c77):
 undefined reference to `__imp_curl_multi_strerror'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x206e):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x240d):
 undefined reference to `__imp_curl_multi_add_handle'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x2d55):
 undefined reference to `__imp_curl_multi_wait'
Error: Error: R CMD check found ERRORs
Execution halted
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x2e4e):
 undefined reference to `__imp_curl_multi_perform'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x2f0f):
 undefined reference to `__imp_curl_multi_info_read'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x2f93):
 undefined reference to `__imp_curl_multi_remove_handle'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x3233):
 undefined reference to `__imp_curl_easy_strerror'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x5696):
 undefined reference to `__imp_curl_easy_perform'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x5e2a):
 undefined reference to `__imp_curl_easy_setopt'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(curl_download_request.cc.obj):(.text+0x67a8):
 undefined reference to `__imp_curl_easy_pause'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(civil_time.cc.obj):(.text+0x18f):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(civil_time.cc.obj):(.text+0x5bf):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(civil_time.cc.obj):(.text+0x9df):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(civil_time.cc.obj):(.text+0xdff):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(civil_time.cc.obj):(.text+0x121f):
 undefined reference to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-8.0.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(civil_time.cc.obj):(.text+0x164f):
 more undefined references to 
`absl::lts_20211102::time_internal::cctz::utc_time_zone()' follow
collect2.exe: error: ld returned 1 exit status
{code}


> [R] Move Windows GCS dependency building upstream
> -------------------------------------------------
>
>                 Key: ARROW-16878
>                 URL: https://issues.apache.org/jira/browse/ARROW-16878
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Packaging, R
>            Reporter: Neal Richardson
>            Priority: Major
>             Fix For: 9.0.0
>
>
> On ARROW-16510, I added the GCS filesystem to the arrow PKGBUILD, bundling it 
> in the arrow build. A better solution would be to put google-cloud-cpp in 
> rtools-packages so we don't have to build it every time. 
> There is no google-cloud-cpp in https://github.com/msys2/MINGW-packages, so 
> either we'd have to make one up for rtools-packages, or we use the bundled 
> google-cloud-cpp in our cmake and see if we can put as many of its 
> dependencies in rtools-packages to ease the build. 
> https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-nlohmann-json 
> exists in MINGW-packages and could be brought over, but I don't think it's a 
> big deal if it is bundled.
> https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-abseil-cpp/PKGBUILD
>  exists and could be brought over, but note that it uses C++17. That doesn't 
> seem to be a hard requirement, at least for what we're using, since we're 
> building it with C++11.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to