Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 204264
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Faulhammer <fauli@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jakub Moc (RETIRED) <jakub@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 204264 depends on: Show dependency tree
Bug 204264 blocks: 204249 204265
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-04 11:01 0000
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 From Christian Faulhammer 2008-01-07 08:12:52 0000 -------
(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 From Jakub Moc (RETIRED) 2008-01-07 08:15:29 0000 -------
(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 From Christian Faulhammer 2008-01-07 10:57:31 0000 -------
(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 From Ulrich Müller 2008-02-15 17:08:50 0000 -------
> 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 From Christian Faulhammer 2008-02-16 17:12:21 0000 -------
Fixed.

------- Comment #6 From Ulrich Müller 2008-02-21 20:15:37 0000 -------
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 From Christian Faulhammer 2008-02-22 07:31:44 0000 -------
Forgot to remove that symlink line.  Thanks for the reminder.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug