Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Different errors in emerge vs. sandboxshell
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
piezza
n00b
n00b


Joined: 05 Aug 2003
Posts: 3

PostPosted: Wed May 05, 2004 2:48 pm    Post subject: Different errors in emerge vs. sandboxshell Reply with quote

I have made an own ebuild:
Code:
DESCRIPTION="A Virtual File System"
HOMEPAGE="http://www.inf.bme.hu/~mszeredi/avfs/"
SRC_URI="mirror://sourceforge/avf/${P}.tar.gz"
LICENSE="GPL"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND=""
S=${WORKDIR}/${P}

src_compile() {
        check_KV
        addwrite /usr/src/linux-2.6.3-gentoo-r1/.tmp_versions/fuse.mod
        addwrite /usr/src/linux-2.6.3-gentoo-r1/.__modpost.cmd
        econf || die "econf failed"
        emake || die "emake failed"
}

src_install() {
        make DESTDIR=${D} install || die
}
When i try to compile this with emerge i get the following error:
Code:
make[1]: Entering directory `/var/tmp/portage/fuse-1.1/work/fuse-1.1/kernel'
make -C /usr/src/linux-2.6.3-gentoo-r1 SUBDIRS=/var/tmp/portage/fuse-1.1/work/fuse-1.1/kernel modules
make[2]: Entering directory `/usr/src/linux-2.6.3-gentoo-r1'
Makefile:406: /usr/src/linux-2.6.3-gentoo-r1/arch/x86/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.3-gentoo-r1/arch/x86/Makefile'.  Stop.

After this i entered sandboxshell and started emake manual. Because of some conflicts i had to enter

addwrite /usr/src/linux-2.6.3-gentoo-r1/.tmp_versions/fuse.mod
addwrite /usr/src/linux-2.6.3-gentoo-r1/.__modpost.cmd

in the shell. But then it compiled. I never saw the error which came while compiling with emerge!
I added the addwrites after this to the ebuild, but the error doesn't dissapear. Is this a bug in emerge or what am i doing wrong?

EDIT: Uhm.. i forgot to say that i compile fuse only - not the whole AVF. But strange that i can't reproduce the error in the sandboxshell...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum