On Mon, 2016-01-18 at 05:08 +0000, Mike Gabriel wrote:
> Hi Ben, hi all,
>
> On So 17 Jan 2016 23:42:19 CET, Ben Hutchings wrote:
>
> > On Sun, 2016-01-17 at 13:10 +0100, Olivier Dousse wrote:
> > > Hi Mike,
> > >
> > > I have the exact same problem on my server. I simply upgraded from
> > > 4.1.1-P1-15+squeeze8 to 4.1.1-P1-15+squeeze9.
> > > Given the patch you attached, this is very strange. But after
> > > downgrading back to 4.1.1-P1-15+squeeze8, everything was fine again.
> > > So there seems to be indeed a (critical) issue with 4.1.1-P1-
> > > 15+squeeze9, as it basically breaks the DHCP server.
> >
> > I can't see anything wrong with the patch, so I wonder whether there
> > was something wrong with the build environment.
>
> The package has been source-built on Debian jessie (debuild -uc -us
> -S) and then binary-built with sbuild in a squeeze-lts (not squeeze)
> chroot.
>
> I have checked my build log again. It seems that the CFLAGS specified
> in debian/rules do not get exported properly to the build environment
> and thus are not used at build time:
[...]
> I wonder why this has been working in the first place.
I compared the strings in the 4.1.1-P1-15+squeeze{8,9} binaries and I
can see the change of /etc/dhcp/dhcpd.conf to /etc/dhcpd.conf on amd64,
but *not* on i386 (which was auto-built). So, yes it is your build
environment that makes the difference. Presumably your environment
doesn't define CFLAGS as an environment variable already, but sbuild
does.
[...]
> I will upload +squeeze10 with attached .debdiff later today.
>
> Any feedback on the provided .debdiff is welcome.
Looks good to me.
Ben.
--
Ben Hutchings
A free society is one where it is safe to be unpopular. - Adlai StevensonAttachment:
signature.asc
Description: This is a digitally signed message part