raulcd commented on PR #44989:
URL: https://github.com/apache/arrow/pull/44989#issuecomment-2559743672

   Thanks @amoeba for the patches! I had to tweak a little but I did make some 
more progress. The `R / AMD64 Windows C++ RTools 40 ucrt64` is now successful 
with bundled AWS but the related `R / AMD64 Windows R release ` job, which 
validates the built package, is currently failing when trying to install the 
new Arrow package. It seems to be missing some symbols on the new bundled 
libraries. Anyone has an idea?
   ```
   g++ -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 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-18.1.0.9000/lib-13.3.0/x64 
-L../windows/arrow-18.1.0.9000/lib/x64-ucrt -larrow_dataset -larrow_acero 
-lparquet -larrow -larrow_bundled_dependencies -lutf8proc -lthrift -lsnappy -lz 
-lzstd -llz4 -lbz2 -lbrotlienc -lbrotlidec -lbrotlicommon -lole32 -lbcrypt 
-lpsapi -lcrypto -lcrypt32 -lre2 -luserenv -lversion -lws2_32 -lbcrypt 
-lwininet -lwinhttp -lcurl -lnormaliz -lssh2 -lgdi32 -lssl -lcrypto -lcrypt32 
-lwldap32 -lz -lws2_32 -lnghttp2 -ldbghelp 
-LC:/rtools44/x86_64-w64-mingw32.static
 .posix/lib/x64 -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib 
-LC:/R/bin/x64 -lR
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(file.c.obj):(.text+0x1110):
 undefined reference to `__imp_PathFileExistsW'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0xcb):
 undefined reference to `QueryContextAttributesA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x694):
 undefined reference to `QueryContextAttributesA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0xb6a):
 undefined reference to `DecryptMessage'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x100e):
 undefined reference to `QueryContextAttributesA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x12bd):
 undefined reference to `EncryptMessage'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x1869):
 undefined reference to `__imp_ApplyControlToken'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x192a):
 undefined reference to `InitializeSecurityContextA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x1ab3):
 undefined reference to `__imp_DeleteSecurityContext'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x1ae2):
 undefined reference to `__imp_DeleteSecurityContext'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x1bc6):
 undefined reference to `AcquireCredentialsHandleA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x274b):
 undefined reference to `__imp_AcceptSecurityContext'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x27c5):
 undefined reference to `FreeContextBuffer'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x2a0f):
 undefined reference to `FreeContextBuffer'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x2be0):
 undefined reference to `InitializeSecurityContextA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x2c56):
 undefined reference to `FreeContextBuffer'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x2e59):
 undefined reference to `FreeContextBuffer'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x2fa2):
 undefined reference to `__imp_AcceptSecurityContext'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x309b):
 undefined reference to `FreeContextBuffer'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x31e3):
 undefined reference to `QueryContextAttributesA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x342a):
 undefined reference to `FreeContextBuffer'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x3447):
 undefined reference to `QueryContextAttributesA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x381c):
 undefined reference to `InitializeSecurityContextA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x3913):
 undefined reference to `FreeContextBuffer'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x3a9d):
 undefined reference to `QueryContextAttributesA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x3c9a):
 undefined reference to `FreeContextBuffer'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(secure_channel_tls_handler.c.obj):(.text+0x3cb7):
 undefined reference to `QueryContextAttributesA'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(windows_pki_utils.c.obj):(.text+0x1825):
 undefined reference to `NCryptOpenStorageProvider'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(windows_pki_utils.c.obj):(.text+0x1884):
 undefined reference to `NCryptImportKey'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(windows_pki_utils.c.obj):(.text+0x1bed):
 undefined reference to `NCryptFreeObject'
   C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: 
../windows/arrow-18.1.0.9000/lib/x64-ucrt/libarrow_bundled_dependencies.a(windows_pki_utils.c.obj):(.text+0x1bf7):
 undefined reference to `NCryptFreeObject'
   collect2.exe: error: ld returned 1 exit status
   ```


-- 
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]

Reply via email to