<?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>14719</bug_id>
          
          <creation_ts>2022-02-10 15:40:12 +0000</creation_ts>
          <short_desc>Ruby fails to build on AB</short_desc>
          <delta_ts>2022-02-16 22:31:51 +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>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.0 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">saul.wold</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>alexandre.belloni</cc>
    
    <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>92515</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">saul.wold</who>
    <bug_when>2022-02-10 15:40:12 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/118/builds/1197/steps/12/logs/stdio
fedora35-ty-2 SSD



| ERROR: oe_runmake failed
| WARNING: /home/pokybuild/yocto-worker/reproducible-fedora/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/temp/run.do_compile.1080938:186 exit 1 from &apos;exit 1&apos;
| WARNING: Backtrace (BB generated script):
| make: *** [uncommon.mk:762: x86_64-linux-gnu-fake.rb] Error 1
| 	#1: bbfatal_log, /home/pokybuild/yocto-worker/reproducible-fedora/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/temp/run.do_compile.1080938, line 186
| 	#2: die, /home/pokybuild/yocto-worker/reproducible-fedora/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/temp/run.do_compile.1080938, line 170
| 	#3: oe_runmake, /home/pokybuild/yocto-worker/reproducible-fedora/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/temp/run.do_compile.1080938, line 165
| 	#4: autotools_do_compile, /home/pokybuild/yocto-worker/reproducible-fedora/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/temp/run.do_compile.1080938, line 160
| 	#5: do_compile, /home/pokybuild/yocto-worker/reproducible-fedora/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/temp/run.do_compile.1080938, line 155
| 	#6: main, /home/pokybuild/yocto-worker/reproducible-fedora/build/build-st/reproducibleA/tmp/work/core2-64-poky-linux/ruby/3.1.0-r0/temp/run.do_compile.1080938, line 199
NOTE: recipe ruby-3.1.0-r0: task do_compile: Failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92522</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-02-10 15:51:16 +0000</bug_when>
    <thetext>Likely a compile race in ruby that may be related to building the shared library.
See disabling of parallel install.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92538</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2022-02-11 09:06:56 +0000</bug_when>
    <thetext>I don&apos;t think it is a race, more like an incompatible -native item from sstate:

NOTE: recipe ruby-native-3.1.0-r0: task do_populate_sysroot_setscene: Succeeded
...
linking miniruby
| generating x86_64-linux-gnu-fake.rb
| executable host ruby is required. use --with-baseruby option.

Seems like ruby-native came from a different host, and on Fedora 35 it doesn&apos;t work when building cross ruby, for some reason.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92564</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-02-16 22:10:18 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/4721/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/4721/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/4725/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/4711/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/2597/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92565</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2022-02-16 22:31:51 +0000</bug_when>
    <thetext>Already fixed:

https://git.yoctoproject.org/poky/commit/?h=master&amp;id=305c1d179e1f2b660a578f939a15d7cd48148ab0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>