Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268543 - dev-lang/scala-2.7.4-r1 generates bad paths due to doubled prefix.
Summary: dev-lang/scala-2.7.4-r1 generates bad paths due to doubled prefix.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 03:13 UTC by David Brown
Modified: 2011-01-23 08:50 UTC (History)
2 users (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 David Brown 2009-05-04 03:13:04 UTC
In dev-lang/scala-2.7.1-r1.ebuild:
        local SCALADIR="${EPREFIX}/usr/share/${PN}"
        local bcp="${EPREFIX}${SCALADIR}/lib/scala-library.jar"

the bcp definition ends up with the EPREFIX doubled up.  This causes the installed shell wrappers to fail to execute.  In my case, they end up with /gentoo/gentoo/usr/share/scala/lib/scala-library.jar being added to the classpath.  The particular failure depends on the tool.

I was able to work around this by either fixing the installed scripts, or doing ln -s . /gentoo/gentoo
Comment 1 David Brown 2009-05-04 03:16:52 UTC
It appears that the -Dscala.home argument escapes the quotes too many times, and ends up causing 'fsc' to create a directory called " in the current directory.
Comment 2 David Brown 2009-05-09 18:05:58 UTC
This property is set incorrectly in the main scala package as well, see #269169
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-05 21:26:49 UTC
(In reply to comment #2)
> This property is set incorrectly in the main scala package as well, see #269169
> 

Looks like it was just fixed within the last 24 hours. When 2.7.5 hits the prefix tree (within a day or so), please report back.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-01-03 10:06:52 UTC
It looks like this is fixed now?
Comment 5 Alistair Bush (RETIRED) gentoo-dev 2011-01-23 08:22:32 UTC
#prefix can you please confirm this is a duplicate of #269169 and close.
Comment 6 Fabian Groffen gentoo-dev 2011-01-23 08:50:54 UTC
this is no duplicate, and should be fixed