Bug 132160
Summary: | Bundled libglw conflicts with newer OpenMotif, causes GLwMDrawingArea widgets to crash | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Loff <mnloff> |
Component: | xorg-x11 | Assignee: | X/OpenGL Maintenance List <xgl-maint> |
Status: | CLOSED UPSTREAM | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | xgl-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-10-12 20:50:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 123268 |
Description
Matthew Loff
2004-09-09 13:45:00 UTC
The libGLw included with X is authoritative. It appears to me, that openmotif has forked these interfaces in an incompatible way, without going through proper upstream processes and having the changes done in a manner that does not break ABI. Reassigning to 'openmotif' component, which will probably need to back out this incompatible change in order to preserve the ABI correctly. Actually openmotif is the upstream motif now, it's libGLw that has an unauthorized copy of 4 motif header files. However, openmotif seems to have acknowledged that the tooltips change was unfortunate: http://cvs.motifzone.net/cgi-bin/cvsweb.cgi/openmotif/lib/Xm/PrimitiveP.h?cvsroot=openmotif but those changes are over 1 year old. If openmotif doesn't get updated, the alternative is to change the headers in xc/lib/GLw/GLwXm. I filed this upstream to get some comments on the issue http://freedesktop.org/bugzilla/show_bug.cgi?id=1382 [note to other developers] Me and Kristian discussed this in IRC at length today, and sorted out some things. There are 2 problems: 1) libGLw is including Motif headers which is dumb, because there's no guarantee they match what the installed motif provides. In a perfect world, incompatible changes to interfaces don't occur without bumping library verisons, but openmotif isn't a perfect world it seems. libGLw should not include Motif headers for any really good reason nowadays. 2) Openmotif changed interfaces in an incompatible manner without playing nice. How this one should be solved I think is best handled in the upstream report Kristian filed in comment #3 above. We'll follow up there and try to get some community concensus on the best path to follow for this issue. I can not and will not remove the tool_tip_string from XmPrimitivePart - this will break OpenMotif-2.2.3. libGLw needs to be fixed not to have it's own Motif header files. Reassigning to xorg-x11. The best would be to have a dependency for the appropriate OpenMotif version. We are now tracking this in the upstream bug report at freedesktop: http://freedesktop.org/bugzilla/show_bug.cgi?id=1382 |