Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41937 - scilab 2.7-r2 don't start (error in script /usr/bin/scilab)
Summary: scilab 2.7-r2 don't start (error in script /usr/bin/scilab)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 11:07 UTC by Luis Miguens
Modified: 2004-02-17 13:44 UTC (History)
1 user (show)

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


Attachments
Patch to solve the problem (scilab.patch,117 bytes, patch)
2004-02-17 11:14 UTC, Luis Miguens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Miguens 2004-02-17 11:07:57 UTC
Install the scilab (2.7-r2) with emerge scilab, and execute scilab in console, but error ocurried.

Reproducible: Always
Steps to Reproduce:
1. emerge scilab
2. scilab (in user mode)
3.

Actual Results:  
The error is:

luis@luchi:~$ scilab
line 1:
/tmp/portage/temp/portage/scilab-2.7-r2/image/usr/lib/scilab-2.7/pvm3/lib/pvmgetarch:
No existe el fichero o el directorio
line 130:
/tmp/portage/temp/portage/scilab-2.7-r2/image/usr/lib/scilab-2.7/bin/zterm: No
existe el fichero o el directorio

(No existe ... = Not found file or directory)


Expected Results:  
Not relevant (my opinion)

My setings in make.conf are: 
PORTAGE_TMPDIR=/tmp/portage/temp/ 
and auto-clean the temp when finish the task.
Comment 1 Luis Miguens 2004-02-17 11:14:08 UTC
Created attachment 25783 [details, diff]
Patch to solve the problem

Is very probably the patch don't work in all machines (think the patch only
work with PORTAGE_TEMP=/tmp/portage/temp
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2004-02-17 13:01:45 UTC
That's strange, there's a line in the ebuild that serves exactly to correct that path:

grep -rle "${D}" * | xargs sed -i -e "s:${D}:/:g"

you can try to set
PORTAGE_TMPDIR=/tmp/portage/temp
without the last slash, maybe that makes the grep fail.
Comment 3 Luis Miguens 2004-02-17 13:44:11 UTC
Yes works! 
Thanks