wxDisplay unexpectedly disabled

Bug #828999 reported by Jason X.
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wxwidgets2.8 (Ubuntu)
Fix Released
High
Steve Langasek
Natty
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Steve Langasek

Bug Description

SRU justification: an unnoticed misbuild of wxwidgets2.8 in natty against multiarch libraries results in classes missing from wxWidgets, resulting in an ABI break.

Risk: since fixing this bug means re-enabling code that was disabled prior to the natty release, it may expose further bugs. However, it's extremely unlikely that this will be worse than having a completely broken library API.

wxWidgets' configure has `wxDisplay` class enabled by default (`--enable-display`). However, the wxWidgets package on Natty it is disabled (`wxUSE_DISPLAY`=0 in `/usr/lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h`).

My investigation showed that it is because wxDisplay depends on `libXinerama`, but the library files are located in a directory (on 64-bit Natty it is `./lib/usr/lib/x86_64-linux-gnu/libXinerama.a`) where wxWidgets configure is not aware of.

Steve Langasek (vorlon)
tags: added: multiarch
Steve Langasek (vorlon)
Changed in wxwidgets2.8 (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Steve Langasek (vorlon)
Steve Langasek (vorlon)
Changed in wxwidgets2.8 (Ubuntu Natty):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wxwidgets2.8 - 2.8.11.0-0ubuntu10

---------------
wxwidgets2.8 (2.8.11.0-0ubuntu10) oneiric; urgency=low

  * debian/patches/multiarch_paths.patch: look in the multiarch path
    when detecting libraries. Closes LP: #828999.
 -- Steve Langasek <email address hidden> Fri, 19 Aug 2011 08:45:53 +0000

Changed in wxwidgets2.8 (Ubuntu Oneiric):
status: Triaged → Fix Released
Steve Langasek (vorlon)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Jason, or anyone else affected,

Accepted wxwidgets2.8 into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in wxwidgets2.8 (Ubuntu Natty):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
David Beswick (dlbeswick) wrote :

Hi, I was previously affected by this bug, and I just successfully built wxruby using the wxgtk2.8-dev according to the instructions given. So this fix is verified for me. Thanks a lot!

Revision history for this message
David Beswick (dlbeswick) wrote :

I will also post this to the wxruby mailing list and see if I can get further verification from other users.

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

This bug was fixed in the package wxwidgets2.8 - 2.8.11.0-0ubuntu8.1

---------------
wxwidgets2.8 (2.8.11.0-0ubuntu8.1) natty-proposed; urgency=low

  * debian/patches/multiarch_paths.patch: look in the multiarch path
    when detecting libraries. Closes LP: #828999.
 -- Steve Langasek <email address hidden> Fri, 19 Aug 2011 03:09:18 -0700

Changed in wxwidgets2.8 (Ubuntu Natty):
status: Fix Committed → Fix Released
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.