All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opencv: Add missing dependencies
@ 2016-03-21 10:31 Ricardo Ribalda Delgado
  2016-03-23 10:12 ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Ribalda Delgado @ 2016-03-21 10:31 UTC (permalink / raw)
  To: Martin Jansa, Andre McCurdy, Lukas Bulwahn, openembedded-devel

opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on
libgphotoport, but it isn't a build dependency, missing libgphoto2 in
DEPENDS or PACKAGECONFIG? [build-deps]
opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on
libgphoto2, but it isn't a build dependency, missing libgphoto2 in
DEPENDS or PACKAGECONFIG? [build-deps]
opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-dnn rdepends on protobuf,
but it isn't a build dependency, missing protobuf in DEPENDS or
PACKAGECONFIG? [build-deps]

Credit-to: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
 meta-oe/recipes-support/opencv/opencv_3.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb b/meta-oe/recipes-support/opencv/opencv_3.1.bb
index 87338cad4a4b..e9e85fe2af0a 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
@@ -10,7 +10,7 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
 
 DEFAULT_PREFERENCE = "-1"
 
-DEPENDS = "python-numpy libtool swig swig-native python bzip2 zlib glib-2.0 libwebp"
+DEPENDS = "python-numpy libtool swig swig-native python bzip2 zlib glib-2.0 libwebp libgphoto2 protobuf"
 
 SRCREV_opencv = "92387b1ef8fad15196dd5f7fb4931444a68bc93a"
 SRCREV_contrib = "5409d5ad560523c85c6796cc5a009347072d883c"
-- 
2.7.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] opencv: Add missing dependencies
  2016-03-21 10:31 [PATCH] opencv: Add missing dependencies Ricardo Ribalda Delgado
@ 2016-03-23 10:12 ` Martin Jansa
  2016-03-23 13:05   ` Ricardo Ribalda Delgado
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2016-03-23 10:12 UTC (permalink / raw)
  To: Ricardo Ribalda Delgado; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]

On Mon, Mar 21, 2016 at 11:31:36AM +0100, Ricardo Ribalda Delgado wrote:
> opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on
> libgphotoport, but it isn't a build dependency, missing libgphoto2 in
> DEPENDS or PACKAGECONFIG? [build-deps]
> opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on
> libgphoto2, but it isn't a build dependency, missing libgphoto2 in
> DEPENDS or PACKAGECONFIG? [build-deps]
> opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-dnn rdepends on protobuf,
> but it isn't a build dependency, missing protobuf in DEPENDS or
> PACKAGECONFIG? [build-deps]

Still shows:
WARN: opencv: libopencv-dnn rdepends on protobuf, but it isn't a build
dependency?

protobuf support in dnn probably depends on something else which is also autodetected.

> Credit-to: Martin Jansa <martin.jansa@gmail.com>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
> ---
>  meta-oe/recipes-support/opencv/opencv_3.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb b/meta-oe/recipes-support/opencv/opencv_3.1.bb
> index 87338cad4a4b..e9e85fe2af0a 100644
> --- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
> @@ -10,7 +10,7 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
>  
>  DEFAULT_PREFERENCE = "-1"
>  
> -DEPENDS = "python-numpy libtool swig swig-native python bzip2 zlib glib-2.0 libwebp"
> +DEPENDS = "python-numpy libtool swig swig-native python bzip2 zlib glib-2.0 libwebp libgphoto2 protobuf"
>  
>  SRCREV_opencv = "92387b1ef8fad15196dd5f7fb4931444a68bc93a"
>  SRCREV_contrib = "5409d5ad560523c85c6796cc5a009347072d883c"
> -- 
> 2.7.0
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] opencv: Add missing dependencies
  2016-03-23 10:12 ` Martin Jansa
@ 2016-03-23 13:05   ` Ricardo Ribalda Delgado
  2016-03-23 14:34     ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Ribalda Delgado @ 2016-03-23 13:05 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

Hi Martin

On Wed, Mar 23, 2016 at 11:12 AM, Martin Jansa <martin.jansa@gmail.com> wrote:


> Still shows:
> WARN: opencv: libopencv-dnn rdepends on protobuf, but it isn't a build
> dependency?
>
> protobuf support in dnn probably depends on something else which is also autodetected.

if I just clone a clean version of meta-oe and meta-core and do a
bitbake opencv i cannot replicate the error.

Any idea of how to replicate it without having to do a bitbake world
before bitbake opencv?


Regards!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] opencv: Add missing dependencies
  2016-03-23 13:05   ` Ricardo Ribalda Delgado
@ 2016-03-23 14:34     ` Martin Jansa
  2016-03-23 20:53       ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2016-03-23 14:34 UTC (permalink / raw)
  To: Ricardo Ribalda Delgado; +Cc: openembeded-devel

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

On Wed, Mar 23, 2016 at 02:05:41PM +0100, Ricardo Ribalda Delgado wrote:
> Hi Martin
> 
> On Wed, Mar 23, 2016 at 11:12 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> 
> > Still shows:
> > WARN: opencv: libopencv-dnn rdepends on protobuf, but it isn't a build
> > dependency?
> >
> > protobuf support in dnn probably depends on something else which is also autodetected.
> 
> if I just clone a clean version of meta-oe and meta-core and do a
> bitbake opencv i cannot replicate the error.
> 
> Any idea of how to replicate it without having to do a bitbake world
> before bitbake opencv?

Check temp/log.do_package if you see protobuf dependency being added for
libopencv-dnn package.

If not then read configure script or sources to see what in
libopencv-dnn is being autodetected -> then build these autodetected
dependencies before rebuilding opencv and re-check the log.do_package
file.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] opencv: Add missing dependencies
  2016-03-23 14:34     ` Martin Jansa
@ 2016-03-23 20:53       ` Martin Jansa
  2016-03-24 12:21         ` Ricardo Ribalda Delgado
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2016-03-23 20:53 UTC (permalink / raw)
  To: Ricardo Ribalda Delgado; +Cc: openembeded-devel

It's also downloading something during do_configure which isn't acceptable:
http://errors.yoctoproject.org/Errors/Details/57094/

Everything should go through bitbake fetcher and premirror, so that builds
are reproducible (even after upstream sites are gone) or when user
explicitly disables network access.

Regards,

On Wed, Mar 23, 2016 at 3:34 PM, Martin Jansa <martin.jansa@gmail.com>
wrote:

> On Wed, Mar 23, 2016 at 02:05:41PM +0100, Ricardo Ribalda Delgado wrote:
> > Hi Martin
> >
> > On Wed, Mar 23, 2016 at 11:12 AM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
> >
> >
> > > Still shows:
> > > WARN: opencv: libopencv-dnn rdepends on protobuf, but it isn't a build
> > > dependency?
> > >
> > > protobuf support in dnn probably depends on something else which is
> also autodetected.
> >
> > if I just clone a clean version of meta-oe and meta-core and do a
> > bitbake opencv i cannot replicate the error.
> >
> > Any idea of how to replicate it without having to do a bitbake world
> > before bitbake opencv?
>
> Check temp/log.do_package if you see protobuf dependency being added for
> libopencv-dnn package.
>
> If not then read configure script or sources to see what in
> libopencv-dnn is being autodetected -> then build these autodetected
> dependencies before rebuilding opencv and re-check the log.do_package
> file.
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] opencv: Add missing dependencies
  2016-03-23 20:53       ` Martin Jansa
@ 2016-03-24 12:21         ` Ricardo Ribalda Delgado
  0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Ribalda Delgado @ 2016-03-24 12:21 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

Hi Martin

I will take a look to this next week


Thanks!!

On Wed, Mar 23, 2016 at 9:53 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> It's also downloading something during do_configure which isn't acceptable:
> http://errors.yoctoproject.org/Errors/Details/57094/
>
> Everything should go through bitbake fetcher and premirror, so that builds
> are reproducible (even after upstream sites are gone) or when user
> explicitly disables network access.
>
> Regards,
>
> On Wed, Mar 23, 2016 at 3:34 PM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
>>
>> On Wed, Mar 23, 2016 at 02:05:41PM +0100, Ricardo Ribalda Delgado wrote:
>> > Hi Martin
>> >
>> > On Wed, Mar 23, 2016 at 11:12 AM, Martin Jansa <martin.jansa@gmail.com>
>> > wrote:
>> >
>> >
>> > > Still shows:
>> > > WARN: opencv: libopencv-dnn rdepends on protobuf, but it isn't a build
>> > > dependency?
>> > >
>> > > protobuf support in dnn probably depends on something else which is
>> > > also autodetected.
>> >
>> > if I just clone a clean version of meta-oe and meta-core and do a
>> > bitbake opencv i cannot replicate the error.
>> >
>> > Any idea of how to replicate it without having to do a bitbake world
>> > before bitbake opencv?
>>
>> Check temp/log.do_package if you see protobuf dependency being added for
>> libopencv-dnn package.
>>
>> If not then read configure script or sources to see what in
>> libopencv-dnn is being autodetected -> then build these autodetected
>> dependencies before rebuilding opencv and re-check the log.do_package
>> file.
>>
>> --
>> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>
>



-- 
Ricardo Ribalda


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-24 12:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-21 10:31 [PATCH] opencv: Add missing dependencies Ricardo Ribalda Delgado
2016-03-23 10:12 ` Martin Jansa
2016-03-23 13:05   ` Ricardo Ribalda Delgado
2016-03-23 14:34     ` Martin Jansa
2016-03-23 20:53       ` Martin Jansa
2016-03-24 12:21         ` Ricardo Ribalda Delgado

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.