[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] I'm going nuts...
From:       Per Wigren <wigren () home ! se>
Date:       2003-05-29 21:24:52
[Download RAW message or body]

I'm trying to make an ebuild for EiffelStudio 5.3 (http://www.eiffel.com).
It compiles just fine when I set the needed variables manually and run the 
./make_install script, but when the same thing is done with portage it fails 
with a "permission denied" error when a shellscript is trying to create a 
Makefile.
Putting a "unset LD_PRELOAD" before ./make_install removes the "permission 
denied" error, but the Makefile still doesn't get created...  Running 
manually and it works fine... :/
It's not trying to write to anything outside of ${WORKDIR} so there is no 
sandbox violation going on...

The ebuild is very simple! Here is the first part 
(dev-lang/eiffelstudio/eiffelstudio-5.3.ebuild):
-----------------------------
DESCRIPTION="ISE Eiffel-compiler and EiffelStudio IDE"
HOMEPAGE="http://www.eiffel.com"
SRC_URI="ftp://ftp.cs.rit.edu/pub/mirrors/ise/download/linux/${PV/./}/Eiffel${PV/./}.tgz"
LICENSE=""
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="=x11-libs/gtk+-1.2*"
 
S=${WORKDIR}/Eiffel${PV/./}
 
src_compile() {
        export ISE_EIFFEL=${S}
        export ISE_PLATFORM=linux-glibc2.1
        export PATH=$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin:$PATH
 
        # unset LD_PRELOAD
        echo -e y\\ny | sh make_install
}
-----------------------------
Exactly what is different when running with portage and manually? Has anyone 
had a similar problem?

Regards,
Per Wigren


--
gentoo-dev@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic