<div dir="ltr">Hello there<div><br></div><div>I've been building RPM's out of the strongswan sources for some time now.. since 5.3.0 basically... every version has been ok with the approach below.</div><div><br></div><div>However the latest release have me stumped... I get these errors at the end of the build</div><div><br></div><div><br></div><div><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">error: File not found by glob: /root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/libexec/strongswan/*.swidtag</span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">error: File not found: /root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/share/regid.2004-03.org.strongswan</span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">error: File not found by glob: /root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/share/regid.2004-03.org.strongswan/*.swidtag</span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)"></span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)"></span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">RPM build errors:</span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">    File not found by glob: /root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/libexec/strongswan/*.swidtag</span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">    File not found: /root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/share/regid.2004-03.org.strongswan</span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">    File not found by glob: /root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/share/regid.2004-03.org.strongswan/*.swidtag</span></div><div><br></div><div><br></div><div>I'm running RHEL6 on GCP</div><div><br></div><div><span style="background-color:rgb(34,34,34);color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre">2.6.32-696.10.1.el6.x86_64</span></div><div><br></div><div>Steps taken to get this error</div><div><br></div><div><span style="color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">yum groupinstall "development tools"</span></div><div><span style="color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">yum install openldap-devel openssl-devel sqlite-devel trousers-devel libxml2-devel pam-devel json-c-devel libgcrypt-devel systemd-devel libcurl-devel gmp-devel </span></div><div><font color="#ffffff" face="courier new, monospace"><span style="font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">mkdir /root/rpmbuild </span></font><span style="background-color:rgb(34,34,34);font-variant-ligatures:none;white-space:pre;color:rgb(255,255,255);font-family:"courier new",monospace">/root/rpmbuild/SOURCES </span><span style="background-color:rgb(34,34,34);font-variant-ligatures:none;white-space:pre;color:rgb(255,255,255);font-family:"courier new",monospace">/root/rpmbuild/SPECS</span></div><div><span style="color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">git cl</span><span style="font-size:13px;color:rgb(255,255,255);font-family:"courier new",monospace;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">one </span><a title="http://pkgs.fedoraproject.org/git/strongswan.git" href="http://pkgs.fedoraproject.org/git/strongswan.git" target="_blank" style="font-size:13px;color:rgb(255,255,255);text-decoration-line:none;font-family:"courier new",monospace;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">http://pkgs.fedoraproject.org/git/strongswan.git</a><span style="font-size:13px;color:rgb(255,255,255);font-family:"courier new",monospace;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)"> /root/rpmbuild/SOURCES</span></div><div><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">wget -P /root/rpmbuild/SOURCES/ <a title="https://download.strongswan.org/strongswan-5.6.0.tar.bz2" href="https://download.strongswan.org/strongswan-5.6.0.tar.bz2" target="_blank" style="color:rgb(255,255,255);text-decoration-line:none">https://download.strongswan.org/strongswan-5.6.0.tar.bz2</a></span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">mv /root/rpmbuild/SOURCES/strongswan.spec /root/rpmbuild/SPECS/</span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">vi /root/rpmbuild/SPECS/strongswan.spec</span><span style="display:block;color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre;background-color:rgb(34,34,34)">rpmbuild -ba /root/rpmbuild/SPECS/strongswan.spec<br></span></div><div><span style="background-color:rgb(34,34,34);color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre"><br></span></div><div>I edit the spec file and change the version to 5.6.0 and remove the depedency on systemd-devel<br></div><div><span style="background-color:rgb(34,34,34);color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre"><br></span></div><div>Any suggestions appreciated</div><div><br></div><div>cheers</div><div><br></div><div><span style="background-color:rgb(34,34,34);color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre"><br></span></div><div><span style="background-color:rgb(34,34,34);color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre"><br></span></div><div><span style="background-color:rgb(34,34,34);color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre"><br></span></div><div><span style="background-color:rgb(34,34,34);color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre"><br></span></div><div><span style="background-color:rgb(34,34,34);color:rgb(255,255,255);font-family:"courier new",monospace;font-size:13px;font-variant-ligatures:none;white-space:pre"><br></span></div></div>