Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204264 - net-misc/icaclient needs to bundle its own openmotif-2.2 or die
Summary: net-misc/icaclient needs to bundle its own openmotif-2.2 or die
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: motif-tracker 204265
  Show dependency tree
 
Reported: 2008-01-04 11:01 UTC by Jakub Moc (RETIRED)
Modified: 2008-02-22 07:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2008-01-04 11:01:34 UTC
This is the only thing in the whole tree that requires 2.2 slot of openmotif. 

Sorry, but with motif-config being a totally fubared idea (Bug 117057, Bug 147067 etc.), this needs to either ship its own copy installed to /opt/${PN}/lib with an appropriate env.d entry, or die. It doesn't work anyway once you switch to 2.3 via the motif-config thing, no matter what the dependency is in the ebuild.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-07 08:12:52 UTC
(In reply to comment #0)
> This is the only thing in the whole tree that requires 2.2 slot of openmotif. 

 Yes, the browser plugin works fine, the client itself cannot find libXm.so.3.  OpenMotif 2.3 ships libXm.so.4.  Symlinking /usr/lib/libXm.so.4.0.0 to /usr/lib/libXm.so.3 helps...should icaclient create such a link or openmotif ebuild?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-07 08:15:29 UTC
(In reply to comment #1)
> Symlinking /usr/lib/libXm.so.4.0.0 to
> /usr/lib/libXm.so.3 helps...should icaclient create such a link or openmotif
> ebuild?

Oh, cool... Well not really a hack that'd belong to openmotif I'd say, but a lot easier than bundling a binary package of openmotif with this. (I'd be even better if the symlink could be somewhere in /opt if icaclient is looking there as well).
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-07 10:57:31 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Symlinking /usr/lib/libXm.so.4.0.0 to
> > /usr/lib/libXm.so.3 helps...should icaclient create such a link or openmotif
> > ebuild?
> Oh, cool... Well not really a hack that'd belong to openmotif I'd say, but a
> lot easier than bundling a binary package of openmotif with this. (I'd be even
> better if the symlink could be somewhere in /opt if icaclient is looking there
> as well).

 No way to create it in /opt, I depend on >=openmotif-2.3.0 and block everything below in icaclient-10.6-r1 (~arch) to avoid file collisions.  Symlink is created in /usr/lib(64)/ and we are good to go.  Fixed.
Comment 4 Ulrich Müller gentoo-dev 2008-02-15 17:08:50 UTC
> Symlink is created in /usr/lib(64)/ and we are good to go.

I just discovered this "solution". It's not the job of $randompackage to create such symlinks in /usr/lib/.

Why don't you symlink /usr/lib(64)/libXm.so.4 to /opt/ICAClient/libXm.so.3 and add the latter directory to LD_LIBRARY_PATH? wfcmgr.bin is started by a wrapper script anyway, so you could even set the path there.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-16 17:12:21 UTC
Fixed.
Comment 6 Ulrich Müller gentoo-dev 2008-02-21 20:15:37 UTC
Sorry, reopening again. icaclient-10.6-r2.ebuild still does:
        dosym /usr/$(get_libdir)/libXm.so /usr/$(get_libdir)/libXm.so.3

Furthermore, "!<x11-libs/openmotif-2.3.0" should be removed from RDEPEND (not that it would really matter, but it is then no longer necessary).
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-22 07:31:44 UTC
Forgot to remove that symlink line.  Thanks for the reminder.