<?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>13925</bug_id>
          
          <creation_ts>2020-06-01 00:17:32 +0000</creation_ts>
          <short_desc>lz4 reproducibility problem</short_desc>
          <delta_ts>2020-06-04 07:42:56 +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>3.1</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</assigned_to>
          <cc>alex.kanavin</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>87373</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-06-01 00:17:32 +0000</bug_when>
    <thetext>The lz4-staticdev package appears to have a reproducibility problem:

https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20200601-zehtv2nq/packages/

https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20200601-3fuztlc7/packages/

it could be a symbol ordering issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87374</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-06-01 04:05:31 +0000</bug_when>
    <thetext>lz4 is using shell wildcards to supply the list of .o files:

ifeq ($(BUILD_STATIC),yes)  # can be disabled on command line
        @echo compiling static library
        $(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -c $^
        $(Q)$(AR) rcs $@ *.o
endif


I guess &apos;*.o&apos; is non-deterministic about the file order? I guess we can just disable the static lib, I&apos;ll send a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87375</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-06-01 04:14:08 +0000</bug_when>
    <thetext>Patch: https://lists.openembedded.org/g/openembedded-core/message/139022</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87410</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-06-04 07:42:56 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e98ee510789f20ec9daaa0aaf001981a4490a658</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>