Description of problem: I just ran flac over a set of WAV files ripped from a CD. The output was noisy, with lots of lines like this: FLAC__lpc_quantize_coefficients: negative shift=-1 order=12 cmax=2180.327393 I found that in the source code, in src/libFLAC/lpc.c: #ifndef NDEBUG flac_fprintf(stderr,"FLAC__lpc_quantize_coefficients: negative shift=%d order=%u cmax=%f\n", *shift, order, cmax); #endif This means that flac was built without NDEBUG being defined. Was that intentional? In CMakeLists.txt, NDEBUG is added to the build flags for release mode, which suggests that flac was not built in release mode. Perhaps cmake needs to be invoked with -DCMAKE_BUILD_TYPE=Release or -DCMAKE_BUILD_TYPE=RelWithDebInfo? Version-Release number of selected component (if applicable): flac-1.5.0-4.fc43.x86_64 How reproducible: Always Steps to Reproduce: 1. I don't know if this happens for any WAV file, but it does for nearly every track ripped from "The Blue Album" by Pablo Sainz-Villegas 2. For those tracks, I ran "flac --best -e *.wav" Actual results: Noisy output, with debug statements interleaved with the output I want to see. Expected results: I only want to see progress information, without debug statements. Additional info:
This warning message is supposed to be rare. I couldn't trigger it on my audio files. Anyway, I have pushed an update to rawhide with your suggestion switching the build type to release. debuginfo still seems to be produced. Thanks.
FEDORA-2025-b74eaa8f9e (flac-1.5.0-5.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-b74eaa8f9e
FEDORA-2025-b74eaa8f9e has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b74eaa8f9e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b74eaa8f9e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-b74eaa8f9e (flac-1.5.0-5.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.