Skip to content

The build system does not specify minimum required versions of any dependency 😞 #24374

@hartwork

Description

@hartwork

Hi!

Git main fails to compile against the version of Abseil in Debian sid (20240722.0) and users only learn that halfway into the compilation process, when CMake could have made that easy to understand and save users and package maintainers debugging time. I found…

# git grep -h -i '^ *find_package(' | grep -vi '(protobuf' | sort | sed 's,^ *,,'
find_package(absl CONFIG)
find_package(absl CONFIG)
find_package(absl REQUIRED CONFIG)
find_package(gRPC CONFIG REQUIRED)
find_package(GTest CONFIG)
find_package(GTest REQUIRED)
find_package(jsoncpp)
find_package(Threads REQUIRED)
find_package(ZLIB)

…that none of the dependency declarations come with a minimum supported version. Please start requiring the versions of Abseil, gRPC, GTest, jsoncpp and zlib that are needed to successfully compile à la find_package(absl 20250512.1 REQUIRED CONFIG) or so, whatever the actual needed version is. Thank you!

Best, Sebastian

Metadata

Metadata

Labels

help wanteduntriagedauto added to all issues by default when created.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions