<?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>15728</bug_id>
          
          <creation_ts>2025-01-25 15:19:29 +0000</creation_ts>
          <short_desc>[tzcode-native] Incorrect setting of compiler in EXTRA_OEMAKE from 2023d version</short_desc>
          <delta_ts>2025-03-12 22:58:11 +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>unspecified</version>
          <rep_platform>All</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>5.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alessio Cascone">Alessio.Cascone</reporter>
          <assigned_to name="Alessio Cascone">Alessio.Cascone</assigned_to>
          <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>100744</commentid>
    <comment_count>0</comment_count>
    <who name="Alessio Cascone">Alessio.Cascone</who>
    <bug_when>2025-01-25 15:19:29 +0000</bug_when>
    <thetext>The tzcode-native.bb recipe allows to pass to tzcode makefile a specific C compiler, using EXTRA_OEMAKE, with the following instruction: EXTRA_OEMAKE += &quot;cc=&apos;${CC}&apos;&quot;.

In versions before 2023d such setting was working properly.
Starting from 2023d version, instead, this approach is not working anymore: this seems to be due to changes in tzcode makefile executed in 2023d version (https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/WSF4TA5RFP7ECRKUKQFRHYN724HDMRTO/).

I fixed that behavior updating the instruction as follow: EXTRA_OEMAKE += &quot;CC=&apos;${CC}&apos;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100760</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-01-28 19:46:11 +0000</bug_when>
    <thetext>Hi Alessio,

Thanks for the bug report and for documenting the fix/work-around.
Would you be willing to send a patch to the oe-core list?
If so, this may help: https://docs.yoctoproject.org/contributor-guide/index.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100762</commentid>
    <comment_count>2</comment_count>
    <who name="Alessio Cascone">Alessio.Cascone</who>
    <bug_when>2025-01-29 08:31:38 +0000</bug_when>
    <thetext>Hi Randy,

I sent the patch for this issue: https://patchwork.yoctoproject.org/project/oe-core/patch/20250129073129.8734-1-alessio.cascone@vimar.com/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101346</commentid>
    <comment_count>3</comment_count>
    <who name="Alessio Cascone">Alessio.Cascone</who>
    <bug_when>2025-03-12 11:01:06 +0000</bug_when>
    <thetext>Patch has been accepted and merged to master branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101352</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-03-12 22:58:11 +0000</bug_when>
    <thetext>https://git.openembedded.org/openembedded-core/commit/?id=b3cdfca5ef84ed2054faef9abddef3aeed930e17</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>