[FFe] Please transition openmotif to multi-arch

Bug #1026640 reported by Bryan Baars
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openmotif (Debian)
Fix Released
Unknown
openmotif (Ubuntu)
Fix Released
Wishlist
Unassigned
Precise
Fix Released
Wishlist
Unassigned

Bug Description

[FFe] Please consider the patch attached to comment #7 for a Feature Freeze exception.

[IMPACT]
Libmotif4 is required by some commercial applications; Xilinx FPGA Editor 12.1, Fluent Inc. Gambit 2.4.6, ANSYS 13 (display and lsprepost), Citrix Receiver client, etc.
Not all software is available for both architectures, so in some cases installing libmotif for amd64 and i386 side-by-side is required.

[Test Cases]
The archive attached to comment #4 contains executables Xmtest-libmotif4-i386 and Xmtest-libmotif4-amd64.

Install packages libmotif4 and libmotif4:i386 and verify that both Xmtest-libmotif4-i386 and Xmtest-libmotif4-amd64 execute.

[Regression Potential]
Minimal: this change applies to the building of a library. Libmotif4 has only one reverse-dependency, arb, that needs a test-rebuild.

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

Trying to install libmotif as prereq for Citrix receiver client. Installation failed.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: libmotif4 2.3.3-5ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu11
AptOrdering:
 libmotif4: Install
 libmotif4: Configure
Architecture: amd64
Date: Thu Jul 19 09:50:53 2012
DpkgHistoryLog:
 Start-Date: 2012-07-19 09:50:52
 Commandline: apt-get install libmotif4:i386
 Install: libmotif4:i386 (2.3.3-5ubuntu1)
DpkgTerminalLog:
 Selecting previously unselected package libmotif4:i386.
 dpkg: error processing /var/cache/apt/archives/libmotif4_2.3.3-5ubuntu1_i386.deb (--unpack):
  libmotif4:i386 2.3.3-5ubuntu1 (Multi-Arch: no) is not co-installable with libmotif4:amd64 2.3.3-5ubuntu1 (Multi-Arch: no) which is currently installed
ErrorMessage: libmotif4:i386 2.3.3-5ubuntu1 (Multi-Arch
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: openmotif
Title: package libmotif4 2.3.3-5ubuntu1 failed to install/upgrade: libmotif4:i386 2.3.3-5ubuntu1 (Multi-Arch
UpgradeStatus: Upgraded to precise on 2012-07-19 (0 days ago)

Revision history for this message
Bryan Baars (bigslice0904) wrote :
Graham Inggs (ginggs)
summary: - package libmotif4 2.3.3-5ubuntu1 failed to install/upgrade:
- libmotif4:i386 2.3.3-5ubuntu1 (Multi-Arch
+ Please transition openmotif to multi-arch
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Please transition openmotif to multi-arch

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openmotif (Ubuntu):
status: New → Confirmed
Revision history for this message
Graham Inggs (ginggs) wrote :

The attached debdiff has the following changes:
Provide backwards compatibility with libmotif3 (LP: #818220). Thanks Sergio Gelato.
Convert to multiarch (LP: #1026640). Thanks Sergio Gelato.
Provide display manager entry for Motif Window Manager (LP: #310895)

I have tested this in Quantal in a VM and tested in Precise using a package built in my PPA:
https://launchpad.net/~ginggs/+archive/ppa

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

The attachment contains source and four executables compiled for i386 and amd64, each against libmotif3 and libmotif4.

The executable opens a Motif window and containing a pushbutton with the Ubuntu logo, right-clicking in the empty space should cause a popup menu to appear.

Graham Inggs (ginggs)
description: updated
summary: - Please transition openmotif to multi-arch
+ [FFe] Please transition openmotif to multi-arch
Graham Inggs (ginggs)
tags: added: patch
Revision history for this message
Stefano Rivera (stefanor) wrote :

Can we test the reverse dependency: arb?

Changed in openmotif (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Incomplete
Revision history for this message
Stefano Rivera (stefanor) wrote :

Instead of bumping to compat 9, can you just pass the multiarch --libdir and --libexecdir options to configure?

Changed in openmotif (Debian):
status: Unknown → New
Revision history for this message
Graham Inggs (ginggs) wrote :

The attached patch reverts to compat 6, removes dh-exec and creates the libmotif3 symlinks in debian/rules instead of libmotif4.links.

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

I have tested installing the package 'arb' from the repository and was able to run 'arb' which opened a motif window. Although not being familiar with the application, I didn't test any further.

I was also able to build arb 5.3-4ubuntu1 from source.

description: updated
Revision history for this message
Micah Gersten (micahg) wrote :

Resetting to new so it gets on the release team's radar

Changed in openmotif (Ubuntu):
status: Incomplete → New
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

dropping sponsors as there is nothing to sponsor atm. As soon as you get the FFe, please subscribe the sponsors again.

Thanks,

Fabrice

Revision history for this message
Scott Kitterman (kitterman) wrote :

From a release perspective, go ahead (FFe ack), but I didn't review the diff, so that needs sponsor review.

Changed in openmotif (Ubuntu):
assignee: nobody → Fabrice Coutadeur (fabricesp)
status: New → In Progress
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Uploaded: thank you very much for your work!

Changed in openmotif (Ubuntu):
assignee: Fabrice Coutadeur (fabricesp) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * Convert to multiarch (LP: #1026640). Thanks Sergio Gelato.
  * Provide backwards compatibility with libmotif3 (LP: #818220).
  * Provide display manager entry for Motif Window Manager (LP: #310895)
 -- Graham Inggs <email address hidden> Thu, 04 Oct 2012 14:23:00 +0200

Changed in openmotif (Ubuntu):
status: Fix Committed → Fix Released
Changed in openmotif (Ubuntu Precise):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Graham Inggs (ginggs) wrote :
Revision history for this message
Iain Lane (laney) wrote :

The symlinks scare me; seems weird that they bumped soname when compatibility wasn't broken... Nevertheless, uploaded. Thanks!

Changed in openmotif (Ubuntu Precise):
status: Triaged → In Progress
assignee: nobody → Graham Inggs (ginggs)
assignee: Graham Inggs (ginggs) → nobody
Revision history for this message
Steve Langasek (vorlon) wrote :

There are two packages in precise that depend on openmotif: dx and xastir. Before we can consider an SRU for multiarch support, these reverse-dependencies need to be tested to ensure we haven't regressed buildability. Has this been done?

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

From what I can see, in Precise both 'dx' and 'xastir' are built against lesstif2, not openmotif.

However, I was able to build 'xastir' against my proposed openmotif package. I wasn't able to build 'dx' on my first attempt, but I think that is a related to a problem with GraphicsMagick, not openmotif:

../dxmods/.libs/libDXMODS.a(_im_image.o): In function `write_im':
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:494: undefined reference to `ConstituteComponentTerminus'
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:305: undefined reference to `TemporaryFilename'
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:332: undefined reference to `ConstituteComponentTerminus'
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:378: undefined reference to `ConstituteComponentTerminus'
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:349: undefined reference to `ConstituteComponentTerminus'

Graham Inggs (ginggs)
Changed in openmotif (Ubuntu Precise):
status: Incomplete → In Progress
Changed in openmotif (Debian):
status: New → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Bryan, 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.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 change the bug tag from verification-needed to verification-done. If it does not, 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
tags: added: verification-needed
Revision history for this message
Graham Inggs (ginggs) wrote :

After installing libmotif4 and libmotif4:i386 2.3.3-5ubuntu1.12.04.1 from precise-proposed, I was able to run Xmtest-libmotif4-i386 and Xmtest-libmotif3-amd64 from the archive attached to comment #4 of LP: #1026640.

tags: added: verification-done
removed: verification-needed
Changed in openmotif (Debian):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * Convert to multiarch (LP: #1026640). Thanks Sergio Gelato.
  * Provide backwards compatibility with libmotif3 (LP: #818220).
  * Provide display manager entry for Motif Window Manager (LP: #310895)
 -- Graham Inggs <email address hidden> Tue, 16 Oct 2012 11:40:17 +0200

Changed in openmotif (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) 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.

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