amoeba opened a new issue, #44886:
URL: https://github.com/apache/arrow/issues/44886

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The PR to update vcpk's version of Arrow C++ for 18.1.0 is failing but only 
for Android, see 
https://github.com/microsoft/vcpkg/pull/42357#issuecomment-2507182107. The 
relevant log output is:
   
   ```
   FAILED: src/arrow/CMakeFiles/arrow_vendored.dir/vendored/datetime.cpp.o 
   /android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ 
--target=aarch64-none-linux-android21 
--sysroot=/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/sysroot 
-DARROW_HAVE_NEON -DARROW_WITH_TIMING_TESTS -DURI_STATIC_BUILD 
-I/mnt/vcpkg-ci/b/arrow/arm64-android-dbg/src 
-I/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src 
-I/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/generated -g 
-DANDROID -fdata-sections -ffunction-sections -funwind-tables 
-fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat 
-Werror=format-security -frtti -fexceptions  -fPIC   -Qunused-arguments 
-fcolor-diagnostics  -Wall -Wno-unknown-warning-option -Wno-pass-failed 
-march=armv8-a  -fno-limit-debug-info    -O0 -ggdb  -std=c++17 -fPIC -MD -MT 
src/arrow/CMakeFiles/arrow_vendored.dir/vendored/datetime.cpp.o -MF 
src/arrow/CMakeFiles/arrow_vendored.dir/vendored/datetime.cpp.o.d -o 
src/arrow/CMakeFiles/arrow_vendored.dir/vendored/datetime.cpp.o -c /
 
mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/arrow/vendored/datetime.cpp
   In file included from 
/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/arrow/vendored/datetime.cpp:19:
   
/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/arrow/vendored/datetime/tz.cpp:608:55:
 error: use of undeclared identifier 'init_tzdb'; did you mean 'get_tzdb'?
     608 |     tzdb_list::undocumented_helper::push_front(tz_db, 
init_tzdb().release());
         |                                                       ^~~~~~~~~
         |                                                       get_tzdb
   
/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/arrow/vendored/datetime/tz.h:1221:22:
 note: 'get_tzdb' declared here
    1221 | DATE_API const tzdb& get_tzdb();
         |                      ^
   In file included from 
/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/arrow/vendored/datetime.cpp:19:
   
/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/arrow/vendored/datetime/tz.cpp:608:67:
 error: no member named 'release' in 'arrow_vendored::date::tzdb'
     608 |     tzdb_list::undocumented_helper::push_front(tz_db, 
init_tzdb().release());
         |                                                       ~~~~~~~~~~~ ^
   
/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/arrow/vendored/datetime/tz.cpp:3039:18:
 error: 'parse_from_android_tzdata' is a private member of 
'arrow_vendored::date::time_zone'
    3039 |         timezone.parse_from_android_tzdata(in, hdr.data_offset + 
index_entry.start);
         |                  ^
   
/mnt/vcpkg-ci/b/arrow/src/e-arrow-18-d474976a0f.clean/cpp/src/arrow/vendored/datetime/tz.h:861:10:
 note: declared private here
     861 |     void parse_from_android_tzdata(std::ifstream& inf, const 
std::size_t off);
         |          ^
   3 errors generated.
   ```
   
   I'm guessing this has something to do with 
https://github.com/apache/arrow/commit/67850befa604ce27c2ea8f37132a5ccf73fe68d9.
   
   ### Component(s)
   
   C++, Packaging


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to