Your message dated Mon, 14 Mar 2005 03:02:22 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#298697: fixed in ntp 1:4.2.0a+stable-4
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Mar 2005 11:25:50 +0000
>From [EMAIL PROTECTED] Wed Mar 09 03:25:50 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1D8zK2-0007TO-00; Wed, 09 Mar 2005 03:25:50 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
id 1D90GF-0005Ot-IG; Wed, 09 Mar 2005 13:26:01 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ntp: FTBFS (amd64/gcc-4.0): array type has incomplete element type
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 09 Mar 2005 13:26:01 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: ntp
Severity: normal
Tags: patch
When building 'ntp' on amd64 with gcc-4.0,
I get the following error:
if gcc -DHAVE_CONFIG_H -I. -I../../ntpd -I.. -I../../include -I../include
-I/usr/include -g -O2 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith
-Wshadow -Wstrict-prototypes -MT ntp_control.o -MD -MP -MF
".deps/ntp_control.Tpo" \
-c -o ntp_control.o `test -f '../../ntpd/ntp_control.c' || echo
'../../ntpd/'`../../ntpd/ntp_control.c; \
then mv -f ".deps/ntp_control.Tpo" ".deps/ntp_control.Po"; \
else rm -f ".deps/ntp_control.Tpo"; exit 1; \
fi
In file included from ../../ntpd/ntp_control.c:8:
../../include/ntpd.h:229: error: array type has incomplete element type
make[1]: *** [ntp_control.o] Error 1
make[1]: Leaving directory `/ntp-4.2.0a+stable/build-refclock/ntpd'
make: *** [build-stamp] Error 2
With the attached patch 'ntp' can be compiled
on amd64 using gcc-4.0.
The attached patch also changes the Build-Depends from libreadline4-dev
to libreadline5-dev.
Regards
Andreas Jochens
diff -urN ../tmp-orig/ntp-4.2.0a+stable/include/ntp_stdlib.h
./include/ntp_stdlib.h
--- ../tmp-orig/ntp-4.2.0a+stable/include/ntp_stdlib.h 2003-05-04
16:50:25.000000000 +0200
+++ ./include/ntp_stdlib.h 2005-03-09 12:59:45.000000000 +0100
@@ -135,7 +135,7 @@
/* clocktypes.c */
struct clktype;
-extern struct clktype clktypes[];
+extern struct clktype *clktypes;
/* getopt.c */
extern char * ntp_optarg; /* global argument pointer */
diff -urN ../tmp-orig/ntp-4.2.0a+stable/include/ntpd.h ./include/ntpd.h
--- ../tmp-orig/ntp-4.2.0a+stable/include/ntpd.h 2004-05-04
07:01:25.000000000 +0200
+++ ./include/ntpd.h 2005-03-09 12:56:03.000000000 +0100
@@ -226,7 +226,6 @@
/* ntp_control.c */
struct ctl_trap;
-extern struct ctl_trap ctl_trap[];
extern int num_ctl_traps;
extern keyid_t ctl_auth_keyid; /* keyid used for authenticating write
requests */
diff -urN ../tmp-orig/ntp-4.2.0a+stable/libntp/clocktypes.c
./libntp/clocktypes.c
--- ../tmp-orig/ntp-4.2.0a+stable/libntp/clocktypes.c 2002-07-19
19:15:54.000000000 +0200
+++ ./libntp/clocktypes.c 2005-03-09 13:05:42.000000000 +0100
@@ -9,7 +9,7 @@
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-struct clktype clktypes[] = {
+struct clktype *clktypes = {
{ REFCLK_NONE, "unspecified type (0)",
"UNKNOWN" },
{ REFCLK_LOCALCLOCK, "Undisciplined local clock (1)",
diff -urN ../tmp-orig/ntp-4.2.0a+stable/debian/control ./debian/control
--- ../tmp-orig/ntp-4.2.0a+stable/debian/control 2005-03-09
13:11:24.276933990 +0100
+++ ./debian/control 2005-03-09 12:48:06.000000000 +0100
@@ -2,7 +2,7 @@
Section: net
Priority: optional
Maintainer: Debian NTP Team <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.1.0), libreadline4-dev, lynx, libcap-dev |
not+linux-gnu, libssl-dev (>= 0.9), binutils (>= 2.14.90.0.7)
+Build-Depends: debhelper (>> 4.1.0), libreadline5-dev, lynx, libcap-dev |
not+linux-gnu, libssl-dev (>= 0.9), binutils (>= 2.14.90.0.7)
Standards-Version: 3.6.1
Uploaders: Bruce Walker <[EMAIL PROTECTED]>, Bdale Garbee <[EMAIL PROTECTED]>,
Matthias Urlichs <[EMAIL PROTECTED]>
---------------------------------------
Received: (at 298697-close) by bugs.debian.org; 14 Mar 2005 08:10:26 +0000
>From [EMAIL PROTECTED] Mon Mar 14 00:10:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DAkef-0005DJ-00; Mon, 14 Mar 2005 00:10:25 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DAkWs-0006fq-00; Mon, 14 Mar 2005 03:02:22 -0500
From: Matthias Urlichs <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#298697: fixed in ntp 1:4.2.0a+stable-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 14 Mar 2005 03:02:22 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 14
Source: ntp
Source-Version: 1:4.2.0a+stable-4
We believe that the bug you reported is fixed in the latest version of
ntp, which is due to be installed in the Debian FTP archive:
ntp-doc_4.2.0a+stable-4_all.deb
to pool/main/n/ntp/ntp-doc_4.2.0a+stable-4_all.deb
ntp-refclock_4.2.0a+stable-4_i386.deb
to pool/main/n/ntp/ntp-refclock_4.2.0a+stable-4_i386.deb
ntp-server_4.2.0a+stable-4_i386.deb
to pool/main/n/ntp/ntp-server_4.2.0a+stable-4_i386.deb
ntp-simple_4.2.0a+stable-4_i386.deb
to pool/main/n/ntp/ntp-simple_4.2.0a+stable-4_i386.deb
ntp_4.2.0a+stable-4.diff.gz
to pool/main/n/ntp/ntp_4.2.0a+stable-4.diff.gz
ntp_4.2.0a+stable-4.dsc
to pool/main/n/ntp/ntp_4.2.0a+stable-4.dsc
ntp_4.2.0a+stable-4_i386.deb
to pool/main/n/ntp/ntp_4.2.0a+stable-4_i386.deb
ntpdate_4.2.0a+stable-4_i386.deb
to pool/main/n/ntp/ntpdate_4.2.0a+stable-4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Urlichs <[EMAIL PROTECTED]> (supplier of updated ntp package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Changed-By: Matthias Urlichs <[EMAIL PROTECTED]>
Date: Sat, 12 Mar 2005 06:16:39 +0100
Version: 1:4.2.0a+stable-4
Distribution: unstable
Source: ntp
Urgency: low
Maintainer: Debian NTP Team <[EMAIL PROTECTED]>
Binary: ntp ntp-doc ntp-refclock ntp-server ntp-simple ntpdate
Architecture: i386 all source
Closes: 276216 282941 283386 286463 293793 294636 294971 295553 295574 296595
298059 298190 298226 298697
Changes:
ntp (1:4.2.0a+stable-4) unstable; urgency=low
.
* Merged Upstream fix for ntpdate IPv4/IPv6 problems.
- Closes: #293793, #294636
* Install if-up.d/ntp-server in the correct directory.
- Closes: #294971
* Merged ubuntu's no-root patch.
- Closes: #298059, #296595, #282941
* Don't change the date when debugging ntpdate.
- Closes: #286463
* Tell the user that "/etc/initd/ntp-server reload" is not possible.
- Sort-of-Closes: #276216
* Fix FTBFS with GCC 4.0. Closes: #298697
* Cleanup init.d script. Closes: #295574
* Fix doc typos. Closes: #298226
* Remove /var/run/ntpd.pid when stopping the server.
- Closes: #295553
* Document ntpdate's exit status. Closes: #298190.
* Enhance ntpdate's logcheck rule. Closes: #283386
* Built against libreadline5.
Description:
ntp - Network Time Protocol: network utilities
ntp-doc - Network Time Protocol: documentation
ntp-server - Network Time Protocol: common server tools
ntp-simple - Network Time Protocol: daemon for simple systems
ntpdate - The ntpdate client for setting system time from NTP servers
ntp-refclock - Network Time Protocol: daemon for reference clocks
Files:
00b9e700bb3450fcccabe206b51dfadc 254670 net optional
ntp_4.2.0a+stable-4_i386.deb
b37c928610e87854284ad3d2a79b9dac 243784 net optional
ntp_4.2.0a+stable-4.diff.gz
9864129890b79bbbda6be43b679dfdba 42580 net optional
ntpdate_4.2.0a+stable-4_i386.deb
edd7ce7ba7c466dcef4a48ef924763d4 32126 net optional
ntp-server_4.2.0a+stable-4_i386.deb
9a51ad29ff063c408b64c0115686a49a 889240 doc optional
ntp-doc_4.2.0a+stable-4_all.deb
06d58d29537d5683d485bbc176588717 842 net optional ntp_4.2.0a+stable-4.dsc
0270365bb8f8030bd62080a73ab4a7bf 121156 net optional
ntp-simple_4.2.0a+stable-4_i386.deb
d021274733c129d38b6c7d17a307c09f 201564 net extra
ntp-refclock_4.2.0a+stable-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCMsO38+hUANcKr/kRAtzRAKCm0aQkZZVW3QVkTF6C/gQ07GVY9QCfc/6V
suKID36mk8egHjC/jkhTP1Q=
=7JYP
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]