From patchwork Sun May 5 13:14:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 241510 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 1A0262C00D8 for ; Sun, 5 May 2013 23:14:54 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CC24027B70; Sun, 5 May 2013 13:14:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a0DG9rNEydL1; Sun, 5 May 2013 13:14:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 2B3232716F; Sun, 5 May 2013 13:14:48 +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 21CE48F75E for ; Sun, 5 May 2013 13:14:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B7C00856CB for ; Sun, 5 May 2013 13:14:45 +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 VfsOQwEihAJf for ; Sun, 5 May 2013 13:14:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id D4F838296A for ; Sun, 5 May 2013 13:14:43 +0000 (UTC) Received: from asgard (host147.190-138-228.telecom.net.ar [190.138.228.147]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.7/8.14.7) with ESMTP id r45DEavZ027034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 5 May 2013 13:14:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1367759681; bh=rvaWWZDWIytbf02U5MHhnJHRR7ZWAIwO+4L0fxUtbik=; h=From:To:Cc:Subject:Date; b=GlUIx+coSj/yvtqzeOI6hxIXqv4ZFxt/W8L0/2FrW7Wgd0M1TUTdAtmGAFv8TQeGm c3/DkRLZQStloMSrFKbp1O24TupVnqYxakwolI2ut+JOUzB+KSxIkgR5ZQGrWKZrLr YWEaTrsEaN1ViDAzule5isCKGIDrxOL9kPDOy4aw= Received: by asgard (sSMTP sendmail emulation); Sun, 05 May 2013 10:14:35 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Sun, 5 May 2013 10:14:35 -0300 Message-Id: <1367759675-26734-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] ltp-testsuite: fix build breakage with libcap 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net ltp-testsuite needs libcap with file attributes which in turn needs attr. Only libcap is checked for so if it lacks file attr support it breaks. Disable libcap support unless it's got attr support, fixes: http://autobuild.buildroot.net/results/b16b20963c7cb17d8e220a5baa1356372ebf85a6/ Signed-off-by: Gustavo Zacarias --- package/ltp-testsuite/ltp-testsuite.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index caed4b3..093c2c3 100644 --- a/package/ltp-testsuite/ltp-testsuite.mk +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -3,10 +3,18 @@ # ltp-testsuite # ############################################################# + LTP_TESTSUITE_VERSION = 20130109 LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).bz2 LTP_TESTSUITE_SITE = http://downloads.sourceforge.net/project/ltp/LTP%20Source/ltp-$(LTP_TESTSUITE_VERSION) LTP_TESTSUITE_LICENSE = GPLv2 GPLv2+ LTP_TESTSUITE_LICENSE_FILES = COPYING +# Needs libcap with file attrs which needs attr, so both required +ifeq ($(BR2_PACKAGE_LIBCAP)$(BR2_PACKAGE_ATTR),yy) +LTP_TESTSUITE_DEPENDENCIES += libcap +else +LTP_TESTSUITE_CONF_ENV += ac_cv_lib_cap_cap_compare=no +endif + $(eval $(autotools-package))