<?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>14818</bug_id>
          
          <creation_ts>2022-05-26 20:58:31 +0000</creation_ts>
          <short_desc>AB-INT: &quot;cannot find -lz&quot; while building rustc_driver</short_desc>
          <delta_ts>2022-06-01 15:29:14 +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>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Luca Ceresoli">luca.ceresoli</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>luca.ceresoli</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>93335</commentid>
    <comment_count>0</comment_count>
    <who name="Luca Ceresoli">luca.ceresoli</who>
    <bug_when>2022-05-26 20:58:31 +0000</bug_when>
    <thetext>Seen suring qemux86-64 on centos7-ty-4:

Compiling rustc_driver v0.0.0 (/home/pokybuild/yocto-worker/qemux86-64/build/build-st-52213/tmp/work/core2-64-poky-linux/rust-testsuite/1.60.0-r0/rustc-1.60.0-src/compiler/rustc_driver)
error: linking with `cc` failed: exit status: 1
[...]
  = note: /home/pokybuild/yocto-worker/qemux86-64/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/11.2.0/../../../../x86_64-pokysdk-linux/bin/ld: cannot find -lz
          collect2: error: ld returned 1 exit status
          
error: could not compile `rustc_driver` due to previous error
Build completed unsuccessfully in 0:05:36

https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/5222/steps/19/logs/stdio

Rerun, it succeeded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93355</commentid>
    <comment_count>1</comment_count>
    <who name="Luca Ceresoli">luca.ceresoli</who>
    <bug_when>2022-05-30 20:52:02 +0000</bug_when>
    <thetext>qemux86-64 on fedora35-ty-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/5239/steps/18/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93356</commentid>
    <comment_count>2</comment_count>
    <who name="Luca Ceresoli">luca.ceresoli</who>
    <bug_when>2022-05-31 09:15:50 +0000</bug_when>
    <thetext>qemux86 on fedora35-ty-2

https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/5254/steps/18/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93360</commentid>
    <comment_count>3</comment_count>
    <who name="Luca Ceresoli">luca.ceresoli</who>
    <bug_when>2022-06-01 15:29:14 +0000</bug_when>
    <thetext>This bug was never happening on master, it happened on my testing branch with this patch under test:

https://lists.openembedded.org/g/openembedded-core/topic/91327291#166093

That patch never got merged to master, so this bug should just not have been opened.

Closing as invalid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>