Qt5UiTools.pc Requires: non-existent Qt5UiPlugin

Bug #1739955 reported by Yann Dirson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qttools-opensource-src (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Medium
Simon Quigley

Bug Description

[Impact]

Without this fix, users are unable to use tools which depend on Qt5UiPlugin.pc to exist. This is a regression in functionality in comparison to previous releases and future releases.

[Test case]

See the original description for what shouldn't happen. `pkg-config --print-errors Qt5UiTools` should successfully print after this patch is applied.

[Regression Potential]

Little to none, as this change has been applied on every other release.

Where something *could* go wrong is if a tool was specifically designed to ensure that Qt5UiPlugin.pc is not found, or conflicts with that in some way, which again, is unlikely given that this bug does not exist on all other releases.

[Original Description]

On xenial:

$ pkg-config --print-errors Qt5UiTools
Package Qt5UiPlugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5UiPlugin.pc' to the PKG_CONFIG_PATH environment variable
Package 'Qt5UiPlugin', required by 'Qt5UiTools', not found

No package appears to provide Qt5UiPlugin.pc

Yann Dirson (yann132)
description: updated
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Have you tried installing qttools5-dev?

Changed in qttools-opensource-src (Ubuntu):
status: New → Incomplete
Revision history for this message
Yann Dirson (yann132) wrote :

qttools5-dev is the one shipping the faulty Qt5UiTools.pc, so yes it is installed :)

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This was fixed upstream in Qt 5.6. For Xenial’s 5.5, this commit may be backported:

https://code.qt.io/cgit/qt/qttools.git/commit/?id=29f1668e50d88947

Changed in qttools-opensource-src (Ubuntu):
status: Incomplete → Fix Released
Changed in qttools-opensource-src (Ubuntu Xenial):
status: New → Triaged
Simon Quigley (tsimonq2)
Changed in qttools-opensource-src (Ubuntu Xenial):
status: Triaged → In Progress
assignee: nobody → Simon Quigley (tsimonq2)
importance: Undecided → Medium
Simon Quigley (tsimonq2)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Yann, or anyone else affected,

Accepted qttools-opensource-src into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/qttools-opensource-src/5.5.1-3ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in qttools-opensource-src (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-xenial
Revision history for this message
Yann Dirson (yann132) wrote :

I confirm the fix does its job, thanks much!

Revision history for this message
Simon Quigley (tsimonq2) wrote :

I'll mark it as such then.

Thanks for confirming!

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qttools-opensource-src - 5.5.1-3ubuntu0.1

---------------
qttools-opensource-src (5.5.1-3ubuntu0.1) xenial; urgency=medium

  * QtUiTools: don't publicly depend on QtUiPlugin (LP: #1739955).
    - dont-publicly-depend-on-qtuiplugin.patch

 -- Simon Quigley <email address hidden> Sun, 28 Jan 2018 23:50:26 -0600

Changed in qttools-opensource-src (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for qttools-opensource-src has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
mrw (marc-waeckerlin) wrote :

The problem is not fixed in the current xenial, i.e. the file Qt5UiPlugin.pc is missing in the package:

$ apt install qttools5-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden NEUEN Pakete werden installiert:
  qttools5-dev
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 64 nicht aktualisiert.
Es müssen noch 0 B von 188 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 1'656 kB Plattenplatz zusätzlich benutzt.
Vormals nicht ausgewähltes Paket qttools5-dev:amd64 wird gewählt.
(Lese Datenbank ... 395359 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../qttools5-dev_5.5.1-3ubuntu0.1_amd64.deb ...
Entpacken von qttools5-dev:amd64 (5.5.1-3ubuntu0.1) ...
qttools5-dev:amd64 (5.5.1-3ubuntu0.1) wird eingerichtet ...
$ dpkg -L qttools5-dev | grep Qt5UiPlugin
/usr/lib/x86_64-linux-gnu/cmake/Qt5UiPlugin
/usr/lib/x86_64-linux-gnu/cmake/Qt5UiPlugin/Qt5UiPluginConfig.cmake
/usr/lib/x86_64-linux-gnu/cmake/Qt5UiPlugin/Qt5UiPluginConfigVersion.cmake

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

The fix was not shipping Qt5UiPlugin.pc, but removing Qt5UiTools.pc's dependency on it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.