[pkg-ntp-maintainers] Bug#755012: ntp: diff for NMU version 1:4.2.6.p5+dfsg-3.1

Wookey wookey at wookware.org
Wed Jul 16 18:01:12 UTC 2014


Package: ntp
Version: 1:4.2.6.p5+dfsg-3
Severity: normal
Tags: patch pending

Dear maintainer,

ntp is one of hundreds of packages which does not build on new
architectures (such as arm64, mips64el, ppc64el, or1k) because its
autoconf files are out of date.

The existing package did try to fix this by updating config.sub/guess,
but it only did one of the two copies in the package - the ones in
sntp subdir were still out of date, and break the build.

Discussion about why this is best fixed for the general case by
reautoconfing is here: https://wiki.debian.org/Autoreconf

Here is a patch to do this for ntp. Also attached is a patch for the
less-intrusive autotools-dev only update of config.{sub,guess} which
updates all the config.sub/guess copies, and fixes this for arm64, but
possibly not the other architectures.

The patch is generally straightforward but there are a couple of
caveats:

For some reason this package defines the various tools as ':' to stop
them running. I don't know what the purpose of this was, and after
autoreconfing the package the build is fine and the same files are
produced as before so there is no obvious reason why there might be a
problem, but it is possible there there is some subtle issue here.
It's proably just old cruft, but maybe you know different?

I also had to delete Makefile and sntp/Makefile explicitly to avoid a
failure in recursive-clean. I expect there is a neater, upstream, way,
but this works.

Because of the above issues, I have included the simpler and totally
clean autotools-dev patch in case you prefer to use that, but as the
above page explains autoreconfing is generally best, and as I can't
see any actual problems, that's what I've NMued.

Oddly, no bug about this has already been filed (that I could find) so
I'm filing this now, whilst also uploading a fixed package to
delayed/7. Please feel free to tell me if I should delay it longer.

The NMU is versioned as 1:4.2.6.p5+dfsg-3.1). 

Regards.
-- 
Wookey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntp-4.2.6.p5+dfsg-3.1-nmu.diff
Type: text/x-diff
Size: 2575 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20140716/ad078e36/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntp_4.2.6.p5+dfsg-3-autotools-dev.patch
Type: text/x-diff
Size: 1370 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20140716/ad078e36/attachment.patch>


More information about the pkg-ntp-maintainers mailing list