piezza n00b
Joined: 05 Aug 2003 Posts: 3
|
Posted: Wed May 05, 2004 2:48 pm Post subject: Different errors in emerge vs. sandboxshell |
|
|
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... |
|