Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914128 - kde-apps/kpat: missing dependency on dev-qt/qtxml
Summary: kde-apps/kpat: missing dependency on dev-qt/qtxml
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2023-09-13 18:00 UTC by Sam James
Modified: 2023-09-14 21:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-13 18:00:03 UTC
```
VDB: detected possibly incorrect RDEPEND (kde-apps/kpat-23.08.0)
 > dev-qt/qtxml:5
```

```
$ rg -i qxml /var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealerinfo.h:47:#include <QXmlStreamReader>
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealerinfo.h:131:    int gameIdForFile(QXmlStreamReader &xml) const;
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealer.cpp:59:#include <QXmlStreamReader>
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealer.cpp:60:#include <QXmlStreamWriter>
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealer.cpp:84:int readIntAttribute(const QXmlStreamReader &xml, const QString &key, bool *ok = nullptr)
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealer.cpp:181:    QXmlStreamWriter xml(io);
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealer.cpp:226:    QXmlStreamReader xml(io);
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealer.cpp:326:    QXmlStreamWriter xml(io);
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealer.cpp:400:    QXmlStreamReader xml(io);
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/mainwindow.cpp:85:#include <QXmlStreamReader>
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/mainwindow.cpp:799:    QXmlStreamReader xml(job->data());
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/main.cpp:149:        QXmlStreamReader xml(&of);
/var/tmp/portage/kde-apps/kpat-23.08.0/work/kpat-23.08.0/src/dealerinfo.cpp:147:int DealerInfoList::gameIdForFile(QXmlStreamReader &xml) const
```
Comment 1 Andreas Sturmlechner gentoo-dev 2023-09-14 21:01:31 UTC
Actual qtxml usage is:

> src/main.cpp:#include <QDomDocument>
> src/main.cpp:    QDomDocument doc;

Both QXmlStreamWriter and QXmlStreamReader are actually qtcore:

$ equery b QXmlStreamWriter
>  * Searching for QXmlStreamWriter ... 
> dev-qt/qtbase-6.5.2 (/usr/include/qt6/QtCore/QXmlStreamWriter)
> dev-qt/qtcore-5.15.10-r2 (/usr/include/qt5/QtCore/QXmlStreamWriter)

$ equery b QXmlStreamReader
>  * Searching for QXmlStreamReader ... 
> dev-qt/qtbase-6.5.2 (/usr/include/qt6/QtCore/QXmlStreamReader)
> dev-qt/qtcore-5.15.10-r2 (/usr/include/qt5/QtCore/QXmlStreamReader)
Comment 2 Larry the Git Cow gentoo-dev 2023-09-14 21:18:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=5d1cb173dadfa3385c847d9d80ec8675291e7701

commit 5d1cb173dadfa3385c847d9d80ec8675291e7701
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-09-14 21:18:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-09-14 21:18:32 +0000

    kde-apps/kpat: Add missing dependency
    
    Closes: https://bugs.gentoo.org/914128
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kpat/kpat-23.08.49.9999.ebuild | 1 +
 kde-apps/kpat/kpat-9999.ebuild          | 1 +
 2 files changed, 2 insertions(+)