Error building Freeradius 3.0.11 in OpenSuse 13.1
Hello. I'm trying to build last version of freeradius in Opensuse 13.1. After installing all needed dependences I started to build freeradius: rpmbuild -ba /usr/src/packages/SPECS/freeradius.spec But it gives to me this error message: (...) + ln -sf ../../etc/init.d/freeradius /usr/src/packages/BUILDROOT/freeradius-server-3.0.11-0.x86_64/usr/sbin/rcfreeradius + install -d /usr/src/packages/BUILDROOT/freeradius-server-3.0.11-0.x86_64/etc/tmpfiles.d + install -m 0644 /usr/src/packages/SOURCES/freeradius-server-tmpfiles.conf /usr/src/packages/BUILDROOT/freeradius-server-3.0.11-0.x86_64/etc/tmpfiles.d/radiusd.conf *install: cannot stat ‘/usr/src/packages/SOURCES/freeradius-server-tmpfiles.conf’: No such file or directory* *error: Bad exit status from /var/tmp/rpm-tmp.Rr5zIS (%install)* *RPM build errors:* * Bad exit status from /var/tmp/rpm-tmp.Rr5zIS (%install)* Could someone help me with this? Thanks
On 16 Feb 2016, at 18:37, Daniel Lopez <danilogo1991@gmail.com> wrote:
‘/usr/src/packages/SOURCES/freeradius-server-tmpfiles.conf’: No such file or directory*
I'm not familiar with how OpenSUSE builds RPMs, but I can take a guess as it's similar to RedHat - in the source tarball there should be a few extra files in the SuSE directory - make sure they're in the same directory (/usr/src/packages/SOURCES/ ?) that you place the source tarball. If you've done this, then for some reason the build process isn't picking up the files as it should - fortunately there are a few people that post to the list that should be able to help if that's the case. Regards, Adam Bishop Systems Development Specialist gpg: 0x6609D460 jisc.ac.uk | Networkshop 44: Save the date! | 22-24 March 2016 @ University of Manchester Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800. Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
Daniel Lopez wrote:
Hello. I'm trying to build last version of freeradius in Opensuse 13.1. After installing all needed dependences I started to build freeradius:
rpmbuild -ba /usr/src/packages/SPECS/freeradius.spec
But it gives to me this error message:
Actually there's pretty good support for FreeRADIUS in openSUSE. ;-) https://build.opensuse.org/package/view_file/network/freeradius-server/freer... I've enabled openSUSE 13.1 builds in my OBS home project: https://build.opensuse.org/package/show/home:stroeder:branches:network/freer... It might take some time until this repo is filled with the RPMs: http://download.opensuse.org/repositories/home:/stroeder:/branches:/network/... If you don't trust my builds for such a security sensitive software then you can build all this stuff locally on your own system still using the package above. Ciao, Michael.
I already did it. I just had to find *freeradius-server-tmpfiles.conf *in the source files and copy it to into */usr/src/packages/SOURCES/* 2016-02-16 14:06 GMT-05:00 Michael Ströder <michael@stroeder.com>:
Daniel Lopez wrote:
Hello. I'm trying to build last version of freeradius in Opensuse 13.1. After installing all needed dependences I started to build freeradius:
rpmbuild -ba /usr/src/packages/SPECS/freeradius.spec
But it gives to me this error message:
Actually there's pretty good support for FreeRADIUS in openSUSE. ;-)
https://build.opensuse.org/package/view_file/network/freeradius-server/freer...
I've enabled openSUSE 13.1 builds in my OBS home project:
https://build.opensuse.org/package/show/home:stroeder:branches:network/freer...
It might take some time until this repo is filled with the RPMs:
http://download.opensuse.org/repositories/home:/stroeder:/branches:/network/...
If you don't trust my builds for such a security sensitive software then you can build all this stuff locally on your own system still using the package above.
Ciao, Michael.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Daniel Lopez wrote:
I already did it. I just had to find *freeradius-server-tmpfiles.conf *in the source files and copy it to into */usr/src/packages/SOURCES/*
You don't have to do that if you install openSUSE package osc, create an OBS account and then just do: osc co network/freeradius-server Ciao, Michael.
participants (3)
-
Adam Bishop -
Daniel Lopez -
Michael Ströder