<?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>12679</bug_id>
          
          <creation_ts>2018-04-12 07:26:14 +0000</creation_ts>
          <short_desc>commit:  &quot;apply MLPREFIX renaming to all package classes&quot; breaks mingw build</short_desc>
          <delta_ts>2018-04-26 07:53:07 +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>core</component>
          <version>2.5</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>stephano</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>80209</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2018-04-12 07:26:14 +0000</bug_when>
    <thetext>The commit 34afa37f5f4765f73c63d440351a5cb63008a5cc
glib-2.0/glib.inc: apply MLPREFIX renaming to all package classes

breaks mingw build with the error:

2.54.3-r0/build&apos;
| mv: cannot stat &apos;/data/master-master/poky/build-x86_64-mingw32-nativesdk-qemu/tmp/work/x86_64-nativesdk-mingw32-pokysdk-mingw32/nativesdk-glib-2.0/1_2.54.3-r0/image/opt/poky/2.4+snapshot/sysroots/x86_64-pokysdk-mingw32/usr/libexec/gio-querymodules&apos;: No such file or directory
| WARNING: exit code 1 from a shell command.

Steps to reproduce:
load meta-mingw layer
local conf:
SDKMACHINE=&quot;x86_64-mingw32&quot;
BASECANADIANEXTRAOS=&quot;&quot;
MACHINE=&quot;qemux86-64&quot;

$ bbitbake nativesdk-glib-2.0


Unfortunately, the error is caused in the routine &quot;do_install_append&quot; so it is not possible to fix this with an override in a bbappend file.&apos;
The offending line is:
mv -v ${D}${libexecdir}/gio-querymodules ${D}${libexecdir}/${MLPREFIX}gio-querymodules

Changing it to 
mv -v ${D}${libexecdir}/gio-querymodules* ${D}${libexecdir}/${MLPREFIX}gio-querymodules

could possibly fix this (we create gio-querymodules.exe)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80245</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2018-04-13 13:14:36 +0000</bug_when>
    <thetext>If my comments on the oe-core list aren&apos;t clearing the situation :), just assign the issue to me, but I&apos;ll be able to look into it only on the 23rd or so when I&apos;m back from holiday.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80247</commentid>
    <comment_count>2</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2018-04-13 13:33:18 +0000</bug_when>
    <thetext>Patch sent to ML:
http://lists.openembedded.org/pipermail/openembedded-core/2018-April/149915.html

but there were some questions/objections.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80248</commentid>
    <comment_count>3</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2018-04-13 13:37:14 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; If my comments on the oe-core list aren&apos;t clearing the situation :), just
&gt; assign the issue to me, but I&apos;ll be able to look into it only on the 23rd or
&gt; so when I&apos;m back from holiday.

thanks, I will do that. But beware, this is fairly urgent as without this the whole qemu-mingw will fail to build and possibly also SDK and meta-toolchains.
Those are pretty much the most important builds for mingw.

So even if there is a better fix then the patch I sent to ML, the time may be of essence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80415</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-04-26 07:53:07 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=sumo&amp;id=71b4ae25612d6dd3687fdd583ed0077e744899cb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>