[MacPorts] #67707: KeePassXC @2.7.5 Fails to start with Qt Library incompatibility error

MacPorts noreply at macports.org
Fri Jun 30 01:08:34 UTC 2023


#67707: KeePassXC @2.7.5 Fails to start with Qt Library incompatibility error
--------------------+-----------------------
 Reporter:  vallon  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  keepassxc
--------------------+-----------------------
 When I start KeePassXC in terminal, I see:

 {{{
 $ /Applications/MacPorts/KeePassXC.app/Contents/MacOS/KeePassXC
 Cannot mix incompatible Qt library (5.15.9) with this library (5.15.10)
 Abort trap: 6
 [exit 134 | SIGABRT]
 }}}

 Mac crash report shows:

 {{{
 0   libsystem_kernel.dylib                     0x193514724 __pthread_kill
 + 8
 1   libsystem_pthread.dylib                    0x19354bc28 pthread_kill +
 288
 2   libsystem_c.dylib                          0x193459ae8 abort + 180
 3   QtCore                                     0x10486ead4 0x104858000 +
 92884
 4   QtCore                                     0x104a0ee64
 QMessageLogger::fatal(char const*, ...) const + 64
 5   QtCore                                     0x1049981ec 0x104858000 +
 1311212
 6   QtCore                                     0x104998148
 QObjectPrivate::QObjectPrivate(int) + 56
 7   QtSvg                                      0x103341924
 QSvgRenderer::QSvgRenderer(QString const&, QObject*) + 52
 }}}

 What is installed:

 {{{
 $ port installed '*qt*' and rdepof:KeePassXC
 The following ports are currently installed:
   qt5-qtbase @5.15.10_0+openssl (active)
   qt5-qtmacextras @5.15.10_0 (active)
   qt5-qtsvg @5.15.10_0 (active)
 }}}

 Picking one lib out of the crashreport, I see
 /opt/local/libexec/*/QtSvc.framework/Versions/5/QtSvg, and:

 {{{
 $ ls -l /opt/local/libexec/qt5/lib/QtSvg.framework/Versions/5/QtSvg
 -rwxr-xr-x 1 root admin 328648 Jun  7 10:23
 /opt/local/libexec/qt5/lib/QtSvg.framework/Versions/5/QtSvg
 $ ls -l /Applications/MacPorts/KeePassXC.app/Contents/MacOS/KeePassXC
 -rwxr-xr-x 1 root admin 5740838 May 19 15:17
 /Applications/MacPorts/KeePassXC.app/Contents/MacOS/KeePassXC
 }}}

 My build log indicates that on 6/7, qt5-qtsvg 5.15.9 was present, but on
 6/8, qt5-qtsvg 5.15.10 was present.

 It looks like KeePassXC was built against Qt 5.15.9, and after the upgrade
 to Qt 5.15.10, KeePassXC was not rebuilt, and it seems there is some
 compatibility issue.

 Rebuilding KeePassXC right now to see if a rebuild fixes it.

 (Or, maybe qt5-qtsvg didn't flag that its callers needed a rebuild; I
 don't know how this works)

 MacOS 13.4.1 Ventura MacBook Pro M1

-- 
Ticket URL: <https://trac.macports.org/ticket/67707>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list