Package: libwoff1 Version: 1.0.2-2 Severity: normal X-Debbugs-Cc: [email protected]
Dear Maintainer, When I link this library to my application and use its ConvertTTFToWOFF2 function, it prints debug information to stderr, like: "Compressed 100000 to 20000" It happened because the library code checks for defined symbol "FONT_COMPRESSION_BIN" which is normally set for console application only and should not be defined for the library (the same code package contains both console app and the library code). The build system uses CMake, which defines this in the CMakeLists.txt file as follows: # Build options option(NOISY_LOGGING "Noisy logging" ON) The problem is that in the Debian package this option is defined both for the console utility and for building the library, while when building the library this option should be disabled. Outputting debug information to the stderr may break some applications that do not expect it. I have to statically link my app with the library source code instead of enjoying the official debian package, for example. It would be really nice if you could disable noisy logging at least for the library. -- System Information: Debian Release: 12.12 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable') Architecture: arm64 (aarch64) Kernel: Linux 6.10.14-linuxkit (SMP w/10 CPU threads) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages libwoff1 depends on: ii libbrotli1 1.0.9-2+b6 ii libc6 2.36-9+deb12u13 ii libgcc-s1 12.2.0-14+deb12u1 ii libstdc++6 12.2.0-14+deb12u1 libwoff1 recommends no packages. libwoff1 suggests no packages. -- no debconf information

