(open)motif should properly transition from libmotif3

Bug #1187507 reported by Graham Inggs
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
motif (Debian)
Fix Released
Unknown
motif (Ubuntu)
Fix Released
Low
Unassigned
openmotif (Ubuntu)
Precise
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Undecided
Unassigned
Raring
Fix Released
Undecided
Unassigned

Bug Description

[SRU] The debdiffs attached to this bug provide a libmotif3 virtual package to properly transition from the libmotif3 package still present in Lucid to the new libmotif4 packages in Precise, Quantal and Raring. For Precise and Quantal, LP: #1187534 is fixed as well.

[IMPACT] According to the whole archive statistics in Ubuntu's PopCon [1], it appears there are still a significant number of libmotif3 installations. Surprisingly, more than six times more than the number of libmotif4 installations.

#rank name inst vote old recent no-files (maintainer)
8636 libmotif3 25238 45 18260 4 6929 (Debian Qa Group)
18967 libmotif4 3683 115 3264 75 229 (Unknown)

I believe this may be due to the number of proprietary packages that need libXm.so.3.
Searching for 'install libmotif3' returns a number of guides on installing some of these packages on Debian and Ubuntu, as well as guides on how to install libmotif3 from previous releases.
Since openmotif 2.3.3-5ubuntu2 in Quantal and 2.3.3-5ubuntu1.12.04.1 in Precise (LP: #818220), libmotif4 has provided symlinks for libXm.so.3 and the other libmotif3 libraries, but did not provide a libmotif3 transitional package and thus libmotif3 was never properly transitioned to libmotif4.

From the Open Motif 2.3.3 release notes [2]:

6. Compatibility Notice

Open Motif 2.3.x is binary compatible with Open Motif 2.2.x.
Applications built against Open Motif 2.2 should work with Open Motif 2.3.x
without having to recompile it.

Open Motif 2.3.x is not binary compatible with Open Motif 2.1.30.
Applications built against Open Motif 2.1.30 will need to be recompiled
with the Open Motif 2.2+ header files.

See comment #6 for what's new and changelog since openmotif 2.2.3-4 in Lucid.

[Test Case]
Install libmotif3 from Lucid and the test cases from comment #4 of LP: #1026640 and verify that Xmtest-libmotif3-<arch> runs. Then run a dist-upgrade and verify that libmotif3 is upgraded and libmotif4 is installed cleanly. Finally, verify that both Xmtest-libmotif3-<arch> and Xmtest-libmotif4-<arch> both run.
$ wget http://archive.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-4_amd64.deb
$ sudo dpkg -i libmotif3_2.2.3-4_amd64.deb
$ ./Xmtest-libmotif3-amd64
$ sudo apt-get update
$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libmotif4
The following packages will be upgraded:
  libmotif3
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
...
$ ./Xmtest-libmotif3-amd64
$ ./Xmtest-libmotif4-amd64

As libmotif4 is multi-arch, the tests should be repeated for i386, i.e.
$ wget http://archive.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-4_i386.deb
$ sudo dpkg -i libmotif3_2.2.3-4_i386.deb
And so on, as above.

[Regression Potential]
Minimal: the fix only affects packaging, however the large number of users with libmotif3 installed are going to be offered an unexpected upgrade.
New bugs may have been introduced in openmotif 2.3.3, but libmotif3 compatibility has been in Ubuntu for some months now and there have been no bugs reported.
Should libmotif3 users be affected, they can revert to libmotif3 from Lucid until such time as a fix is released, or until they are upgraded to motif 2.3.4 available in Saucy.

[1] http://popcon.ubuntu.com/
[2] http://motif.ics.com/open-motif-233-release-notes

---------------------------------------------------------------------------------------

The fix has been released in motif 2.3.4-4 in Debian and is currently in the Binary NEW queue due to the new libmotif3 transitional package. It is expected to land in Saucy within a week or so.

Changed in motif (Debian):
status: Unknown → Fix Committed
Graham Inggs (ginggs)
description: updated
Revision history for this message
Graham Inggs (ginggs) wrote :

Notes:

Transitional package libmotif3 has Architecture: any as libmotif4 is multi-arch and we want to preserve the architecture of the installed package, i.e. user has libmotif3:i386 installed, therefore they should be upgraded to libmotif4:i386 not libmotif4.

Transitional package libmotif3 has Depends: (>= ${binary:Version}) otherwise apt sees Conflicts: libmotif3 from the released libmotif4 and ends up with broken packages. Also, the version number of the fixed package is different in Precise, Quantal and Raring.

Revision history for this message
Graham Inggs (ginggs) wrote :
Revision history for this message
Graham Inggs (ginggs) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

I'd add to a testcase install an app dependent on the *3 version, and then perform the upgrade

Changed in openmotif (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in motif (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Graham Inggs (ginggs)
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

As discussed with Graham; I don't think the tidying up of the fact people have old packages is worth the SRU, but the set of all the fixes that are in the newer version seems worth pulling people onto, otherwise they're going to be hitting old bugs that have been fixed years ago.

Revision history for this message
Graham Inggs (ginggs) wrote :
Download full text (9.6 KiB)

For clarity, moving the what's new and changelog from the Open Motif 2.3.3 release notes [1] since openmotif 2.2.3-4 in Lucid from the bug description.

[1] http://motif.ics.com/open-motif-233-release-notes

2. What is New in Open Motif 2.3.3

This is a bug fix release.

* Fixed bug #1507 (LDFLAGS not respected for building libXm and libMrm libraries)
* Fixed bug #1495 (mwm's icon box has graphics corruption)
* Fixed bug #1502 (crash in ToolTipGetData())
* Fixed bug #1474 (Incrementation of XmNvisibleItemCount value does not work
properly in XmComboBox)
* Fixed bug #1195 (Making on FreeBSD with non GNU make)
* Fixed bug #1489 (Paned.h is not included by XmAll.h)
* Fixed bug #1486 (Tooltip in DropDown widget makes X hang up)
* Fixed bug #1320 (Resizing a scrolled text widget can be very, very slow)
* Fixed bug #1449 (Uninitalised memory access with XFT fonts)
* Fixed bug #1418 (Add file with instructions how to build from CVS)
* Fixed bug #1484 (Warning on XmRlabelType when I put a pixmap
and a value "top" on XmNPixmapPlacement)
* Fixed bug #1475 (autoconf warning "X11/Xmu/Editres.h header present
but cannot be compiled")
* Fixed bug #1426 (Make location of system.mwmrc configurable)
* Fixed bug #1451 (XmStringDrawImage works incorrectly with XFT)
* Fixed bug #1453 (MultiList not displayed properly)
* Fixed bug #1412 (An insensitive popup menu parent lead to a display-freezing)
* Fixed bug #345 (Openmotif accelerators XmNaccelerator do not work
with CapsLock/ScrollLock/NumLock modifiers)
* Fixed bug #1299 (XmForm erroneously finds "Circular dependency"
if widgets are inter-attachmed in vertical/horizontal directions)
* Refixed bug #1381 (Sensitivity invisible with antialiased fonts)
* Refixed bug #1388 (SEGV error moving mouse over window related
to XmToolTipGetLabel)
* Refixed bug #1321 (Pasting into XmTextField is unreliable)
* Removed xmPanedWindowWidgetClass definition from Paned.h
* Dropped fix #1476 (PanedWindow orientation error)
* Added ability to build without libXp
* Added splint checking and splint target

...

7. Change Log

2.3.3 March 2010
This Release

2.3.2 March 2009
* Fixed bug #1473 (When we set XmNvisibleItemCount resource available in
XmComboBox, the widget displays the wrong number of items)
* Added missing 'O' character to UTF8_SUPPORTED macro
* Fixed bug #1476 (PanedWindow orientation error)
* Fixed bug #1277 (paned widget does not work under Fedora Core 2
with openmotif 2.2.3-4.1)
* Fixed bug #1212 (XmDropSiteRetrieve frees XRectangles before
caller can use them)
* Fixed in order to allow build out of source tree
* Added wml_DEPENDENCIES in tools/wml/Makefile.am
* Added ACLOCAL_AMFLAGS in Makefile.am

2.3.1 September 2008
* Added ${prefix}/share/Xm as possible prefix for demos binaries installation
* Fixed bug #1443 (Build failure on FreeBSD: undefined reference to
`libiconv_open')
* Fixed bug #1427 (_xrm '*.iconPixmap:SDtErrors.l' produces bogus
error messages)
* Refixed bug #1381 (Sensitivity invisible with antialiased fonts)
* Fixed bug #1359 (File dialog filter problem with * or [ in directory)
* Fixed bug #1446 (Arrow button in DropDown widget issue.)
* Fixed bug #1328 (Desktop hang: motif application in XGrabPoin...

Read more...

description: updated
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

(The package is named motif in Saucy but openmotif in <= Raring, so removing unneeded tasks).

no longer affects: motif (Ubuntu Precise)
no longer affects: motif (Ubuntu Quantal)
no longer affects: motif (Ubuntu Raring)
no longer affects: openmotif (Ubuntu)
Changed in motif (Debian):
status: Fix Committed → Fix Released
Graham Inggs (ginggs)
Changed in motif (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Iain Lane (laney) wrote :

Uploaded

Changed in openmotif (Ubuntu Precise):
status: New → In Progress
Changed in openmotif (Ubuntu Quantal):
status: New → In Progress
Changed in openmotif (Ubuntu Raring):
status: New → In Progress
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Unsubscribing sponsors, packages are in UNAPPROVED queues.

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Graham, or anyone else affected,

Accepted openmotif into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/openmotif/2.3.3-7ubuntu1.13.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in openmotif (Ubuntu Raring):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in openmotif (Ubuntu Quantal):
status: In Progress → Fix Committed
Revision history for this message
Chris Halse Rogers (raof) wrote :

Hello Graham, or anyone else affected,

Accepted openmotif into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/openmotif/2.3.3-5ubuntu2.12.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Chris Halse Rogers (raof) wrote :

Hello Graham, or anyone else affected,

Accepted openmotif into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/openmotif/2.3.3-5ubuntu1.12.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in openmotif (Ubuntu Precise):
status: In Progress → Fix Committed
Revision history for this message
Graham Inggs (ginggs) wrote :

Tested libmotif3/4 2.3.3-5ubuntu1.12.04.2 from precise-proposed.

Revision history for this message
Graham Inggs (ginggs) wrote :

Tested libmotif3/4 2.3.3-5ubuntu2.12.10.1 from quantal-proposed.

Revision history for this message
Graham Inggs (ginggs) wrote :

Tested libmotif3/4 2.3.3-7ubuntu1.13.04.1 from raring-proposed.

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

This bug was fixed in the package openmotif - 2.3.3-7ubuntu1.13.04.1

---------------
openmotif (2.3.3-7ubuntu1.13.04.1) raring-proposed; urgency=low

  * Provide a libmotif3 transitional package (LP: #1187507)
 -- Graham Inggs <email address hidden> Sun, 09 Jun 2013 12:09:04 +0200

Changed in openmotif (Ubuntu Raring):
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openmotif - 2.3.3-5ubuntu1.12.04.2

---------------
openmotif (2.3.3-5ubuntu1.12.04.2) precise-proposed; urgency=low

  * Provide a libmotif3 transitional package (LP: #1187507)
  * Remove update-menu created configuration files on purge (LP: #1187534)
 -- Graham Inggs <email address hidden> Sat, 08 Jun 2013 18:43:44 +0200

Changed in openmotif (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openmotif - 2.3.3-5ubuntu2.12.10.1

---------------
openmotif (2.3.3-5ubuntu2.12.10.1) quantal-proposed; urgency=low

  * Provide a libmotif3 transitional package (LP: #1187507)
  * Remove update-menu created configuration files on purge (LP: #1187534)
 -- Graham Inggs <email address hidden> Sun, 09 Jun 2013 12:01:12 +0200

Changed in openmotif (Ubuntu Quantal):
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.