<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:"Calibri",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 'rpcgen' which causes confusion to me. I had a chat with Kaleb Keithley a few months ago:
<span style="font-size:11pt;font-family:"Calibri",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:"Calibri",sans-serif"><span style="font-size:10pt;font-family:"Courier New"">„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:"Calibri",sans-serif"><span style="font-size:10pt;font-family:"Courier New"">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:"Courier New""> does in Fedora and RHEL8.)<span></span></span>
</p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:10pt;font-family:"Courier New""><span> </span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:10pt;font-family:"Courier New"">All the gluster community packages for SLE_15 going
back to glusterfs-5.0<span></span></span><span style="font-size:10pt;font-family:"Courier New""> in October 2018 have used the unbundled rpcgen. You
can do the same, or<span></span></span><span style="font-size:10pt;font-family:"Courier New""> 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:"Calibri",sans-serif"><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">Unfortunately there is no
rpcsvc-proto rpm for SLES15:
<span style="font-size:11pt;font-family:"Calibri",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:"Calibri",sans-serif"><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">I don'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 'rpcgen' 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:"Calibri",sans-serif"><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",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:"Calibri",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:"Calibri",sans-serif"><br></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">Regards</p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">David Spisla<br></p>
</div></div>