1 |
I'm trying to make an ebuild for EiffelStudio 5.3 (http://www.eiffel.com). |
2 |
It compiles just fine when I set the needed variables manually and run the |
3 |
./make_install script, but when the same thing is done with portage it fails |
4 |
with a "permission denied" error when a shellscript is trying to create a |
5 |
Makefile. |
6 |
Putting a "unset LD_PRELOAD" before ./make_install removes the "permission |
7 |
denied" error, but the Makefile still doesn't get created... Running |
8 |
manually and it works fine... :/ |
9 |
It's not trying to write to anything outside of ${WORKDIR} so there is no |
10 |
sandbox violation going on... |
11 |
|
12 |
The ebuild is very simple! Here is the first part |
13 |
(dev-lang/eiffelstudio/eiffelstudio-5.3.ebuild): |
14 |
----------------------------- |
15 |
DESCRIPTION="ISE Eiffel-compiler and EiffelStudio IDE" |
16 |
HOMEPAGE="http://www.eiffel.com" |
17 |
SRC_URI="ftp://ftp.cs.rit.edu/pub/mirrors/ise/download/linux/${PV/./}/Eiffel${PV/./}.tgz" |
18 |
LICENSE="" |
19 |
SLOT="0" |
20 |
KEYWORDS="~x86" |
21 |
IUSE="" |
22 |
DEPEND="=x11-libs/gtk+-1.2*" |
23 |
|
24 |
S=${WORKDIR}/Eiffel${PV/./} |
25 |
|
26 |
src_compile() { |
27 |
export ISE_EIFFEL=${S} |
28 |
export ISE_PLATFORM=linux-glibc2.1 |
29 |
export PATH=$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin:$PATH |
30 |
|
31 |
# unset LD_PRELOAD |
32 |
echo -e y\\ny | sh make_install |
33 |
} |
34 |
----------------------------- |
35 |
Exactly what is different when running with portage and manually? Has anyone |
36 |
had a similar problem? |
37 |
|
38 |
Regards, |
39 |
Per Wigren |
40 |
|
41 |
|
42 |
-- |
43 |
gentoo-dev@g.o mailing list |