<div dir="ltr"><div>Dear Gluster Community,</div><div><br></div><div>I want to compile my own Gluster RPMs for v5.x on a Suse Sles15 machine. I am using the spec file from here: 
















<span style="font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><a href="https://github.com/gluster/glusterfs-suse/blob/sles15-glusterfs-5/glusterfs.spec" style="color:rgb(5,99,193);text-decoration:underline">https://github.com/gluster/glusterfs-suse/blob/sles15-glusterfs-5/glusterfs.spec</a></span> <br></div><div><br></div><div>There is a Build Requirement &#39;rpcgen&#39; which causes confusion to me. I had a chat with Kaleb Keithley a few months ago: 
















<span style="font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><a href="https://lists.gluster.org/pipermail/gluster-users/2019-May/036518.html" style="color:rgb(5,99,193);text-decoration:underline">https://lists.gluster.org/pipermail/gluster-users/2019-May/036518.html</a></span> <br></div><div><br></div><div>This statement seems to be interesting:</div><div>
















<pre style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><span style="font-size:10pt;font-family:&quot;Courier New&quot;">„Miuku on #opensuse-buildservice poked around and found that the unbundled<span></span></span></pre>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><span style="font-size:10pt;font-family:&quot;Courier New&quot;">rpcgen in SLE_15 comes from the rpcsvc-proto rpm. (Not
the rpcgen rpm as it<span></span></span><span style="font-size:10pt;font-family:&quot;Courier New&quot;"> does in Fedora and RHEL8.)<span></span></span>

</p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><span style="font-size:10pt;font-family:&quot;Courier New&quot;"><span> </span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><span style="font-size:10pt;font-family:&quot;Courier New&quot;">All the gluster community packages for SLE_15 going
back to glusterfs-5.0<span></span></span><span style="font-size:10pt;font-family:&quot;Courier New&quot;"> in October 2018 have used the unbundled rpcgen. You
can do the same, or<span></span></span><span style="font-size:10pt;font-family:&quot;Courier New&quot;"> remove the BuildRequires: rpcgen line and use the
glibc bundled rpcgen.</span>“<span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif">Unfortunately there is no 
rpcsvc-proto rpm for SLES15: 
















<span style="font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><a href="https://software.opensuse.org/package/rpcsvc-proto?locale=fa" style="color:rgb(5,99,193);text-decoration:underline">https://software.opensuse.org/package/rpcsvc-proto?locale=fa</a></span> <br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif">I don&#39;t know where the guys from Suse OBS had this rpm from. There is maybe the way to compile the
rpcsvc-proto src rpm  on a SLES15, but this is no good solution in my opinion. So I tried to remove the &#39;rpcgen&#39; requirement from the spec file and create the RPMs by using glibc bundled rpcgen according to Kalebs advise. It works and Gluster seems to be running stable.</p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif">Do you think there are any risks in using glibc bundled rpcgen for creating Gluster 5.x RPMs</p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif">or should I prefer the rpcgen from 
rpcsvc-proto rpm ?</p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif">Regards</p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif">David Spisla<br></p>





</div></div>