When you try use valgrind-3.13.0 in qt-creator-4.3.1 you will get error: valgrind: Bad option: --xml=yes, but no XML destination specified valgrind: --xml=yes has been specified, but there is no XML output valgrind: destination. You must specify an XML output destination valgrind: using --xml-fd, --xml-file or --xml-socket. valgrind: Use --help for more information or consult the user manual. There regression in valgrind, described here[1] and here[2]. Proposed patch fixes that. [1] https://bugreports.qt.io/browse/QTCREATORBUG-18473 [2] https://bugs.kde.org/show_bug.cgi?id=382998
Created attachment 511052 [details, diff] valgrind-3.13.0-xml-socket.patch
I can confirm that the patch (already approved upstream) works even on 3.13.0-r1 so maybe we can include in a 3.13.0-r2?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=727a3c7b1f8094d1a66314e64077fe93dbe5dd2d commit 727a3c7b1f8094d1a66314e64077fe93dbe5dd2d Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2017-12-20 07:10:04 +0000 Commit: Austin English <wizardedit@gentoo.org> CommitDate: 2018-02-28 17:54:10 +0000 dev-util/valgrind: fix for --xml-socket option Fix for Qt Creator working. Closes: https://bugs.gentoo.org/641790 Package-Manager: Portage-2.3.13, Repoman-2.3.3 .../files/valgrind-3.13.0-xml-socket.patch | 27 +++++ dev-util/valgrind/valgrind-3.13.0-r2.ebuild | 115 +++++++++++++++++++++ dev-util/valgrind/valgrind-9999.ebuild | 20 ++-- 3 files changed, 152 insertions(+), 10 deletions(-)