Uh oh!
There was an error while loading. Please reload this page.
ARROW-5631: [C++] Fix FindBoost targets with cmake3.2 - #4605
ARROW-5631: [C++] Fix FindBoost targets with cmake3.2#4605fsaintjacques wants to merge 8 commits into
Conversation
There was a problem hiding this comment.
This is needed to work with BoostConfig.cmake provided by Boost (not CMake).
The Boost package provided by MSYS2 installed BoostConfig.cmake at the time.
But the current Boost package doesn't install BoostConfig.cmake: https://github.com/msys2/MINGW-packages/pull/5326/files
See also: msys2/MINGW-packages#5233
There is no platform that needs this. So we can remove this for now but we may need this again in the future.
fsaintjacques
commented
Jun 18, 2019
A note that this patch does not fully fix the cmake3.2 issue, see https://jira.apache.org/jira/browse/ARROW-5631?filter=-1 But at least it gets a cmake build directory populated. |
wesm
commented
Jun 18, 2019
fsaintjacques
commented
Jun 18, 2019
@kou afaik, find_package shouldn't be affected by BUILD_SHARED_LIBS? |
wesm
commented
Jun 18, 2019
I think it's fine to keep the stashing; it seems like it was more likely future proofing |
fsaintjacques
commented
Jun 18, 2019
Don't merge for now, it doesn't fix the docker cmake32 image. |
c4d7d34 to
033a944Compare033a944 to
8a89596Comparerebased with master, ready to land (once it passes tests). This passes locally, minus the linking error fixed by #4635. |
kou
commented
Jun 20, 2019
It seems that the current changes don't fix anything. |
fsaintjacques
commented
Jun 20, 2019
codecov-io
commented
Jun 21, 2019
Codecov Report
@@ Coverage Diff @@## master #4605 +/- ##
==========================================
+ Coverage 88.49% 88.91% +0.41%
==========================================
Files 890 710 -180 Lines 110406 96682 -13724 Branches 1418 0 -1418 ==========================================
- Hits 97703 85960 -11743 + Misses 12422 10722 -1700 + Partials 281 0 -281Continue to review full report at Codecov.
|
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbox --help |
ursabot
commented
Jun 21, 2019
|
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbow --help |
ursabot
commented
Jun 21, 2019
|
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23233) builder failed. Revision: f097a4b4ea5ae527a6cf8bfc7a927e5dbca5616b Crossbow: |
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test -g docker |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23234) builder has been succeeded. Revision: f097a4b4ea5ae527a6cf8bfc7a927e5dbca5616b Submitted crossbow builds: ursa-labs/crossbow @ ursabot-41 |
f097a4b to
0e11383Comparefsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test docker docker-cpp docker-cpp-cmake32 docker-rust |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23279) builder failed. Revision: 0e11383c1589ac73b2a8abb2c158038a1477de40 Crossbow: |
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test docker-cpp docker-cpp-cmake32 docker-rust |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23280) builder has been succeeded. Revision: 0e11383c1589ac73b2a8abb2c158038a1477de40 Submitted crossbow builds: ursa-labs/crossbow @ ursabot-42
|
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test docker-c_glib |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23290) builder has been succeeded. Revision: 0e11383c1589ac73b2a8abb2c158038a1477de40 Submitted crossbow builds: ursa-labs/crossbow @ ursabot-43
|
fsaintjacques
commented
Jun 21, 2019
@kszucs do you know why the badge is at failed? The last one are waiting to be run. |
fsaintjacques
commented
Jun 21, 2019
@kou could you check locally with this patch why c_glib docker image fails? I've exausted my debugging of meson. I think that you need to namespace gandiva's I'll let you decide if renaming breaks anything. |
0b1a568 to
dbf6fe7Comparefsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test docker-c_glib |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23312) builder has been succeeded. Revision: dbf6fe7d9d813e1179d697c7eeab0b31900257b1 Submitted crossbow builds: ursa-labs/crossbow @ ursabot-44
|
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test docker-r |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23410) builder has been succeeded. Revision: 46d5da0b3b08be423333e17e7206a824f437162e Submitted crossbow builds: ursa-labs/crossbow @ ursabot-45
|
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test -g docker |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23414) builder has been succeeded. Revision: 46d5da0b3b08be423333e17e7206a824f437162e Submitted crossbow builds: ursa-labs/crossbow @ ursabot-46 |
conda's cmake3.2 does not support https for third party download.
- Ensure that LD_LIBRARY_PATH is set before installing R packages because conda's pkg-config would pickup libicu from conda at compile but LD_LIBRARY_PATH was not exported yet, thus package would fail tests. - Fix JSON payload on systems where locales are missing.
46d5da0 to
01f67ddComparefsaintjacques
commented
Jun 21, 2019
This fixes the most pressing issues, notably
I fixed also fixed docker-rust, and partly advanced on docker-r and docker-c_glib. |
fsaintjacques
commented
Jun 21, 2019
@ursabot crossbow test docker-cpp docker-cpp-cmake32 |
ursabot
commented
Jun 21, 2019
AMD64 Conda Crossbow (#23443) builder has been succeeded. Revision: 01f67dd Submitted crossbow builds: ursa-labs/crossbow @ ursabot-47
|
kou
left a comment
There was a problem hiding this comment.
gandiva-glib/meson.build:50:0: ERROR: Tried to create target "enums.c", but a target of that name already exists.
This is a Meson bug. It has been fixed in the latest Meson. But the latest Meson (0.51.0) has a environment variable related bug: mesonbuild/meson#5503mesonbuild/meson#5502
So we need to use 0.50.1 for now.
| # r-base includes tzdata. Get around interactive stop in that package | ||
| ENV DEBIAN_FRONTEND=noninteractive | ||
| # workaround for install_github Github API rate limit |
| ARROW_INSTALL_NAME_RPATH=OFF \ | ||
| LD_LIBRARY_PATH="${CONDA_PREFIX}/lib" \ | ||
| PKG_CONFIG_PATH="${CONDA_PREFIX}/lib/pkgconfig" \ | ||
| PKG_CONFIG_PATH="${CONDA_PREFIX}/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig" \ |
There was a problem hiding this comment.
Is this needed?
The added path is included in system pkg-config path. So it'll be searched without this.
kou
commented
Jun 21, 2019
BTW, I couldn't find any build log on CircleCI. https://circleci.com/gh/ursa-labs/crossbow/tree/ursabot-46-circle-docker-c_glib shows And "build" link shows |
wesm
left a comment
There was a problem hiding this comment.
+1. Made a couple of tweaks. Merging -- please open follow up JIRAs about other docker failures
| ARROW_INSTALL_NAME_RPATH=OFF \ | ||
| LD_LIBRARY_PATH="${CONDA_PREFIX}/lib" \ | ||
| PKG_CONFIG_PATH="${CONDA_PREFIX}/lib/pkgconfig" \ | ||
| PKG_CONFIG_PATH="${CONDA_PREFIX}/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig" \ |
| # r-base includes tzdata. Get around interactive stop in that package | ||
| ENV DEBIAN_FRONTEND=noninteractive | ||
| # workaround for install_github Github API rate limit |


cmake's FindBoost pre 3.5 did not export IMPORTED targets. This also fixes the newly introduced trusty docker image.