[yocto] [oe] Bug in Open CV receipt

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Jul 23 09:30:30 PDT 2015


On Thu, Jul 23, 2015 at 12:05 PM, Victor Rodriguez <vm.rod25 at gmail.com> wrote:
> On Wed, Jul 22, 2015 at 7:35 AM, Otavio Salvador
> <otavio.salvador at ossystems.com.br> wrote:
>> On Tue, Jul 21, 2015 at 11:57 AM, Victor Rodriguez <vm.rod25 at gmail.com> wrote:
>>> Few weeks ago I was having some problems with open CV receipt. In the
>>> begining I toght I was adding opencv tro my core-image-minimal-xfce
>>> just with this:
>>>
>>> IMAGE_INSTALL_append = " gcc gcc-dev openssh php mariadb opencv"
>>>
>>> Now after booting the image I realize that none of the libraries for
>>> open stack were added to my image
>>>
>>> What I had to do was the following:
>>>
>>>
>>> IMAGE_INSTALL_append = " libopencv-core-dev libopencv-highgui-dev
>>> libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev
>>> opencv-staticdev python-opencv"
>>>
>>> Even last night when one of the opencv developers ask me for python
>>> opencv I had to add the last part python-opencv. That is not cool at
>>> all . If I add opencv in the beginning I assume we are more than cool
>>> with that and yocto will add all the packages . Unless I am doing
>>> something wrong, in taht case I am more than happy to get the
>>> feedback.
>>>
>>> Thanks a lot for all the help . If someone else can reproduce this bug
>>> I am more than happy to report it in bugzila (not sure the URL)
>>
>> You should add the dev-pkgs and tools-sdk image features for the
>> image, not mangle it manually.
>
> I think the best solution is create a package group that will keep
> backward compatibility and aloud packages exist as expected

Sorry but this does not make sense. The image recipe you described is
not using the framework structure for this and this is the problem you
should address not bloat the oe-core itself.

Check core-image class for it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the yocto mailing list