Installing bazaar on OS/X breaks Qt Creator

Bug #698104 reported by SirReal
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Mac Installers
Fix Released
High
Gordon Tyler

Bug Description

Summary says it all. Bazaar replaces the current 4.7.0 or 4.7.1 Qt framework with the outdated 4.6.0, thus preventing Qt Creator from launching.

Process: Qt Creator [277]
Path: /Developer/Applications/Qt/Qt Creator.app/Contents/MacOS/Qt Creator
Identifier: com.nokia.qtcreator
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [96]

Date/Time: 2011-01-06 14:08:06.271 +0100
OS Version: Mac OS X 10.6.5 (10H574)
Report Version: 6

Interval Since Last Report: 1495157 sec
Crashes Since Last Report: 21
Per-App Crashes Since Last Report: 5
Anonymous UUID: C7BEEC9C-D4A1-43DF-BD46-EE2E033E1434

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
  Library not loaded: /Users/berlin/dev/dont_touch_its_nightly/qt/lib/QtGui.framework/Versions/4/QtGui
  Referenced from: /Developer/Applications/Qt/Qt Creator.app/Contents/MacOS/Qt Creator
  Reason: Incompatible library version: Qt Creator requires version 4.7.0 or later, but QtGui provides version 4.6.0

Binary Images:
    0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 698104] [NEW] Installing bazaar on OS/X breaks Qt Creator

On Thu, 2011-01-06 at 13:10 +0000, SirReal wrote:
> Public bug reported:
>
> Summary says it all. Bazaar replaces the current 4.7.0 or 4.7.1 Qt
> framework with the outdated 4.6.0, thus preventing Qt Creator from
> launching.
>
How are you installing Bazaar exactly? The installer? MacPorts?

Cheers,

Jelmer

Revision history for this message
SirReal (johan-linkdata) wrote :

With the installer.

affects: bzr → bzr-mac-installers
Revision history for this message
Gordon Tyler (doxxx) wrote :

Guy Gascoigne-Piggford reported a similar problem where the installer downgraded his Qt 4.7.0 frameworks to 4.6 and broke kdiff3 that he had installed separately.

Guy says:

I just installed Bazaar-2.3b4-OSX-10.6-1 and found that the Qt library
that I had installed was downgraded and as such broke my build of
kdiff3. It's not particularly hard for me to fix, but is it really
necessary to overwrite a later version of the library?

dyld: Library not loaded: QtGui.framework/Versions/4/QtGui
  Referenced from: /Applications/kdiff3.app/Contents/MacOS/kdiff3
  Reason: Incompatible library version: kdiff3 requires version 4.7.0
or later, but QtGui provides version 4.6.0

Changed in bzr-mac-installers:
assignee: nobody → Gordon Tyler (doxxx)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
matt (bussonniermatthias) wrote :

Confirm, broke other software, especially the one i'm trying to compile
I think on the mac os installer, Only the QBzr Gui component (installation by default) is concerned

Revision history for this message
treaves (treaves) wrote :

The issue here is the installer does not check to see if an existing version of Qt has been installed. The installer probably could just not install the Qt Frameworks if they are already found. The correct approach would be to not overwrite an installed version, but to determine the version, and if the installer has a different version, to install just the version into the existing framework.

Revision history for this message
Gordon Tyler (doxxx) wrote :

The latest Bazaar 2.4b5 installer for Mac OS X 10.6 now checks whether Qt 4.7 and PyQt 4.7 are already installed and disables the corresponding installation choices.

Changed in bzr-mac-installers:
status: Confirmed → Fix Released
Revision history for this message
iandol (iandol) wrote :

I see a somewhat similar issue running bzr explorer from matlab: https://bugs.launchpad.net/bzr-mac-installers/+bug/853862

This is with V2.5b1 installed via the standard installer.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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