You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "raulcd (via GitHub)" <gi...@apache.org> on 2023/04/17 09:57:54 UTC

[GitHub] [arrow] raulcd opened a new issue, #35179: [CI][C++] Minimal examples fail to compile due to missing configuration for `arrow_bundled_dependencies`

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

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   The following jobs have been failing:
   [example-cpp-minimal-build-static](https://github.com/ursacomputing/crossbow/actions/runs/4716182026/jobs/8363676360)
   [example-cpp-minimal-build-static-system-dependency](https://github.com/ursacomputing/crossbow/actions/runs/4716184879/jobs/8363681455)
   since https://github.com/apache/arrow/commit/b63463c62881d098e9e262e52ca2bd29a416e55d was merged.
   
   I have reproduced locally with:
   ```
   $ cd arrow/cpp/examples/minimal_build
   $ docker-compose run --rm static
   ```
   I've checked the docker container and the built CMake seems to suggest arrow_bundled_dependencies is not found correctly:
   
   ```
   root@70c12a6c178d:/build/example# vim CMakeFiles/arrow-example.dir/build.make 
   ...
   # External object files for target arrow-example
   arrow__example_EXTERNAL_OBJECTS =
   
   arrow-example: CMakeFiles/arrow-example.dir/example.cc.o
   arrow-example: CMakeFiles/arrow-example.dir/build.make
   arrow-example: /usr/local/lib/libarrow.a
   arrow-example: Arrow::arrow_bundled_dependencies-NOTFOUND
   arrow-example: CMakeFiles/arrow-example.dir/link.txt
   
   ```
   
   ### Component(s)
   
   C++, Continuous Integration


-- 
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 #35179: [CI][C++] Minimal examples fail to compile due to missing configuration for `arrow_bundled_dependencies`

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

   Oh, sorry...


-- 
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] raulcd commented on issue #35179: [CI][C++] Minimal examples fail to compile due to missing configuration for `arrow_bundled_dependencies`

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

   I've validated that reverting the change for `ArrowConfig.cmake.in` fix the issue.


-- 
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] assignUser commented on issue #35179: [CI][C++] Minimal examples fail to compile due to missing configuration for `arrow_bundled_dependencies`

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

   The problem is that the changes from #35109  expect `LOCATION_<CONFIGURATION>` to be set, which is not the case by default. This leads to empty vars and wrong locations.
   
   This issue should have been found pre-merge by running crossbow jobs.
   cc @kou
   
   ```
   -- Arrow version: 12.0.0
   -- Found the Arrow shared library: 
   -- Found the Arrow import library: 
   -- Found the Arrow static library: /usr/local/lib/libarrow.a
   CMake Error at CMakeLists.txt:28 (message):
     LOCATION_RELEASE: lib dir: /usr/local/lib
   ```


-- 
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 closed issue #35179: [CI][C++] Minimal examples fail to compile due to missing configuration for `arrow_bundled_dependencies`

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #35179: [CI][C++] Minimal examples fail to compile due to missing configuration for `arrow_bundled_dependencies` 
URL: https://github.com/apache/arrow/issues/35179


-- 
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] assignUser commented on issue #35179: [CI][C++] Minimal examples fail to compile due to missing configuration for `arrow_bundled_dependencies`

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

   Seems to happen frequently as there is a warning specifically for this since 3.19 :D 
   https://cmake.org/cmake/help/latest/policy/CMP0111.html


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