logo       

Very strange problem...: msg#00268

linux.gentoo.devel

Subject: Very strange problem...

I really don't understand this...
I have an ebuild for epsxe (playstation emulator)..
After "ebuild unpack" I check /var/tmp/portage/epsxe-1.5.2/work and it
contains the correct, working binary.
After "ebuild install", the epsxe binary is in
/var/tmp/portage/epsxe-1.5.2/image/opt/epsxe, but it is only 92 bytes and
contais ".ELF............".. The first 92 bytes of the original binary that
is.. It doesn't matter if I use insinto;doins, dobin, cp or mv in
src_install.. It still gets truncated to 92 bytes...

Here is the ebuild (dobin ${FILESDIR}-line commented so you can try it):


# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author Per Wigren <wigren@xxxxxxx>
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.7 2002/05/18 17:25:12
agenkin Exp

DESCRIPTION="ePSXe Playstation Emulator"

HOMEPAGE="http://www.epsxe.com";

LICENSE="Freeware"

use opengl && GLDEPEND="app-emulation/psemu-gpupetemesagl"
use opengl || GLDEPEND="app-emulation/psemu-peopssoftgpu"

DEPEND="app-arch/unzip"
RDEPEND="=dev-libs/glib-1.2
=x11-libs/gtk+-1.2*
=sys-libs/ncurses-5*
=sys-libs/zlib-1*
app-emulation/psemu-peopsspu
${GLDEPEND}"

SRC_URI="http://download.epsxe.com/files/epsxe152lin.zip";

S=${WORKDIR}

src_unpack() {
unzip ${DISTDIR}/${A}
}

src_install () {
#dobin ${FILESDIR}/epsxe
dodoc docs/*

insinto /opt/epsxe
doins epsxe

insinto /usr/lib/psemu/cheats
doins cheats/*
}


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise