[Buildroot] [PATCH v2 1/2] libimxvpuapi: add new package

Gary Bisson gary.bisson at boundarydevices.com
Wed Feb 17 10:03:56 UTC 2016


Hi Peter,

On Wed, Feb 17, 2016 at 10:45 AM, Peter Seiderer <ps.report at gmx.net> wrote:
> <snip>
>> Could you pastebin the full log of libimxvpuapi build, your buildroot
>> configuration as well as you 'env'?
>>
>
> Build log attached (rm -r build/libimxvpuapi-0.10.1; make V=1 2>&1 | tee out_build_libimxvpuapi_orig.txt),
> same buildroot setup as in previous e-mail: out_build_libimxvpuapi_orig.txt
>
> $ cd build/libimxvpuapi-0.10.1/
> $ /home/seiderer/Work/BD_Nitrogen6x/Buildroot-2016-02/build_2016_02_001/host/usr/bin/python2 ./waf configure --help
> ...
>     --libdir=LIBDIR     object code libraries [EXEC_PREFIX/lib64]

Thanks for your quick reply. Indeed the same command on my platform gives me:
    --libdir=LIBDIR     object code libraries [EXEC_PREFIX/lib]

Plus your env seems just fine. Digging into it I've found my the
difference is between our system, multiarch is enabled on mine. In the
Configure.py script the libdir is initialized as follows:
if not env.LIBDIR:
  if Options.options.libdir:
    env.LIBDIR=Utils.sane_path(Options.options.libdir)
  else:
    env.LIBDIR=Utils.subst_vars('${PREFIX}/lib%s'%Utils.lib64(),env)

And Utils.py tells us where the 64 comes from:
def lib64():
  if os.sep=='/':
    if platform.architecture()[0]=='64bit':
      if os.path.exists('/usr/lib64')and not os.path.exists('/usr/lib32'):
        return'64'
  return''

So I'll submit the v3 today and cc you. Thanks for reporting and
fixing the issue!

Regards,
Gary



More information about the buildroot mailing list