[strongSwan] strongswan 5.6.0 and RPM build errors

Ståle Gjøs staale.gjoes at gmail.com
Mon Sep 4 17:08:52 CEST 2017


Hello there

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.

However the latest release have me stumped... I get these errors at the end
of the build


error: File not found by glob:
/root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/libexec/strongswan/*.swidtagerror:
File not found:
/root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/share/regid.2004-03.org.strongswanerror:
File not found by glob:
/root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/share/regid.2004-03.org.strongswan/*.swidtagRPM
build errors: File not found by glob:
/root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/libexec/strongswan/*.swidtag
File not found:
/root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/share/regid.2004-03.org.strongswan
File not found by glob:
/root/rpmbuild/BUILDROOT/strongswan-5.6.0-3.el6.x86_64/usr/share/regid.2004-03.org.strongswan/*.swidtag


I'm running RHEL6 on GCP

2.6.32-696.10.1.el6.x86_64

Steps taken to get this error

yum groupinstall "development tools"
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
mkdir /root/rpmbuild /root/rpmbuild/SOURCES /root/rpmbuild/SPECS
git clone http://pkgs.fedoraproject.org/git/strongswan.git
/root/rpmbuild/SOURCES
wget -P /root/rpmbuild/SOURCES/
https://download.strongswan.org/strongswan-5.6.0.tar.bz2mv
/root/rpmbuild/SOURCES/strongswan.spec /root/rpmbuild/SPECS/vi
/root/rpmbuild/SPECS/strongswan.specrpmbuild -ba
/root/rpmbuild/SPECS/strongswan.spec

I edit the spec file and change the version to 5.6.0 and remove the
depedency on systemd-devel

Any suggestions appreciated

cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170904/329fc371/attachment-0001.html>


More information about the Users mailing list