<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8847</bug_id>
          
          <creation_ts>2015-12-22 08:56:24 +0000</creation_ts>
          <short_desc>QA warnings can be improved</short_desc>
          <delta_ts>2016-02-22 10:16:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry Rozhkov">dmitry.rojkov</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>alexander.kanevskiy</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57420</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry Rozhkov">dmitry.rojkov</who>
    <bug_when>2015-12-22 08:56:24 +0000</bug_when>
    <thetext>When building libsoup, gssdp and gupnp with automatically added unchanged recipes the tool prints the following warnings and errors:

ERROR: QA Issue: gssdp rdepends on libxml2, but it isn&apos;t a build dependency? [build-deps]
ERROR: QA Issue: gssdp rdepends on zlib, but it isn&apos;t a build dependency? [build-deps]
ERROR: QA Issue: gssdp rdepends on glib-2.0, but it isn&apos;t a build dependency? [build-deps]
ERROR: QA Issue: gssdp rdepends on libsqlite3, but it isn&apos;t a build dependency? [build-deps]
ERROR: QA Issue: gssdp rdepends on libffi, but it isn&apos;t a build dependency? [build-deps]
WARNING: QA Issue: /usr/lib/libgssdp-1.0.so.3.0.0_gssdp contained in package gssdp requires libsoup-2.4.so.1()(64bit), but no providers found in its RDEPENDS [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/rojkov/files/sdks/iot-os-corei7-64_esdk/tmp-glibc/work/corei7-64-iotos-linux/gssdp/1.0-r0/temp/log.do_package_qa.13146
ERROR: Task 482 (/home/rojkov/files/sdks/iot-os-corei7-64_esdk/workspace/recipes/gssdp/gssdp.bb, do_package_qa) failed with exit code &apos;1&apos;
ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency? [build-deps]
ERROR: QA Issue: gupnp rdepends on libxml2, but it isn&apos;t a build dependency? [build-deps]
WARNING: QA Issue: /usr/lib/libgupnp-1.0.so.4.0.0_gupnp contained in package gupnp requires libsoup-2.4.so.1()(64bit), but no providers found in its RDEPENDS [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.

1.
As a user I&apos;d expect that the error messages like

&gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency? [build-deps]

used recipes names (util-linux) instead of package names (util-linux-libuuid) and suggested adding them to DEPENDS explicitly.

2.
The warnings like

&gt; WARNING: QA Issue: /usr/lib/libgssdp-1.0.so.3.0.0_gssdp contained in package gssdp requires libsoup-2.4.so.1()(64bit), but no providers found in its RDEPENDS [file-rdeps]

should suggest adding a dep to DEPENDS, not RDEPENDS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57970</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-01-20 03:33:33 +0000</bug_when>
    <thetext>Hi Dmitry,

Thanks, sounds good to me, I will work on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57976</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-01-20 08:31:31 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; When building libsoup, gssdp and gupnp with automatically added unchanged
&gt; recipes the tool prints the following warnings and errors:
&gt; 
&gt; ERROR: QA Issue: gssdp rdepends on libxml2, but it isn&apos;t a build dependency?
&gt; [build-deps]
&gt; ERROR: QA Issue: gssdp rdepends on zlib, but it isn&apos;t a build dependency?
&gt; [build-deps]
&gt; ERROR: QA Issue: gssdp rdepends on glib-2.0, but it isn&apos;t a build
&gt; dependency? [build-deps]
&gt; ERROR: QA Issue: gssdp rdepends on libsqlite3, but it isn&apos;t a build
&gt; dependency? [build-deps]
&gt; ERROR: QA Issue: gssdp rdepends on libffi, but it isn&apos;t a build dependency?
&gt; [build-deps]
&gt; WARNING: QA Issue: /usr/lib/libgssdp-1.0.so.3.0.0_gssdp contained in package
&gt; gssdp requires libsoup-2.4.so.1()(64bit), but no providers found in its
&gt; RDEPENDS [file-rdeps]
&gt; ERROR: QA run found fatal errors. Please consider fixing them.
&gt; ERROR: Function failed: do_package_qa
&gt; ERROR: Logfile of failure stored in:
&gt; /home/rojkov/files/sdks/iot-os-corei7-64_esdk/tmp-glibc/work/corei7-64-iotos-
&gt; linux/gssdp/1.0-r0/temp/log.do_package_qa.13146
&gt; ERROR: Task 482
&gt; (/home/rojkov/files/sdks/iot-os-corei7-64_esdk/workspace/recipes/gssdp/gssdp.
&gt; bb, do_package_qa) failed with exit code &apos;1&apos;
&gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build
&gt; dependency? [build-deps]
&gt; ERROR: QA Issue: gupnp rdepends on libxml2, but it isn&apos;t a build dependency?
&gt; [build-deps]
&gt; WARNING: QA Issue: /usr/lib/libgupnp-1.0.so.4.0.0_gupnp contained in package
&gt; gupnp requires libsoup-2.4.so.1()(64bit), but no providers found in its
&gt; RDEPENDS [file-rdeps]
&gt; ERROR: QA run found fatal errors. Please consider fixing them.
&gt; 
&gt; 1.
&gt; As a user I&apos;d expect that the error messages like
&gt; 
&gt; &gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency? [build-deps]
&gt; 
&gt; used recipes names (util-linux) instead of package names
&gt; (util-linux-libuuid) and suggested adding them to DEPENDS explicitly.

After read carefully, I&apos;m afraid that we can&apos;t use recipes names instead of package names, and we can&apos;t simply add it to DEPENDS, for example, we can also use PACKAGECONFIG.

&gt; 
&gt; 2.
&gt; The warnings like
&gt; 
&gt; &gt; WARNING: QA Issue: /usr/lib/libgssdp-1.0.so.3.0.0_gssdp contained in package gssdp requires libsoup-2.4.so.1()(64bit), but no providers found in its RDEPENDS [file-rdeps]
&gt; 
&gt; should suggest adding a dep to DEPENDS, not RDEPENDS.

It should be RDEPENDS here, not DEPENDS.

I will try to add more info to help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57978</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Rozhkov">dmitry.rojkov</who>
    <bug_when>2016-01-20 10:11:34 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #0)
&gt; &gt; 
&gt; &gt; 1.
&gt; &gt; As a user I&apos;d expect that the error messages like
&gt; &gt; 
&gt; &gt; &gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency? [build-deps]
&gt; &gt; 
&gt; &gt; used recipes names (util-linux) instead of package names
&gt; &gt; (util-linux-libuuid) and suggested adding them to DEPENDS explicitly.
&gt; 
&gt; After read carefully, I&apos;m afraid that we can&apos;t use recipes names instead of
&gt; package names, and we can&apos;t simply add it to DEPENDS, for example, we can
&gt; also use PACKAGECONFIG.

This bug is not about changing devtool&apos;s behaviour, but adding clarity to the warnings. In order to build gupnp I had to add util-linux to DEPENDS, not util-linux-libuuid. At least YP&apos;s ref-manual states that &quot;DEPENDS lists a recipe&apos;s build-time dependencies (i.e. other recipe files).&quot;

Can this warning look like:
ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency. Missing util-linux recipe in DEPENDS or PACKAGECONFIG?

The actual problem is that as a newbie I have hard time figuring out what recipe this package name stems from since it&apos;s not always easy to guess and I&apos;m not aware of YP&apos;s analogs for `rpm -qi &lt;binary-package-name&gt;`.

&gt; &gt; 
&gt; &gt; 2.
&gt; &gt; The warnings like
&gt; &gt; 
&gt; &gt; &gt; WARNING: QA Issue: /usr/lib/libgssdp-1.0.so.3.0.0_gssdp contained in package gssdp requires libsoup-2.4.so.1()(64bit), but no providers found in its RDEPENDS [file-rdeps]
&gt; &gt; 
&gt; &gt; should suggest adding a dep to DEPENDS, not RDEPENDS.
&gt; 
&gt; It should be RDEPENDS here, not DEPENDS.
&gt; 
&gt; I will try to add more info to help.

That&apos;s interesting. I had to add libsoup to gssdp&apos;s DEPENDS in order to build it. Does it mean I need to add it to gssdp&apos;s RDEPENDS as well?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58030</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-01-21 06:20:17 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (In reply to comment #0)
&gt; &gt; &gt; 
&gt; &gt; &gt; 1.
&gt; &gt; &gt; As a user I&apos;d expect that the error messages like
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency? [build-deps]
&gt; &gt; &gt; 
&gt; &gt; &gt; used recipes names (util-linux) instead of package names
&gt; &gt; &gt; (util-linux-libuuid) and suggested adding them to DEPENDS explicitly.
&gt; &gt; 
&gt; &gt; After read carefully, I&apos;m afraid that we can&apos;t use recipes names instead of
&gt; &gt; package names, and we can&apos;t simply add it to DEPENDS, for example, we can
&gt; &gt; also use PACKAGECONFIG.
&gt; 
&gt; This bug is not about changing devtool&apos;s behaviour, but adding clarity to
&gt; the warnings. In order to build gupnp I had to add util-linux to DEPENDS,
&gt; not util-linux-libuuid. At least YP&apos;s ref-manual states that &quot;DEPENDS lists
&gt; a recipe&apos;s build-time dependencies (i.e. other recipe files).&quot;
&gt; 
&gt; Can this warning look like:
&gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build
&gt; dependency. Missing util-linux recipe in DEPENDS or PACKAGECONFIG?
&gt; 
&gt; The actual problem is that as a newbie I have hard time figuring out what
&gt; recipe this package name stems from since it&apos;s not always easy to guess and
&gt; I&apos;m not aware of YP&apos;s analogs for `rpm -qi &lt;binary-package-name&gt;`.

This makes sense to me, I will send patch for it.

&gt; 
&gt; &gt; &gt; 
&gt; &gt; &gt; 2.
&gt; &gt; &gt; The warnings like
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; WARNING: QA Issue: /usr/lib/libgssdp-1.0.so.3.0.0_gssdp contained in package gssdp requires libsoup-2.4.so.1()(64bit), but no providers found in its RDEPENDS [file-rdeps]
&gt; &gt; &gt; 
&gt; &gt; &gt; should suggest adding a dep to DEPENDS, not RDEPENDS.
&gt; &gt; 
&gt; &gt; It should be RDEPENDS here, not DEPENDS.
&gt; &gt; 
&gt; &gt; I will try to add more info to help.
&gt; 
&gt; That&apos;s interesting. I had to add libsoup to gssdp&apos;s DEPENDS in order to
&gt; build it. Does it mean I need to add it to gssdp&apos;s RDEPENDS as well?
yes, you should, DEPENDS is for recipe, RDEPENDS is for binary pkg like rpm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58044</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-01-21 09:20:18 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; (In reply to comment #0)
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; 1.
&gt; &gt; &gt; &gt; As a user I&apos;d expect that the error messages like
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency? [build-deps]
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; used recipes names (util-linux) instead of package names
&gt; &gt; &gt; &gt; (util-linux-libuuid) and suggested adding them to DEPENDS explicitly.
&gt; &gt; &gt; 
&gt; &gt; &gt; After read carefully, I&apos;m afraid that we can&apos;t use recipes names instead of
&gt; &gt; &gt; package names, and we can&apos;t simply add it to DEPENDS, for example, we can
&gt; &gt; &gt; also use PACKAGECONFIG.
&gt; &gt; 
&gt; &gt; This bug is not about changing devtool&apos;s behaviour, but adding clarity to
&gt; &gt; the warnings. In order to build gupnp I had to add util-linux to DEPENDS,
&gt; &gt; not util-linux-libuuid. At least YP&apos;s ref-manual states that &quot;DEPENDS lists
&gt; &gt; a recipe&apos;s build-time dependencies (i.e. other recipe files).&quot;
&gt; &gt; 
&gt; &gt; Can this warning look like:
&gt; &gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build
&gt; &gt; dependency. Missing util-linux recipe in DEPENDS or PACKAGECONFIG?
&gt; &gt; 
&gt; &gt; The actual problem is that as a newbie I have hard time figuring out what
&gt; &gt; recipe this package name stems from since it&apos;s not always easy to guess and
&gt; &gt; I&apos;m not aware of YP&apos;s analogs for `rpm -qi &lt;binary-package-name&gt;`.
&gt; 
&gt; This makes sense to me, I will send patch for it.
&gt; 
&gt; &gt; 
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; 2.
&gt; &gt; &gt; &gt; The warnings like
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; WARNING: QA Issue: /usr/lib/libgssdp-1.0.so.3.0.0_gssdp contained in package gssdp requires libsoup-2.4.so.1()(64bit), but no providers found in its RDEPENDS [file-rdeps]
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; should suggest adding a dep to DEPENDS, not RDEPENDS.
&gt; &gt; &gt; 
&gt; &gt; &gt; It should be RDEPENDS here, not DEPENDS.
&gt; &gt; &gt; 
&gt; &gt; &gt; I will try to add more info to help.
&gt; &gt; 
&gt; &gt; That&apos;s interesting. I had to add libsoup to gssdp&apos;s DEPENDS in order to
&gt; &gt; build it. Does it mean I need to add it to gssdp&apos;s RDEPENDS as well?
&gt; yes, you should, DEPENDS is for recipe, RDEPENDS is for binary pkg like rpm.

(This is a bit of an aside but I wanted to clarify what reads like a misconception here)

DEPENDS are build time dependencies, the specified recipes need to be present in the sysroot in order to build the recipe. 
http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#var-DEPENDS

RDEPENDS are runtime dependencies, the specified packages need to be installed on the target for the recipe to be able to run correctly.
http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#var-RDEPENDS

In many cases, RDEPENDS are automatically inferred i.e. because a library is dynamically linked against the system can infer a runtime dependency on that library.

This QA warning is letting you know that the specified library in gssdp is linking to libsoup and yet the dependency isn&apos;t implicit in the recipe metadata, thus the build is not deterministic.

Most likely the autconf machinery for gssdp is detecting the presence of libsoup in the sysroot, presumably installed by a different recipe, and automatically building against &amp; linking to it.

The correct fix is to make the libsoup dependency explicit in the recipe by adding it to DEPENDS and ensuring an option to explicitly enable libsoup is passed to the configure script. This is most often done via a PACKAGECONFIG so that other users of the recipe can disable libsoup if desired.

Note: if the gssdp configure script doesn&apos;t take a --disable/enable or --with/without option for gssdp it would be worthwhile adding one to improve the determinism of the system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58045</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-01-21 09:44:57 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; (In reply to comment #3)
&gt; &gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; &gt; (In reply to comment #0)
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; 1.
&gt; &gt; &gt; &gt; &gt; As a user I&apos;d expect that the error messages like
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency? [build-deps]
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; used recipes names (util-linux) instead of package names
&gt; &gt; &gt; &gt; &gt; (util-linux-libuuid) and suggested adding them to DEPENDS explicitly.
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; After read carefully, I&apos;m afraid that we can&apos;t use recipes names instead of
&gt; &gt; &gt; &gt; package names, and we can&apos;t simply add it to DEPENDS, for example, we can
&gt; &gt; &gt; &gt; also use PACKAGECONFIG.
&gt; &gt; &gt; 
&gt; &gt; &gt; This bug is not about changing devtool&apos;s behaviour, but adding clarity to
&gt; &gt; &gt; the warnings. In order to build gupnp I had to add util-linux to DEPENDS,
&gt; &gt; &gt; not util-linux-libuuid. At least YP&apos;s ref-manual states that &quot;DEPENDS lists
&gt; &gt; &gt; a recipe&apos;s build-time dependencies (i.e. other recipe files).&quot;
&gt; &gt; &gt; 
&gt; &gt; &gt; Can this warning look like:
&gt; &gt; &gt; ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build
&gt; &gt; &gt; dependency. Missing util-linux recipe in DEPENDS or PACKAGECONFIG?
&gt; &gt; &gt; 
&gt; &gt; &gt; The actual problem is that as a newbie I have hard time figuring out what
&gt; &gt; &gt; recipe this package name stems from since it&apos;s not always easy to guess and
&gt; &gt; &gt; I&apos;m not aware of YP&apos;s analogs for `rpm -qi &lt;binary-package-name&gt;`.
&gt; &gt; 
&gt; &gt; This makes sense to me, I will send patch for it.
&gt; &gt; 
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; 2.
&gt; &gt; &gt; &gt; &gt; The warnings like
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; WARNING: QA Issue: /usr/lib/libgssdp-1.0.so.3.0.0_gssdp contained in package gssdp requires libsoup-2.4.so.1()(64bit), but no providers found in its RDEPENDS [file-rdeps]
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; should suggest adding a dep to DEPENDS, not RDEPENDS.
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; It should be RDEPENDS here, not DEPENDS.
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; I will try to add more info to help.
&gt; &gt; &gt; 
&gt; &gt; &gt; That&apos;s interesting. I had to add libsoup to gssdp&apos;s DEPENDS in order to
&gt; &gt; &gt; build it. Does it mean I need to add it to gssdp&apos;s RDEPENDS as well?
&gt; &gt; yes, you should, DEPENDS is for recipe, RDEPENDS is for binary pkg like rpm.
&gt; 
&gt; (This is a bit of an aside but I wanted to clarify what reads like a
&gt; misconception here)
&gt; 
&gt; DEPENDS are build time dependencies, the specified recipes need to be
&gt; present in the sysroot in order to build the recipe. 
&gt; http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#var-DEPENDS
&gt; 
&gt; RDEPENDS are runtime dependencies, the specified packages need to be
&gt; installed on the target for the recipe to be able to run correctly.
&gt; http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#var-RDEPENDS
&gt; 
&gt; In many cases, RDEPENDS are automatically inferred i.e. because a library is
&gt; dynamically linked against the system can infer a runtime dependency on that
&gt; library.
&gt; 
&gt; This QA warning is letting you know that the specified library in gssdp is
&gt; linking to libsoup and yet the dependency isn&apos;t implicit in the recipe
&gt; metadata, thus the build is not deterministic.


Hi Joshua,

I think that what you&apos;re talking about is more like build-deps ? The QA issue here is file-rdeps.

The file-fdeps is aimed for ipkg/dpkg since they don&apos;t record the file depends, (rpm can handle it well), which means that:

smart install gssdp

Then both gssdp.rpm and libsoup.rpm would be installed, and there is no running issues on target. (It doesn&apos;t matter whether libsoup is in RDEPENDS or not).

But for PACKAGE_CLASSES = &quot;package_ipk&quot; (or deb):

opkg install gssdp

would not install libsoup since gssdp.ipk doesn&apos;t record the file depends (/usr/lib/libgssdp-1.0.so.3.0.0_gssdp).

So I&apos;m afraid that we should add it to RDEPENDS here?

// Robert

&gt; 
&gt; Most likely the autconf machinery for gssdp is detecting the presence of
&gt; libsoup in the sysroot, presumably installed by a different recipe, and
&gt; automatically building against &amp; linking to it.
&gt; 
&gt; The correct fix is to make the libsoup dependency explicit in the recipe by
&gt; adding it to DEPENDS and ensuring an option to explicitly enable libsoup is
&gt; passed to the configure script. This is most often done via a PACKAGECONFIG
&gt; so that other users of the recipe can disable libsoup if desired.
&gt; 
&gt; Note: if the gssdp configure script doesn&apos;t take a --disable/enable or
&gt; --with/without option for gssdp it would be worthwhile adding one to improve
&gt; the determinism of the system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58061</commentid>
    <comment_count>7</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-21 14:12:40 +0000</bug_when>
    <thetext>This bug got complicated quickly didn&apos;t it!

&quot;ERROR: QA Issue: gupnp rdepends on util-linux-libuuid, but it isn&apos;t a build dependency? [build-deps]&quot;

Yes, it would be useful for this to list the recipe name alongside the actual depended package.  Also rdepends should be capitalised to reflect the variable name.

The file-rdeps case is similar: it should list the binary package and recipe name for clarity.

What interests me is the fact that gupnp/gssdp are producing these warnings at all for you, as the only warning I get from building current gssdp and gupnp is:

WARNING: QA Issue: /usr/bin/gupnp-binding-tool_gupnp-dev contained in package gupnp-dev requires /usr/bin/python, but no providers found in its RDEPENDS [file-rdeps]

Which is fair enough.  (really need to fix that warning to remove the duplicated package name).

Proof that the runtime linking/dependencies is working correctly:

$ dpkg -I libgssdp-1.0-3_0.14.8-r0.0_corei7-64.ipk|grep Depends
 Depends: libsoup-2.4 (&gt;= 2.52.1), libglib-2.0-0 (&gt;= 2.46.1), libc6 (&gt;= 2.22)

And from the gssdp.spec:
package -n libgssdp-1.0-3
...
Requires: libsoup-2.4 &gt;= 2.52.1
Requires: libsoup-2.4.so.1()(64bit)
Requires(post): libsoup-2.4 &gt;= 2.52.1
Requires(post): libsoup-2.4.so.1()(64bit)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59320</commentid>
    <comment_count>8</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-02-22 01:18:27 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8bcf139150644a20b0bebd39239b991352a6b8fd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>