raulcd opened a new issue, #48965:
URL: https://github.com/apache/arrow/issues/48965
### Describe the bug, including details regarding any error messages,
version, and platform.
The free-threaded wheels for Python 3.13 (weirdly only those are failing?)
have started failing to build flight:
```
[84/115] Building CXX object CMakeFiles/_flight.dir/_flight.cpp.o
FAILED: CMakeFiles/_flight.dir/_flight.cpp.o
/usr/local/bin/ccache /opt/rh/gcc-toolset-14/root/usr/bin/c++
-DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2
-DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -D_flight_EXPORTS
-I/opt/python/cp313-cp313t/include/python3.13t -I/arrow/python/pyarrow/src
-I/arrow/python/build/temp.linux-x86_64-cpython-313t/pyarrow/src
-I/tmp/arrow-dist/include
-I/opt/python/cp313-cp313t/lib/python3.13t/site-packages/numpy/_core/include
-Wno-noexcept-type -Wno-self-move -Wall -fno-semantic-interposition -msse4.2
-fdiagnostics-color=always -fno-omit-frame-pointer -Wno-unused-variable
-Wno-maybe-uninitialized -O3 -DNDEBUG -O2 -ftree-vectorize -std=c++20
-flto=auto -fno-fat-lto-objects -fPIC -Wno-unused-function -MD -MT
CMakeFiles/_flight.dir/_flight.cpp.o -MF CMakeFiles/_flight.dir/_flight.cpp.o.d
-o CMakeFiles/_flight.dir/_flight.cpp.o -c
/arrow/python/build/temp.linux-x86_64-cpython-313t/_flight.cpp
In file included from /usr/include/bits/types/stack_t.h:23,
from /usr/include/signal.h:303,
from
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/csignal:42,
from /tmp/arrow-dist/include/arrow/util/io_util.h:33,
from
/tmp/arrow-dist/include/arrow/util/async_generator.h:32,
from /tmp/arrow-dist/include/arrow/ipc/reader.h:35,
from /tmp/arrow-dist/include/arrow/ipc/api.h:23,
from
/arrow/python/build/temp.linux-x86_64-cpython-313t/_flight.cpp:1340:
/arrow/python/build/temp.linux-x86_64-cpython-313t/_flight.cpp: In function
‘PyObject*
__pyx_gb_7pyarrow_7_flight_12FlightClient_9do_action_2generator2(__pyx_CoroutineObject*,
PyThreadState*, PyObject*)’:
/arrow/python/build/temp.linux-x86_64-cpython-313t/_flight.cpp:43068:110:
error: call of overloaded ‘unique_ptr(NULL)’ is ambiguous
43068 | __pyx_t_3 = (__pyx_cur_scope->__pyx_v_result->result ==
((std::unique_ptr< arrow::flight::Result> )NULL));
|
^~~~
In file included from
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/memory:78,
from
/arrow/python/build/temp.linux-x86_64-cpython-313t/_flight.cpp:1249:
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/bits/unique_ptr.h:353:19:
note: candidate: ‘constexpr std::unique_ptr<_Tp,
_Dp>::unique_ptr(std::nullptr_t) [with _Del =
std::default_delete<arrow::flight::Result>; <template-parameter-2-2> = void;
_Tp = arrow::flight::Result; _Dp = std::default_delete<arrow::flight::Result>;
std::nullptr_t = std::nullptr_t]’
353 | constexpr unique_ptr(nullptr_t) noexcept
| ^~~~~~~~~~
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/bits/unique_ptr.h:311:9:
note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(pointer) [with _Del =
std::default_delete<arrow::flight::Result>; <template-parameter-2-2> = void;
_Tp = arrow::flight::Result; _Dp = std::default_delete<arrow::flight::Result>;
pointer = arrow::flight::Result*]’
311 | unique_ptr(pointer __p) noexcept
| ^~~~~~~~~~
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/bits/unique_ptr.h:517:7:
note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const
std::unique_ptr<_Tp, _Dp>&) [with _Tp = arrow::flight::Result; _Dp =
std::default_delete<arrow::flight::Result>]’ (deleted)
517 | unique_ptr(const unique_ptr&) = delete;
| ^~~~~~~~~~
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/bits/unique_ptr.h:360:7:
note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp,
_Dp>&&) [with _Tp = arrow::flight::Result; _Dp =
std::default_delete<arrow::flight::Result>]’
360 | unique_ptr(unique_ptr&&) = default;
| ^~~~~~~~~~
/arrow/python/build/temp.linux-x86_64-cpython-313t/_flight.cpp: In function
‘PyObject*
__pyx_gb_7pyarrow_7_flight_12FlightClient_18generator1(__pyx_CoroutineObject*,
PyThreadState*, PyObject*)’:
/arrow/python/build/temp.linux-x86_64-cpython-313t/_flight.cpp:43933:120:
error: call of overloaded ‘unique_ptr(NULL)’ is ambiguous
43933 | __pyx_t_2 = (__pyx_cur_scope->__pyx_v_result->info
== ((std::unique_ptr< arrow::flight::FlightInfo> )NULL));
|
^~~~
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/bits/unique_ptr.h:353:19:
note: candidate: ‘constexpr std::unique_ptr<_Tp,
_Dp>::unique_ptr(std::nullptr_t) [with _Del =
std::default_delete<arrow::flight::FlightInfo>; <template-parameter-2-2> =
void; _Tp = arrow::flight::FlightInfo; _Dp =
std::default_delete<arrow::flight::FlightInfo>; std::nullptr_t =
std::nullptr_t]’
353 | constexpr unique_ptr(nullptr_t) noexcept
| ^~~~~~~~~~
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/bits/unique_ptr.h:311:9:
note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(pointer) [with _Del =
std::default_delete<arrow::flight::FlightInfo>; <template-parameter-2-2> =
void; _Tp = arrow::flight::FlightInfo; _Dp =
std::default_delete<arrow::flight::FlightInfo>; pointer =
arrow::flight::FlightInfo*]’
311 | unique_ptr(pointer __p) noexcept
| ^~~~~~~~~~
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/bits/unique_ptr.h:517:7:
note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const
std::unique_ptr<_Tp, _Dp>&) [with _Tp = arrow::flight::FlightInfo; _Dp =
std::default_delete<arrow::flight::FlightInfo>]’ (deleted)
517 | unique_ptr(const unique_ptr&) = delete;
| ^~~~~~~~~~
/opt/rh/gcc-toolset-14/root/usr/include/c++/14/bits/unique_ptr.h:360:7:
note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp,
_Dp>&&) [with _Tp = arrow::flight::FlightInfo; _Dp =
std::default_delete<arrow::flight::FlightInfo>]’
360 | unique_ptr(unique_ptr&&) = default;
| ^~~~~~~~~~
```
Errors:
-
[wheel-manylinux-2-28-cp313-cp313t-amd64](https://github.com/ursacomputing/crossbow/actions/runs/21279980229/job/61247381640)
-
[wheel-manylinux-2-28-cp313-cp313t-arm64](https://github.com/ursacomputing/crossbow/actions/runs/21279980093/job/61247381174)
No [merged
commits](https://github.com/apache/arrow/compare/97c656bf2e74ca149816f9889f66b27c86840d58...b5e495dd6747b6079cbe99f6c210b4b2174e8647)
when it started failing seem to be related to the failure.
### Component(s)
C++, Python
--
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]