[SOLVED] FreeRADIUS 2.0.5 Debian dpkg-buildpackage error

Giovanni Lovato giovanni.lovato at aldu.net
Fri Jun 20 00:54:42 CEST 2008


Giovanni Lovato wrote:
> # dpkg-buildpackage -b -uc
> dpkg-buildpackage: source package is freeradius
> dpkg-buildpackage: source version is 2.0.5-0
> dpkg-buildpackage: source changed by Alan DeKok <aland at freeradius.org>
> dpkg-buildpackage: host architecture i386
> dpkg-buildpackage: source version without epoch 2.0.5-0
>  debian/rules clean
> dpatch  deapply-all
> 02-dialupadmin-help not applied to ./ .
> 01-radiusd-to-freeradius not applied to ./ .
> rm -rf patch-stamp patch-stampT debian/patched
> dh_testdir
> dh_clean
> rm -f build-arch-stamp build-indep-stamp libltdl/stamp-h1
> rm -f install-arch-stamp install-indep-stamp configure-stamp
> [ -f Make.inc ] && make distclean || true
> # The make clean forgets to remove this build directory
> [ -d src/modules/lib ] && rm -fr src/modules/lib || true
> # Put the original autotools files back in place
> [ -f config.sub.dist ] && rm config.sub && mv config.sub.dist config.sub
> || true
> [ -f config.guess.dist ] && rm config.guess && mv config.guess.dist
> config.guess || true
>  debian/rules build
> test -d debian/patched || install -d debian/patched
> dpatch  apply-all
> applying patch 01-radiusd-to-freeradius to ./ ... failed.
> make: *** [patch-stamp] Error 1

The error on the patch is at lines 47-48 in
debian/patches/01-radiusd-to-freeradius.dpatch, change

-#user = nobody
-#user = nobody

to

-#user = radius
-#user = radius

then dpkg-buildpackage will compile fine (it may be necessary to do a
fresh untar).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3436 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080620/3b3aef1a/attachment.bin>


More information about the Freeradius-Users mailing list