Skip to content

[C++][CMake] Export config for static libarrow build broken in 23 #48885

@jpfeuffer

Description

@jpfeuffer

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

Our CI updated to 23 today and fails.
We are building static libarrow on Ubuntu using your apt.
It fails with:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Arrow/ArrowTargets.cmake:80 (set_target_properties):
  The link interface of target "Arrow::arrow_static" contains:

    CURL::libcurl

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

My initial guess: You probably stopped bundling/static linking to curl.
But then you probably need to add a find_dependency call for it in your cmake export config.
And add curl as an apt dependency.

Maybe also an upstream issue if you get the curl dependency e.g. from AWS sdk.

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions