FS#69904 - [kid3] kid3-cli: "QML debugging is enabled. Only use this in a safe environment."
Attached to Project:
Community Packages
Opened by Sebastian Meyer (bastimeyer) - Sunday, 07 March 2021, 15:45 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 20 March 2021, 16:10 GMT
Opened by Sebastian Meyer (bastimeyer) - Sunday, 07 March 2021, 15:45 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 20 March 2021, 16:10 GMT
|
Details
Description:
When running kid3-cli, "QML debugging is enabled. Only use this in a safe environment." always gets printed to stdout as the first message. This looks like a build config issue. The same issue was fixed on Debian a couple of years ago, see link below. Additional info: * package version(s) 3.8.5-1 * config and/or log files etc. n/a * link to upstream bug report, if any not upstream, but similar bug reported on the Debian bugtracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909148 Debian changelog: https://metadata.ftp-master.debian.org/changelogs//main/k/kid3/kid3_3.7.0-2_changelog > Switch build type to RelWithDebInfo. > Closes: #909148 Steps to reproduce: ``` $ kid3-cli -c 'get artist' FILE QML debugging is enabled. Only use this in a safe environment. Artist name ``` When adding the `-DCMAKE_BUILD_TYPE=RelWithDebInfo` parameter to cmake in the PKGBUILD's build() hook and recompiling, the warning message goes away: ``` $ kid3-cli -c 'get artist' FILE Artist name ``` |
This task depends upon
Closed by Antonio Rojas (arojas)
Saturday, 20 March 2021, 16:10 GMT
Reason for closing: Fixed
Additional comments about closing: kid3 3.8.6
Saturday, 20 March 2021, 16:10 GMT
Reason for closing: Fixed
Additional comments about closing: kid3 3.8.6

The right fix is to add -DNDBUG to CXXFLAGS,
https://invent.kde.org/multimedia/kid3/-/blob/master/src/app/qml/mainqml.cpp#L32