#1130610 wabt: CMake config requires libssl-dev but package doesn't depend on it

Package:
wabt
Source:
wabt
Description:
WebAssembly Binary Toolkit
Submitter:
Alex Reinking
Date:
2026-03-13 15:53:01 UTC
Severity:
normal
#1130610#5
Date:
2026-03-13 15:52:09 UTC
From:
To:
The wabt package ships CMake config files under /usr/lib/x86_64-linux-gnu/cmake/wabt/ that include a find_dependency(OpenSSL) call in wabt-config.cmake. This means that any downstream project using find_package(wabt) will fail at configure time unless libssl-dev is independently installed.

The wabt package depends on libssl3t64 (the runtime library), but not libssl-dev (the development headers and CMake config). Since the wabt package bundles development files (headers, static libraries, and CMake config), it should also depend on libssl-dev.

Alternatively, the development files could be split into a separate libwabt-dev package that depends on libssl-dev, which would be more conventional.

Steps to reproduce:
1. apt install wabt
2. Create a CMakeLists.txt containing: find_package(wabt REQUIRED)
3. cmake -S . -B build
4. Observe: CMake fails looking for OpenSSL

Expected: find_package(wabt) succeeds after installing wabt.

Thanks for your assistance,

Alex