From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A7A31E00DE5; Sat, 25 Jun 2016 05:43:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.46 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (max.oss.09[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1A5E2E00DC7 for ; Sat, 25 Jun 2016 05:43:46 -0700 (PDT) Received: by mail-wm0-f46.google.com with SMTP id r201so56771926wme.1 for ; Sat, 25 Jun 2016 05:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=hDRAY+REjYkM6Aey+rL0rafTU81/nmrKlPr0qAz0pH4=; b=sasSZ0HPDpSDWfwMso/7X5FUQEdJeEvbPp0tiFEjgy/JMNk6EbPy7V9ksvPmxhEA62 sG4u2/8WeSpFcNG9MXnd4Crx/QPRegLszGBqnemRfK+hX+9HylmZ2txHPOnz4qtHyvvU OcFOAbALp2aE0l6H7Tp1vs+QDL4WUBsQv6Ssr/385C63YCD/MBSKh18eGuujpYRi/3jX bL8voiOLfcyCjO/+zpUObwC08ABAIG/y0qaUjB8ew0ZWqjisoo0st8fqZs0DvbGHjYFT HyJYETYZHbGapdHKGFwK10we9MpF11276mGWHpH+oUQlUmGkITOB8WDmTvTbRqkrsjwv +pmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=hDRAY+REjYkM6Aey+rL0rafTU81/nmrKlPr0qAz0pH4=; b=M9WQUsOH/w1azWDu1jbs8r95CztIl1kLUFX0yllcOC80yH/LlyFXjs+NQsu28gc1aj KyqxANuG9eeeEzdL9FHs1SpNqwncPYjZROuxJDcKSxdAuF8a9ZdNtD6ucYn/wOGEx0EZ V3M0P0OHN2k3xt9QmbidF10Bpna98mxVlTXtubnlrfiAMLSh93ztanmycJsBZ3EcVOLU 7osBD3AcQyWQuy76uerFebmU80CrVzH1NgVmM6MmruWGFnnEDwFYwzr/zXja2kHPAO6S cuy/uR3wh0++/qitahTFRcGVzhrV98+QWu62ENL73eLuFC50QW/PRGY0cIx6aDQHHl4Y EqyA== X-Gm-Message-State: ALyK8tJQl86ZXx98nsRsC1Lq3uwNEonTBdkHJtkciG4WUkKMJfXDhV9UISHzvRioYRm5zQ== X-Received: by 10.28.13.211 with SMTP id 202mr1583598wmn.47.1466858625793; Sat, 25 Jun 2016 05:43:45 -0700 (PDT) Received: from Saturn.local.all (212-41-120-4.adsl.solnet.ch. [212.41.120.4]) by smtp.gmail.com with ESMTPSA id ze10sm9909351wjb.2.2016.06.25.05.43.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Jun 2016 05:43:45 -0700 (PDT) Message-ID: <1466858623.2206.17.camel@gmail.com> From: Max Krummenacher To: Otavio Salvador Date: Sat, 25 Jun 2016 14:43:43 +0200 In-Reply-To: References: <1466722330-15306-1-git-send-email-max.krummenacher@toradex.com> X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Cc: "meta-freescale@yoctoproject.org" , Max Krummenacher Subject: Re: [meta-fsl-arm][RFC PATCH] libimxvpuapi: use libdir from cross environment X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2016 12:43:48 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi Otavio Am Freitag, den 24.06.2016, 11:49 -0300 schrieb Otavio Salvador: > On Thu, Jun 23, 2016 at 7:52 PM, Max Krummenacher < > max.oss.09@gmail.com> wrote: > > Pass $libdir to 'waf configure' to prevent using the build hosts > > libdir. > > > > Fixes: > > WARNING: libimxvpuapi-0.10.2-r0 do_package: QA Issue: libimxvpuapi: > > Files/directories were installed but not shipped in any package: > > /usr/lib64/libimxvpuapi.so > > /usr/lib64/libimxvpuapi.so.0 > > /usr/lib64/libimxvpuapi.so.0.10.2 > > /usr/lib64/pkgconfig > > /usr/lib64/pkgconfig/libimxvpuapi.pc > > > > Signed-off-by: Max Krummenacher > > I agree with the fix however I think this ought to be done on the waf > class, no? I tried it but this is causing build errors with other packages. Adding --libdir=${libdir} to waf.bbclass fixes the issue with libimxvpuapi, but breaks eglinfo-x11 and glcompbench. (libimxvpuapi, glmark2, gstreamer1.0-plugins-imx succeeded) ERROR: Logfile of failure stored in: ../glcompbench/2012.08 -0/temp/log.do_configure.20606 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function do_configure | waf [commands] [options]| | Main commands (example: ./waf build -j4) | build : executes the build | clean : cleans the project | configure: configures the project | dist : | distcheck: checks if the project compiles (tarball from 'dist') | distclean: removes the build directory | install : installs the targets on the system | list : lists the targets to execute | step : executes tasks in a step-by-step fashion, for debugging | uninstall: removes the targets installed | update : updates the plugins from the *waflib/extras* directory | | waf: error: no such option: --libdir So a fix in waf.bbclass is not possible because --libdir is only allowed if a package's wscript file is set up for it. Max > >