<?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>9849</bug_id>
          
          <creation_ts>2016-06-29 14:53:23 +0000</creation_ts>
          <short_desc>libdrm autodetects dependencies</short_desc>
          <delta_ts>2016-09-15 06:34:51 +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>graphics</component>
          <version>2.2</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>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Jussi Kukkonen">jku</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63456</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-06-29 14:53:23 +0000</bug_when>
    <thetext>WARN: libdrm: libdrm-tests rdepends on cunit, but it isn&apos;t a build dependency?
WARN: libdrm: libdrm-tests rdepends on libdrm-amdgpu, but it isn&apos;t a build dependency?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65801</commentid>
    <comment_count>1</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-09-05 12:18:43 +0000</bug_when>
    <thetext>&gt; WARN: libdrm: libdrm-tests rdepends on cunit, but it isn&apos;t a build dependency?

This slipped M3 but I&apos;ll send a fix for it once the milestone release is done.

&gt; WARN: libdrm: libdrm-tests rdepends on libdrm-amdgpu, but it isn&apos;t a build dependency?

This one is just weird... what is it trying to say? libdrm-tests &amp; libdrm-amdgpu are both built from same source with the same recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66084</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-09-13 14:19:15 +0000</bug_when>
    <thetext>&gt; This one is just weird... what is it trying to say? libdrm-tests &amp; libdrm-amdgpu are both built from same source with the same recipe.

Does it need RRECOMMENDS_${PN}-tests += &quot;${PN}-amdgpu&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66186</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-09-15 06:34:51 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; &gt; This one is just weird... what is it trying to say? libdrm-tests &amp; libdrm-amdgpu are both built from same source with the same recipe.
&gt; 
&gt; Does it need RRECOMMENDS_${PN}-tests += &quot;${PN}-amdgpu&quot;?

I don&apos;t think that makes sense: it is correctly autodetecting the runtime dependency. Anyway, neither warning should now show up as I&apos;ve disabled cunit-tests:

commit 0825fcf7001aabc2084cc10e8d9aebbf327c884b
Author: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
Date:   Tue Sep 13 11:46:41 2016 +0300

    libdrm: Explicitly disable cunit tests
    
    Add patch to control building cunit-tests explicitly. Disable
    them in the recipe.
    
    Fixes [YOCTO #9849].
    
    (From OE-Core rev: cd287235fc5b9d0c174a10a89e31ffd391806113)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>