Devuan logs - #314, boring messages


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#314: gpsd: ..2'nd roll over bug: gpsd "clock is 56 years wrong", like "1963-07-18T08:57:40.584Z"
Reply-To: Arnt Karlsen <[email protected]>, [email protected]
Resent-From: Arnt Karlsen <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
Resent-Date: Sun, 07 Apr 2019 21:33:01 UTC
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 314
X-Devuan-PR-Package: gpsd
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] id=B.15546726067725
          (code B ref -1); Sun, 07 Apr 2019 21:33:01 UTC
Received: (at submit) by bugs.devuan.org; 7 Apr 2019 21:30:06 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 07 Apr 2019 23:30:06 +0200 (CEST)
Received: from mailrelay1-3.pub.mailoutpod1-cph3.one.com (mailrelay1-3.pub.mailoutpod1-cph3.one.com [46.30.212.10])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D6D62F608D0
	for <[email protected]>; Sun,  7 Apr 2019 23:25:48 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=iaksess.no [email protected] header.b="sHO+GNp+";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=iaksess.no; s=20140924;
	h=content-transfer-encoding:content-type:mime-version:message-id:subject:cc:to:
	 from:date:from;
	bh=KD8271nThwtNNZazeZxi6vPDVPoarRRZHej52w68adc=;
	b=sHO+GNp+VBK5NZK8iBaNdjbwzfOFonVPbUDZICAa3TgGRhamWaw84Y1WOshGuDvnkHRuXyHeoXlDH
	 jnPI4UpleIOjkbf4q2E5eXCHkgtMhXjws1nQSjOMhx0s7fm0Riq/5VXBs9DJK5MvOTkXt+wNFpvqZV
	 T3M/jhcOUXGpBDEQ=
X-HalOne-Cookie: ee1751460edc14f1bff417906ecb65330df0f56b
X-HalOne-ID: b529c86d-597b-11e9-b60e-d0431ea8a283
Received: from sda3 (unknown [92.220.151.20])
	by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPA
	id b529c86d-597b-11e9-b60e-d0431ea8a283;
	Sun, 07 Apr 2019 21:25:47 +0000 (UTC)
Date: Sun, 7 Apr 2019 22:57:58 +0200
From: Arnt Karlsen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>, Debian Bug Tracking
 System <[email protected]>
Cc: [email protected]
Message-ID: <20190407221907.7d777d42@sda3>
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: gpsd
Version: 3.16-4
Severity: important

..upstream bug.  




Hi,


..reportbug reports our (Devuan) BTS is down, bug report on gpsd: 
Content-Type
: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Arnt <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: gpsd: ..2'nd roll over bug: gpsd clock is 56 years wrong,
"1963-07-18T08:57:40.584Z" Message-ID:
<155465156363.24771.3526445890355259661.reportbug@sda3> X-Mailer:
reportbug 7.1.6+devuan2.1 Date: Sun, 07 Apr 2019 17:39:23 +0200
X-Debbugs-Cc: [email protected]

Package: gpsd
Version: 3.16-4
Severity: important

..upstream bug.  


Dear Maintainer,

*** Reporter, please consider answering these questions, where
appropriate ***

   * What led up to the situation?

..according to http://catb.org/gpsd/NMEA.html#_dates_and_times : 
GPS date and time are subject to a rollover problem in the 10-bit 
week number counter, which will re-zero every 1024 weeks (roughly 
every 19.6 years). The last rollover (and the first since GPS went 
live in 1980) was in Aug-1999; the next will fall in Apr-2019. 


..checks out rather well:
arnt@sda3:~$ date --date='1024 weeks ago'
Sun Aug 22 18:23:04 CEST 1999
arnt@sda3:~$ date --date='2048 weeks ago'
Sun Jan  6 17:23:36 CET 1980
arnt@sda3:~$ date --date='TZ=UTC 2048 weeks ago'
date: invalid date ‘TZ=UTC 2048 weeks ago’
arnt@sda3:~$ date --date='TZ="UTC" 2048 weeks ago'
Sun Jan  6 19:25:50 CET 1980
arnt@sda3:~$
http://www.leapsecond.com/java/gpsclock.htm
http://www.leapsecond.com/java/cal.htm


..fix suggestions: hard code third 10bit era and/or move to 
the new 13bit "CNAV" data format pointed to above. 

..this patch hard codes third 10bit era as suggested in 
gpsd-3.1x's timebase.c:
arnt@nb6:~$ diff -u timebase.h-3.16 timebase.h-new
--- timebase.h-3.16     2016-01-08 20:30:27.000000000 +0100
+++ timebase.h-new      2019-04-07 20:11:52.903644739 +0200
@@ -1,9 +1,9 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2016-01-07T00:00:00
+ * Correct for week beginning 2019-04-07T02:00:00 UTC
  */
 #define BUILD_CENTURY  2000
-#define BUILD_WEEK     854            # Assumes 10-bit week counter 
-#define BUILD_LEAPSECONDS      17
-#define BUILD_ROLLOVERS        1      # Assumes 10-bit week counter
+#define BUILD_WEEK     1              # Assumes 10-bit week counter 
+#define BUILD_LEAPSECONDS      19
+#define BUILD_ROLLOVERS        2      # Assumes 10-bit week counter


..and ditto for gpsd-3.17:
arnt@nb6:~$ diff -u timebase.h-3.17 timebase.h-new
--- timebase.h-3.17     2017-09-07 13:53:40.000000000 +0200
+++ timebase.h-new      2019-04-07 20:11:52.903644739 +0200
@@ -1,9 +1,9 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2017-09-07T00:00:00
+ * Correct for week beginning 2019-04-07T02:00:00 UTC
  */
 #define BUILD_CENTURY  2000
-#define BUILD_WEEK     941           # Assumes 10-bit week counter 
+#define BUILD_WEEK     1             # Assumes 10-bit week counter 
#define BUILD_LEAPSECONDS      19
-#define BUILD_ROLLOVERS        1         # Assumes 10-bit week counter
+#define BUILD_ROLLOVERS        2         # Assumes 10-bit week counter



..this patch hard codes third 10bit era as suggested in 
gpsd-3.11's timebase.c: 
arnt@sda3:~$ diff -u timebase.h*
--- timebase.h-3.11  2019-04-07 19:19:42.442197516 +0200
+++ timebase.h-ny      2019-04-07 19:18:28.572535352 +0200
@@ -1,8 +1,8 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2014-08-21T00:00:00
+ * Correct for week beginning 2019-04-07T00:00:00
  */
-#define CENTURY_BASE   201400
-#define LEAPSECOND_NOW 16
-#define GPS_WEEK_NOW   1806
+#define CENTURY_BASE   201900
+#define LEAPSECOND_NOW 19
+#define GPS_WEEK_NOW   2049


..current timebase.h in gpsd-3.11 source:
arnt@sda3:~$ cat timebase.h
/*
 * Constants used for GPS time detection and rollover correction.
 *
 * Correct for week beginning 2014-08-21T00:00:00
 */
#define CENTURY_BASE    201400
#define LEAPSECOND_NOW  16
#define GPS_WEEK_NOW    1806
arnt@sda3:~$




   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 2.0 (ascii)
Release:        2.0
Codename:       ascii

Architecture: armv6l

Kernel: Linux 4.19.32+
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot
set LC_ALL to default locale: No such file or directory UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages gpsd depends on:
ii  adduser              3.115
ii  init-system-helpers  1.48+devuan2.0
ii  libbluetooth3        5.43-2+deb9u1
ii  libc6                2.24-11+deb9u4
ii  libdbus-1-3          1.10.22-1+devuan2
ii  libgps22             3.16-4
ii  libusb-1.0-0         2:1.0.21-1
ii  lsb-base             4.1+devuan2
ii  netbase              5.4

Versions of packages gpsd recommends:
ii  python  2.7.13-2
pn  udev    <none>

Versions of packages gpsd suggests:
ii  dbus          1.10.22-1+devuan2
ii  gpsd-clients  3.16-4

-- debconf information:


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


Message sent:


X-Loop: [email protected]
From: [email protected] (Devuan bug Tracking System)
To: Arnt Karlsen <[email protected]>
Subject: bug#314: Acknowledgement (gpsd: ..2'nd roll over bug: gpsd "clock is 56 years wrong", like "1963-07-18T08:57:40.584Z")
Message-ID: <[email protected]>
In-Reply-To: <20190407221907.7d777d42@sda3>
References: <20190407221907.7d777d42@sda3>
Precedence: bulk
X-Devuan-PR-Message: ack 314
X-Devuan-PR-Package: gpsd
X-Devuan-PR-Keywords: 
Reply-To: [email protected]

Thank you for the problem report you have sent regarding Devuan.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers mailing list for
their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on your problem, please send
it to [email protected] (and *not* to
[email protected]).

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Your message specified a Severity: in the pseudo-header, but
the severity value important was not recognised.
The default severity normal is being used instead.
The recognised values are: critical, grave, normal, minor, wishlist.

Devuan Bugs Owner
(administrator, Devuan bugs database)


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#314: Acknowledgement (gpsd: ..2'nd roll over bug: gpsd "clock is 56 years wrong", like "1963-07-18T08:57:40.584Z")
Reply-To: Arnt Karlsen <[email protected]>, [email protected]
Resent-From: Arnt Karlsen <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
Resent-Date: Sun, 07 Apr 2019 22:03:02 UTC
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 314
X-Devuan-PR-Package: gpsd
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] id=B314.15546744027876
          (code B ref 314); Sun, 07 Apr 2019 22:03:02 UTC
Received: (at 314) by bugs.devuan.org; 7 Apr 2019 22:00:02 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Mon, 08 Apr 2019 00:00:02 +0200 (CEST)
Received: from mailrelay2-3.pub.mailoutpod1-cph3.one.com (mailrelay2-3.pub.mailoutpod1-cph3.one.com [46.30.212.11])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 011BDF6088F
	for <[email protected]>; Sun,  7 Apr 2019 23:53:45 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=iaksess.no [email protected] header.b="py/RzF6J";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=iaksess.no; s=20140924;
	h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:
	 message-id:subject:cc:to:from:date:from;
	bh=ZMbt7hMeqLAPAgNXsk7dGmDVFnbSdTTmRpI75HCODB4=;
	b=py/RzF6JBduXp4AHWH4/+dYBvDDkrObt5ZILNrlVnfOuljvhvzg8WEMmZRihh4AlvISCK9myXUhBR
	 ypBTDkWw+8uygN/Hkf/cvPei+a39WGV4XPeBwrvTTKccm88oSyHPi1hxRlJSQuiNdEdHvj9EZDTlbA
	 i7UrTNqubd4KIYnk=
X-HalOne-Cookie: c553ea453ae601dfc8d6bbe36e600ea54d035215
X-HalOne-ID: 9d3958dc-597f-11e9-b2e8-d0431ea8a290
Received: from sda3 (unknown [92.220.151.20])
	by mailrelay2.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPA
	id 9d3958dc-597f-11e9-b2e8-d0431ea8a290;
	Sun, 07 Apr 2019 21:53:44 +0000 (UTC)
Date: Sun, 7 Apr 2019 23:53:43 +0200
From: Arnt Karlsen <[email protected]>
To: [email protected]
Cc: [email protected]
Message-ID: <20190407235343.7192b89d@sda3>
In-Reply-To: <[email protected]>
References: <20190407221907.7d777d42@sda3>
	<[email protected]>
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


..upstream bug reports:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926615
https://savannah.nongnu.org/bugs/index.php?56094

..our bug report:
https://bugs.devuan.org//cgi/bugreport.cgi?bug=314

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


Message sent:


X-Loop: [email protected]
From: [email protected] (Devuan bug Tracking System)
To: Arnt Karlsen <[email protected]>
Subject: bug#314: Info received (was bug#314: Acknowledgement (gpsd: ..2'nd roll over bug: gpsd "clock is 56 years wrong", like "1963-07-18T08:57:40.584Z"))
Message-ID: <[email protected]>
In-Reply-To: <20190407235343.7192b89d@sda3>
References: <20190407235343.7192b89d@sda3>
Precedence: bulk
X-Devuan-PR-Message: ack-info 314
X-Devuan-PR-Package: gpsd
X-Devuan-PR-Keywords: 
Disabled-Doogie-Reply-To: [email protected]

Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to continue to submit further information on your problem,
please send it to [email protected], as before.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Devuan Bugs Owner
(administrator, Devuan bugs database)


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: [email protected]
Subject: bug#314: marked as done (gpsd: ..2'nd roll over bug: gpsd "clock
 is 56 years wrong", like "1963-07-18T08:57:40.584Z")
Message-ID: <[email protected]>
References: <[email protected]>
 <20190407221907.7d777d42@sda3>
X-Devuan-PR-Message: closed 314
X-Devuan-PR-Package: gpsd
Reply-To: [email protected]
Date: Sun, 09 Aug 2020 18:33:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1596997981-1886-0"

This is a multi-part message in MIME format...

------------=_1596997981-1886-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sun, 09 Aug 2020 16:56:58 +0000
with message-id <[email protected]>
and subject line #314: fixed in src:gpsd version 3.20-12+devuan1
has caused the Devuan bug report #314,
regarding gpsd: ..2'nd roll over bug: gpsd "clock is 56 years wrong", like =
"1963-07-18T08:57:40.584Z"
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


--=20
314: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D314
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1596997981-1886-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 7 Apr 2019 21:30:06 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 07 Apr 2019 23:30:06 +0200 (CEST)
Received: from mailrelay1-3.pub.mailoutpod1-cph3.one.com (mailrelay1-3.pub.mailoutpod1-cph3.one.com [46.30.212.10])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D6D62F608D0
	for <[email protected]>; Sun,  7 Apr 2019 23:25:48 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=iaksess.no [email protected] header.b="sHO+GNp+";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=iaksess.no; s=20140924;
	h=content-transfer-encoding:content-type:mime-version:message-id:subject:cc:to:
	 from:date:from;
	bh=KD8271nThwtNNZazeZxi6vPDVPoarRRZHej52w68adc=;
	b=sHO+GNp+VBK5NZK8iBaNdjbwzfOFonVPbUDZICAa3TgGRhamWaw84Y1WOshGuDvnkHRuXyHeoXlDH
	 jnPI4UpleIOjkbf4q2E5eXCHkgtMhXjws1nQSjOMhx0s7fm0Riq/5VXBs9DJK5MvOTkXt+wNFpvqZV
	 T3M/jhcOUXGpBDEQ=
X-HalOne-Cookie: ee1751460edc14f1bff417906ecb65330df0f56b
X-HalOne-ID: b529c86d-597b-11e9-b60e-d0431ea8a283
Received: from sda3 (unknown [92.220.151.20])
	by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPA
	id b529c86d-597b-11e9-b60e-d0431ea8a283;
	Sun, 07 Apr 2019 21:25:47 +0000 (UTC)
Date: Sun, 7 Apr 2019 22:57:58 +0200
From: Arnt Karlsen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>, Debian Bug Tracking
 System <[email protected]>
Cc: [email protected]
Subject: gpsd: ..2'nd roll over bug: gpsd "clock is 56 years wrong", like
 "1963-07-18T08:57:40.584Z"
Message-ID: <20190407221907.7d777d42@sda3>
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: gpsd
Version: 3.16-4
Severity: important

..upstream bug.  




Hi,


..reportbug reports our (Devuan) BTS is down, bug report on gpsd: 
Content-Type
: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Arnt <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: gpsd: ..2'nd roll over bug: gpsd clock is 56 years wrong,
"1963-07-18T08:57:40.584Z" Message-ID:
<155465156363.24771.3526445890355259661.reportbug@sda3> X-Mailer:
reportbug 7.1.6+devuan2.1 Date: Sun, 07 Apr 2019 17:39:23 +0200
X-Debbugs-Cc: [email protected]

Package: gpsd
Version: 3.16-4
Severity: important

..upstream bug.  


Dear Maintainer,

*** Reporter, please consider answering these questions, where
appropriate ***

   * What led up to the situation?

..according to http://catb.org/gpsd/NMEA.html#_dates_and_times : 
GPS date and time are subject to a rollover problem in the 10-bit 
week number counter, which will re-zero every 1024 weeks (roughly 
every 19.6 years). The last rollover (and the first since GPS went 
live in 1980) was in Aug-1999; the next will fall in Apr-2019. 


..checks out rather well:
arnt@sda3:~$ date --date='1024 weeks ago'
Sun Aug 22 18:23:04 CEST 1999
arnt@sda3:~$ date --date='2048 weeks ago'
Sun Jan  6 17:23:36 CET 1980
arnt@sda3:~$ date --date='TZ=UTC 2048 weeks ago'
date: invalid date ‘TZ=UTC 2048 weeks ago’
arnt@sda3:~$ date --date='TZ="UTC" 2048 weeks ago'
Sun Jan  6 19:25:50 CET 1980
arnt@sda3:~$
http://www.leapsecond.com/java/gpsclock.htm
http://www.leapsecond.com/java/cal.htm


..fix suggestions: hard code third 10bit era and/or move to 
the new 13bit "CNAV" data format pointed to above. 

..this patch hard codes third 10bit era as suggested in 
gpsd-3.1x's timebase.c:
arnt@nb6:~$ diff -u timebase.h-3.16 timebase.h-new
--- timebase.h-3.16     2016-01-08 20:30:27.000000000 +0100
+++ timebase.h-new      2019-04-07 20:11:52.903644739 +0200
@@ -1,9 +1,9 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2016-01-07T00:00:00
+ * Correct for week beginning 2019-04-07T02:00:00 UTC
  */
 #define BUILD_CENTURY  2000
-#define BUILD_WEEK     854            # Assumes 10-bit week counter 
-#define BUILD_LEAPSECONDS      17
-#define BUILD_ROLLOVERS        1      # Assumes 10-bit week counter
+#define BUILD_WEEK     1              # Assumes 10-bit week counter 
+#define BUILD_LEAPSECONDS      19
+#define BUILD_ROLLOVERS        2      # Assumes 10-bit week counter


..and ditto for gpsd-3.17:
arnt@nb6:~$ diff -u timebase.h-3.17 timebase.h-new
--- timebase.h-3.17     2017-09-07 13:53:40.000000000 +0200
+++ timebase.h-new      2019-04-07 20:11:52.903644739 +0200
@@ -1,9 +1,9 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2017-09-07T00:00:00
+ * Correct for week beginning 2019-04-07T02:00:00 UTC
  */
 #define BUILD_CENTURY  2000
-#define BUILD_WEEK     941           # Assumes 10-bit week counter 
+#define BUILD_WEEK     1             # Assumes 10-bit week counter 
#define BUILD_LEAPSECONDS      19
-#define BUILD_ROLLOVERS        1         # Assumes 10-bit week counter
+#define BUILD_ROLLOVERS        2         # Assumes 10-bit week counter



..this patch hard codes third 10bit era as suggested in 
gpsd-3.11's timebase.c: 
arnt@sda3:~$ diff -u timebase.h*
--- timebase.h-3.11  2019-04-07 19:19:42.442197516 +0200
+++ timebase.h-ny      2019-04-07 19:18:28.572535352 +0200
@@ -1,8 +1,8 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2014-08-21T00:00:00
+ * Correct for week beginning 2019-04-07T00:00:00
  */
-#define CENTURY_BASE   201400
-#define LEAPSECOND_NOW 16
-#define GPS_WEEK_NOW   1806
+#define CENTURY_BASE   201900
+#define LEAPSECOND_NOW 19
+#define GPS_WEEK_NOW   2049


..current timebase.h in gpsd-3.11 source:
arnt@sda3:~$ cat timebase.h
/*
 * Constants used for GPS time detection and rollover correction.
 *
 * Correct for week beginning 2014-08-21T00:00:00
 */
#define CENTURY_BASE    201400
#define LEAPSECOND_NOW  16
#define GPS_WEEK_NOW    1806
arnt@sda3:~$




   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 2.0 (ascii)
Release:        2.0
Codename:       ascii

Architecture: armv6l

Kernel: Linux 4.19.32+
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot
set LC_ALL to default locale: No such file or directory UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages gpsd depends on:
ii  adduser              3.115
ii  init-system-helpers  1.48+devuan2.0
ii  libbluetooth3        5.43-2+deb9u1
ii  libc6                2.24-11+deb9u4
ii  libdbus-1-3          1.10.22-1+devuan2
ii  libgps22             3.16-4
ii  libusb-1.0-0         2:1.0.21-1
ii  lsb-base             4.1+devuan2
ii  netbase              5.4

Versions of packages gpsd recommends:
ii  python  2.7.13-2
pn  udev    <none>

Versions of packages gpsd suggests:
ii  dbus          1.10.22-1+devuan2
ii  gpsd-clients  3.16-4

-- debconf information:


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

------------=_1596997981-1886-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 314-done) by bugs.devuan.org; 9 Aug 2020 18:20:08 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 09 Aug 2020 18:20:08 +0000 (UTC)
Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 38F65F6096A
	for <[email protected]>; Sun,  9 Aug 2020 20:13:28 +0200 (CEST)
Received: from dak.ganeti1.devuan.org (dak.devuan.org [192.168.97.90])
	by mail.devuan.dev (Postfix) with SMTP id B7EF23B65C8
	for <[email protected]>; Sun,  9 Aug 2020 16:56:38 +0000 (UTC)
Received: (nullmailer pid 12959 invoked by uid 107);
	Sun, 09 Aug 2020 16:56:58 -0000
From: [email protected]
To: [email protected]
Subject: #314: fixed in src:gpsd version 3.20-12+devuan1
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Date: Sun, 09 Aug 2020 16:56:58 +0000
Message-Id: <[email protected]>
X-Spam-Status: No, score=0.0 required=5.0 tests=T_SPF_HELO_PERMERROR
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


Version: 3.20-12+devuan1

Source package gpsd (3.20-12+devuan1) added to Devuan suite unstable.

This closes bug report 314.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 14 Jul 2020 20:41:45 +0000
Source: gpsd
Binary: gpsd gpsd-dbg gpsd-tools gpsd-clients python3-gps libgps26 libgps-dev libqgpsmm26 libqgpsmm-dev
Architecture: source
Version: 3.20-12+devuan1
Distribution: unstable
Urgency: medium
Maintainer: Boian Bonev <[email protected]>
Changed-By: Boian Bonev <[email protected]>
Description:
 gpsd       - Global Positioning System - daemon
 gpsd-clients - Global Positioning System - clients
 gpsd-dbg   - Global Positioning System - debugging tools
 gpsd-tools - Global Positioning System - tools
 libgps-dev - Global Positioning System - development files
 libgps26   - Global Positioning System - library
 libqgpsmm-dev - Global Positioning System - Qt wrapper for libgps (development)
 libqgpsmm26 - Global Positioning System - Qt wrapper for libgps
 python3-gps - Global Positioning System - Python 3 libraries
Closes: 314 490
Changes:
 gpsd (3.20-12+devuan1) unstable; urgency=medium
 .
   * Fork Debian package for Devuan (Closes: #490, #314)
   * Remove systemd related stuff and restore sysvinit startup
   * Install gpsd-dbg binaries under /usr/libexec/gpsd
   * Enable hardened build
   * Update standards to 4.5.0
   * Bump debhelper to 13
   * Fix typos in code and documentation
   * Fix possible format buffer overrun
   * Do not install skyview.php as executable
   * Do not install gps.py as executable
   * Fix scons clean command
Checksums-Sha1:
 dfda298689883c108c27f6c72ac6b1088d48b78c 2393 gpsd_3.20-12+devuan1.dsc
 0bb2643378927dbdf33808e0ec474eab72ca6db7 75904 gpsd_3.20-12+devuan1.debian.tar.xz
 52953034858f971f471eedda4a8f65e9489928f5 4493 gpsd_3.20-12+devuan1_source.buildinfo
Checksums-Sha256:
 32701391a354a6a3d813ab8b031a63dd4c858a573b92de7c213552043aa79bd3 2393 gpsd_3.20-12+devuan1.dsc
 1475f19bbfb79c185bd711bcea2ac6219006688cee45cd21cb73383906567945 75904 gpsd_3.20-12+devuan1.debian.tar.xz
 e21c70db28c0bde03c075d985996cc193b1737fc0e2f6038fc19a00d65cce82e 4493 gpsd_3.20-12+devuan1_source.buildinfo
Files:
 026a27b07dd2cabe1168952a9e5f4bee 2393 misc optional gpsd_3.20-12+devuan1.dsc
 77f47ade06721ead08e42b02f2b8165c 75904 misc optional gpsd_3.20-12+devuan1.debian.tar.xz
 d864395dd803bc583c40628bf70c9f02 4493 misc optional gpsd_3.20-12+devuan1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAl8wKGoACgkQlFMhJFQZ
IvtFDQf+MXKMp28oBRtqU/3dHnfRlRXqg5geFrXqoEUXkVPhJvoNpaYSjzvQOATd
w80ItEgdtQzsfDNcMIxh1Ejl/hcYOlNkbmb6AFZb5xf4vRxKYljW+YsyCTIpj6C+
Bn/N44i3PqkRneZ4rvHjuCo1ZwYM3L9o05SPRxQHeAf/+OMqZWAkVr2HKUTCWpPR
eW9V2tdJJY5F+avuQfJRTH1OvmE2r3x86pQsjfCmAhzuBbn7Qff8DB0nn3hLyaqE
5xhGCeyEXmZoh7O1tmSvK2/TEBxYvSPmy+LxG7ccherji4vEEbZgs1dpj7QL9Xxb
Nuqytlf0JXAu3KUsCBlJom73WW5ebQ==
=YwmN
-----END PGP SIGNATURE-----
------------=_1596997981-1886-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Arnt Karlsen <[email protected]>
Subject: bug#314 closed by [email protected] (#314: fixed in src:gpsd version
 3.20-12+devuan1)
Message-ID: <[email protected]>
References: <[email protected]>
 <20190407221907.7d777d42@sda3>
X-Devuan-PR-Message: they-closed 314
X-Devuan-PR-Package: gpsd
Reply-To: [email protected]
Date: Sun, 09 Aug 2020 18:33:10 +0000
Content-Type: multipart/mixed; boundary="----------=_1596997990-1886-1"

This is a multi-part message in MIME format...

------------=_1596997990-1886-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is an automatic notification regarding your bug report
which was filed against the gpsd package:

#314: gpsd: ..2'nd roll over bug: gpsd "clock is 56 years wrong", like "196=
3-07-18T08:57:40.584Z"

It has been closed by [email protected].

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact [email protected] by
replying to this email.


--=20
314: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D314
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1596997990-1886-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 314-done) by bugs.devuan.org; 9 Aug 2020 18:20:08 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 09 Aug 2020 18:20:08 +0000 (UTC)
Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 38F65F6096A
	for <[email protected]>; Sun,  9 Aug 2020 20:13:28 +0200 (CEST)
Received: from dak.ganeti1.devuan.org (dak.devuan.org [192.168.97.90])
	by mail.devuan.dev (Postfix) with SMTP id B7EF23B65C8
	for <[email protected]>; Sun,  9 Aug 2020 16:56:38 +0000 (UTC)
Received: (nullmailer pid 12959 invoked by uid 107);
	Sun, 09 Aug 2020 16:56:58 -0000
From: [email protected]
To: [email protected]
Subject: #314: fixed in src:gpsd version 3.20-12+devuan1
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Date: Sun, 09 Aug 2020 16:56:58 +0000
Message-Id: <[email protected]>
X-Spam-Status: No, score=0.0 required=5.0 tests=T_SPF_HELO_PERMERROR
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


Version: 3.20-12+devuan1

Source package gpsd (3.20-12+devuan1) added to Devuan suite unstable.

This closes bug report 314.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 14 Jul 2020 20:41:45 +0000
Source: gpsd
Binary: gpsd gpsd-dbg gpsd-tools gpsd-clients python3-gps libgps26 libgps-dev libqgpsmm26 libqgpsmm-dev
Architecture: source
Version: 3.20-12+devuan1
Distribution: unstable
Urgency: medium
Maintainer: Boian Bonev <[email protected]>
Changed-By: Boian Bonev <[email protected]>
Description:
 gpsd       - Global Positioning System - daemon
 gpsd-clients - Global Positioning System - clients
 gpsd-dbg   - Global Positioning System - debugging tools
 gpsd-tools - Global Positioning System - tools
 libgps-dev - Global Positioning System - development files
 libgps26   - Global Positioning System - library
 libqgpsmm-dev - Global Positioning System - Qt wrapper for libgps (development)
 libqgpsmm26 - Global Positioning System - Qt wrapper for libgps
 python3-gps - Global Positioning System - Python 3 libraries
Closes: 314 490
Changes:
 gpsd (3.20-12+devuan1) unstable; urgency=medium
 .
   * Fork Debian package for Devuan (Closes: #490, #314)
   * Remove systemd related stuff and restore sysvinit startup
   * Install gpsd-dbg binaries under /usr/libexec/gpsd
   * Enable hardened build
   * Update standards to 4.5.0
   * Bump debhelper to 13
   * Fix typos in code and documentation
   * Fix possible format buffer overrun
   * Do not install skyview.php as executable
   * Do not install gps.py as executable
   * Fix scons clean command
Checksums-Sha1:
 dfda298689883c108c27f6c72ac6b1088d48b78c 2393 gpsd_3.20-12+devuan1.dsc
 0bb2643378927dbdf33808e0ec474eab72ca6db7 75904 gpsd_3.20-12+devuan1.debian.tar.xz
 52953034858f971f471eedda4a8f65e9489928f5 4493 gpsd_3.20-12+devuan1_source.buildinfo
Checksums-Sha256:
 32701391a354a6a3d813ab8b031a63dd4c858a573b92de7c213552043aa79bd3 2393 gpsd_3.20-12+devuan1.dsc
 1475f19bbfb79c185bd711bcea2ac6219006688cee45cd21cb73383906567945 75904 gpsd_3.20-12+devuan1.debian.tar.xz
 e21c70db28c0bde03c075d985996cc193b1737fc0e2f6038fc19a00d65cce82e 4493 gpsd_3.20-12+devuan1_source.buildinfo
Files:
 026a27b07dd2cabe1168952a9e5f4bee 2393 misc optional gpsd_3.20-12+devuan1.dsc
 77f47ade06721ead08e42b02f2b8165c 75904 misc optional gpsd_3.20-12+devuan1.debian.tar.xz
 d864395dd803bc583c40628bf70c9f02 4493 misc optional gpsd_3.20-12+devuan1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAl8wKGoACgkQlFMhJFQZ
IvtFDQf+MXKMp28oBRtqU/3dHnfRlRXqg5geFrXqoEUXkVPhJvoNpaYSjzvQOATd
w80ItEgdtQzsfDNcMIxh1Ejl/hcYOlNkbmb6AFZb5xf4vRxKYljW+YsyCTIpj6C+
Bn/N44i3PqkRneZ4rvHjuCo1ZwYM3L9o05SPRxQHeAf/+OMqZWAkVr2HKUTCWpPR
eW9V2tdJJY5F+avuQfJRTH1OvmE2r3x86pQsjfCmAhzuBbn7Qff8DB0nn3hLyaqE
5xhGCeyEXmZoh7O1tmSvK2/TEBxYvSPmy+LxG7ccherji4vEEbZgs1dpj7QL9Xxb
Nuqytlf0JXAu3KUsCBlJom73WW5ebQ==
=YwmN
-----END PGP SIGNATURE-----
------------=_1596997990-1886-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 7 Apr 2019 21:30:06 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 07 Apr 2019 23:30:06 +0200 (CEST)
Received: from mailrelay1-3.pub.mailoutpod1-cph3.one.com (mailrelay1-3.pub.mailoutpod1-cph3.one.com [46.30.212.10])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D6D62F608D0
	for <[email protected]>; Sun,  7 Apr 2019 23:25:48 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=iaksess.no [email protected] header.b="sHO+GNp+";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=iaksess.no; s=20140924;
	h=content-transfer-encoding:content-type:mime-version:message-id:subject:cc:to:
	 from:date:from;
	bh=KD8271nThwtNNZazeZxi6vPDVPoarRRZHej52w68adc=;
	b=sHO+GNp+VBK5NZK8iBaNdjbwzfOFonVPbUDZICAa3TgGRhamWaw84Y1WOshGuDvnkHRuXyHeoXlDH
	 jnPI4UpleIOjkbf4q2E5eXCHkgtMhXjws1nQSjOMhx0s7fm0Riq/5VXBs9DJK5MvOTkXt+wNFpvqZV
	 T3M/jhcOUXGpBDEQ=
X-HalOne-Cookie: ee1751460edc14f1bff417906ecb65330df0f56b
X-HalOne-ID: b529c86d-597b-11e9-b60e-d0431ea8a283
Received: from sda3 (unknown [92.220.151.20])
	by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPA
	id b529c86d-597b-11e9-b60e-d0431ea8a283;
	Sun, 07 Apr 2019 21:25:47 +0000 (UTC)
Date: Sun, 7 Apr 2019 22:57:58 +0200
From: Arnt Karlsen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>, Debian Bug Tracking
 System <[email protected]>
Cc: [email protected]
Subject: gpsd: ..2'nd roll over bug: gpsd "clock is 56 years wrong", like
 "1963-07-18T08:57:40.584Z"
Message-ID: <20190407221907.7d777d42@sda3>
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: gpsd
Version: 3.16-4
Severity: important

..upstream bug.  




Hi,


..reportbug reports our (Devuan) BTS is down, bug report on gpsd: 
Content-Type
: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Arnt <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: gpsd: ..2'nd roll over bug: gpsd clock is 56 years wrong,
"1963-07-18T08:57:40.584Z" Message-ID:
<155465156363.24771.3526445890355259661.reportbug@sda3> X-Mailer:
reportbug 7.1.6+devuan2.1 Date: Sun, 07 Apr 2019 17:39:23 +0200
X-Debbugs-Cc: [email protected]

Package: gpsd
Version: 3.16-4
Severity: important

..upstream bug.  


Dear Maintainer,

*** Reporter, please consider answering these questions, where
appropriate ***

   * What led up to the situation?

..according to http://catb.org/gpsd/NMEA.html#_dates_and_times : 
GPS date and time are subject to a rollover problem in the 10-bit 
week number counter, which will re-zero every 1024 weeks (roughly 
every 19.6 years). The last rollover (and the first since GPS went 
live in 1980) was in Aug-1999; the next will fall in Apr-2019. 


..checks out rather well:
arnt@sda3:~$ date --date='1024 weeks ago'
Sun Aug 22 18:23:04 CEST 1999
arnt@sda3:~$ date --date='2048 weeks ago'
Sun Jan  6 17:23:36 CET 1980
arnt@sda3:~$ date --date='TZ=UTC 2048 weeks ago'
date: invalid date ‘TZ=UTC 2048 weeks ago’
arnt@sda3:~$ date --date='TZ="UTC" 2048 weeks ago'
Sun Jan  6 19:25:50 CET 1980
arnt@sda3:~$
http://www.leapsecond.com/java/gpsclock.htm
http://www.leapsecond.com/java/cal.htm


..fix suggestions: hard code third 10bit era and/or move to 
the new 13bit "CNAV" data format pointed to above. 

..this patch hard codes third 10bit era as suggested in 
gpsd-3.1x's timebase.c:
arnt@nb6:~$ diff -u timebase.h-3.16 timebase.h-new
--- timebase.h-3.16     2016-01-08 20:30:27.000000000 +0100
+++ timebase.h-new      2019-04-07 20:11:52.903644739 +0200
@@ -1,9 +1,9 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2016-01-07T00:00:00
+ * Correct for week beginning 2019-04-07T02:00:00 UTC
  */
 #define BUILD_CENTURY  2000
-#define BUILD_WEEK     854            # Assumes 10-bit week counter 
-#define BUILD_LEAPSECONDS      17
-#define BUILD_ROLLOVERS        1      # Assumes 10-bit week counter
+#define BUILD_WEEK     1              # Assumes 10-bit week counter 
+#define BUILD_LEAPSECONDS      19
+#define BUILD_ROLLOVERS        2      # Assumes 10-bit week counter


..and ditto for gpsd-3.17:
arnt@nb6:~$ diff -u timebase.h-3.17 timebase.h-new
--- timebase.h-3.17     2017-09-07 13:53:40.000000000 +0200
+++ timebase.h-new      2019-04-07 20:11:52.903644739 +0200
@@ -1,9 +1,9 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2017-09-07T00:00:00
+ * Correct for week beginning 2019-04-07T02:00:00 UTC
  */
 #define BUILD_CENTURY  2000
-#define BUILD_WEEK     941           # Assumes 10-bit week counter 
+#define BUILD_WEEK     1             # Assumes 10-bit week counter 
#define BUILD_LEAPSECONDS      19
-#define BUILD_ROLLOVERS        1         # Assumes 10-bit week counter
+#define BUILD_ROLLOVERS        2         # Assumes 10-bit week counter



..this patch hard codes third 10bit era as suggested in 
gpsd-3.11's timebase.c: 
arnt@sda3:~$ diff -u timebase.h*
--- timebase.h-3.11  2019-04-07 19:19:42.442197516 +0200
+++ timebase.h-ny      2019-04-07 19:18:28.572535352 +0200
@@ -1,8 +1,8 @@
 /*
  * Constants used for GPS time detection and rollover correction.
  *
- * Correct for week beginning 2014-08-21T00:00:00
+ * Correct for week beginning 2019-04-07T00:00:00
  */
-#define CENTURY_BASE   201400
-#define LEAPSECOND_NOW 16
-#define GPS_WEEK_NOW   1806
+#define CENTURY_BASE   201900
+#define LEAPSECOND_NOW 19
+#define GPS_WEEK_NOW   2049


..current timebase.h in gpsd-3.11 source:
arnt@sda3:~$ cat timebase.h
/*
 * Constants used for GPS time detection and rollover correction.
 *
 * Correct for week beginning 2014-08-21T00:00:00
 */
#define CENTURY_BASE    201400
#define LEAPSECOND_NOW  16
#define GPS_WEEK_NOW    1806
arnt@sda3:~$




   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 2.0 (ascii)
Release:        2.0
Codename:       ascii

Architecture: armv6l

Kernel: Linux 4.19.32+
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot
set LC_ALL to default locale: No such file or directory UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages gpsd depends on:
ii  adduser              3.115
ii  init-system-helpers  1.48+devuan2.0
ii  libbluetooth3        5.43-2+deb9u1
ii  libc6                2.24-11+deb9u4
ii  libdbus-1-3          1.10.22-1+devuan2
ii  libgps22             3.16-4
ii  libusb-1.0-0         2:1.0.21-1
ii  lsb-base             4.1+devuan2
ii  netbase              5.4

Versions of packages gpsd recommends:
ii  python  2.7.13-2
pn  udev    <none>

Versions of packages gpsd suggests:
ii  dbus          1.10.22-1+devuan2
ii  gpsd-clients  3.16-4

-- debconf information:


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

------------=_1596997990-1886-1--

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Thu, 28 Nov 2024 08:39:01 UTC