Skip to content

[C++][Python] glog 0.7 fix breaks downstream packages #40274

@bnavigator

Description

@bnavigator

Describe the bug, including details regarding any error messages, version, and platform.

After applying #40230 to the cpp library and building with glog 0.7. Anything building with ArrowConfig.cmake now fails. For example a pyarrow wheel build:

[   31s]   CMake Error at CMakeLists.txt:268 (find_package):
[   31s]     Found package configuration file:
[   31s] 
[   31s]       /usr/lib64/cmake/Arrow/ArrowConfig.cmake
[   31s] 
[   31s]     but it set Arrow_FOUND to FALSE so package "Arrow" is considered to be NOT
[   31s]     FOUND.  Reason given by package:
[   31s] 
[   31s]     Arrow could not be found because dependency GLOG could not be found.
[   31s] 
[   31s] 
[   31s] 
[   31s]   -- Configuring incomplete, errors occurred!

This was not the case before.

The build fails because ArrowConfig.cmake requires but cannot find uppercase GLOG.

Originally posted by @bnavigator in #40230 (comment)

Component(s)

C++, Python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions