Package: wabt
Version: 1.0.36+dfsg+~cs1.0.36-2
Severity: normal

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

Reply via email to