<?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>14845</bug_id>
          
          <creation_ts>2022-06-22 12:24:45 +0000</creation_ts>
          <short_desc>llvm non reproducible (host pygments and pyyaml leak in)</short_desc>
          <delta_ts>2022-08-09 06:53:21 +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>unspecified</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>4.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Luca Ceresoli">luca.ceresoli</reporter>
          <assigned_to name="Luca Ceresoli">luca.ceresoli</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>93562</commentid>
    <comment_count>0</comment_count>
    <who name="Luca Ceresoli">luca.ceresoli</who>
    <bug_when>2022-06-22 12:24:45 +0000</bug_when>
    <thetext>LLVM reproducible builds failed on opensuse154-ty-1:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/1043/steps/13/logs/stdio

The reason is the llvm CMake configuration detects the pygments and pyyaml modules installed on the host, and those are present on some workers, but not all.

Here is the code detecting these modules (thanks to Richard for finding it): https://github.com/llvm/llvm-project/blob/main/llvm/cmake/config-ix.cmake#L693

The result is a difference in the computed LLVM_HAVE_OPT_VIEWER_MODULES value: http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20220621-s2cncw_b/packages/diff-html/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93575</commentid>
    <comment_count>1</comment_count>
    <who name="Luca Ceresoli">luca.ceresoli</who>
    <bug_when>2022-06-23 14:29:24 +0000</bug_when>
    <thetext>Fix in: https://lists.openembedded.org/g/openembedded-core/message/167262</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93731</commentid>
    <comment_count>2</comment_count>
    <who name="Luca Ceresoli">luca.ceresoli</who>
    <bug_when>2022-08-09 06:53:21 +0000</bug_when>
    <thetext>Applied to master, commit 78b6a08db4e8eb3b4e1d52fcdb39a5b3415f5a3f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>