Issue with building FR 3.0.x packages on Ubuntu 14.04
Matthew Newton
mcn4 at leicester.ac.uk
Fri Apr 1 00:04:56 CEST 2016
On Tue, Mar 29, 2016 at 09:56:20AM -0400, Alan DeKok wrote:
> On Mar 29, 2016, at 9:42 AM, Alex Sharaz <alex.sharaz at york.ac.uk> wrote:
> > *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*
>
> That's... confusing.
I guess that's a symptom of the new "feature" where executable
files are run rather than included directly. And those files
aren't intended to be executed.
> > 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.
>
> Uh... why? I'm sure they think they have good reasons, but it's... weird.
Guess it's more flexible, but seems a bit of a weird way to do it.
I generally find that requiring file permissions to always be
correct having been in a VCS or some sort of archive or similar
can often have problems.
> > ..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
>
> <sigh> And no oversight or attempts at backwards compatibility.
freeradius-server/debian/compat contains "9", which is where this
"feature" started. It should in theory not break if that file
contains a smaller number.
That was bumped up from 7 to 9 in FR commit 5dbe5dd1e18eda in
September.
But the weird thing is I've been building debian packages for
Debian wheezy and jessie, on wheezy and jessie, since then and had
no problems at all. Jessie's debhelper is version 9 and has the
linked patch. Maybe something else is different on Ubuntu. Not
worth worrying about now the modes are sorted.
Matthew
--
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
More information about the Freeradius-Users
mailing list