Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2596

Summary: lua won't build because of `patch` error
Product: Gentoo Linux Reporter: jakd <jakd>
Component: New packagesAssignee: Phil Bordelon (sunflare) <phil>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.1a   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jakd 2002-05-08 17:26:30 UTC
--- lua-4.0.ebuild.old  Wed May  8 17:23:28 2002
+++ lua-4.0.ebuild      Wed May  8 17:23:07 2002
@@ -3,7 +3,7 @@
 # Maintainer: Larry Cow <larrycow@free.fr>
 # /space/gentoo/cvsroot/gentoo-x86/dev-lang/lua/lua-4.0.ebuild,v 1.2 2002/04/27
10:23:20 seemant Exp
 
-S=${WORKDIR}/${P}
+S=${WORKDIR}/lua
 DESCRIPTION="A powerful light-weight programming language designed for
extending applications."
 SRC_URI="http://www.lua.org/ftp/${PN}.tar.gz"
 HOMEPAGE="http://www.lua.org/"
@@ -11,6 +11,7 @@
 SLOT="0"
 
 src_compile() {
+       cd ${S}
        patch < ${FILESDIR}/lua-4.0-config.patch
 
        emake || die
Comment 1 Phil Bordelon (sunflare) 2002-05-15 08:17:31 UTC
I can confirm this one--I tried emerging enigma this morning, which uses LUA,
and got the same error.
Comment 2 Daniel Sabo 2002-05-26 23:57:33 UTC
The patch attached to be bug fixes the problem. (Thanks)
Comment 3 Phil Bordelon (sunflare) 2002-08-16 12:48:47 UTC
Looks like it's already fixed in the ebuild.  I emerged lua a few days ago and
it worked fine.  Marking FIXED.  Please let me know if the current version of
the ebuild does NOT work, and I'll look at it.