All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Krummenacher <max.oss.09@gmail.com>
To: Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	Max Krummenacher <max.krummenacher@toradex.com>
Subject: Re: [meta-fsl-arm][RFC PATCH] libimxvpuapi: use libdir from cross environment
Date: Sat, 25 Jun 2016 14:43:43 +0200	[thread overview]
Message-ID: <1466858623.2206.17.camel@gmail.com> (raw)
In-Reply-To: <CAP9ODKrCw4uuyU3OugjU2YeEn4asF7c1EmB1=pM5y-EwER3VPg@mail.gmail.com>

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 <max.krummenacher@toradex.com>
> 
> 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

> 
> 


      parent reply	other threads:[~2016-06-25 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23 22:52 [meta-fsl-arm][RFC PATCH] libimxvpuapi: use libdir from cross environment Max Krummenacher
2016-06-24 14:49 ` Otavio Salvador
2016-06-24 15:20   ` Max Krummenacher
2016-06-25 12:43   ` Max Krummenacher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1466858623.2206.17.camel@gmail.com \
    --to=max.oss.09@gmail.com \
    --cc=max.krummenacher@toradex.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio.salvador@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.