From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B6668E01569 for ; Thu, 6 Jun 2013 05:12:15 -0700 (PDT) Received: by mail-pd0-f177.google.com with SMTP id u10so3276768pdi.36 for ; Thu, 06 Jun 2013 05:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:cc:subject:references:in-reply-to:content-type; bh=IqR1/tNNRUeU3ji7ASdh0Anh3C1KM8IMdf/2O9k46yw=; b=Uhvs2AUAfLm+v8PpketJKethR5D+4HRPOdoUvUKcCjfCgEhkEB90ekuWs+xKAqB/zV dg27/hfX92xEhB7sLA8AqOupxywAzXnhBi26ubfvT31y7Zp/YxTaxzeroPSRa+9JYMny hwvJvt7k2jtojYXLqOf8HUZY0PX4XbZa2z6bI1RwKm6ebcoQ8BKME7Q8s0Wu8SMh+oBQ A80D0M0KLp+5RE4uzm7Zftaj7T1WwUx+GkrDLgGQUtbQskNq4L2bAmjj9VA1vi066LSQ z2RmBwbnOR52DhGQqPsjKqeSYH5hfRNirTsEl6YfUG5x9rdsSPWAod7lr3hFAvBQhpfD BUZA== X-Received: by 10.66.51.165 with SMTP id l5mr39102135pao.73.1370520735203; Thu, 06 Jun 2013 05:12:15 -0700 (PDT) Received: from [183.181.99.187] (PPPbm183.fukushima-ip.dti.ne.jp. [183.181.99.187]) by mx.google.com with ESMTPSA id 3sm72577262pbj.46.2013.06.06.05.12.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 05:12:14 -0700 (PDT) Message-ID: <51B07C99.6000906@gmail.com> Date: Thu, 06 Jun 2013 21:12:09 +0900 From: Daniel Kenji Morgan Organization: Daniel Kenji Morgan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Otavio Salvador References: <51A739CB.6000701@gmail.com> <44DF7CDEDF8FFF4BB93AB22C1AA1823B893FBA@039-SN2MPN1-021.039d.mgd.msft.net> <51A872C1.1010109@gmail.com> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: Trouble installing fsl codec libraries X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: daniel.kenji.morgan@gmail.com 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: Thu, 06 Jun 2013 12:12:15 -0000 Content-Type: multipart/alternative; boundary="------------070703000709070503050207" --------------070703000709070503050207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit (2013/05/31 21:43), Otavio Salvador wrote: > > > > On Fri, May 31, 2013 at 8:13 AM, Philip Craig > wrote: > > On Fri, May 31, 2013 at 7:52 PM, Daniel Kenji Morgan > > wrote: > > Thank you for the reply. > > Here is an update. > > > > It turns out the codecs are installed, but the codec *wrapper* > libraries are NOT. > > I tried building both "fsl-image-gui" and "fsl-image-test", but > the results are the same. > > > > I did a comparison against an image built using LTIB, and it > turns out that "/usr/lib/imx-mm/audio-codec/wrap" contains the > wrapper libraries. > > The yocto images does not contain this directory nor any of the > wrapper libraries. > > > > Forgive me if my assumption is wrong, but don't the following > lines in "do_install_append" from libfslcodec_3.0.1.bb > delete the wrapper libraries? > > > > # LTIB move the files around or gst-fsl-plugin won't find them > > for p in $(find ${D}${libdir}/imx-mm -mindepth 1 -maxdepth 1 > -type d); do > > mv $p/* ${D}${libdir} > > rmdir $p > > done > > rmdir ${D}${libdir}/imx-mm > > > > The packaging in "populate_packages_prepend" also seems to place > the wrapper libraries into "/usr/lib/wrap" which does not match > the path found in the LTIB generated image. > > I also had noticed this was broken, but hadn't gotten around to > figuring out why yet. It sounds like you are on the right track > though. The paths it needs are defined in > /usr/share/beep_registry.*.cf, which are the same > "/usr/lib/imx-mm/audio-codec/wrap" as the LTIB image. I think the > recipe needs to be changed to not move the wrap directory to /usr/lib. > (It does need to move the rest of the libraries still though.) Try > this patch. > > > Yes; it was broken. > > We pushed many fixes for this in master yesterday so you could give it > a try. > > We may try to backport the fixes for danny and dylan once this is tested. > -- > Otavio Salvador O.S. Systems > http://www.ossystems.com.br http://projetos.ossystems.com.br > Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 I tried out the recipe in master, and indeed, the libraries are all correctly installed. The following lines fail the build using "danny" though: codec_pkgs = oe.utils.packages_filter_out_system(d) d.appendVar('RDEPENDS_libfslcodec-meta', ' ' + ' '.join(codec_pkgs)) --------------070703000709070503050207 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
(2013/05/31 21:43), Otavio Salvador wrote:



On Fri, May 31, 2013 at 8:13 AM, Philip Craig <phil@blackmoth.com.au> wrote:
On Fri, May 31, 2013 at 7:52 PM, Daniel Kenji Morgan
<daniel.kenji.morgan@gmail.com> wrote:
> Thank you for the reply.
> Here is an update.
>
> It turns out the codecs are installed, but the codec *wrapper* libraries are NOT.
> I tried building both "fsl-image-gui" and "fsl-image-test", but the results are the same.
>
> I did a comparison against an image built using LTIB, and it turns out that "/usr/lib/imx-mm/audio-codec/wrap" contains the wrapper libraries.
> The yocto images does not contain this directory nor any of the wrapper libraries.
>
> Forgive me if my assumption is wrong, but don't the following lines in "do_install_append" from libfslcodec_3.0.1.bb delete the wrapper libraries?
>
> # LTIB move the files around or gst-fsl-plugin won't find them
> for p in $(find ${D}${libdir}/imx-mm -mindepth 1 -maxdepth 1 -type d); do
>     mv $p/* ${D}${libdir}
>     rmdir $p
> done
> rmdir ${D}${libdir}/imx-mm
>
> The packaging in "populate_packages_prepend" also seems to place the wrapper libraries into "/usr/lib/wrap" which does not match the path found in the LTIB generated image.

I also had noticed this was broken, but hadn't gotten around to
figuring out why yet. It sounds like you are on the right track
though. The paths it needs are defined in
/usr/share/beep_registry.*.cf, which are the same
"/usr/lib/imx-mm/audio-codec/wrap" as the LTIB image. I think the
recipe needs to be changed to not move the wrap directory to /usr/lib.
(It does need to move the rest of the libraries still though.) Try
this patch.

Yes; it was broken.

We pushed many fixes for this in master yesterday so you could give it a try.

We may try to backport the fixes for danny and dylan once this is tested.
 
--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

I tried out the recipe in master, and indeed, the libraries are all correctly installed.
The following lines fail the build using "danny" though:

codec_pkgs = oe.utils.packages_filter_out_system(d)
d.appendVar('RDEPENDS_libfslcodec-meta', ' ' + ' '.join(codec_pkgs))

--------------070703000709070503050207--