Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914401 - dev-libs/kdiagram-2.8.0 fails tests if Qt versions are inconsistent
Summary: dev-libs/kdiagram-2.8.0 fails tests if Qt versions are inconsistent
Status: RESOLVED CANTFIX
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:
Depends on:
Blocks:
 
Reported: 2023-09-18 22:04 UTC by Jonathan Lovelace
Modified: 2023-09-23 20:09 UTC (History)
0 users

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


Attachments
dev-libs:kdiagram-2.8.0:20230918-171845.log.gz (dev-libs:kdiagram-2.8.0:20230918-171845.log.gz,43.55 KB, text/plain; charset=utf-8)
2023-09-18 22:05 UTC, Jonathan Lovelace
Details
LastTest.log (LastTest.log,16.98 KB, text/plain; charset=utf-8)
2023-09-18 22:08 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,20.97 KB, text/plain; charset=utf-8)
2023-09-18 22:08 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-09-18 22:04:44 UTC
=dev-libs/kdiagram-2.8.0 fails its test phase when some dev-qt/* libraries have different versions from each other. On the system where I observed this (in which my initial setup work was interrupted for several weeks, so when I returned to it I resynced the Portage tree and resumed my aborted initial from-nearly-nothing @world update), for example, dev-qt/{linguist-tools,qtconcurrent,qtcore,qtdbus,qtnetwork,qtsql,qttest,qttranslations,qtwaylandscanner,qtxml} are all on 5.15.10 or some revision thereof, while dev-qt/{qtdeclarative,qtgui,qtprintsupport,qtsvg,qtwebchannel,qtwebengine,qtwidgets} are all on some version resembling 5.15.8.

In the LastTest.log file the output from the first failed test, "KGanttMultiItems", is the single line "Cannot mix incompatible Qt library (5.15.8) with this library (5.15.10)"; the other failed tests have the same.
Comment 1 Jonathan Lovelace 2023-09-18 22:05:59 UTC
Created attachment 870897 [details]
dev-libs:kdiagram-2.8.0:20230918-171845.log.gz
Comment 2 Jonathan Lovelace 2023-09-18 22:08:06 UTC
Created attachment 870898 [details]
LastTest.log
Comment 3 Jonathan Lovelace 2023-09-18 22:08:45 UTC
Created attachment 870899 [details]
emerge-info.txt
Comment 4 Andreas Sturmlechner gentoo-dev 2023-09-19 10:33:18 UTC
Unfortunately there is nothing a single leaf package can do in such circumstances.
Comment 5 Andreas Sturmlechner gentoo-dev 2023-09-19 19:41:16 UTC
Unless we would be doing something like this, which I have been pondering before:

https://github.com/gentoo/qt/compare/master...a17r:qt:qtenforcement

...with possibly dire consequences for people's Portage upgrade output.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-19 19:54:09 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Unless we would be doing something like this, which I have been pondering
> before:
> 
> https://github.com/gentoo/qt/compare/master...a17r:qt:qtenforcement
> 
> ...with possibly dire consequences for people's Portage upgrade output.

Please don't.
Comment 7 Jonathan Lovelace 2023-09-20 03:59:55 UTC
Could subslot dependencies help? I suppose perhaps not, since USE=test controls DEPEND where IIUC subslot dependencies are defined to be no-ops, but if the kdiagram rebuild were triggered by a change in its dependencies rather than just the version bump, presumably the package manager would schedule it after the last of those dependencies ...
Comment 8 Andreas Sturmlechner gentoo-dev 2023-09-23 20:09:04 UTC
(In reply to Sam James from comment #6)
> (In reply to Andreas Sturmlechner from comment #5)
> > Unless we would be doing something like this, which I have been pondering
> > before:
> > 
> > https://github.com/gentoo/qt/compare/master...a17r:qt:qtenforcement
> > 
> > ...with possibly dire consequences for people's Portage upgrade output.
> 
> Please don't.
...and with that, this is closed. :)