<?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>16278</bug_id>
          
          <creation_ts>2026-05-04 21:13:19 +0000</creation_ts>
          <short_desc>colord compile fails with SOURCE_DATE_EPOCH=&quot;0&quot;</short_desc>
          <delta_ts>2026-05-07 14:47:30 +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>oe-core other</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Mitchell">mmitchel</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>tim.orling</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>105350</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Mitchell">mmitchel</who>
    <bug_when>2026-05-04 21:13:19 +0000</bug_when>
    <thetext>solution for bbappend in an alternative layer; this comes when meta-updater is setting global SOURCE_DATE_EPOCH to 0.

# colord&apos;s cd_create_profile native tool rejects SOURCE_DATE_EPOCH=0 with
# &quot;$SOURCE_DATE_EPOCH invalid 0&quot;. Override it with a valid positive epoch
# (1980-01-01 UTC) which satisfies the g_ascii_strtoull != 0 check.
do_compile:prepend() {
    export SOURCE_DATE_EPOCH=&quot;315532800&quot;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105351</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Mitchell">mmitchel</who>
    <bug_when>2026-05-04 21:15:25 +0000</bug_when>
    <thetext>found first with scarthgap</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105373</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-05-07 14:44:01 +0000</bug_when>
    <thetext>We think that setting SOURCE_DATE_EPOCH to 0 or 1 is not sensible 
and known to be problematic. Don&apos;t do that.

It&apos;s not an oe-core issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105375</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-05-07 14:47:30 +0000</bug_when>
    <thetext>https://github.com/uptane/meta-updater/issues/96</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>