[oe] [PATCH][RESENT] vlc_1.1.4.1: add `lua5.1-native` to `DEPENDS` and `lua5.1` to `RDEPENDS`

Paul Menzel paulepanter at users.sourceforge.net
Thu Nov 11 22:26:59 UTC 2010


Date: Sat, 6 Nov 2010 12:00:31 +0100

Task `configure` failed with the following error.

        […]
        checking for LUA... yes
        checking for luac... no
        configure: error: Could not find the LUA byte compiler.
        ERROR: Function do_configure failed

It turns out that `luac` is needed on the build system and therefore `lua5.1-native` needs to be added to `DEPENDS`. Thanks to Petr Štetiar for his advise on this issue [1].

With this patch applied I built this recipe successfully with the following build configuration.

        Build Configuration:
        BB_VERSION        = "1.10.0"
        METADATA_BRANCH   = "org.openembedded.dev"
        METADATA_REVISION = "28492a5"
        TARGET_ARCH       = "arm"
        TARGET_OS         = "linux-gnueabi"
        MACHINE           = "beagleboard"
        DISTRO            = "angstrom"
        DISTRO_VERSION    = "2010.7-test-20101106"
        TARGET_FPU        = "hard"

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-November/026631.html

Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
This patch has the number 3506 in the patch queue [1].

[1] http://patchwork.openembedded.org/patch/3506/
---
 recipes/vlc/vlc_1.1.4.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/vlc/vlc_1.1.4.1.bb b/recipes/vlc/vlc_1.1.4.1.bb
index af01d98..df8f17c 100644
--- a/recipes/vlc/vlc_1.1.4.1.bb
+++ b/recipes/vlc/vlc_1.1.4.1.bb
@@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
 # ffmpeg from git (library version => 52) is required
 # libtool-native must be >= 2.2.4
-DEPENDS += "libdvdcss libdvdread lua5.1"
+DEPENDS += "libdvdcss libdvdread lua5.1-native"
+RDEPENDS_${PN} += "lua5.1"
 
 EXTRA_OECONF += "\
        --enable-dvdread \
-- 
1.7.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101111/41b8f319/attachment-0002.sig>


More information about the Openembedded-devel mailing list