Skip to content

[Packaging][C++] Fail to build bundled ORC with the official LZ4 CMake package on Debian GNU/Linux trixie #43467

Closed

Description

@kou

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

Recently, Debian GNU/Linux trixie provides LZ4 CMake package based on the official CMake build system.

Our LZ4 detection code doesn't work with it:

https://github.com/ursacomputing/crossbow/actions/runs/10130290903/job/28011414872#step:8:3691

-- Building Apache ORC from source
CMake Error at cmake_modules/ThirdpartyToolchain.cmake:4512 (get_target_property):
  get_target_property() called with non-existent target "LZ4::lz4".
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:208 (build_orc)
  cmake_modules/ThirdpartyToolchain.cmake:304 (build_dependency)
  cmake_modules/ThirdpartyToolchain.cmake:4698 (resolve_dependency)
  CMakeLists.txt:544 (include)

Because LZ4::lz4 isn't provided with LZ4 1.9.4. It's available since 1.10.0.

Component(s)

C++, Packaging

Activity

  1. added a commit that references this issue on Jul 29, 2024
  2. added a commit that references this issue on Jul 31, 2024
  3. assignUser commented on Jul 31, 2024

    @assignUser
    Member

    Issue resolved by pull request 43468
    #43468

  4. added this to the 18.0.0 milestone on Jul 31, 2024
  5. added a commit that references this issue on Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions