Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641790 - dev-util/valgrind-3.13.0 does not recognize --xml-output option as required by Qt Creator
Summary: dev-util/valgrind-3.13.0 does not recognize --xml-output option as required b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 07:04 UTC by Azamat H. Hackimov
Modified: 2018-02-28 17:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
valgrind-3.13.0-xml-socket.patch (valgrind-3.13.0-xml-socket.patch,934 bytes, patch)
2017-12-20 07:06 UTC, Azamat H. Hackimov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Azamat H. Hackimov 2017-12-20 07:04:26 UTC
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
Comment 1 Azamat H. Hackimov 2017-12-20 07:06:22 UTC
Created attachment 511052 [details, diff]
valgrind-3.13.0-xml-socket.patch
Comment 2 Francesco Lamonica 2018-02-22 11:55:59 UTC
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?
Comment 3 Larry the Git Cow gentoo-dev 2018-02-28 17:54:20 UTC
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(-)