You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "zoldaten (via GitHub)" <gi...@apache.org> on 2025/02/26 08:05:12 UTC

[I] error: invalid use of incomplete type ‘class arrow::dataset::CsvFileWriteOptions’ [arrow]

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

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   hi ! 
   i built arrow cpp 11.0 in raspberry pi zero 2  Rapbian bullseye armv7l python 3.9 
   and trying to make wheel for python but failed.
   its seems everything is going well but at fin something crashes.
   could you help a bit ?
   
   traceback attached.
   
   [traceback.txt](https://github.com/user-attachments/files/18979704/traceback.txt)
   
     
   
   ### Component(s)
   
   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: issues-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] [C++][Python] error: invalid use of incomplete type ‘class arrow::dataset::CsvFileWriteOptions’ [arrow]

Posted by "zoldaten (via GitHub)" <gi...@apache.org>.
zoldaten commented on issue #45634:
URL: https://github.com/apache/arrow/issues/45634#issuecomment-2684594523

   arrow c++ :
   almost used there steps https://github.com/zoldaten/pyarrow-8.0.0-wheel-arm7l
   but change 2 commands:
   `cmake -DARROW_BUILD_STATIC=OFF -DARROW_COMPUTE=ON -DARROW_CSV=ON -DARROW_FILESYSTEM=ON -DARROW_JSON=ON -DCMAKE_BUILD_TYPE=Release -GNinja .`
   `sudo cmake --build . --target install --config Release`
   
   when hours of waiting past i started wheel building:
   ```
   (pyarrow) pi@pi:~ $ export ARROW_HOME=$(pwd)/dist
   (pyarrow) pi@pi:~ $ export LD_LIBRARY_PATH=$(pwd)/dist/lib:$LD_LIBRARY_PATH
   (pyarrow) pi@pi:~ $ export LDFLAGS=-latomic
   (pyarrow) pi@pi:~ $ export PYARROW_WITH_PARQUET=1
   (pyarrow) pi@pi:~ $ export PYARROW_WITH_DATASET=1
   (pyarrow) pi@pi:~ $ pushd arrow/python
   ~/arrow/python ~
   (pyarrow) pi@pi:~/arrow/python $ python3 setup.py build_ext --build-type=release \
          --bundle-arrow-cpp bdist_wheel
   /home/pi/arrow/python/setup.py:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
     import pkg_resources
   /home/pi/pyarrow/lib/python3.9/site-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
   !!
   
           ********************************************************************************
           Requirements should be satisfied by a PEP 517 installer.
           If you are using pip, you can try `pip install --use-pep517`.
           ********************************************************************************
   
   !!
     dist.fetch_build_eggs(dist.setup_requires)
   /home/pi/pyarrow/lib/python3.9/site-packages/setuptools/_distutils/dist.py:270: UserWarning: Unknown distribution option: 'tests_require'
     warnings.warn(msg)
   /home/pi/pyarrow/lib/python3.9/site-packages/setuptools/_distutils/dist.py:270: UserWarning: Unknown distribution option: 'test_suite'
     warnings.warn(msg)
   running build_ext
   -- Running cmake for PyArrow
   cmake -DCMAKE_INSTALL_PREFIX=/home/pi/arrow/python/build/lib.linux-armv7l-cpython-39/pyarrow -DPYTHON_EXECUTABLE=/home/pi/pyarrow/bin/python3 -DPython3_EXECUTABLE=/home/pi/pyarrow/bin/python3 -DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_DATASET=on -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=on -DPYARROW_BUILD_PARQUET_ENCRYPTION=off -DPYARROW_BUILD_PLASMA=off -DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_USE_TENSORFLOW=off -DPYARROW_BUNDLE_ARROW_CPP=on -DPYARROW_BUNDLE_BOOST=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_BUNDLE_PLASMA_EXECUTABLE=on -DPYARROW_GENERATE_COVERAGE=off -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_PARQUET_USE_SHARED=on -DCMAKE_BUILD_TYPE=release /home/pi/arrow/python
   CMake Deprecation Warning at CMakeLists.txt:21 (cmake_minimum_required):
     Compatibility with CMake < 3.10 will be removed from a future version of
     CMake.
   
     Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
     to tell CMake that the project requires at least <min> but has been updated
     to work with policies introduced by <max> or earlier.
   
   
   -- System processor: armv7l
   -- Arrow build warning level: PRODUCTION
   -- Using ld linker
   -- Build Type: RELEASE
   -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition  -fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
   -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -Wall -fno-semantic-interposition  -fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
   -- Generator: Unix Makefiles
   -- Build output directory: /home/pi/arrow/python/build/temp.linux-armv7l-cpython-39/release
   -- Arrow version: 11.0.0
   ```
   
   
   


-- 
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-unsubscribe@arrow.apache.org

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


Re: [I] [C++][Python] error: invalid use of incomplete type ‘class arrow::dataset::CsvFileWriteOptions’ [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #45634:
URL: https://github.com/apache/arrow/issues/45634#issuecomment-3990360233

   This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this usage question has evolved into a feature request or docs update, please remove the 'Type: usage' label and add the 'Type: enhancement' label instead.


-- 
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-unsubscribe@arrow.apache.org

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


Re: [I] error: invalid use of incomplete type ‘class arrow::dataset::CsvFileWriteOptions’ [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #45634:
URL: https://github.com/apache/arrow/issues/45634#issuecomment-2684396914

   Thanks for the report, could you add the attached file into a gist or add the basic details (how are you building Arrow C++ and pyarrow, relevant part of the stack trace) as a code snippet?


-- 
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-unsubscribe@arrow.apache.org

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


Re: [I] [C++][Python] error: invalid use of incomplete type ‘class arrow::dataset::CsvFileWriteOptions’ [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #45634: [C++][Python] error: invalid use of incomplete type ‘class arrow::dataset::CsvFileWriteOptions’
URL: https://github.com/apache/arrow/issues/45634


-- 
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-unsubscribe@arrow.apache.org

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