From patchwork Sun Feb 16 18:32:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 320804 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id D52E62C0096 for ; Mon, 17 Feb 2014 05:32:56 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1A7B18B7C7; Sun, 16 Feb 2014 18:32:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fPmLmqCzV6UP; Sun, 16 Feb 2014 18:32:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 945448B7CA; Sun, 16 Feb 2014 18:32:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4A0231CE0FC for ; Sun, 16 Feb 2014 18:32:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4268D8B453 for ; Sun, 16 Feb 2014 18:32:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ey8F2PNDDLaa for ; Sun, 16 Feb 2014 18:32:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com [209.85.215.180]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6B4A38B3E3 for ; Sun, 16 Feb 2014 18:32:52 +0000 (UTC) Received: by mail-ea0-f180.google.com with SMTP id o10so6770710eaj.11 for ; Sun, 16 Feb 2014 10:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:subject :message-id:user-agent:date:from:to; bh=+Qvyq31pkk4a1t+v0QQsOqhqJrUxjsO9o/MF94Oa5rc=; b=BYUALKtbd1i5pCX9xgR8Ej9pMnO6OQIBq9WVtCx2T/kpNR3sqXwAcitC6hNR8PCm2L nA9TZmi9ff08pMSxT+ssAlgVAVAucUgVQ0Rn2+NzQdW89wAdhd/NfymA1Ud9njqKxTBl rmotGgJwojhX0r4917eM3CZjGjCtNcfaQDEur7DZbks+AdPFsoaHlKd1aglQFJ1hIpTV aP9SvdYm5ZrAfnT6gh5aLsV75crs6qSO7UexzN7EKfTWeQSBtwOJZAucQHHwjeWh3saX jS4EV4RF2DMZox3C3YILME0KcKO2ngMJrkvHz4MUhPwnG+q9W37/3IgKeIKEcE9kzJiG LGoA== X-Received: by 10.14.202.8 with SMTP id c8mr729167eeo.88.1392575570873; Sun, 16 Feb 2014 10:32:50 -0800 (PST) Received: from [127.0.1.1] (d54C62EEB.access.telenet.be. [84.198.46.235]) by mx.google.com with ESMTPSA id x2sm47503311eeo.8.2014.02.16.10.32.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 16 Feb 2014 10:32:50 -0800 (PST) MIME-Version: 1.0 X-Mercurial-Node: a785bb569d9872bd7cc8a7faa631912c8643f867 Message-Id: User-Agent: Mercurial-patchbomb/2.2.2 Date: Sun, 16 Feb 2014 19:32:42 +0100 From: Thomas De Schampheleire To: buildroot@buildroot.org Subject: [Buildroot] [PATCH] vlc: needs dependency on host-lua if Lua is selected X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net If Lua support is requested in VLC, its configure script tries to find the luac byte compiler, which fails if host-lua is not yet built. This can be easily reproduced by setting a minimal config with vlc and Lua enabled, and running: 'make clean toolchain vlc'. Final output is: checking for LUA... no configure: WARNING: Package lua5.2 was not found in the pkg-config search path. Perhaps you should add the directory containing `lua5.2.pc' to the PKG_CONFIG_PATH environment variable No package 'lua5.2' found, trying lua 5.1 instead checking for LUA... no configure: WARNING: Package lua5.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `lua5.1.pc' to the PKG_CONFIG_PATH environment variable No package 'lua5.1' found, trying lua >= 5.1 instead checking for LUA... yes checking for luac... no configure: error: Could not find the LUA byte compiler. make: *** [/output/build/vlc-2.1.2/.stamp_configured] Error 1 Fix this problem by setting host-lua as a dependency to vlc. Signed-off-by: Thomas De Schampheleire --- package/vlc/vlc.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -226,7 +226,7 @@ endif ifeq ($(BR2_PACKAGE_LUA),y) VLC_CONF_OPT += --enable-lua -VLC_DEPENDENCIES += lua +VLC_DEPENDENCIES += lua host-lua else VLC_CONF_OPT += --disable-lua endif