Bug 252939

Summary: net-im/quaternion package built with wrong Qt version
Product: Ports & Packages Reporter: Andrew <andrew.hotlab>
Component: Individual Port(s)Assignee: Adriaan de Groot <adridg>
Status: Closed FIXED    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (adridg)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Andrew 2021-01-23 11:08:06 UTC
Hi to all, I'm using it on FreeBSD 12.2/amd64, installed from the quarterly pkgng repository. The latest version of it creates a crash dump with the following output:

Cannot mix incompatible Qt library (5.15.0) with this library (5.15.2)
Abort (core dumped)

Since I haven't the resources to build the package on my own PC, can I kindly ask to mark this port for rebuild, in order to make its way into the current quarterly pkgng repository ASAP?
Comment 1 Adriaan de Groot freebsd_committer freebsd_triage 2021-01-23 16:19:19 UTC
This sounds more like a partial upgrade of Qt (from the quarterly branch) than a quaternion-specific problem: you should `pkg upgrade qt5\*` (er .. something like that) to make sure that all of your qt ports / packages are consistently up-to-date (and all 5.15.2, I guess).
Comment 2 Andrew 2021-01-23 16:41:15 UTC
(In reply to Adriaan de Groot from comment #1)

Actually the problem looks like to me that Qt packages have been upgraded to 5.12.2, while only quaternion was not (in fact others packages which depends from Qt run without issue)... but I give a try to your suggestion and it worked!

As you can read in the following transcript, I forced te reinstallation of all ^qt packages, and only one of then was re-downloaded (x11-themes/qt5-style-plugins).

I didn't understand why my last "pkg upgrade" didn't find the need to reinstall that package, but thank you very much for the suggestion!
I'm going to close bug #250628, bug #252937 and bug #252936, which I opened for the same reason.


% pkg query -x %n ^qt5 | xargs sudo pkg upgrade -fy
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 28 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
	qt5-concurrent-5.15.2_1
	qt5-core-5.15.2
	qt5-dbus-5.15.2_1
	qt5-declarative-5.15.2
	qt5-graphicaleffects-5.15.2
	qt5-gui-5.15.2_2
	qt5-imageformats-5.15.2
	qt5-linguisttools-5.15.2
	qt5-location-5.15.2_1
	qt5-multimedia-5.15.2_1
	qt5-network-5.15.2_1
	qt5-opengl-5.15.2_1
	qt5-printsupport-5.15.2_1
	qt5-quickcontrols-5.15.2_1
	qt5-quickcontrols2-5.15.2_1
	qt5-sensors-5.15.2_1
	qt5-serialport-5.15.2_1
	qt5-sql-5.15.2_1
	qt5-sqldrivers-sqlite3-5.15.2
	qt5-style-plugins-5.0.0.23_9
	qt5-svg-5.15.2_1
	qt5-testlib-5.15.2_1
	qt5-webchannel-5.15.2_1
	qt5-webengine-5.15.2
	qt5-webkit-5.212.0.a4_4
	qt5-widgets-5.15.2_1
	qt5-x11extras-5.15.2_1
	qt5-xml-5.15.2_1

Number of packages to be reinstalled: 28

396 KiB to be downloaded.
[1/1] Fetching qt5-style-plugins-5.0.0.23_9.txz: 100%  396 KiB 405.9kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/28] Reinstalling qt5-core-5.15.2...
[1/28] Extracting qt5-core-5.15.2: 100%
[2/28] Reinstalling qt5-dbus-5.15.2_1...
[2/28] Extracting qt5-dbus-5.15.2_1: 100%
[3/28] Reinstalling qt5-network-5.15.2_1...
[3/28] Extracting qt5-network-5.15.2_1: 100%
[4/28] Reinstalling qt5-gui-5.15.2_2...
[4/28] Extracting qt5-gui-5.15.2_2: 100%
[5/28] Reinstalling qt5-sql-5.15.2_1...
[5/28] Extracting qt5-sql-5.15.2_1: 100%
[6/28] Reinstalling qt5-testlib-5.15.2_1...
[6/28] Extracting qt5-testlib-5.15.2_1: 100%
[7/28] Reinstalling qt5-widgets-5.15.2_1...
[7/28] Extracting qt5-widgets-5.15.2_1: 100%
[8/28] Reinstalling qt5-concurrent-5.15.2_1...
[8/28] Extracting qt5-concurrent-5.15.2_1: 100%
[9/28] Reinstalling qt5-declarative-5.15.2...
[9/28] Extracting qt5-declarative-5.15.2: 100%
[10/28] Reinstalling qt5-serialport-5.15.2_1...
[10/28] Extracting qt5-serialport-5.15.2_1: 100%
[11/28] Reinstalling qt5-location-5.15.2_1...
[11/28] Extracting qt5-location-5.15.2_1: 100%
[12/28] Reinstalling qt5-opengl-5.15.2_1...
[12/28] Extracting qt5-opengl-5.15.2_1: 100%
[13/28] Reinstalling qt5-printsupport-5.15.2_1...
[13/28] Extracting qt5-printsupport-5.15.2_1: 100%
[14/28] Reinstalling qt5-sensors-5.15.2_1...
[14/28] Extracting qt5-sensors-5.15.2_1: 100%
[15/28] Reinstalling qt5-webchannel-5.15.2_1...
[15/28] Extracting qt5-webchannel-5.15.2_1: 100%
[16/28] Reinstalling qt5-xml-5.15.2_1...
[16/28] Extracting qt5-xml-5.15.2_1: 100%
[17/28] Reinstalling qt5-graphicaleffects-5.15.2...
[17/28] Extracting qt5-graphicaleffects-5.15.2: 100%
[18/28] Reinstalling qt5-imageformats-5.15.2...
[18/28] Extracting qt5-imageformats-5.15.2: 100%
[19/28] Reinstalling qt5-linguisttools-5.15.2...
[19/28] Extracting qt5-linguisttools-5.15.2: 100%
[20/28] Reinstalling qt5-multimedia-5.15.2_1...
[20/28] Extracting qt5-multimedia-5.15.2_1: 100%
[21/28] Reinstalling qt5-quickcontrols-5.15.2_1...
[21/28] Extracting qt5-quickcontrols-5.15.2_1: 100%
[22/28] Reinstalling qt5-quickcontrols2-5.15.2_1...
[22/28] Extracting qt5-quickcontrols2-5.15.2_1: 100%
[23/28] Reinstalling qt5-sqldrivers-sqlite3-5.15.2...
[23/28] Extracting qt5-sqldrivers-sqlite3-5.15.2: 100%
[24/28] Reinstalling qt5-style-plugins-5.0.0.23_9...
[24/28] Extracting qt5-style-plugins-5.0.0.23_9: 100%
[25/28] Reinstalling qt5-svg-5.15.2_1...
[25/28] Extracting qt5-svg-5.15.2_1: 100%
[26/28] Reinstalling qt5-webengine-5.15.2...
[26/28] Extracting qt5-webengine-5.15.2: 100%
[27/28] Reinstalling qt5-webkit-5.212.0.a4_4...
[27/28] Extracting qt5-webkit-5.212.0.a4_4: 100%
[28/28] Reinstalling qt5-x11extras-5.15.2_1...
[28/28] Extracting qt5-x11extras-5.15.2_1: 100%