<?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>12093</bug_id>
          
          <creation_ts>2017-09-15 18:50:22 +0000</creation_ts>
          <short_desc>do_populate_sdk RPM metadata conflict between nativesdk-cmake and nativesdk-qtbase-tools</short_desc>
          <delta_ts>2018-04-17 06:05:02 +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.3.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jan-Simon Moeller">dl9pf</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>dl9pf</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>76903</commentid>
    <comment_count>0</comment_count>
    <who name="Jan-Simon Moeller">dl9pf</who>
    <bug_when>2017-09-15 18:50:22 +0000</bug_when>
    <thetext>do_populate_sdk fails in latest pyro + meta-qt5 when generating the sdk:

Running transaction test
Error: Transaction check error:
  file /opt/poky/2.3.2/sysroots/x86_64-pokysdk-linux/environment-setup.d conflicts between attempted installs of nativesdk-cmake-3.7.2-r0.x86_64_nativesdk and nativesdk-qtbase-tools-5.8.0+git0+49dc9aa409-r0.x86_64_nativesdk

Error Summary
-------------


ERROR: agl-demo-platform-crosssdk-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76907</commentid>
    <comment_count>1</comment_count>
    <who name="Jan-Simon Moeller">dl9pf</who>
    <bug_when>2017-09-15 21:38:48 +0000</bug_when>
    <thetext>These mitigate the issue

FILES_pn-nativesdk-qtbase-tools_remove = &quot;${SDKPATHNATIVE}/environment-setup.d&quot;
FILES_pn-nativesdk-qtbase-tools_append = &quot; ${SDKPATHNATIVE}/environment-setup.d/qt5.sh&quot;


So it seems like a DIRFILES issue.

But who should get the DIRFILES = &quot;1&quot; ? cmake or qtbase ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77022</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-09-21 14:51:24 +0000</bug_when>
    <thetext>Robert, please check if this affects 2.4 and then backport as needed.
As for guidance on DIRFILES if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80277</commentid>
    <comment_count>3</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2018-04-17 06:05:02 +0000</bug_when>
    <thetext>Test on 2.5, the issue does not exist

edit conf/local.conf
...
TOOLCHAIN_HOST_TASK_append = &quot; nativesdk-cmake nativesdk-qtbase-tools&quot;
...

bitbake meta-toolchain-qt5
...
ls tmp-glibc/work/core2-64-oe-linux/meta-toolchain-qt5/1.0-r0/sdk/image/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/environment-setup.d/*
tmp-glibc/work/core2-64-oe-linux/meta-toolchain-qt5/1.0-r0/sdk/image/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/environment-setup.d/cmake.sh
tmp-glibc/work/core2-64-oe-linux/meta-toolchain-qt5/1.0-r0/sdk/image/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/environment-setup.d/qt5.sh
...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>