You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "peterphalen (via GitHub)" <gi...@apache.org> on 2023/05/06 23:51:34 UTC

[GitHub] [arrow] peterphalen opened a new issue, #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Hello all,
   
   
   I am running into an intractable error when I try to install pyarrow on a Raspberry Pi 4 running Raspbian 10.
    
   ```
   CMake Error at CMakeLists.txt:261 (find_package):
           By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project has
           asked CMake to find a package configuration file provided by "Arrow", but
           CMake did not find one.
         
           Could not find a package configuration file provided by "Arrow" with any of
           the following names:
         
             ArrowConfig.cmake
             arrow-config.cmake
         
           Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
           "Arrow_DIR" to a directory containing one of the above files.  If "Arrow"
           provides a separate development package or SDK, be sure it has been
           installed.
         
         
         -- Configuring incomplete, errors occurred!
         See also "/tmp/pip-install-p4u5ohc7/pyarrow_6542d2c5cfb040c6bf8cf552a7c8e0e1/build/temp.linux-aarch64-cpython-37/CMakeFiles/CMakeOutput.log".
         See also "/tmp/pip-install-p4u5ohc7/pyarrow_6542d2c5cfb040c6bf8cf552a7c8e0e1/build/temp.linux-aarch64-cpython-37/CMakeFiles/CMakeError.log".
         error: command '/usr/bin/cmake' failed with exit code 1
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem with pip.
     ERROR: Failed building wheel for pyarrow
   Failed to build pyarrow
   ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
   ```
   
   I am really not sure how to resolve this! If anyone has any advice it would be greatly appreciated.
   Thank you!
   
   ### 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


[GitHub] [arrow] kou commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   You need to install Apache Arrow C++ before you install pyarrow:
   https://arrow.apache.org/docs/developers/python.html#using-system-and-bundled-dependencies


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


[GitHub] [arrow] peterphalen closed issue #35470: Failed building wheel for pyarrow. Raspbian/debian

Posted by "peterphalen (via GitHub)" <gi...@apache.org>.
peterphalen closed issue #35470: Failed building wheel for pyarrow. Raspbian/debian
URL: https://github.com/apache/arrow/issues/35470


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Okay that worked! 100% install of Arrow. Thank you :) 
   
   Unfortunately I still get the same error again described at the very top of this thread. Output here: [output_pip3_install_pyarrow.txt](https://github.com/apache/arrow/files/11441323/output_pip3_install_pyarrow.txt)
   


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   I'm not familiar enough with C to be confident that I've done this right, but I ran make clean and then went back to make sure to run
   
   ```
   export ARROW_HOME=$(pwd)/dist
   export LD_LIBRARY_PATH=$(pwd)/dist/lib:$LD_LIBRARY_PATH
   export CMAKE_PREFIX_PATH=$ARROW_HOME:$CMAKE_PREFIX_PATH
   ```
   And I'm still getting the same errors.
   
   I'm not sure if this is helpful for debugging, but when I run `$CMAKE_PREFIX_PATH` I get `No such file or directory`
   
   Thank you so much for all your help with this! 


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Okay after one run hanging, I'm now even further, but hitting the following errors:
   
   ```
   [ 67%] Linking CXX executable ../../../../debug/arrow-compute-aggregate-test
   /usr/bin/ld: CMakeFiles/arrow-compute-aggregate-test.dir/aggregate_test.cc.o: file not recognized: file truncated
   /usr/bin/ld: CMakeFiles/arrow-compute-scalar-type-test.dir/test_util.cc.o: file not recognized: file truncated
   Scanning dependencies of target arrow-compute-kernel-utility-test
   Scanning dependencies of target arrow-compute-scalar-utility-test
   collect2: error: ld returned 1 exit status
   collect2: error: ld returned 1 exit status
   make[2]: *** [src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-type-test.dir/build.make:143: debug/arrow-compute-scalar-type-test] Error 1
   make[1]: *** [CMakeFiles/Makefile2:3026: src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-type-test.dir/all] Error 2
   make[1]: *** Waiting for unfinished jobs....
   make[2]: *** [src/arrow/compute/kernels/CMakeFiles/arrow-compute-aggregate-test.dir/build.make:113: debug/arrow-compute-aggregate-test] Error 1
   make[1]: *** [CMakeFiles/Makefile2:2958: src/arrow/compute/kernels/CMakeFiles/arrow-compute-aggregate-test.dir/all] Error 2
   [ 68%] Building CXX object src/arrow/compute/kernels/CMakeFiles/arrow-compute-kernel-utility-test.dir/codegen_internal_test.cc.o
   [ 69%] Building CXX object src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-utility-test.dir/scalar_random_test.cc.o
   [ 69%] Building CXX object src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-utility-test.dir/scalar_set_lookup_test.cc.o
   [ 69%] Building CXX object src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-utility-test.dir/scalar_validity_test.cc.o
   [ 69%] Linking CXX executable ../../../../debug/arrow-compute-kernel-utility-test
   [ 69%] Building CXX object src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-utility-test.dir/test_util.cc.o
   [ 69%] Built target arrow-compute-kernel-utility-test
   [ 69%] Linking CXX executable ../../../../debug/arrow-compute-scalar-utility-test
   [ 69%] Built target arrow-compute-scalar-utility-test
   make: *** [Makefile:141: all] Error 2
   ```
   
   Genuinely happy this is helping others troubleshoot as well! Thank you for commenting @Trompettesib 


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   `make` by itself yielded:
   
   ```
   [ 53%] Built target arrow-compute-expression-test
   [ 53%] Linking CXX executable ../../../../debug/arrow-compute-aggregate-test
   /usr/bin/ld: CMakeFiles/arrow-compute-aggregate-test.dir/aggregate_test.cc.o: file not recognized: file truncated
   collect2: error: ld returned 1 exit status
   make[2]: *** [src/arrow/compute/kernels/CMakeFiles/arrow-compute-aggregate-test.dir/build.make:113: debug/arrow-compute-aggregate-test] Error 1
   make[1]: *** [CMakeFiles/Makefile2:2958: src/arrow/compute/kernels/CMakeFiles/arrow-compute-aggregate-test.dir/all] Error 2
   make: *** [Makefile:141: all] Error 2
   ```


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


[GitHub] [arrow] starsnpixel commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Were you following the official guideline on https://arrow.apache.org/docs/developers/python.html#python-development or working on your own? Because I am doing exactly what is told there and still I run into this problem.


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


[GitHub] [arrow] kou commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Could you ensure setting `CMAKE_PREFIX_PATH`?
   https://arrow.apache.org/docs/developers/python.html#using-system-and-bundled-dependencies describes it too.


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


[GitHub] [arrow] kou commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Ah, sorry.
   I had a typo. Could you try `cmake -DARROW_CXXFLAGS=-march=native ${YOUR_OTHER_CMAKE_OPTIONS}` and `make -j4`  too?


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   I appreciate the tip. I've just tried to work through it a few times and the installation process is failing at the `make -j4` step. I'm not sure if this might be related or not
   
   ```
   [ 15%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/bignum-dtoa.cc.o
   In file included from /home/redacted/arrow/cpp/src/arrow/util/utf8.cc:28:
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h: In function ‘bool arrow::util::ValidateAsciiSimd(const uint8_t*, int64_t)’:
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:235:29: error: ‘make_sized_batch_t’ in namespace ‘xsimd’ does not name a template type
      using simd_batch = xsimd::make_sized_batch_t<int8_t, 16>;
                                ^~~~~~~~~~~~~~~~~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:238:11: error: ‘simd_batch’ does not name a type; did you mean ‘rpmatch’?
        const simd_batch zero(static_cast<int8_t>(0));
              ^~~~~~~~~~
              rpmatch
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:240:5: error: ‘simd_batch’ was not declared in this scope
        simd_batch or1 = zero, or2 = zero;
        ^~~~~~~~~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:240:5: note: suggested alternative: ‘rpmatch’
        simd_batch or1 = zero, or2 = zero;
        ^~~~~~~~~~
        rpmatch
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:243:7: error: ‘or1’ was not declared in this scope
          or1 |= simd_batch::load_unaligned(reinterpret_cast<const int8_t*>(data));
          ^~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:243:14: error: ‘simd_batch’ is not a class, namespace, or enumeration
          or1 |= simd_batch::load_unaligned(reinterpret_cast<const int8_t*>(data));
                 ^~~~~~~~~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:244:7: error: ‘or2’ was not declared in this scope
          or2 |= simd_batch::load_unaligned(reinterpret_cast<const int8_t*>(data2));
          ^~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:244:7: note: suggested alternative: ‘log2’
          or2 |= simd_batch::load_unaligned(reinterpret_cast<const int8_t*>(data2));
          ^~~
          log2
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:244:14: error: ‘simd_batch’ is not a class, namespace, or enumeration
          or2 |= simd_batch::load_unaligned(reinterpret_cast<const int8_t*>(data2));
                 ^~~~~~~~~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:251:5: error: ‘or1’ was not declared in this scope
        or1 |= or2;
        ^~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:251:12: error: ‘or2’ was not declared in this scope
        or1 |= or2;
               ^~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:251:12: note: suggested alternative: ‘log2’
        or1 |= or2;
               ^~~
               log2
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:252:16: error: ‘any’ is not a member of ‘xsimd’
        if (xsimd::any(or1 < zero)) {
                   ^~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:252:26: error: ‘zero’ was not declared in this scope
        if (xsimd::any(or1 < zero)) {
                             ^~~~
   /home/redacted/arrow/cpp/src/arrow/util/utf8_internal.h:252:26: note: suggested alternative: ‘bzero’
        if (xsimd::any(or1 < zero)) {
                             ^~~~
                             bzero
   [ 16%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/fast-dtoa.cc.o
   make[2]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/build.make:1324: src/arrow/CMakeFiles/arrow_objlib.dir/util/utf8.cc.o] Error 1
   make[2]: *** Waiting for unfinished jobs....
   [ 16%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/cached-powers.cc.o
   make[1]: *** [CMakeFiles/Makefile2:2203: src/arrow/CMakeFiles/arrow_objlib.dir/all] Error 2
   make: *** [Makefile:141: all] Error 2
   ```


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


[GitHub] [arrow] kou commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Hmm, could you run `make clean && make` again?


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Success! `Successfully installed pyarrow-12.0.0` Thank you *so* much for your persistent help @kou . Your final suggestion to look at CMAKE_PREFIX_PATH helped me finish the job because I found that $CMAKE_PREFIX_PATH wasn't pointing anywhere even after I had run the code to define it, which helped me go back and check `dist` and realize it wasn't in the right place. Issue closed as far as I'm concerned!
   


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


[GitHub] [arrow] peterphalen commented on issue #35470: [Python] Failed building wheel for pyarrow. Raspbian/debian

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

   I was following that guide you linked to


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


[GitHub] [arrow] kou commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Could you try `cmake -DARROW_CXX=-march=native ...` and `cmake -DARROW_SIMD_LEVEL=NONE ...`?


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   [output_cmake_make.txt](https://github.com/apache/arrow/files/11431369/output_cmake_make.txt)
   


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Hey @starsnpixel. Basically, some of the intermediate steps assume that all previous blocks have been run, and that they've been run in order. Specifically, when I was running some of the later steps I was pointing to the wrong directory, and a previous step would have put me in the right one. It's annoying, but as you debug I would try starting from the very beginning each time. I hope that helps!


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


[GitHub] [arrow] peterphalen commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Okay I got a lot farther now. Thank you
   
   First, here's the output for both commands you suggested:
   [output_cmake_make (1).txt](https://github.com/apache/arrow/files/11431884/output_cmake_make.1.txt)
   
   And here's the new error:
   
   ```
   [ 56%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/encryption/local_wrap_kms_client.cc.o
   [ 56%] Built target parquet_objlib
   /usr/bin/ld: CMakeFiles/arrow-array-test.dir/array/array_test.cc.o: in function `arrow::ArrayData::SetNullCount(long long)':
   /usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
   /usr/bin/ld: CMakeFiles/arrow-array-test.dir/array/array_test.cc.o: in function `arrow::ArrayData::MayHaveNulls() const':
   /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
   /usr/bin/ld: CMakeFiles/arrow-array-test.dir/array/array_test.cc.o: in function `arrow::ArrayData::MayHaveLogicalNulls() const':
   /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
   /usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
   /usr/bin/ld: CMakeFiles/arrow-array-test.dir/array/array_test.cc.o: in function `std::__atomic_base<long long>::operator long long() const':
   /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
   /usr/bin/ld: CMakeFiles/arrow-array-test.dir/array/array_test.cc.o: in function `std::__atomic_base<long long>::operator=(long long)':
   /usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
   /usr/bin/ld: CMakeFiles/arrow-array-test.dir/array/array_list_test.cc.o: in function `std::__atomic_base<long long>::operator+=(long long)':
   /usr/include/c++/8/bits/atomic_base.h:312: undefined reference to `__atomic_fetch_add_8'
   collect2: error: ld returned 1 exit status
   make[2]: *** [src/arrow/CMakeFiles/arrow-array-test.dir/build.make:203: debug/arrow-array-test] Error 1
   make[1]: *** [CMakeFiles/Makefile2:2379: src/arrow/CMakeFiles/arrow-array-test.dir/all] Error 2
   make: *** [Makefile:141: all] Error 2
   ```
   I'd be grateful for any other ideas you ahve!


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


[GitHub] [arrow] kou commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   Could you attach full `cmake ...` and `make -j4` logs?


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


[GitHub] [arrow] starsnpixel commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   > Okay I think I was running `mkdir dist` from the wrong location, so the later path references weren't pointing to an existing directory. This was probably due to me trying to debug and then go back and rerun the installation instructions from halfway points, rather than starting from the very beginning each time. In this case I think that when I was running `mkdir dist` I was not in `/arrow` because I had not started all the way back in the environment setup section and so had not run `pushd arrow` first. After manually navigating to `/arrow` and then `mkdir dist` etc it now seems to be installing correctly, and now pyarrow has actually started installing for the first time. I have to step away right now but will let you know how it went when I can.
   
   Hi there, I'm having the exact same problems as you had so I guess the solution would be the same but I'm having a hard time understanding what exactly led to the solution here. Could you please elaborate a bit what exactly you did here?


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


[GitHub] [arrow] kou commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   It seems that it's a concurrent build problem.
   Does `make` (no `-j4`) work?


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


[GitHub] [arrow] Trompettesib commented on issue #35470: Failed building wheel for pyarrow. Raspbian/debian

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

   The use of gcc-12 and those arguments :
   > Ah, sorry. I had a typo. Could you try `cmake -DARROW_CXXFLAGS=-march=native ${YOUR_OTHER_CMAKE_OPTIONS}` and `make -j4` too?
   
   seems to have solved my issue who was the same
   


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