<?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>13536</bug_id>
          
          <creation_ts>2019-09-18 02:26:36 +0000</creation_ts>
          <short_desc>Add glibc-devel-static to prerequisites on OpenSUSE based host distributions</short_desc>
          <delta_ts>2019-09-19 13:23:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</version>
          <rep_platform>All</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khem Raj">raj.khem</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>mhalstead</cc>
    
    <cc>pidge</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85001</commentid>
    <comment_count>0</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2019-09-18 02:26:36 +0000</bug_when>
    <thetext>Some native packages do require static libc binaries on the host. Which is provided by glibc-devel on Debian and RedHat like distros and it is pulled in via either explicitly or via build-essentials dependency, but OpenSuSE has gone ahead and separated out static glibc libs into its own package called glibc-devel-static, therefore, we get inconsistent behaviour on different build hosts.

see

https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#required-packages-for-the-build-host


We should add glibc-devel-static to pre-installed pre-requisites on OpenSuSE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85004</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-09-18 16:10:18 +0000</bug_when>
    <thetext>For the record I strongly disagree with this. This in one failure, we don&apos;t have other reports of this and its from a patch in the dfu-utils recipe which enables static linking.

I don&apos;t agree with arbitrarily adding host dependencies to resolve issues like this. If we want to have wider discussion, reach agreement and then add tests for the presence of libc.a, fine but right now I think this recipe should be fixed.

We want to minimize host systems requirements where its practical to do so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85005</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2019-09-18 16:18:40 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; For the record I strongly disagree with this. This in one failure, we don&apos;t
&gt; have other reports of this and its from a patch in the dfu-utils recipe
&gt; which enables static linking.
&gt; 

dfu-utils is just showing the symptom of kind of inconsistency you have got there
with prerequisites on different hosts. 

&gt; I don&apos;t agree with arbitrarily adding host dependencies to resolve issues

you can not call it arbitrary, there is a reason for it and why its failing as I have explained

&gt; like this. If we want to have wider discussion, reach agreement and then add
&gt; tests for the presence of libc.a, fine but right now I think this recipe
&gt; should be fixed.

fixing the recipe is going to hide the underlying problem, yes it should be fixed for a different reason not the one you state.

&gt; 
&gt; We want to minimize host systems requirements where its practical to do so.

Thats a fair point. However, its probably helpful to call out that the prerequisites
might install more or less components on different host distros, we only test a subset
of metadata, therefore, these prerequisites are not a complete list that distribution might need.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85006</commentid>
    <comment_count>3</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2019-09-18 16:18:52 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; For the record I strongly disagree with this. This in one failure, we don&apos;t
&gt; have other reports of this and its from a patch in the dfu-utils recipe
&gt; which enables static linking.
&gt; 

dfu-utils is just showing the symptom of kind of inconsistency you have got there
with prerequisites on different hosts. 

&gt; I don&apos;t agree with arbitrarily adding host dependencies to resolve issues

you can not call it arbitrary, there is a reason for it and why its failing as I have explained

&gt; like this. If we want to have wider discussion, reach agreement and then add
&gt; tests for the presence of libc.a, fine but right now I think this recipe
&gt; should be fixed.

fixing the recipe is going to hide the underlying problem, yes it should be fixed for a different reason not the one you state.

&gt; 
&gt; We want to minimize host systems requirements where its practical to do so.

Thats a fair point. However, its probably helpful to call out that the prerequisites
might install more or less components on different host distros, we only test a subset
of metadata, therefore, these prerequisites are not a complete list that distribution might need.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85009</commentid>
    <comment_count>4</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2019-09-19 13:23:46 +0000</bug_when>
    <thetext>I will close this as wontfix</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>