Skip to content

[Packaging][deb] libprotobuf-dev dependency is missing for libarrow-dev #40615

@kou

Description

@kou

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

GH-40399 moves FindProtobufAlt.cmake to cmake/Arrow/ from cmake/ArrowFlight/. So we need libprotobuf-dev to use find_package(Arrow). libarrow-dev not libarrow-flight-dev should depend on libprotobuf-dev.

debian-bookworm-amd64 https://github.com/ursacomputing/crossbow/actions/runs/8314136122/job/22750937879#step:11:1375

  -- Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) 
  CMake Error at CMakeLists.txt:24 (find_package):
    Found package configuration file:
  -- Configuring incomplete, errors occurred!
  See also "/build/minimal_build/CMakeFiles/CMakeOutput.log".
  
      /usr/lib/x86_64-linux-gnu/cmake/Arrow/ArrowConfig.cmake
  
    but it set Arrow_FOUND to FALSE so package "Arrow" is considered to be NOT
    FOUND.  Reason given by package:
  
    Arrow could not be found because dependency ProtobufAlt could not be found.

Component(s)

Packaging

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions