Issue with building FR 3.0.x packages on Ubuntu 14.04

Alex Sharaz alex.sharaz at york.ac.uk
Tue Mar 29 15:42:46 CEST 2016


This has been with me for a while. When ever I try building packages I end
up with


*dh_installdirs        install -d debian/freeradi*
*us/var/tmp/freera**dius-server-3.0**.x-290316/debia**n/freeradius.di**rs:
1: /var/tmp/freera**dius-server-3.0**.x-290316/debia**n/freeradius.di**rs:
usr/lib/freerad*
*ius: not found/var/tmp/freera**dius-server-3.0**.x-290316/debia*
*n/freeradius.di**rs: 2: /var/tmp/freera**dius-server-3.0**.x-290316/debia*
*n/freeradius.di**rs: var/log/freerad*
*ius: not founddh_installdirs: problem reading debian/freeradi*

*us.dirs:make: * [install-arch] Error 127dpkg-buildpacka**ge: error:
fakeroot debian/rules binary gave error exit status 2*

Eventually gave up and went to talk to helpful linux systems person
upstairs. Here's what he said
.....

The only changes I made were to remove execute permission from a lot of the
files in debian/, which seems to affect how the dh suite treats the files.
That's probably dependent on the version of the build utilities, but they
shouldn't have random execute permissions on things, really.
*chmod -x debian/*.{docs,**examples,instal**l,lintian-overr*
*ides,manpages,p**ostinst,postrm,**preinst,prerm}*
*chmod -x debian/README.**
Those are the changes after unpacking; then I literally did *fakeroot
dpkg-buildpacka**ge -b -us -uc*

.....
then another message saying
...
..and here's the change to the build tools which made this all break!
https://anonscm.debian.org/git/debhelper/debhelper.git/commit/?h=9.20120115&id=77b80367ad0cfdbb3d78242fda3127559e2df576
If the FR folk want to fix this, they should either (a) fix the file
permissions under debian/ as mentioned above, or they should change
debian/compat to "8" instead of "9".....

I've just changed debian/compat to "8" and  .......  package files built
successfully on Ubuntu 14.04 AND on my Raspberry Pi 3 running Ubuntu MATE


More information about the Freeradius-Users mailing list