Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203994 - The `erl' command of erlang fails in prefix portage
Summary: The `erl' command of erlang fails in prefix portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 21:27 UTC by Rabbe Fogelholm
Modified: 2008-01-02 14:35 UTC (History)
0 users

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 Rabbe Fogelholm 2008-01-01 21:27:57 UTC
This report applies to erlang-12.2.0 in prefix portage.

The `$EPREFIX/usr/bin/erl' command is a symlink to $EPREFIX/usr/lib/erlang/bin/erl, which is a shellscript. This script fails when started with no arguments. A workaround seems to be to change the ROOTDIR definition in that script from the incorrect one, which goes

ROOTDIR=$EPREFIX/var/tmp/portage/dev-lang/erlang-12.2.0/image/$EPREFIX/usr/lib/erlang

to simply

ROOTDIR=$EPREFIX/usr/lib/erlang

(The shellscript does not contain literally '$EPREFIX' but rather the actual EPREFIX path.)
Comment 1 Fabian Groffen gentoo-dev 2008-01-01 21:36:42 UTC
I tried to fix this, will also try to find a machine where it compiles so I can test the fix.
Comment 2 Fabian Groffen gentoo-dev 2008-01-01 22:31:36 UTC
my fix of the fix fixed this.  Please sync and reemerge.
Comment 3 Rabbe Fogelholm 2008-01-02 14:35:29 UTC
Having emerged erlang again the `erl' command works fine now.