From patchwork Mon Sep 29 18:52:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary.robertson@linaro.org X-Patchwork-Id: 38109 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0CD0F201F1 for ; Mon, 29 Sep 2014 18:53:08 +0000 (UTC) Received: by mail-we0-f197.google.com with SMTP id q58sf1872109wes.4 for ; Mon, 29 Sep 2014 11:53:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:mime-version :in-reply-to:references:date:message-id:from:to:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type; bh=q/oKVUSeYE96dFQy+qxFJF6xAs1SADmwb25RM4QUFOE=; b=kltZR0qhjlHqPuyB3U57F8TNLd8fk4AGIuQgi82SbWJCKUvffUkDSC62mbG/35An7q oVlmOy8TPGLETOeiL7/K5p8pGK14h+OA45pamEo0FdG5j3tehKt29GZWoMTTNaBBJ1kB 0e4vo6xocuxRPK8cuyoVUWs6MY5tJ5JTyq4q/+Ufa5E9SCI2Qygj3Ld4FrMQRdQnZoNY 8Fx6h5u6whjVFyuY1FcTSmyRPeZyQd40rja/8QmJD7zYBmMB97yDe8Z4+S/i6etbgaov i0ktVGMDqUhjDB++tBUgFB9Dcy316uNqJ7ErXElvBujLhvf3W5cg9mJi8GP4RCMEFJqo yAXw== X-Gm-Message-State: ALoCoQmjUR/2hgN6hXDfBpjxa+x4407sSqKVfeb3hwlVw7FAzpnMAabGcx+CkP5aEZYuE1rm7lT/ X-Received: by 10.112.17.3 with SMTP id k3mr3197121lbd.3.1412016788226; Mon, 29 Sep 2014 11:53:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.141 with SMTP id j13ls667698laa.5.gmail; Mon, 29 Sep 2014 11:53:08 -0700 (PDT) X-Received: by 10.112.209.2 with SMTP id mi2mr10826155lbc.51.1412016788068; Mon, 29 Sep 2014 11:53:08 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) by mx.google.com with ESMTPS id yg7si19384144lbb.133.2014.09.29.11.53.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 11:53:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by mail-lb0-f170.google.com with SMTP id n15so6828086lbi.1 for ; Mon, 29 Sep 2014 11:53:07 -0700 (PDT) X-Received: by 10.112.130.226 with SMTP id oh2mr5150748lbb.100.1412016787693; Mon, 29 Sep 2014 11:53:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp227615lbb; Mon, 29 Sep 2014 11:53:06 -0700 (PDT) X-Received: by 10.50.142.104 with SMTP id rv8mr54089476igb.21.1412016786229; Mon, 29 Sep 2014 11:53:06 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id y8si11262066igl.39.2014.09.29.11.53.05 for ; Mon, 29 Sep 2014 11:53:06 -0700 (PDT) Received-SPF: none (google.com: openembedded-core-bounces@lists.openembedded.org does not designate permitted sender hosts) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CDC71714F9; Mon, 29 Sep 2014 18:53:00 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by mail.openembedded.org (Postfix) with ESMTP id 5BBC7605B3 for ; Mon, 29 Sep 2014 18:52:55 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id q58so4692534wes.17 for ; Mon, 29 Sep 2014 11:52:56 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.250.103 with SMTP id zb7mr47265877wjc.52.1412016776418; Mon, 29 Sep 2014 11:52:56 -0700 (PDT) Received: by 10.27.216.149 with HTTP; Mon, 29 Sep 2014 11:52:56 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Sep 2014 13:52:56 -0500 Message-ID: From: Gary Robertson To: Patches and discussions about the oe-core layer Cc: Mike Holmes Subject: Re: [OE-core] Autoconf problems in OE build of LTP realtime tests X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: gary.robertson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Thanks to Randy Witt for a patch which resolves this issue. Randy wrote: "I looked at the configure logs on an x86 build and saw the same problem. By default the autotools.bbclass searches for m4 macros in the source tree. But it searches a depth that is lower than the directory depth of the location of testcases/realtime/m4. That seems to be causing some of the macros to be missing and falsely causing features to be missing." I beiieve Randy will be submitting this patch soon, and included a link in my previous response - but evidently that link worked for nobody but myself - so with apologies I am re-transmitting the response with the patch text included inline below for reference: >From bce5869545cacd4923b1efcf6e1218f65ad46af7 Mon Sep 17 00:00:00 2001 From: Randy Witt Date: Fri, 5 Sep 2014 15:00:59 -0700 Subject: [PATCH] ltp: Add additional m4 path to autoconf. The ltp code has some m4 macros that are deeper than the default depth that the directory depth the autotools.bbclass checks. This causes some macros to not be found and for supported features to not be enabled. This patch adds the extra m4 path to the autoconf arguments. --- meta/recipes-extended/ltp/ltp_20140422.bb | 1 + 1 file changed, 1 insertion(+) call. diff --git a/meta/recipes-extended/ltp/ltp_20140422.bb b/meta/recipes-extended/ltp/ltp_20140422.bb index c658bc0..0b29ea4 100644 --- a/meta/recipes-extended/ltp/ltp_20140422.bb +++ b/meta/recipes-extended/ltp/ltp_20140422.bb @@ -37,6 +37,7 @@ TARGET_CC_ARCH += "${LDFLAGS}" export prefix = "/opt/ltp" export exec_prefix = "/opt/ltp" +EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4" EXTRA_OECONF = " --with-power-management-testsuite --with-realtime-testsuite " # ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure