Your message dated Sun, 27 Aug 2017 23:15:34 +0300
with message-id <20170827201534.72k2ebihdnsjr...@mitya57.me>
and subject line Re: Bug#873369: libqt5core5a: System-wide 
/etc/xdg/QtProject/qtlogging.ini disables debug messages
has caused the Debian Bug report #873369,
regarding libqt5core5a: System-wide /etc/xdg/QtProject/qtlogging.ini disables 
debug messages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
873369: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873369
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libqt5core5a
Version: 5.9.1+dfsg-9
Severity: normal

Hi!

The /etc/xdg/QtProject/qtlogging.ini file, installed by libqt5core5a in debian
unstable, seems that disables the output of debug messages causing issues in
testing suites of some applications to fail.

I stumbled upon this issue while trying to compile qtpim
(http://code.qt.io/cgit/qt/qtpim.git/) which includes tests that rely on
verifying debug messages. As an example see test testDebugStreamOut() in file
tst_qcontactfilter.cpp, lines 1318-1325
(http://code.qt.io/cgit/qt/qtpim.git/tree/tests/auto/contacts/qcontactfilter/tst_qcontactfilter.cpp),
which fails in debian unstable.

Deleting the /etc/xdg/QtProject/qtlogging.ini file, or replacing it with the
attached, solves the issue.

Thanks!

John Salatas



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libqt5core5a depends on:
ii  libc6                  2.24-15
ii  libdouble-conversion1  2.0.1-4
ii  libgcc1                1:7.2.0-1
ii  libglib2.0-0           2.53.6-1
ii  libicu57               57.1-6
ii  libstdc++6             7.2.0-1
ii  zlib1g                 1:1.2.8.dfsg-5

Versions of packages libqt5core5a recommends:
ii  qttranslations5-l10n  5.9.1-1

Versions of packages libqt5core5a suggests:
ii  libthai0  0.1.26-3

-- Configuration Files:
/etc/xdg/QtProject/qtlogging.ini changed:
[Rules]
*.debug=true


-- no debconf information
[Rules]
*.debug=true

--- End Message ---
--- Begin Message ---
Hi John!

On Sat, Aug 26, 2017 at 08:32:22PM -0700, John Salatas wrote:
> The /etc/xdg/QtProject/qtlogging.ini file, installed by libqt5core5a in debian
> unstable, seems that disables the output of debug messages causing issues in
> testing suites of some applications to fail.
>
> I stumbled upon this issue while trying to compile qtpim
> (http://code.qt.io/cgit/qt/qtpim.git/) which includes tests that rely on
> verifying debug messages. As an example see test testDebugStreamOut() in file
> tst_qcontactfilter.cpp, lines 1318-1325
> (http://code.qt.io/cgit/qt/qtpim.git/tree/tests/auto/contacts/qcontactfilter/tst_qcontactfilter.cpp),
> which fails in debian unstable.

This file was added to solve https://bugs.debian.org/805399.

The same file is shipped by Fedora:
https://src.fedoraproject.org/rpms/qt5-qtbase/blob/master/f/qtlogging.ini

We discussed this and decided that there is no reason to remove this file.
If a test relies on debug messages, it should set the message level,
otherwise it is a bug in the test.

There is an easy workaround: exporting QT_LOGGING_RULES="*.debug=true" when
running the tests. We already do it in some Qt packages like qtscript.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to