Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295395 - sci-visualization/opendx-4.4.4-r3 is broken by its new installpaths patch
Summary: sci-visualization/opendx-4.4.4-r3 is broken by its new installpaths patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 03:57 UTC by François Bissey
Modified: 2009-12-03 20:14 UTC (History)
0 users

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


Attachments
updated installpath from -r2 with correct path for the man page (opendx-4.4.4-install.patch,11.70 KB, patch)
2009-12-02 04:05 UTC, François Bissey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2009-12-02 03:57:30 UTC
As expected when I saw the new patch replacing the one that I crafted for -r2.
One quick example:
on the command line (for full effect) launch opendx with:dx
in the main widow click on: Import Data... 
you will see an info window displayed for a short amount of time and then nothing.
On the command line you will see:
Data Explorer is unable to exec /usr/share/dx/bin_linux/prompter
It is unable to execute it because it is in /usr/lib/dx/bin_linux/
with a few other commands that will be equally unresponsive if called internally.

A bit of background so it is documented somewhere: 
opendx spaw an object called the theIBMApplication (or something very
similar). Paths are resolved through calls to a method of this object,
root, if I remember well. Every path for a  component of opendx will be 
resolved relative to this call. Which is why in -r2 I put most everything 
under /usr/lib/ and didn't split it with /usr/share/.
Fedora solve the problem by creating by creating /usr/lib/dx/bin_linux/
as a link to /usr/share/dx/bin_linux/
see http://cvs.fedoraproject.org/viewvc/devel/dx/dx.spec?revision=1.18&view=markup
While it solve the problem shown in my example there is no guarantee that
some more sophisticated opendx script won't still be broken.

Furthermore, if you are going to change paths in opendx, opendx-samples
needs to be updated as _well_. As it is opendx cannot find its samples
automatically if they are installed.

I will post a installpath patch based on the original -r2 patch correcting
the manpath which prompted -r3 shortly.
Comment 1 François Bissey 2009-12-02 04:05:03 UTC
Created attachment 211733 [details, diff]
updated installpath from -r2 with correct path for the man page
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2009-12-03 20:14:29 UTC
Done in 4.4.4-r4.
Thanks!