<?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>9541</bug_id>
          
          <creation_ts>2016-04-28 10:36:57 +0000</creation_ts>
          <short_desc>Resolve string formatting issues in cmake</short_desc>
          <delta_ts>2017-03-20 07:50:01 +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.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.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Jussi Kukkonen">jku</assigned_to>
          <cc>elena.reshetova</cc>
    
    <cc>jku</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>61773</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-04-28 10:36:57 +0000</bug_when>
    <thetext>cmake fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70474</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-02-07 13:20:48 +0000</bug_when>
    <thetext>Setting assignee to recipe maintainer. Alexander, please update estimate, target, etc. to suit your workload.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70478</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-02-07 13:23:46 +0000</bug_when>
    <thetext>Maybe before 2.3 is out. 100% busy with dnf now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70485</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-02-07 13:25:28 +0000</bug_when>
    <thetext>Note: to observe the failures comment out the recipe&apos;s SECURITY_STRINGFORMAT entry in security_cflags.inc and build the recipe with a configuration that utilises security_cflags (i.e. the poky-lsb distro).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71349</commentid>
    <comment_count>4</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-03-16 12:29:02 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Note: to observe the failures comment out the recipe&apos;s SECURITY_STRINGFORMAT
&gt; entry in security_cflags.inc and build the recipe with a configuration that
&gt; utilises security_cflags (i.e. the poky-lsb distro).

I&apos;ll take this: They drop &quot;-Wformat&quot; on purpose (because it&apos;s a test for that) and should drop -Wformat-security as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71442</commentid>
    <comment_count>5</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-03-20 07:49:44 +0000</bug_when>
    <thetext>commit 6dcf5c6e6eadd0a572f9aa61783b54ccd39f0378
Author: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
Date:   Thu Mar 16 16:30:23 2017 +0200

    cmake: Backport fix to enable -Wformat-security
    
    Backport build fix that removes -Wformat-security for specific tests.
    Enable &quot;-Wformat-security&quot; for cmake in security_flags.inc.
    
    (From OE-Core rev: b00f9c77ebd211578ba133c28abcbc5752305e25)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>